/* =========================
   BASE STYLES (GLOBAL)
   ========================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  overflow-x: hidden;
}
body {
  font-family: 'Segoe UI', sans-serif;
  color: #fff;
  background-color: rgb(254,241,244);
  overflow-x: hidden;
  margin: 0;
}

header {
  background: #f5f5f5;
  color: #000;
  display: flex;
  justify-content: space-between;
  padding: 1rem 2rem;
  align-items: center;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1100;
}


.logo-container {
  display: flex;
  align-items: center;
  padding-left: 1.2rem;
}

.logo-container img {
  width: 35px;
  height: 35px;
  border-radius: 50%;
} 


.logo{
    color: rgb(225,29,72);
    font-size: 20px;
    font-weight: 700;
    padding-left: 0.5rem;
}

nav {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding-right: 4rem;
}



nav a {
  margin-left: 1.5rem;
  color: #333;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
}

nav a:hover {
  color: rgb(225,29,72);
  text-decoration: underline;
}
.hero {
  background: url("./asset/silhouette-couple-enjoying-beautiful-sunset-shore-sea.jpg") center/cover no-repeat;
  height: 100vh;
  position: relative;
}
.overlay {
  background-color: rgba(0,0,0,0.5);
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 2rem;
}
.hero h1 {
  font-size: 70px;
  margin-bottom: 1rem;
  font-weight: 700;
}
.hero p {
  font-size: 22px;
  margin-bottom: 2rem;
  font-weight: 400;
  padding-right: 5px;
  padding: rem;
  color: #fce1e6;
}
.hero-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

.hero-buttons .btn {
  height: auto; 
  width: fit-content; 
  padding: 0.8rem 1.5rem;
  border-radius: 25px;
  font-weight: bold;
  text-decoration: none;
  margin: 0 0.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}


#pink.clicked {
  animation: clickBounce 0.3s ease;
}
#dark.clicked {
  animation: clickBounce 0.3s ease;
}

.stats {
  margin-top: 3rem;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}
.stats div {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 1rem 2rem;
  border-radius: 10px;
  color: rgb(253,205,211);
  height: 90px;
  max-width: 500px;
}
.stats div p {
  font-size: 16px;
  font-weight: 400;
}
  
      /* About Section Styles     */


    .about-section {
      width: 100%;  
      padding: 60px 20px;
      max-width: 1200px;
      margin: auto;
      /* background-color:  rgb(254,241,244); */
/* Removed stray closing curly brace to fix CSS error */

    .about-section h2 {
      text-align: center;
      font-size: 48px;
      font-weight: 700;
      color: #1f2937;
      margin-bottom: 15px;
    }

      /* Ensure subscribe form is full width and aligned */
      #subscribeForm {
        width: 100%;
        margin: 0;
        padding: 0;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
      }
      #subscribeForm input[type="email"], #subscribeForm button {
        width: 100%;
        margin-left: 0;
        box-sizing: border-box;
      }
    }

    .about-content {
      display: flex;
      flex-wrap: wrap;
      gap: 40px;
      align-items: center;
      justify-content: space-between;
    }

    .about-section h2{
      text-align: center;
      font-size: 48px;
      font-weight: 700;
      color: #1f2937;
      margin-bottom: 15px;
    }

    .about-section h2 span{
      color: #d63384;
    }

    .subtitle{
      text-align: center;
      font-size: 20px;
      font-weight: 400;
      margin-bottom: 40px;
      color: #545a64;
    }

    .mission-text {
      flex: 1 1 55%;
    }

    .mission-text h3 {
      font-size: 30px;
      font-weight: 700;
      color: #1f2937;
      margin-bottom: 20px;
    }

    .p12{
        margin-bottom: 20px;
        padding-right: 40px;
    }

    .mission-text p {
      font-size: 18px;
      line-height: 1.6;
      font-weight: 400;
      color: #545a64;
      padding-right: 40px;

    }

    .founder-card {
      flex: 1 1 35%;
      background: #fff;
      border-radius: 16px;
      padding: 30px 20px;
      box-shadow: 10px 10px 0px #fbb6ce;
      text-align: center;
      height: 350px;
      width: 600px;
    }

    .founder-card img {
      width: 120px;
      height: 120px;
      border-radius: 50%;
      object-fit: cover;
      margin-bottom: 15px;
    }

    .founder-card h4 {
      color: #1f2937;
      font-weight: 600; 
      font-size: 18px;
      margin: 10px 0 4px;
    }

    .founder-card span {
      display: block;
      font-size: 14px;
      color: #e11d48;
      font-weight: 600;
      margin-bottom: 10px;
    }

    .founder-card p {
      font-size: 15px;
      color: #555;
      font-style: italic;
    }

    @media (max-width: 768px) {
      .about-content {
        flex-direction: column;
        text-align: center;
      }
      .mission-text, .founder-card {
        flex-grow: 1;
        flex-shrink: 1;
        flex-basis: 100%;
      }
    }



    /* service section */

    .services {
      display: flex;
      flex-wrap: wrap;
      gap: 40px;
      justify-content: center;
      padding: 60px 20px;
      margin-top: 2rem;
    }

    .service-card {
      background: #fff;
      border-radius: 12px;
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
      padding: 30px 20px;
      max-width: 250px;
      height: 250px;
      text-align: center;
      transition: transform 0.3s ease;
    }

    .card-icon {
       font-size: 30px;
       margin-bottom: 1.2rem;
     }

    .service-card:hover {
      transform: translateY(-10px);
    }

    .service-card img {
      width: 40px;
      height: 40px;
      margin-bottom: 15px;
    }

    .service-card h4 {
      font-size: 18px;
      margin-bottom: 10px;
      color: #111;
    }

    .service-card p {
      font-size: 14px;
      color: #555;
      line-height: 1.5;
    }

    @media (max-width: 768px) {
      .service-card {
        max-width: 100%;
      }
    }


