@import url('https://fonts.googleapis.com/css2?family=Knewave&display=swap');



* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: #0a0a0a;
    color: #ffffff;
    line-height: 1.6;
}

/* Floating Navbar */
.navbar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(26, 26, 26, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    padding: 12px 30px;
    border: 1px solid #333;
    z-index: 1000;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.nav-center {
    display: flex;
    align-items: center;
    gap: 40px;
}

.logo {
    font-size: 1.4rem;
    color: #ffb400;
    text-decoration: none;
    font-family: "Knewave", system-ui;
    font-weight: 400;
    font-style: normal;
}


.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    color: #e0e0e0;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: #ffb400;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    background: #ffb400;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

/* Auth buttons */
.auth-buttons {
    display: flex;
    gap: 15px;
    align-items: center;
}

.auth-btn {
    padding: 8px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}
.auth-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(255, 180, 0, 0.4);
    background-color: #ffb400;
    color: #000;
}
.mobile-auth-buttons {
    display: none;
    flex-direction: column;
    gap: 10px;
}

.login-btn {
    color: #e0e0e0;
    border: 1px solid #333;
}

.login-btn:hover {
    color: #ffffff;
    border-color: #555;
}

.signup-btn {
    background: #ffffff;
    color: #000000;
    white-space: nowrap;
}

.signup-btn:hover {
    background: #f0f0f0;
    transform: translateY(-1px);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Section Styling */
.section {
    min-height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.section h1 {
    font-size: 6rem;
    font-weight: 900;
    text-align: center;
    letter-spacing: -2px;
    opacity: 0.9;
    margin-bottom: 20px;
}

.section-info {
    font-size: 1.1rem;
    color: #999;
    font-style: italic;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Individual Section Colors */
#home {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
}

#about {
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
}

#services {
    background: linear-gradient(135deg, #0a0a0a 0%, #2a2a2a 100%);
}

#portfolio {
    background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
}

#contact {
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
}

/* ===== FOOTER ===== */
.footer {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 50px 20px 20px;
  color: #ccc;
}

.footer-container {
  max-width: 1100px;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  text-align: center;
}

.footer-logo h2 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #fff;
}

.footer-logo h2 span {
  color: #ffb400;
}

.footer-logo p {
  font-size: 0.9rem;
  color: #bbb;
  margin-top: 5px;
}

.footer-links {
  list-style: none;
  padding: 0;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #ffb400;
}

.footer-social {
  display: flex;
  gap: 15px;
  justify-content: center;
}

.footer-social a {
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: #fff;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background: #ffb400;
  color: #000;
  box-shadow: 0 0 12px rgba(255, 180, 0, 0.3);
  transform: scale(1.15);
}

.footer-bottom {
  text-align: center;
  margin-top: 20px;
  font-size: 0.85rem;
  color: #888;
}

@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    gap: 25px;
  }
}




/* Responsive Design */
@media (max-width: 768px) {
    .navbar {
        top: 15px;
        padding: 10px 20px;
        width: calc(100% - 30px);
        max-width: 500px;
    }

    .nav-container {
        justify-content: space-between;
        gap: 0;
    }

    .nav-center {
        gap: 20px;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(26, 26, 26, 0.95);
        flex-direction: column;
        padding: 20px;
        border-radius: 15px;
        margin-top: 10px;
        gap: 15px;
    }

    .nav-links.active {
        display: flex;
    }

    .auth-buttons {
        display: none;
    }

    .mobile-auth-buttons {
        display: flex !important;
        flex-direction: column;
        gap: 10px;
    }

    .mobile-auth-buttons .auth-btn {
        width: 100%;
        text-align: center;
    }

    .mobile-auth-buttons .auth-btn.signup-btn {
        background: #ffffff;
        color: #000000;
    }

    .menu-toggle {
        display: block;
    }

    .section h1 {
        font-size: 3.5rem;
        padding: 0 20px;
    }

    .footer-container {
        margin: 0 10px;
        padding: 30px 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .section h1 {
        font-size: 2.5rem;
    }

    .navbar {
        padding: 8px 15px;
    }

    .logo {
        font-size: 1.3rem;
    }
}

/* Smooth scroll enhancement */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

/* Home Section Styling */
.home-section {
    min-height: 100vh;
    background: #0a0a0a;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 100px 10%;
}

.home-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.home-text {
    flex: 1;
    max-width: 600px;
}

.home-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    margin-left: 120px;
}

