/* Base Styles */
:root {
    --primary: #2E7D32;
    --secondary: #81C784;
    --dark: #1B5E20;
    --light: #E8F5E9;
    --text: #333;
    --white: #fff;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
.main-body {
  background-color: #e6fcdc;
}
body {
    line-height: 1.6;
    background-color:#c5f7c5;
    color: var(--text);
}

.highlight {
    color: var(--primary);
}

.btn-primary {
    background: var(--primary);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-primary:hover {
    background: var(--dark);
}

/* Navigation */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    height: 100px;
}


.nav-links {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
}
.right-button{
 height:50px ;
 width:120px;
 background-color:whitesmoke;
 color: #0f1035;
 border-radius: 10%;
 padding: 8px;
 margin-right: 30px;
 border: none;
 box-shadow: 0 2px 5px rgba(0,0,0,0.01);

}
.right-button :hover{
    background-color: #81C784;
}

.menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* Mobile styles */
@media screen and (max-width: 768px) {
  .menu-toggle {
    display: block;
  }
  .menu-toggle.nav-links.active {
    display: none;
  }
  .nav-links {
    display: none;
    flex-direction: column;
    background: #ffffff;
    width: 100%;
    padding: 10px;
    margin-top: 10px;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links li {
    margin: 10px 0;
  }
  .menu-toggle.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  
  .menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
  }
  
  .menu-toggle.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
  .menu-toggle.active {
      display:none;
  }
}



/* Hero Section */
/* Hero Section Styling */
.hero {
    background-color: #f9fdfc;
    padding: 80px 20px;
    font-family: 'Segoe UI', sans-serif;
  }
  
  .hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
  }
  
  /* Left Text Section */
  .hero-text {
    flex: 1 1 500px;
  }
  
  .coming-soon {
    font-size: 14px;
    color: #555;
    margin-bottom: 12px;
  }
  
  .hero-text h1 {
    font-size: 40px;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #111827;
  }
  
  .highlight {
    color: #00b894;
    border: 2px solid #00b894;
    padding: 2px 8px;
    border-radius: 6px;
    background-color: #e0fff6;
  }
  
  .hero-text p {
    font-size: 16px;
    color: #4b5563;
    margin-bottom: 30px;
  }
  
  /* Email Form */
  .hero-form {
    display: flex;
    flex-wrap: wrap;
    gap: -10px;
  }
  
  .hero-form input {
    padding: 12px 15px;
    font-size: 16px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    flex: 1 1 250px;
  }
  
  .hero-form button {
    padding: 12px 20px;
    font-size: 16px;
    background-color:#111827 ;
    color: #22c55e;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s ease;
  }
  
  .hero-form button:hover {
    background: linear-gradient(to right,#22c55e, #57b854);
    color: #111827 ;
  }
  
  /* Right Image */
  .hero-image {
    flex: 1 1 400px;
    text-align: center;
    
  }
  
  .hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
  }
  

    /* Overlay */
    .popup-overlay {
      display: none;
      position: fixed;
      top: 0; left: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0,0,0,0.6);
      z-index: 1000;
      justify-content: center;
      align-items: center;
    }

    /* Popup box */
    .popup-box {
      background: #fff;
      padding: 20px;
      border-radius: 10px;
      width: 300px;
      position: relative;
      text-align: center;
      box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    }

    /* Close button */
    .popup-close {
      position: absolute;
      top: 10px;
      right: 15px;
      font-size: 18px;
      font-weight: bold;
      cursor: pointer;
      color: #444;
    }

    .popup-message {
      margin-top: 20px;
    }

    button {
      padding: 10px 20px;
      background-color: #007bff;
      color: #fff;
      border: none;
      border-radius: 5px;
      cursor: pointer;
    }

    button:hover {
      background-color: hsl(145, 67%, 65%);
    }
/* Features Section */
.features {
    padding: 80px 5%;
    text-align: center;
}