/* Hamburger styles */
.hamburger {
  font-size: 1.4rem;
  color: #e11d48;
  border: none;
  background: none;
  cursor: pointer;
  z-index: 1001;
  visibility: hidden;
  display: none;
}

/* Responsive nav and hamburger for mobile */
@media (max-width: 768px) {
  .hamburger {
    visibility: visible;
    display: flex;
    margin-right: 2rem;
  }
  nav#main-nav {
    position: absolute;
    top: 70px;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    width: 200px;
    padding: 1rem 2rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    display: none;
    z-index: 1000;
  }
  nav#main-nav.open {
    display: flex;
  }
  header {
    position: relative;
  }
  nav#main-nav a {
    color: #e11d48;
    margin: 1rem 0;
    font-size: 18px;
    width: 100%;
  }
}
/* Responsive nav */
@media (max-width: 768px) {
  nav#main-nav {
    position: absolute;
    top: 70px;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    width: 200px;
    padding: 1rem 2rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    display: none;
    z-index: 1000;
  }
  nav#main-nav.open {
    display: flex;
  }
  .hamburger {
    display: flex;
    margin-right: 2rem;
  }
  header {
    position: relative;
  }
  nav#main-nav a {
    color: #e11d48;
    margin: 1rem 0;
    font-size: 18px;
    width: 100%;
  }
}




    .join-community {
      display: flex;
      justify-content: center;
      align-items: center;
      min-height: 80vh;
      padding: 40px 20px;
      background: linear-gradient(to right, #ffeef4, #fff);
      box-sizing: border-box;
    }

    .community-box {
      background: linear-gradient(to right, #ffeef4, #fff);
      border-radius: 16px;
      padding: 40px;
      height: 400px;
      max-width: 800px;
      text-align: center;
      box-sizing: content-box;
      box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    }

    .com-icon {
      font-size: 60px;
      margin-bottom: 20px;
    }

    .community-box h2 {
      font-size: 24px;
      margin-bottom: 15px;
      color: #1e1e1e;
    }

    .community-box p {
      font-size: 16px;
      color: #555;
      margin-bottom: 30px;
    }

    .community-box a {
      display: inline-block;
      padding: 12px 28px;
      background-color: #e91e63;
      color: white;
      text-decoration: none;
      border-radius: 25px;
      font-weight: bold;
      box-shadow: 0 4px 12px rgba(233, 30, 99, 0.4);
    }

    .community-box a:hover {
      background-color: white;
      color: #e91e63;
    }



.event{
  margin-top: 6rem;
  margin-bottom: 3rem;
}


    .event h2 {
      text-align: center;
      font-size: 48px;
      font-weight: 700;
      color: #1f2937;
      margin-bottom: 15px;
    }

    .event p{
      text-align: center;
      font-size: 20px;
      font-weight: 400;
      margin-bottom: 40px;
      color: #545a64;
    }

    .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  padding: 40px 20px;
}

.card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  width: 400px;
  height: fit-content;
  overflow: hidden;
  padding-bottom: 10px;
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-15px);
}

