/* ================================
   BASE STYLES
================================= */
@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:wght@300;400;600;700&family=Quicksand:wght@300;400;500&display=swap');

/* Google Font */
body {
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 400;
  background-color: #f4f4f4;
  margin: 0;
}

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

a {
  text-decoration: none;
  color: #222;
  font-weight: 500;
  transition: color 0.3s ease;
}

/* ================================
   NAVBAR STYLES
================================= */
.navbar {
  background-color: rgba(255, 255, 255, 0.6); /* semi-transparent */
  backdrop-filter: blur(15px);               /* blur effect */
  -webkit-backdrop-filter: blur(15px);        /* Safari support */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05); /* subtle shadow */
  transition: background-color 0.3s ease;
}


/* Navbar Links */
.navbar-nav a {
  color: black;
  position: relative;
}

.navbar-nav a:hover {
  color: #fca61f;
}

.navbar-nav a::after {
  content: "";
  display: block;
  height: 2px;
  width: 0;
  background: #fca61f;
  position: absolute;
  bottom: 0;
  left: 50%;
  top: 35px;
  transition: width 0.3s ease, left 0.3s ease;
}

.navbar-nav a:hover::after {
  width: 100%;
  left: 0;
}

/* Contact Button */
.c-btn {
  background-color: #ff9100;
  color: #fff;
  padding: 0.4rem 1rem;         /* Reduced height */
  border: none;                 /* Removed border */
  border-radius: 999px;
  font-weight: bold;
  font-size: 0.95rem;
  line-height: 1;
  transition: background 0.3s ease;
  cursor: pointer;
}

.c-btn:hover {
  background-color: #e87f00;
}

/* Hamburger Menu Button (Mobile) */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 2000;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: #333;
  border-radius: 2px;
}

/* Mobile Menu Styles */
.mobile-menu {
  display: none;
  flex-direction: column;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  padding: 1.5rem;
  position: absolute;
  top: 100%;
  width: 100%;
  left: 0;
  z-index: 1000;
}

.mobile-menu a {
  margin: 1rem 0;
  font-size: 1.1rem;
}

/* Toggle Visibility for Mobile Menu */
.mobile-menu.open {
  display: flex;
}

/* ================================
   RESPONSIVE STYLES
================================= */
@media (max-width: 768px) {
  .nav-links,                /* Hide desktop nav links on mobile */
  .contact-btn {             /* Hide desktop contact button */
    display: none !important;
  }

  .hamburger {
    display: flex;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.5rem;
  }
}

/* Welcome Section Layout */
.welcome {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4rem 8%;
  gap: 2rem;
  flex-wrap: wrap;
}

/* Left Side */
.welcome-left {
  flex: 1;
  text-align: center;
  align-items: center;
  padding-bottom: 150px;
}

.brand-name {
  font-size: 38px;
  font-weight: 300;
  color: #000;
  margin: 0.5rem 0 0.2rem;
}

.brand-tagline {
  font-size: 13px;
  font-weight: 300;
  color: #000;
  margin-bottom: 1.5rem;
}

/* Centering Lottie inside welcome-left */
.lottie-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

/* Right Side */
.welcome-right {
  flex: 2;
  max-width: 600px;
  text-align: left;
}

.welcome-heading {
  font-size: 3.5rem;
  font-weight: 400;
  color: #7c7c7c;
  line-height: 1.3;
  margin-bottom: 1rem;
}

.welcome-subtext {
  font-size: 16px;
  font-weight: 300;
  color: #000;
  margin-bottom: 40px;
}

/* Button */
.cta-btn {
  display: inline-block;
  background-color: #ff9d2d;
  color: #333;
  padding: 0.75rem 2rem;
  border-radius: 999px;
  font-size: 17px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
}

.cta-btn:hover {
  background-color: #00e099;
  color: #fff;
  transform: translateY(-2px);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .welcome {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 3rem 5%;
  }

  .welcome-left,
  .welcome-right {
    max-width: 100%;
    flex: 100%;

  }
  .welcome-left{
    padding-bottom: 10px;

  }

  .welcome-right {
    align-items: center;
    text-align: center;
  }

  .welcome-heading {
    font-size: 2.2rem;
  }

  .welcome-subtext {
    font-size: 16px;
    margin-bottom: 30px;
  }

  .cta-btn {
    font-size: 16px;
    padding: 0.7rem 1.8rem;
  }
}

/* Trigger Button */
    .open-popup {
      font-size: 18px;
      background-color: #ff9d2d;
      color: #333;
      padding: 10px 20px;
      border-radius: 12px;
      text-decoration: none;
      display: inline-block;
      cursor: pointer;
    }
    .open-popup:hover {
  background-color: #00e099;
  color: #fff;
  transform: translateY(-2px);
}

    /* Popup Overlay */
    .popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw; /* full width */
  height: 100vh; /* full height */
  background-color: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(5px);
  display: none; /* Hide by default */ /* change from none to flex to test */
  justify-content: center;
  align-items: center;
  z-index: 9999; /* Ensure it’s above navbar */
}

    /* Popup Box */