.features h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.features p {
    max-width: 600px;
    margin: 0 auto 50px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    padding: 30px;
    border-radius: 10px;
    background: var(--white);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.icon-placeholder {
    width: 60px;
    height: 60px;
    background: var(--secondary);
    border-radius: 50%;
    margin: 0 auto 20px;
}

/* Services Section */
/*.services {
    padding: 80px 5%;
    background: var(--light);
}

.services h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 50px;
}

.service-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.service-item {
    background: var(--white);
    padding: 25px;
    border-radius: 10px;
}
    /* Reset and Base */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: #f6fdfb;
  color: #1a1a1a;
  line-height: 1.6;
  padding: 20px;
}

/* Shared */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}

.section-tag {
  display: inline-block;
  background-color: #e0f4ec;
  color: #007f5f;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 14px;
  margin-bottom: 16px;
}

.section-title {
  font-size: 28px;
  font-weight: 700;
  max-width: 600px;
  margin: 0 auto 12px;
}

.section-subtitle {
  color: #555;
  font-size: 16px;
  margin-bottom: 30px;
}

/* Buttons */
.cta-buttons {
  margin-bottom: 40px;
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.btn-outline,
.btn-filled {
  padding: 10px 20px;
  font-size: 14px;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid #007f5f;
  transition: all 0.3s ease;
}

.btn-outline {
  background: transparent;
  color: #007f5f;
}

.btn-filled {
  background: #007f5f;
  color: white;
}

.btn-filled:hover {
  background: #00634a;
}

.btn-outline:hover {
  background: #e0f4ec;
}

/* First Section */
.how-it-works {
  padding: 60px 20px;
  background-color: #e6fcdc;
}

.features {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.feature-box {
  background: #fff;
  border: 2px solid #9ef5cc;
  border-radius: 12px;
  padding: 24px;
  flex: 1 1 300px;
  max-width: 320px;
  text-align: left;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}

.feature-box:hover {
  transform: translateY(-5px);
}

.feature-box img {
  width: 40px;
  height: 40px;
  margin-bottom: 16px;
}

.feature-box h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

.feature-box p {
  font-size: 14px;
  color: #555;
}

/* Second Section */
.our-services {
  padding: 60px 20px;
  background-color: #dcfcec;
  border-radius: 500px 500px 0 0;
}

.services-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  margin-top: 30px;
}

.service-box {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  border: 1px solid #e0e0e0;
  text-align: left;
  box-shadow: 0 4px 10px rgba(0,0,0,0.03);
}

.img-placeholder {
  background-color: #f0f0f0;
  height: 180px;
  border-radius: 8px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #aaa;
  font-size: 14px;
}

.service-box h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 8px;
}

.service-box p {
  font-size: 14px;
  color: #555;
}

/* Responsive */
@media (max-width: 768px) {
  .section-title {
    font-size: 24px;
  }

  .features {
    flex-direction: column;
    align-items: center;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn-outline,
  .btn-filled {
    width: 180px;
    text-align: center;
  }
}


/* FAQ Section */ 
  
  .faq-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
  }
  
.faq {
    background-color: white;
    font-family: 'Segoe UI', sans-serif;
    margin: 0 auto;
}
.faq-text p {
    font-size: 16px;
    color: #71829b;
    margin-bottom: 30px;
    margin-top: -30px;
}
.faq h2 {
    text-align: center;
    margin-bottom: 2px;
}

.faq-item {
    margin-bottom: 5px;
    border-bottom: 1px solid #eee;
}

.faq-question {
    width: 100%;
    color: #000;
    text-align: left;
    padding: 20px ;
    background: #e6fcdc;
    border:none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s;
    padding: 0 10px;
    max-width:600px;
}

.faq-answer.active {
    max-height: 200px;
    padding-bottom: 20px;
}
/* team */

.team-section {
  padding: 40px 20px;
  background-color: #e6fcdc;
  text-align: center;
}

.section-title {
  font-size: 2rem;
  margin-bottom: 30px;
}

.swiper {
  padding: 10px;
}

@media (max-width:768px){
    .swiper-wraper {
        display:flex;
    }
    .swiper-slide {
       flex:0 0 100%;
       max-width:100%;
    
}
}
.team-card {
  background: #effae9;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  text-align: center;
}

.team-card img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 10px;
}

.team-card h3 {
  margin: 10px 0 5px;
  font-size: 1.2rem;
}

.team-card p {
  font-size: 0.9rem;
  color: #777;
}

.social-icons {
  margin-top: 10px;
}