.card-img {
  position: relative;
}

.card-img img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.badge {
  position: absolute;
  background: #22c55e;
  color: white;
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 12px;
  top: 10px;
  right: 10px;
}

.card-content {
  padding: 20px;
  position: relative;
}

.card h3 {
  margin: 0 0 10px;
  font-size: 18px;
  color: #111;
  text-align: center;
}

.info {
  font-size: 1rem;
  color: #10b981;
  margin-bottom: 6px;
  text-align: center;
}

.info-2{
  color: #f97316;
}

.desc {
  font-size: 14px;
  color: #555;
  margin-top: 15px;
  text-align: justify;
  padding: 10px;
}

.btn-card {
  display: block;
  width: 100%;
  text-align: center;
  margin-top: 20px;
  padding: 10px 0;
  background: linear-gradient(to right, #f43f5e, #d946ef);
  color: white;
  font-weight: bold;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;

}

@keyframes clickBounce {
  0% { transform: scale(1); }
  30% { transform: scale(0.95); }
  60% { transform: scale(1.05); }
  100% { transform: scale(1); }
}
.btn-card.clicked {
  animation: clickBounce 0.3s ease;
}




/* ✅ `contact.css` */
.contact-section {
  background: #fef2f6;
  padding-left: 10px;
  padding-right: 10px;
  padding-top: 40px;
  margin-bottom: 4rem;
}


#get {
      text-align: center;
      font-size: 48px;
      font-weight: 700;
      color: #1f2937;
      margin-bottom: 15px;
    }


#get span{
  color: #d63384;
}    

  .contact-section p{
      text-align: center;
      font-size: 20px;
      font-weight: 400;
      margin-bottom: 40px;
      color: #545a64;
    }

.contact-container {
  display: flex;
  flex-direction: row;
  width: 80%;
  margin: auto;
  gap: 40px;
}

.contact-form {
  
  width: 50%;
  height: fit-content;
  background: #fff;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.05);
  box-sizing: border-box;
}

form{
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px;
}

.contact-form h2 {
  margin-bottom: 30px;
  color: #1f2937;
}

.contact-form p {
  margin-bottom: 20px;
  color: #555;
}

.form-row {
  display: flex;
  flex-direction: column; /* Stack label above input */
  gap: 10px;               /* Space between label and input */
  margin-bottom: 15px;
}

label{
  color: #1f2937;
}

input, select, textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 14px;
}

.form-row input, .form-row select {
  flex: 1;
}

textarea {
  height: 100px;
  margin-bottom: 15px;
  resize: none;
}

button {
  background: linear-gradient(to right, #ff4d88, #d63384);
  color: #fff;
  padding: 12px 24px;
  border: none;
  border-radius: 25px;
  font-weight: bold;
  cursor: pointer;
  width: 100%;
}



.contact-info {
  flex: 1;
  min-width: 250px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-sizing: border-box;
}

.info-box {
  background: #fff;
  width: 500px;
  padding: 20px;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.05);
}

.info-box h4 {
  margin: 0 0 5px;
  color: #1f2937;
}

.info-box p {
  margin: 0;
  font-size: 17px;
  color: #555;
  text-align: start;
}

.info-box small {
  color: #888;
  font-size: 13px;
}

@media (max-width: 768px) {
  .contact-container {
    flex-direction: column;
  }

  .form-row {
    flex-direction: column;
  }

  .logo-container {
    padding-left: 0;
  }

.logo12 {
    width: 30px;
    height: 30px;
  }

  .logo{
    margin-left: 0.5rem;
    font-size: 18px;
  }

}

.contact-map {
  background: #eb34718e;
  padding: 20px;
  border-radius: 16px;
  margin-top: 20px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.05);
  text-align: center;
}

.contact-map h4 {
  margin-bottom: 10px;
}

.map-placeholder {
  background: #ffeef5;
  height: 200px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #d63384;
  font-weight: bold;
  border-radius: 10px;
  border: 2px dashed #ffa6c9;
}



.soulmate-cta {
  background: #e52c6a;
  color: #fff;
  text-align: center;
  padding: 60px 20px;
  border-radius: 8px;
}


.cta-icon {
  font-size: 60px;
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
}

.cta-content h2 {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 15px;
}