.popup {
  background: #fff;
  border-radius: 40px;
  max-width: 1100px;
  width: 90%;
  padding: 40px;
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  position: relative;
  z-index: 10000; /* Higher than overlay just to be safe */
}

    .popup h2 {
      color: #454545;
      font-size: 30px;
      margin: 0 0 20px;
    }

    .popup .info {
      flex: 1;
      min-width: 250px;
      color: #454545;
    }

    .popup .info p {
      margin: 10px 0;
      font-size: 18px;
    }

    .popup form {
      flex: 2;
      display: flex;
      flex-direction: column;
      gap: 20px;
    }

    input, textarea {
      padding: 15px;
      border-radius: 12px;
      border: 1px solid #454545;
      font-size: 20px;
      color: #454545;
      background: #f5f5f5;
      font-family: 'Josefin Sans', sans-serif;
    }

    input::placeholder,
    textarea::placeholder {
      color: #969696;
    }

    button.submit-btn {
      background: #FF5886;
      color: white;
      padding: 15px;
      border-radius: 16px;
      border: none;
      font-size: 20px;
      cursor: pointer;
      transition: background 0.3s ease, box-shadow 0.3s ease;
    }

    button.submit-btn:hover {
      background: #e94a75;
      box-shadow: 0 4px 15px rgba(255, 88, 134, 0.4);
    }

    @media (max-width: 600px) {
      .popup {
        flex-direction: column;
        padding: 30px 20px;
        border-radius: 24px;
      }
      .popup h2 {
        font-size: 24px;
        text-align: center;
      }
      .popup .info p {
        font-size: 16px;
        text-align: center;
      }
      input, textarea {
        font-size: 16px;
      }
      button.submit-btn {
        font-size: 18px;
      }
    }


