:root {
    --primary: blue;
    --light: #f8f9fa;
    --dark: #222;
    --secondary: rgb(94, 94, 247);   /* optional - used in link hover */
    --light-blue: #4f8df5;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: system-ui, -apple-system, sans-serif;
    background: var(--light);
    color: #333;
}

a { 
    text-decoration: none; 
    color: inherit; 
}

img { 
    max-width: 100%; 
    display: block; 
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* ─── Header ─── */
header {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 80px; /* controls navbar height */
    padding: 0.5rem 0;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 85px;           /* make it clearly visible */
    width: auto;
    transform: scale(1.6);  /* IMPORTANT: scales content inside image */
    transform-origin: left center;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary);
}

.mobile-toggle {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--light-blue);
    border: 1px var(--light-blue) dashed;
    border-radius: 5px;
    padding: 4px 10px;
}

.projects {
  padding: 100px 20px;
  background: linear-gradient(to bottom, #ffffff, #f8fafc);
}

/* Dark project section (Gym) */
.dark-project {
  background: linear-gradient(135deg, #020617, #020617);
  padding: 80px 60px;
  border-radius: 30px;
  color: #e5e7eb;
}

.dark-project h3 {
  color: #ffffff;
}

.dark-project p {
  color: #cbd5f5;
}

.dark-project .project-logo img {
  filter: brightness(1.2);
}

/* Images pop on dark */
.dark-project .project-images img {
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
}

.light-project {
  background: linear-gradient(135deg, #f8fafc, #eef2ff);
}
.blue-project{
  background: linear-gradient(135deg, #a4bcd4, #eef2ff);
}

/* Header */
.projects-header {
  text-align: center;
  margin-bottom: 80px;
}

.projects-header h2 {
  font-size: 2.8rem;
  margin-bottom: 10px;
}

.projects-header p {
  color: #64748b;
  max-width: 600px;
  margin: auto;
}

/* Project Card */
.project-card {
  max-width: 1300px;
  margin: 120px auto;
  padding: 80px 70px;
  border-radius: 30px;
  display: grid;
  grid-template-columns: 1fr 1.6fr; /* images get MORE space */
  gap: 80px;
  align-items: center;
}


.project-card.reverse {
  grid-template-columns: 1.2fr 1fr;
}



.project-left h3 {
  font-size: 2.2rem;
  margin: 25px 0 15px;
}

.project-left p {
  max-width: 420px;
  line-height: 1.7;
}


/* Images*/
.project-right {
  display: grid;
  grid-template-columns : repeat(2, 1fr);
  gap: 35px;
}

.project-right img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 40px 80px rgba(0,0,0,0.35);
  transition: transform 0.4s ease;
}

.project-right img:hover {
  transform: scale(1.06);
}




/* CTA */
.projects-cta {
  margin-top: 120px;
  padding: 80px 20px;
  text-align: center;
  background: linear-gradient(
    135deg,
    rgba(37, 99, 235, 0.1),
    rgba(20, 184, 166, 0.1)
  );
  border-radius: 30px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.projects-cta h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

/* Button */
.btn-primary {
  display: inline-block;
  padding: 14px 34px;
  background: var(--primary-blue);
  color: navy;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(37,99,235,0.3);
}

/* Scroll animations */
.animate {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

.animate.show {
  opacity: 1;
  transform: translateY(0);
}

.testimonial {
  margin-top: 40px;
  padding: 30px;
  border-radius: 20px;
  background: rgba(0, 0, 0, 0.03);
  font-style: italic;
}

.dark-project .testimonial {
  background: rgba(255, 255, 255, 0.06);
}

.testimonial p {
  margin-bottom: 10px;
  line-height: 1.6;
}

.testimonial span {
  font-style: normal;
  font-weight: 600;
  opacity: 0.8;
}




/* Footer Wrapper */
.site-footer {
    display: flex;
    flex-direction: column;
    /* min-height: 100vh; */
}

/* Main Footer */
.footer-main {
    background: #fff;
    padding: 4rem 2rem;
}

/* Grid */
.footer-grid {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
}

/* Brand */
.footer-brand img {
    width: 200px;
}

.highlight {
  color: var(--light-blue); /* Blue */
}

.disrupt {
  color: navy; /* Purple */
}
.slogan {
    margin: 1rem 0;
    font-weight: 600;
    color: #333;
    position: relative;
    bottom: 40px;
    left: 20px;
}

.social-icons a {
    margin-right: 0.5rem;
    font-size: 1.2rem;
    color: #333;
    position: relative;
    bottom: 40px;
    left: 20px;
}

/* Sections */
.footer-section h4,
.footer-contact h4 {
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    text-decoration: none;
    color: #333;
}

/* Toggle Buttons (mobile only) */
.footer-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    width: 100%;
    text-align: left;
}

/* Bottom Bar */
.footer-bottom {
    margin-top: auto;
    background: #3d4652;
    color: #fff;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
}

.footer-bottom a {
    color: #fff;
    text-decoration: none;
}

@media (min-width: 1200px) {
  .project-content {
    grid-template-columns: 1fr 2fr;
  }
}

/* Responsive */
@media (max-width: 900px) {
  .project-card {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 60px 30px;
  }

  .project-left p {
    margin: auto;
  }

  .project-right {
    grid-template-columns: 1fr;
    margin-top: 40px;
  }
}



/* ─── Mobile Menu ─── */
@media (max-width: 768px) {
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 1.5rem;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        display: none;
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-toggle {
        display: block;
    }

    .logo span {
        font-size: 1.3rem;
    }


      .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-toggle {
        display: flex;
        justify-content: space-between;
        margin-bottom: 1rem;
    }

    .footer-brand img{
    margin: auto;
    }

    .footer-heading{
        display: none;
    }

    .footer-section ul {
        display: none;
    }

    .footer-section.active ul {
        display: block;
    }

    .social-icons {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 0.5rem;
    }


}