.cta-content p {
  font-size: 16px;
  margin-bottom: 25px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-button {
  width: fit-content;
  padding: 12px 25px;
  border: 2px solid #fff;
  border-radius: 30px;
  color: #fff;
  background: transparent;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cta-button:hover {
  background: #fff;
  color: #e91e63;
}




.footer {
  background-color: #121212;
  color: #fff;
  padding: 50px 20px 20px;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: space-between;
  max-width: 1200px;
  margin: auto;
}

.footer-p{
  text-align: start;
  font-size: 14px;
  /* color: #888; */
  margin-top: 20px;
}

.footer-col {
  flex: 1 1 220px;
  min-width: 220px;
}

.footer-col h3, .footer-col h4 {
  margin-bottom: 15px;
  color: #fff;
}

.footer-col p, .footer-col li {
  font-size: 14px;
  line-height: 1.6;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col input[type="email"] {
  width: 100%;
  padding: 10px;
  margin-top: 15px;
  margin-bottom: 15px;
  border: none;
  border-radius: 5px;
  background-color: #2a2a2a;
  color: #fff;
}

.footer-col button {
  width: 100%;
  padding: 10px;
  background: #e91e63;
  color: #fff;
  border: none;
  border-radius: 5px;font-weight: bold;
  cursor: pointer;
}

.social-icons {
  display: flex;
  gap: 12px;
  margin-top: 30px;
  margin-bottom: 20px;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #2c2c2c;
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  text-decoration: none;
  font-size: 18px;
  transition: background 0.3s ease;
}

.social-icons a:hover {
  background-color: #e91e63;
}


.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #333;
  font-size: 13px;
}

.footer-bottom p{
   margin-top: 1rem;
   font-size: 0.8rem;
}






/* =========================
   MEDIA QUERIES
   ========================= */


/* 💻 Medium screens (1024px to 1199px) */
@media (max-width: 1199px) {
  .logo {
    padding-left: 2rem;
  }

  .stats {
    gap: 1rem;
  }
}

/* 📱 Tablets & small laptops (768px to 1023px) */
@media (max-width: 1023px) {
  header {
    padding: 1rem;
  }

  nav {
    gap: 1rem;
  }

  .contact-container {
    width: 90%;
  }

  .card {
    width: 90%;
  }

  .footer-container {
    flex-direction: column;
    align-items: start;
  }
}

/* 📱 Mobile devices (up to 768px) */
@media (max-width: 768px) {
  html, body {
    overflow-x: hidden;
    width: 100%;
  }

  /* Navigation */
  header {
    flex-direction: row;
    justify-content: space-between;
    padding: 0.5rem 1rem;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1100;
    background: #f5f5f5;
  }

  .logo {
    padding-left: 0;
    font-size: 18px;
  }

  nav#main-nav {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    right: 0;
    top: 70px;
    background-color: #fff;
    position: absolute;
    padding: 1rem 2rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    display: none;
    z-index: 1000;
  }

  nav#main-nav.open {
    display: flex;
  }

  nav#main-nav a {
    color: #e11d48;
    font-size: 18px;
    width: 100%;
    margin: 1rem 0;
  }

  .hamburger {
    display: inline-block;
    visibility: visible;
  }

  .overlay {
    padding-top: 100px;
  }

  /* Hero Stats */
  .stats {
    flex-direction: column;
    align-items: center;
    margin-bottom: 3rem;
    /* visibility: hidden; */
  }

  .stats div {
    width: 90%;
    max-width: 200px;
    box-sizing: border-box;
    font-size: 0.7rem;
  }

  /* About Section */
  .about-content {
    flex-direction: column;
    text-align: justify;
  }

  .mission-text h3 {
    text-align: center;
  }

  .mission-text span{
    color: #d63384;
  }

  .mission-text p{
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .mission-text, .founder-card {
    flex: 1 1 100%;
    padding: 0 1rem;
  }

  .founder-card {
    width: 100%;
    max-width: 500px;
  }

  /* Services */
  .services {
    flex-direction: column;
    align-items: center;
  }

  .service-card {
    width: 100%;
    max-width: 90%;
  }

  /* Events */
  .container {
    flex-direction: column;
    align-items: center;
  }

  .card {
    width: 100%;
    max-width: 90%;
  }

  /* Contact Section */
  .contact-container {
    flex-direction: column;
    gap: 20px;
    width: 95%;
  }

  .contact-form,
  .info-box {
    width: 100%;
    max-width: 100%;
  }

  /* Footer */
  .footer-container {
    flex-direction: column;
    align-items: center;
  }

  .footer-col {
    width: 100%;
    text-align: start;
  }

  .footer-links {
    text-align: center;
    margin-top: 1rem;
  }

  .footer-col-2 p, .footer-col-2 input[type="email"] {
    width: 100%;
    margin-top: 10px;
    /* text-align: start; */
  }

  .footer-col-2 button {
    width: 100%;
    margin-top: 5px;
  }
}