/* ================================
   what we do best
================================= */
.what-we-do {
  background: linear-gradient(to bottom, #C2EBED, #E2F3F4);
  padding: 4rem 2rem;
  text-align: center;
}

.section-title {
  font-size: 36px;
  font-weight: 600;
  color: #7C7C7C;
  margin-bottom: 3rem;
}

.services-row {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.center-row {
  justify-content: center;
}

.service-card {
  /* flex: 1 1 300px;
  max-width: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 1rem;
  text-align: center; */

  display: flex;
  flex-direction: column;
  align-items: center; /* center all contents horizontally */
  text-align: center;
  padding: 20px;
  max-width: 300px;
  margin: 0 auto;
  animation: slideUp 0.8s ease forwards;
  opacity: 0;
  transform: translateY(30px);
}

.service-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-icon img{
  width: 60px;
  height: 60px;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-title {
  font-size: 32px;
  font-weight: 400;
  color: #5C5C5C;
  margin-bottom: 0.8rem;
}

.service-desc {
  font-size: 20px;
  font-weight: 400;
  color: #969696;
  line-height: 1.5;
  max-width: 340px;
}

/* --- Mobile Responsive --- */
@media (max-width: 768px) {
  .section-title {
    font-size: 24px;
  }

  .service-title {
    font-size: 20px;
  }

  .service-desc {
    font-size: 16px;
  }

  .services-row {
    flex-direction: column;
    align-items: center;
  }
}

/* Animation Keyframes */
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Apply Animation */
.service-card {
  animation: slideUp 0.8s ease forwards;
  opacity: 0;
  transform: translateY(30px);
}

/* Animate with staggered delays */
.service-card:nth-child(1) {
  animation-delay: 0.1s;
}
.service-card:nth-child(2) {
  animation-delay: 0.2s;
}
.service-card:nth-child(3) {
  animation-delay: 0.3s;
}
.center-row .service-card:nth-child(1) {
  animation-delay: 0.4s;
}
.center-row .service-card:nth-child(2) {
  animation-delay: 0.5s;
}


/* =================================
  OUR WORKS
========================= */


.our-works-section {
/* background: linear-gradient(to bottom, #EBF3F5, #F5F5F5, #F7F6F2, #FFF9E7); */
  padding: 80px 20px;
  text-align: center;
  overflow: hidden;
}

.works-section {
    padding: 30px;
    padding-left: 40px;
    padding-right: 40px;
    padding-bottom: 80px;
    padding-top: 80px;
    max-width: 1440px;
      margin: 0 auto;
    }

    .works-heading {
      font-size: 36px;
      font-weight: 600;
      color: #7C7C7C;
      text-align: center;
      margin-bottom: 40px;
    }

    .card-container {
      display: flex;
      overflow-x: auto;
      scroll-snap-type: x mandatory;
      gap: 20px;
      padding-bottom: 40px;
      scroll-behavior: smooth;
    }

    .card-container::-webkit-scrollbar {
      display: none;
    }

    .work-card {
      flex: 0 0 calc((100% - 60px) / 3); /* 3.75 cards per view */
      background: linear-gradient(to bottom right, #ffffff, #fffdee);
      border-radius: 20px;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
      padding: 20px;
      scroll-snap-align: start;
      transition: transform 0.3s ease;
      opacity: 0;
      transform: translateY(50px);
    }

    .work-card.show {
      opacity: 1;
      transform: translateY(0);
    }

    .work-card:hover {
      transform: scale(1.03);
    }

    .work-image {
  width: 100%;
  height: 200px;
  background-color: #d0d0d0;
  border-radius: 10px;
  margin-bottom: 20px;
  overflow: hidden;
  position: relative;
}

.work-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

    .work-title {
      font-size: 28px;
      font-weight: 400;
      color: #5C5C5C;
      text-align: left;
    }

    .work-desc {
      font-size: 20px;
      font-weight: 400;
      color: #969696;
      text-align: left;
      margin-bottom: 20px;
    }

    .work-btn {
      display: inline-block;
      width: 100%;
      padding: 12px;
      border: 1px solid #5C5C5C;
      border-radius: 12px;
      text-align: center;
      font-size: 20px;
      background-color: transparent;
      color: #5C5C5C;
      font-family: "Poppins", sans-serif;
      cursor: pointer;
    }
    .work-btn:hover {
  background-color: #e0e0e0; /* Light grey */
  color: #333333;           /* Darker text for better contrast */
  border-color: #333333;    /* Optional: darker border on hover */
}

    .view-all-btn {
      background: linear-gradient(to right, #FFA726, #FFB74D);
      color: #000;
      width: 9rem;
      font-weight: 500;
      padding: 14px 28px;
      border-radius: 30px;
      border: none;
      font-size: 16px;
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 0 auto;
      gap: 10px;
      box-shadow: 0 8px 20px rgba(255, 165, 0, 0.3);
      transition: background 0.3s ease;
    }

    .view-all-btn:hover {
      background: linear-gradient(to right, #FFB74D, #FFA726);
    }

    @media (max-width: 768px) {
      .works-heading {
        font-size: 24px;
      }

      .works-section {
    padding: 30px;
    padding-left: 10px;
    padding-right: 10px;
    padding-bottom: 40px;
    padding-top: 40px;
    }

      .work-title {
        font-size: 20px;
      }

      .work-desc {
        font-size: 16px;
      }

      .work-card {
        flex: 0 0 calc((100% - 20px) / 1.25); /* 1.25 cards visible */
      }

    }

    
/* ================================
         services
=================================== */
section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  text-align: center;
}

.services-description {
  font-size: 24px;
  font-weight: 400;
  color: #969696;
  line-height: 25px;
  margin-bottom: 60px;
}

.heading {
  font-size: 36px;
  font-weight: 600;
  color: #7C7C7C;
  margin-bottom: 60px;
}

.cards {
  display: flex;
  gap: 50px;
  justify-content: center;
  flex-wrap: wrap;
}

.card {
  background: #F6F6F6;
  border-radius: 30px;
  text-align: left;
  padding: 24px;
  width: 100%;
  max-width: 400px;
  aspect-ratio: 1 / 1; /* Ensures perfect square */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transform: translateY(30px);
  opacity: 0;
  transition: transform 0.6s ease, opacity 0.6s ease, box-shadow 0.3s ease;
}

.card.visible {
  transform: translateY(0);
  opacity: 1;
}

.card:hover {
  transform: translateY(0) scale(1.03);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.card h3 {
  margin-top: 10px;
  font-size: 32px;
  font-weight: 400;
  color: #454545;
}

.card p {
  margin-top: 10px;
  font-size: 20px;
  line-height: 25px;
  font-weight: 400;
  color: #969696;
  margin-bottom: 20px;
  flex-grow: 1;
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  font-size: 28px;
  font-weight: 400;
  color: #5C5C5C;
  background: none;
  border: 2px solid #5C5C5C;
  border-radius: 20px;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease;
}

.btn:hover {
  background: #5C5C5C;
  color: #fff;
}



@media (max-width: 768px) {
  .section {
    padding: 40px 10px;
  }
  .heading {
    font-size: 24px;
  }
  .services-description {
    font-size: 20px;
  }
  .cards {
    flex-direction: column;
    align-items: center;
  }
  .card h3 {
    font-size: 20px;
  }
  .card p {
    font-size: 16px;
  }
  .btn {
    font-size: 20px;
    padding: 10px 20px;
  }
}


/* ===================================
Start Your Project With US
======================================= */
.vision-section {
  position: relative;
  padding: 80px 20px;
  background: linear-gradient(135deg, #ADD8E6, #FFF3DB, #FFFFFF, #FFE2E6, #FFF496);
  overflow: hidden;
  max-width: auto;
}

.radial-ellipse {
  position: absolute;
  width: 800px;
  height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,177,221,0.3) 0%, rgba(255,218,245,0) 100%);
  top: 20%;
  left: 50%;
  transform: translate(10%, -50%);
  z-index: 0;
}

.vision-container {
  position: relative; /* ensure children are positioned relative to this */
  background: linear-gradient(135deg, #E7F5FD, #F4F9FF);
  padding: 60px 40px;
  border-radius: 40px;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  z-index: 1;
  box-shadow: 0 0 30px rgba(0,0,0,0.05);
  overflow: hidden; /* optional: prevents SVGs from spilling outside */
}

.vision-container h2 {
  font-size: 45px;
  color: #454545;
  font-weight: 600;
  margin-bottom: 24px;
}

.vision-container p {
  font-size: 18px;
  color: #969696;
  line-height: 28px;
  margin-bottom: 40px;
}

.vision-btn {
  font-size: 20px;
  color: #F1F1F1;
  background-color: #FF5886;
  border: none;
  padding: 16px 32px;
  border-radius: 24px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
}

.vision-btn:hover {
  background-color: #ff7799;
  transform: scale(1.05);
}

.svg {
  position: absolute;
  width: 330px;
  height: auto;
  background: none;
  z-index: 2;
  pointer-events: none;
}

.svg-blue {
  top: -90px;
  right: -20px;
  animation: slideFromTop 1.5s ease forwards;
}

.svg-green {
  bottom: -80px;
  left: -90px;
  animation: slideFromBottom 1.5s ease forwards;
}

.svg-pink {
  bottom: -150px;
  right: -60px;
  animation: slideFromBottom 1.5s ease forwards;
}

/* Optional SVG animation */
@keyframes slideFromTop {
  from {
    opacity: 0;
    transform: translateY(-50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideFromBottom {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Styling */
@media (max-width: 768px) {
  .vision-container {
    padding: 40px 20px;
    border-radius: 24px;
  }

  .vision-container h2 {
    font-size: 26px;
  }

  .vision-container p {
    font-size: 16px;
    line-height: 24px;
  }

  .vision-btn {
    font-size: 18px;
    padding: 14px 28px;
  }

  .svg {
    width: 200px;
    height: auto;
  }

  .svg-blue {
    top: -50px;
    right: -70px;
  }

  .svg-green{
    bottom: -40px;
    left: -55px;
  }
  .svg-pink {
    bottom: -70px;
    right: -80px;
  }
}

/* =======================
          FAQ
   =======================*/

.faq-section {
  background: #fff;
  padding: 60px 20px;
  text-align: center;
}

.faq-heading {
  color: #7C7C7C;
  font-size: 36px;
  font-weight: 500;
  margin-bottom: 40px;
}

.faq-container {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid #454545;
  border-radius: 30px;
  overflow: hidden;
  margin-bottom: 20px;
  background: white;
  transition: all 0.3s ease;
}

.faq-question {
  width: 100%;
  background: white;
  color: #161616;
  font-size: 20px;
  font-weight: 550;
  padding: 20px 30px;
  text-align: left;
  border: none;
  outline: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: inherit;
}

.faq-question::after {
  content: "⌄";
  font-size: 20px;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-item.active .faq-answer {
  max-height: 200px; /* Adjust based on content */
}

.faq-answer p {
  margin: 0;
  padding: 20px 30px;
  font-size: 20px;
  color: #454545;
  text-align: left;
}

/* Mobile styles */
@media (max-width: 768px) {
  .faq-heading {
    font-size: 24px;
  }

  .faq-question {
    font-size: 18px;
    padding: 16px 24px;
  }

  .faq-question::after {
    font-size: 18px;
  }

  .faq-answer p {
    font-size: 18px;
    padding: 16px 24px;
  }
}


/* ================================
   FOOTER
================================= */

footer {
  background: linear-gradient(90deg, #32C274, #37C1DB);
  color: #ffffff;
  text-align: center;
  padding: 3rem 1rem 1rem;
  font-family: 'Josefin Sans', sans-serif;
}

.footer-logo {
  width: 60px;
  margin: 0 auto 1rem;  /* center horizontally and keep bottom margin */
  display: block;
}

.footer-heading {
  font-size: 1.5rem;
  margin: 0.5rem 0;
  font-weight: 600;
}

.footer-contact p {
  margin: 0.3rem 0;
  font-size: 1rem;
}

.footer-social {
  margin: 1rem 0;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

.footer-social i {
  font-size: 1.2rem;
  color: white;
  transition: transform 0.2s;
}

.footer-social i:hover {
  transform: scale(1.2);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.5);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  padding-top: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}