.social-icons a {
  margin: 0 6px;
  color: #555;
  font-size: 1rem;
  text-decoration: none;
}

.social-icons a:hover {
  color: #007bff;
}

/* Swiper arrow styles */
.swiper-button-next,
.swiper-button-prev {
  color: #b9eebb;
  font-weight: bold;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  color: rgb(25, 61, 66);
}

/* final*/
  
  .final-container {
    background-color: #e6fcdc;
    max-width: 600px;
    margin: 0 auto;
    display:flex;
    flex-wrap: wrap;
    align-items: center;

  }
  
  .final {
    text-align: center;
    padding: 80px 5% 100px;
    background-color: #e6fcdc;
}

.final h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.final p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 30px;
}

.final-email-subscription {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    gap: 10px;
}

.final-email-subscription input {
    flex: 1;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 30px;
    font-size: 16px;
}
/* Down Image */
.hero-image {
    
    text-align: center;
    
    
}
/* why choose medesy*/
 .section {
  background-color: #e6fcdc;
      padding: 60px 20px;
      max-width: 1200px;
      margin: 0 auto;
      text-align: center;
    }

    .badge {
      display: inline-block;
      background: #e6f0eb;
      color: #3b755f;
      font-size: 14px;
      padding: 6px 12px;
      border-radius: 999px;
      margin-bottom: 10px;
      font-weight: 600;
    }

    .section h2 {
      font-size: 2rem;
      font-weight: 700;
      margin-bottom: 10px;
    }

    .section p.subtext {
      color: #64748b;
      font-size: 16px;
      margin-bottom: 40px;
    }

    .cards {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 15px;
      background: #ffffff;
      padding: 30px;
      border-radius: 16px;
      box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    }

    .card {
      border: none;
      outline: none;
      display:flex;
      align-items: flex-start;
      gap: 30px;
      text-align: left;
  
    }

    .card svg {
      flex-shrink: 0;
      width: 28px;
      height: 28px;
      color: #0f766e;
    }

    .card .text h4 {
      font-size: 16px;
      font-weight: 600;
      margin-bottom: 4px;
    }

    .card .text p {
      font-size: 14px;
      color: #475569;
    }

    @media (max-width: 600px) {
      .section h2 {
        font-size: 1.5rem;
      }
    }

/* Footer */

.footer {
    background-color: #02042c;
    color: #ffffff;
    padding: 40px 20px 20px;
    font-family: 'Segoe UI', sans-serif;
  }
  
  .footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .footer-logo-socials {
    flex: 1 1 250px;
  }
  
  .footer-logo img {
    width: 220px;
    height: auto;
    margin-left: -40PX;
    margin-bottom: -30PX;
    margin-top: -50px;

  }
  
  .footer-logo p {
    font-size: 14px;
    color: #a0aec0;
  }
  
  .footer-socials a {
    color: #ffffff;
    margin-right: 10px;
    font-size: 18px;
    transition: color 0.3s ease;
  }
  
  .footer-socials a:hover {
    color: #22c55e;
  }
  
  .footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    flex: 2 1 500px;
    
  }
  
  .footer-links h4 {
    margin-bottom: 12px;
    font-size: 16px;
    color: #ffffff;
  }
  
  .footer-links ul {
    list-style: none;
    padding: 0;
  }
  
  .footer-links li {
    margin-bottom: 8px;
  }
  
  .footer-links a {
    color: #a0aec0;
    text-decoration: none;
    font-size: 14px;
  }
  
  .footer-links a:hover {
    color: #22c55e;
  }
  
  .footer-bottom {
    border-top: 1px solid #2d3748;
    margin-top: 30px;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    color: #a0aec0;
    font-size: 14px;
    max-width: 1200px;
    margin: 30px auto 0;
  }
  
  .footer-bottom a {
    color: #a0aec0;
    text-decoration: none;
  }
  
  .footer-bottom a:hover {
    color: #22c55e;
  }
  

.legal-links {
    margin-top: 15px;
}

.legal-links a {
    color: var(--light);
    margin: 0 10px;
    text-decoration: none;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hamburger {
        display: none;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .email-subscription {
        flex-direction: column;
    }
    
    .email-subscription input,
    .email-subscription button {
        width: 100%;
    }
}