/* 📱 Extra small devices (max-width: 480px) */
@media (max-width: 480px) {
  .hero h1 {
    font-size: 36px;
  }

  .hero p {
    font-size: 16px;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .btn {
    width: 100%;
  }

  .cta-content h2 {
    font-size: 22px;
  }

  .cta-content p {
    font-size: 14px;
  }

  .community-box {
    padding: 20px;
  }
}

/* Custom ranges */
@media (min-width: 344px) and (max-width: 915px) {
  .contact-section {
    padding: 30px;
  }
  .community-box {
    width: 80%;
    box-sizing: content-box;
    margin-top: 0.7rem;
    margin-bottom: 0.7rem;
  }
  .about-section h2, 
  #event h2, 
  #get {
    font-size: 24px;
  }
  .about-section p.subtitle, #event p, .contact-section p{
    font-size: 13px;
    padding: 0 20px;
  }
  #event p{
    padding: 0 20px;
  }
  .mission-text p, .p12{
    text-align: center;
  }
  .founder-card{
    width: 80%;
    box-sizing: content-box;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .footer-bottom p{
   font-size: 0.4rem;
   padding: 0 30px;
  }


}

@media (min-width: 344px) and (max-width: 740px) {
  .community-box {
    width: 80%;
    margin-top: 0.7rem;
    margin-bottom: 0.7rem;
  }
  .about-content{
    flex-direction: column-reverse;
    align-items: center;
  }
  .mission-text p{
    text-align: justify;
    text-align: inherit;
  }
 .hero{
   box-sizing: border-box;
 }
  .stats{
    flex-direction: column;
    align-items: center;
    margin-bottom: 3rem;
    gap: 1rem;
  }

  .stats div{
    width: 100%;
    max-width: 300px;
    height: 80px;
    font-size: 0.5rem;
    box-sizing: border-box;
  }
}

@media (min-width: 360px) and (max-width: 667px) {
   .overlay h1{
    padding-top: 200px;
    font-size: 30px;
   }
    .overlay{
      padding: 0 3rem;
      box-sizing: border-box;
    }

    .stats{
      height: fit-content;
      padding-bottom: 1rem;
      margin-bottom: 7rem;
      column-gap: 10rem;
    }

    .stats div{
      height: 80px;
      max-width: 250px;
      box-sizing: border-box;
    }

    .stats div h2{
      font-size: 20px;
    }

    .stats div p{
      font-size: 15px;
    }
}

@media(min-width: 375px) and (max-width: 667px) {
   .hero {
      box-sizing: border-box;
    }

  .overlay h1 {
    padding-top: 220px; /* Adjust as needed */
    font-size: 25px;
  }

}

@media (min-width:412px) and (max-width: 768px) {
  .stats{
    height: fit-content;
    padding-bottom: 1rem;
    margin-bottom: 7rem;
    column-gap: 10rem;
  }

  .stats div{
    height: 90px;
    max-width: 350px;
    box-sizing: border-box;
  }

  .stats div h2{
    font-size: 25px;
  }

  .stats div p{
    font-size: 16px;
  }

  .overlay h1{
    padding-top: 150px;
    font-size: 30px;
   }

    .overlay{
      padding: 0 2rem;
      box-sizing: border-box;
    }
}

@media (min-width: 540px) and (max-width: 720px) {
   .hero {
      box-sizing: border-box;
    }

  .overlay h1 {
    padding-top: 250px; /* Adjust as needed */
    font-size: 33px;
  }

  .overlay{
    padding: 0 3rem;
    margin-bottom: 3rem;
    box-sizing: border-box;
  }
}

@media (min-width: 912px) and (max-width: 1368px) {
  .contact-container{
    display: flex;
    flex-direction: row;
    box-sizing: content-box;
  } 
  .contact-form{
     width: 45%;
   }
   .contact-info-section{
    width: 50%;
   }
   .info-box{
    box-sizing: border-box;
    width: 400px;
   }
   .mission-text h3{
    text-align: center;
   }
   .mission-text p{
    text-align: justify;
   }

   .stats{
    margin-top: 5rem;
    max-width: 350px;
   }

    .stats div {
    width: 100%;
  }

    
  }