.highlight {
    color: #ffd43b;
}

.highlight-secondary {
    color: #ffffff;
    font-weight: 500;
}

.home-text h3 {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 15px;
    color: #e0e0e0;
    margin-left: 120px;
}

.sub-text {
    color: #ccc;
    margin-bottom: 20px;
}

.code-line {
    font-family: monospace;
    font-size: 1rem;
    color: #00ff7f;
    margin-bottom: 30px;
}

.code-highlight {
    color: #00ffff;
}

.buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    margin-left: 120px;
}

.btn-primary {
    background: #ffb400;
    padding: 10px 25px;
    border-radius: 25px;
    color: #000;
    text-decoration: none;
    font-weight: bold;
}

.btn-secondary {
    background: transparent;
    padding: 10px 25px;
    border-radius: 25px;
    color: #ffb400;
    text-decoration: none;
    font-weight: bold;
    border: 1px solid #ffb400;
}

/* ==== Hover Effects for Buttons ==== */
.btn-primary,
.btn-secondary {
    display: inline-block;
    transition: all 0.3s ease;
    transform-origin: center;
}

.btn-primary:hover,
.btn-secondary:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(255, 180, 0, 0.6);
    background-color: #ffb400;
    color: #000;
}


.home-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.home-image img {
    width: 400px;
    border-radius: 10px;
    filter: grayscale(100%);
    margin-top: 70px;
}

/* Stats Section */
.stats {
    display: flex;
    justify-content: space-around;
    margin-top: 50px;
    flex-wrap: wrap;
}

.stat-box {
    text-align: center;
    margin: 10px;
}

.stat-box h4 {
    font-size: 2rem;
    color: #ffb400;
}

.stat-box p {
    color: #ccc;
    font-size: 0.9rem;
}

/* Preloader Styles */
#preloader {
    position: fixed;
    inset: 0;
    background: #0a0a0a;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

#preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    text-align: center;
}


#typewriter-text {
    font-size: 1.5rem;
    color: white;
    font-weight: 500;
    border-right: 2px solid white;
    white-space: nowrap;
    overflow: hidden;
}

/* Fade in animation for image */
@keyframes fade-in {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ==== ABOUT SECTION ==== */
.about-container {
    display: flex;
    align-items: center;
    gap: 50px;
    max-width: 1200px;
    margin: auto;
    flex-wrap: wrap;
    padding: 60px 20px;
}

.about-image {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
}

.about-image img {
    width: 350px;
    border-radius: 15px;
    filter: grayscale(100%);

}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-text h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 15px;
    color: #ffd43b;
}

.about-text p {
    color: #ccc;
    line-height: 1.7;
    margin-bottom: 15px;
    font-size: 1.05rem;
}

.about-stats {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.about-stat {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px 25px;
    border-radius: 12px;
    text-align: center;
    flex: 1;
    min-width: 120px;
    border: 1px solid #333;
}

.about-stat h3 {
    color: #ffb400;
    font-size: 1.8rem;
    margin-bottom: 5px;
}

.about-stat p {
    color: #aaa;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .about-container {
        flex-direction: column;
        text-align: center;
    }

    .about-stats {
        justify-content: center;
    }
}


/* ==== SERVICES SECTION ==== */
.services-container {
  max-width: 1200px;
  margin: auto;
  padding: 60px 20px;
  text-align: center;
  cursor: pointer;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 15px;
  color: #ffd43b;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-top: 50px;
}


.service-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid #333;
  padding: 30px 20px;
  border-radius: 15px;
  transition: all 0.3s ease;
  backdrop-filter: blur(8px);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 0 25px rgba(255, 180, 0, 0.3);
  border-color: #ffb400;
}

.service-icon {
  font-size: 2rem;
  margin-bottom: 15px;
}

.service-card h3 {
  font-size: 1.3rem;
  color: #fff;
  margin-bottom: 10px;
}

.service-card p {
  font-size: 0.95rem;
  color: #aaa;
  line-height: 1.6;
}

@media (max-width: 992px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}


/* ==== PORTFOLIO SECTION ==== */
.portfolio-container {
  max-width: 1200px;
  margin: auto;
  padding: 60px 20px;
  text-align: center;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-top: 50px;
}