@media (min-width: 820px) and (max-width: 1180px) {
  .contact-form{
     width: 45%;
   }
 .contact-container{
    gap: 4rem;
 }
   .contact-info-section{
    width: 50%;
   }
   .info-box{
    box-sizing: border-box;
    width: 350px;
   }
   .mission-text h3{
    text-align: center;
   }
   .mission-text p{
    text-align: justify;
   }
  .founder-card{
    width: 80%;
    max-width: 400px;
    margin: 0 auto; 
  } 
  .about-content{
    flex-direction: column-reverse;
    align-items: center;
  }
  .footer-col-1{
    width: 100%;
    text-align: start;
  }
  .footer-col {
    width: 60%;
    text-align: start;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .service-card{
    width: 400px;
  }
  .card{
    width: 500px;
  }
  .contact-info{
    display: flex;
    align-items: center;
  }
  .info-box{
    width: 400px;
  }
  .about-content{
    flex-direction: column-reverse;
    align-items: center;
  }
  .footer-container{
    display: flex;
    justify-content: flex-start;
  }
  .footer-col {
    width: 50%;
    text-align: start;
  }
  .footer-container{
    flex-direction: column;
    align-items: start;
  }

  .overlay h1{
    padding-top: 100px;
    font-size: 2.5rem;
   }

    .overlay{
      padding: 0 2rem;
      box-sizing: border-box;
    }

    .overlay p{
      font-size: 1.5rem;
      padding-left: 5rem;
      padding-right: 1rem;
    }

    .stats div{
      max-width: 400px;
      width: 500px;
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
    }

    .stats div p{
      padding-right:  5em;
      padding-bottom: rem;
      padding: 0;
    }

  
  /* .footer-col-2 p, .footer-col-2 input[type="email"] {
    width: 80%;
    margin-top: 10px;
    text-align: start;
  } */
}

@media (min-width: 912px) and (max-width: 1366px) {
.overlay h1{
    padding-top: 0px !important;
    font-size: 3rem;
   }
.hero{
  box-sizing: border-box;
  padding-top: 10px !important;
}

  .services {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
  }
  .service-card {
    flex: 0 1 calc(50% - 30px);
    max-width: 350px;
    width: 100%;
    box-sizing: border-box;
  }
}


 .about-section h2, 
  #event h2, 
  #get {
    font-size: 22px;
  }
  .about-section p.subtitle, #event p, .contact-section p{
    font-size: 17px;
    padding: 0 20px;
  }

.form-success {
  display: none;
  background-color: #d1fae5;
  color: #065f46;
  padding: 1.2rem 1.5rem;
  border: 1px solid #10b981;
  border-radius: 8px;
  margin-top: 1rem;
  text-align: center;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
  opacity: 0;
  transition: opacity 0.4s ease, transform 0.4s ease;
  transform: translateY(10px);
}

.form-success.show {
  display: block;
  opacity: 1;
  transform: translateY(0);
}


.form-success-banner {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%) translateY(-100%);
  background: #d1fae5;
  color: #065f46;
  border: 1px solid #10b981;
  padding: 16px 24px;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  z-index: 9999;
  transition: all 0.4s ease;
  text-align: center;
  width: 90%;
  max-width: 600px;
  opacity: 0;
}
.form-success-banner.visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}


.spinner {
  width: 18px;
  height: 18px;
  border: 2px solid #fff;
  border-top: 2px solid #10b981;
  border-radius: 50%;
  display: inline-block;
  animation: spin 0.8s linear infinite;
  vertical-align: middle;
  margin-left: 8px;
}

.spinner i {
  font-size: 1rem;
}



@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}





@media (max-width: 480px) {
  .form-succeess {
    font-size: 0.95rem;
    padding: 0.9rem 1.1rem;
  }
}



.subscribe-alert {
  font-weight: 500;
  transition: opacity 0.4s ease-in-out;
}

button .spinner i {
  font-size: 14px;
}

/* Default: horizontal layout for large screens */
.stats {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
}



/* Medium screens: stack vertically, keep spacing */
@media (max-width: 1024px) {
  .stats {
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
  }
  .stats div {
    width: 90%;
    max-width: 450px;
  }
}

/* Small screens: full width, readable */
@media (max-width: 600px) {
  .stats {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }
  .stats div {
    width: 100%;
    max-width: 100%;
    font-size: 16px;
    padding: 1rem;
  }
}


@media (min-width: 1024px) and (max-width:600){
  .hero{
    box-sizing: fit-content;
  margin-top: 300rem;
  }
}