.portfolio-card {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  cursor: pointer;
  transform: translateY(40px);
  opacity: 0;
  transition: all 0.8s ease;
}

.portfolio-card.show {
  transform: translateY(0);
  opacity: 1;
}

.portfolio-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.7);
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.4s ease;
  text-align: center;
  padding: 20px;
}

.portfolio-card:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-overlay h3 {
  font-size: 1.3rem;
  color: #ffd43b;
  margin-bottom: 10px;
}

.portfolio-overlay p {
  font-size: 0.95rem;
  color: #ccc;
  line-height: 1.4;
}

@media (max-width: 992px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
}


/* === PROJECT DETAILS PAGE STYLES START === */
.project-details-section {
  padding: 60px 20px;
  max-width: 1000px;
  margin: auto;
  color: white;
}
.project-header {
  text-align: center;
  margin-bottom: 30px;
}
.project-title {
  font-size: 2.5rem;
  color: #ffd43b;
}
.project-subtitle {
  color: #ccc;
  font-size: 1.2rem;
}
.project-content {
  margin-bottom: 40px;
  line-height: 1.6;
  font-size: 1.1rem;
}
.gallery-title {
  font-size: 1.8rem;
  color: #ffd43b;
  margin-bottom: 20px;
  text-align: center;
}
.project-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 15px;
}
.project-gallery img {
  width: 100%;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.3s ease;
}
.project-gallery img:hover {
  transform: scale(1.05);
}

/* Modal styles */
.gallery-modal {
  display: none;
  position: fixed;
  z-index: 999;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.9);
}
.modal-content {
  display: block;
  max-width: 90%;
  margin: auto;
  border-radius: 10px;
}
.close-modal {
  position: absolute;
  top: 30px;
  right: 50px;
  color: white;
  font-size: 2rem;
  cursor: pointer;
}
/* === PROJECT DETAILS PAGE STYLES END === */

/* ===== CONTACT SECTION ===== */
.contact-wrapper {
  max-width: 1100px;
  margin: auto;
  padding: 70px 20px;
  text-align: center;
  cursor: pointer;
}

.contact-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 15px;
  background: #ffb400;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.contact-title span {
  color: #fff;
}

.contact-subtitle {
  color: #bbb;
  font-size: 1rem;
  margin-bottom: 40px;
}

.contact-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
  margin-bottom: 50px;
}

.contact-card {
  flex: 1;
  min-width: 220px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 25px;
  border-radius: 15px;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.contact-card i {
  font-size: 1.8rem;
  color: #ffb400;
  margin-bottom: 10px;
}

.contact-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 0 20px rgba(255, 180, 0, 0.3);
}

.contact-card h3 {
  color: #fff;
  margin-bottom: 5px;
}

.contact-card p {
  color: #ccc;
  font-size: 0.95rem;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.social-icons a {
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: #fff;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.social-icons a:hover {
  background: #ffb400;
  color: #000;
  box-shadow: 0 0 15px rgba(255, 180, 0, 0.4);
  transform: scale(1.15);
}

@media (max-width: 768px) {
  .contact-cards {
    flex-direction: column;
    align-items: center;
  }
}

/* Contact section links */
.contact-card a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 0.85rem;
}

.contact-card a:hover {
  color: #ffb400;
}

/* Remove underline from social icons */

/* === LIVE PREVIEW SECTION === */
.live-preview {
  padding: 70px 20px;
  max-width: 1100px;
  margin: auto;
  text-align: center;
}

.live-preview-title {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 10px;
  color: #ffd43b;
}

.live-preview-subtitle {
  color: #ccc;
  font-size: 1rem;
  margin-bottom: 30px;
}

.preview-frame-wrapper {
  border-radius: 15px;
  overflow: hidden;
  border: 1px solid #333;
  box-shadow: 0 0 25px rgba(255, 180, 0, 0.2);
  margin-bottom: 25px;
}

.preview-frame {
  width: 100%;
  height: 500px;
  border: none;
}

.preview-btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 25px;
  background: #ffb400;
  color: #000;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
}

.preview-btn:hover {
  background: #ffaa00;
  box-shadow: 0 0 15px rgba(255, 180, 0, 0.6);
  transform: scale(1.05);
}

/* Responsive */
@media (max-width: 768px) {
  .preview-frame {
    height: 350px;
  }
}
