:root {
  --primary-color: #49266a;
  --secondary-color: #831963;
  --accent-color: #bd0c5c;
  --highlight-color: #f70056;
  --text-color: #333;
  --light-bg: #F8F9FA;
  --white: #FFFFFF;
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--white);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

/* Header Styles */
header {
  background-color: var(--white);
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  position: fixed;
  width: 100%;
  z-index: 1000;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

.logo img {
  height: 40px;
  padding-top: 5px;
  width: auto;
}

/* Button Styles */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
  align-self: center; /* Ensure button is centered vertically */

}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--white);
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

/* Hero Section */
#hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 0 80px;
  width: 100%;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  width: 100%;
  padding: 0 15px;
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
  font-weight: 700;
  word-wrap: break-word;
}

.highlight {
  font-size: 2rem;
  color: var(--highlight-color);
  margin-bottom: 20px;
  font-weight: 600;
  word-wrap: break-word;
}

.hero-content p {
  font-size: 1.1rem;
  margin-bottom: 30px;
}

.cta-group {
  margin-bottom: 30px;
}

.features {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.feature {
  display: flex;
  align-items: center;
}

.feature img {
  margin-right: 10px;
}

.hero-image {
  margin-top: 40px;
  width: 100%;
  max-width: 800px;
}

.hero-image img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Testimonials Section */
#testimonials {
  background-color: var(--light-bg);
  padding: 80px 0;
}

#testimonials h2 {
  text-align: center;
  margin-bottom: 50px;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--primary-color);
}

.testimonial-carousel-container {
  position: relative;
  max-width: 100%;
  overflow: hidden;
  margin-bottom: 20px;
}

.testimonial-carousel {
  display: flex;
  transition: transform 0.3s ease;
  gap: 30px;
}

.testimonial {
  flex: 0 0 calc(33.333% - 20px);
  min-width: calc(33.333% - 20px);
}

.testimonial-content {
  background-color: var(--white);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.testimonial-content:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.rating {
  color: var(--highlight-color);
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.testimonial-content p {
  font-style: italic;
  margin-bottom: 20px;
  flex-grow: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.author-image {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin-right: 15px;
  object-fit: cover;
}

.author-info h4 {
  font-size: 1.1rem;
  margin-bottom: 5px;
  color: var(--secondary-color);
}

.author-info p {
  font-size: 0.9rem;
  color: #666;
}

.carousel-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.carousel-button {
  background-color: var(--primary-color);
  color: var(--white);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 1.5rem;
  cursor: pointer;
  transition: var(--transition);
}

.carousel-button:hover {
  background-color: var(--secondary-color);
}

@media (max-width: 1024px) {
  .testimonial {
    flex: 0 0 calc(50% - 15px);
    min-width: calc(50% - 15px);
  }
}

@media (max-width: 768px) {
  .testimonial {
    flex: 0 0 100%;
    min-width: 100%;
  }
}



/* Process Section */
#process {
  background-color: var(--light-bg);
  padding: 80px 0;
}

#process h2 {
  text-align: center;
  margin-bottom: 50px;
  font-size: 2.2rem;
  font-weight: 700;
}

.process-steps {
  display: flex;
  justify-content: space-between;
  gap: 30px;
}

.step {
  flex: 1;
  text-align: center;
  padding: 30px;
  background-color: var(--white);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: var(--transition);
}

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

.step img {
  margin-bottom: 20px;
}

.step h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  font-weight: 600;
}

/* Specialist Section */
#specialist {
  display: flex;
  align-items: center;
  padding: 80px 0;
}

.specialist-content {
  flex: 1;
  padding-right: 40px;
}

.specialist-content h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
  font-weight: 700;
}

.specialist-image {
  flex: 1;
}
.specialist-content .btn {
  margin-top: 20px; 
}


.specialist-image img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Footer */
footer {
  background-color: var(--light-bg);
  text-align: center;
  padding: 20px 0;
}

/* Responsive Design */


@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }

  #hero {
    padding-top: 100px;
  }

  h1 {
    font-size: 1.8rem;
  }

  .highlight {
    font-size: 1.5rem;
  }

  .hero-content p {
    font-size: 0.95rem;
  }

  .logo img {
    height: 40px;
  }

  .btn {
    padding: 8px 16px;
    font-size: 0.9rem;
  }

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

  .feature {
    margin-bottom: 15px;
  }

  .process-steps {
    flex-direction: column;
  }

  #specialist {
    flex-direction: column;
    text-align: center;
  }

  .specialist-content {
    padding-right: 0;
    margin-bottom: 40px;
  }


}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  h1 {
    font-size: 1.6rem;
  }

  .highlight {
    font-size: 1.3rem;
  }

  .hero-content p {
    font-size: 0.9rem;
  }

  .logo img {
    height: 35px;
  }

  .btn {
    padding: 8px 16px;
    font-size: 0.8rem;
  }

  #process h2, .specialist-content h2 {
    font-size: 1.8rem;
  }

  .step h3 {
    font-size: 1.1rem;
  }
}

/* Additional fixes for iPhone Pro Max and other large mobile devices */
@media (max-width: 896px) and (min-width: 414px) {
  .container {
    padding: 0 25px;
  }

  #hero {
    padding-top: 120px;
  }

  .hero-content {
    width: 100%;
    max-width: none;
  }

  h1 {
    font-size: 2rem;
  }

  .highlight {
    font-size: 1.7rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .features {
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
  }

  .feature {
    margin: 10px;
  }
}

footer {
  background-color: var(--light-bg);
  padding: 20px 0;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-links {
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--primary-color);
  text-decoration: none;
  margin: 0 10px;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--secondary-color);
}

@media (max-width: 768px) {
  .footer-content {
      text-align: center;
  }

  .footer-links {
      display: flex;
      flex-direction: column;
      gap: 10px;
  }
}

/* Terms and Conditions Page Styles */
.terms-page {
  padding: 120px 0 80px;
  background-color: var(--light-bg);
}

.terms-page h1 {
  font-size: 2.5rem;
  margin-bottom: 40px;
  text-align: center;
  color: var(--primary-color);
}

.terms-content {
  background-color: var(--white);
  border-radius: 10px;
  padding: 40px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  margin-bottom: 60px;
}

.terms-content section {
  margin-bottom: 30px;
}

.terms-content h2 {
  font-size: 1.5rem;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.terms-content p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 10px;
}

.contact-section {
  text-align: center;
  background-color: var(--primary-color);
  color: var(--white);
  padding: 40px;
  border-radius: 10px;
  margin-top: 60px;
}

.contact-section h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.contact-section a {
  color: var(--highlight-color);
  text-decoration: none;
  transition: var(--transition);
}

.contact-section a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .terms-page {
      padding: 100px 0 60px;
  }

  .terms-page h1 {
      font-size: 2rem;
  }

  .terms-content {
      padding: 30px;
  }

  .terms-content h2 {
      font-size: 1.3rem;
  }

  .contact-section {
      padding: 30px;
  }
}

@media (max-width: 480px) {
  .terms-page h1 {
      font-size: 1.8rem;
  }

  .terms-content {
      padding: 20px;
  }

  .terms-content h2 {
      font-size: 1.2rem;
  }

  .contact-section h2 {
      font-size: 1.5rem;
  }
}

/* Privacy Policy Page Styles */
.privacy-page {
  padding: 120px 0 80px;
  background-color: var(--light-bg);
}

.privacy-page h1 {
  font-size: 2.5rem;
  margin-bottom: 40px;
  text-align: center;
  color: var(--primary-color);
}

.privacy-content {
  background-color: var(--white);
  border-radius: 10px;
  padding: 40px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.privacy-content .intro {
  margin-bottom: 30px;
  font-size: 1.1rem;
  line-height: 1.6;
}

.privacy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}

.privacy-card {
  background-color: var(--light-bg);
  border-radius: 10px;
  padding: 30px;
  transition: var(--transition);
}

.privacy-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.privacy-card h2 {
  font-size: 1.3rem;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.privacy-card p {
  font-size: 1rem;
  line-height: 1.6;
}

.contact-section {
  text-align: center;
  background-color: var(--primary-color);
  color: var(--white);
  padding: 40px;
  border-radius: 10px;
  margin-top: 60px;
}

.contact-section h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.contact-section a {
  color: var(--highlight-color);
  text-decoration: none;
  transition: var(--transition);
}

.contact-section a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .privacy-page {
      padding: 100px 0 60px;
  }

  .privacy-page h1 {
      font-size: 2rem;
  }

  .privacy-content {
      padding: 30px;
  }

  .privacy-card h2 {
      font-size: 1.2rem;
  }

  .contact-section {
      padding: 30px;
  }
}

@media (max-width: 480px) {
  .privacy-page h1 {
      font-size: 1.8rem;
  }

  .privacy-content {
      padding: 20px;
  }

  .privacy-card {
      padding: 20px;
  }

  .contact-section h2 {
      font-size: 1.5rem;
  }
}

.calculator fieldset {
  border: none;
  padding: 0;
  margin-bottom: 20px;
}

.calculator legend {
  font-weight: bold;
  margin-bottom: 10px;
}

.calculator input[type="radio"] {
  margin-right: 10px;
}

.calculator label {
  display: inline-block;
  margin-bottom: 10px;
}

    .calculator {
        background-color: var(--white);
        padding: 30px;
        border-radius: 10px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.05);
        margin-bottom: 60px;
    }
    .calculator h3 {
        color: var(--secondary-color);
        margin-bottom: 20px;
        font-size: 1.5rem;
        text-align: center;
    }
    .calculator form {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }
    .calculator label {
        font-weight: bold;
    }
    .calculator input[type="number"] {
        width: 100%;
        padding: 10px;
        border: 1px solid #ddd;
        border-radius: 5px;
    }
    .calculator button {
        background-color: var(--highlight-color);
        color: var(--white);
        border: none;
        padding: 10px 20px;
        border-radius: 5px;
        cursor: pointer;
        transition: background-color 0.3s ease;
    }
    .calculator button:hover {
        background-color: var(--secondary-color);
    }
    .calculator-result {
        margin-top: 20px;
        font-weight: bold;
        text-align: center;
    }
    .segment-control {
        display: flex;
        background-color: #f0f0f0;
        border-radius: 5px;
        overflow: hidden;
    }
    .segment-control input[type="radio"] {
        display: none;
    }
    .segment-control label {
        flex: 1;
        padding: 10px;
        text-align: center;
        cursor: pointer;
        transition: background-color 0.3s ease, color 0.3s ease;
    }
    .segment-control input[type="radio"]:checked + label {
        background-color: var(--primary-color);
        color: var(--white);
    }


    .faq-section {
      margin-top: 60px;
  }
  .faq-item {
      background-color: var(--white);
      border-radius: 10px;
      padding: 20px;
      margin-bottom: 20px;
      box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  }
  .faq-question {
      font-weight: bold;
      cursor: pointer;
      display: flex;
      justify-content: space-between;
      align-items: center;
  }
  .faq-question::after {
      content: '+';
      font-size: 1.5rem;
      transition: transform 0.3s ease;
  }
  .faq-answer {
      display: none;
      margin-top: 10px;
      padding-top: 10px;
      border-top: 1px solid #eee;
  }
  .faq-item.active .faq-question::after {
      transform: rotate(45deg);
  }
  .faq-item.active .faq-answer {
      display: block;
  }
  
  header {
      background-color: white;
      box-shadow: 0 2px 10px rgba(0,0,0,0.1);
      position: fixed;
      width: 100%;
      z-index: 1000;
  }
  
  .container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 20px;
  }
  
  nav {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 15px 0;
  }
  
  .logo img {
      height: 40px;
      width: auto;
  }
  
  .nav-links {
      display: flex;
      list-style: none;
      margin: 0;
      padding: 0;
      align-items: center;
  }
  
  .nav-links li {
      margin-left: 30px;
  }
  
  .nav-links a {
      color: var(--text-color);
      text-decoration: none;
      font-weight: 600;
      transition: var(--transition);
      position: relative;
  }
  
  .nav-links a::after {
      content: '';
      position: absolute;
      width: 0;
      height: 2px;
      bottom: -5px;
      left: 0;
      background-color: var(--primary-color);
      transition: var(--transition);
  }
  
  .nav-links a:hover::after {
      width: 100%;
  }
  
  .btn {
      display: inline-block;
      padding: 10px 20px;
      border-radius: 30px;
      text-decoration: none;
      font-weight: 600;
      transition: var(--transition);
  }
  
  .btn-primary {
      background-color: var(--primary-color);
      color: #ffffff !important;
  }
  
  .btn-primary:hover {
      background-color: var(--secondary-color);
      color: #ffffff !important;
      transform: translateY(-3px);
      box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  }
  
  .nav-links a.btn::after {
      display: none;
  }
  
  .nav-toggle {
      display: none;
      flex-direction: column;
      cursor: pointer;
  }
  
  .nav-toggle span {
      display: block;
      width: 25px;
      height: 3px;
      background-color: var(--text-color);
      margin-bottom: 5px;
      transition: var(--transition);
  }
  
  @media (max-width: 768px) {
      .nav-toggle {
          display: flex;
      }
  
      .nav-links {
          position: fixed;
          top: 70px;
          left: 0;
          right: 0;
          bottom: 0;
          flex-direction: column;
          background-color: #ffffff;
          box-shadow: 0 5px 10px rgba(0,0,0,0.1);
          padding: 20px;
          overflow-y: auto;
          transform: translateX(100%);
          transition: transform 0.3s ease;
      }
  
      .nav-links.active {
          transform: translateX(0);
      }
  
      .nav-links li {
          margin: 15px 0;
      }
  
      .nav-links a {
          color: var(--text-color);
      }
  
      .nav-links .btn {
          margin-top: 15px;
      }
  
      .nav-links .btn-primary {
          color: #ffffff !important;
      }
  
      .nav-toggle.active span:nth-child(1) {
          transform: rotate(45deg) translate(5px, 5px);
      }
  
      .nav-toggle.active span:nth-child(2) {
          opacity: 0;
      }
  
      .nav-toggle.active span:nth-child(3) {
          transform: rotate(-45deg) translate(7px, -6px);
      }
  }
  
  header nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  margin-left: auto; /* Push nav links to the right */
}

.nav-links > * {
  margin-left: 20px; /* Add space between nav items */
}

/* Ensure the logo doesn't shrink */
.logo {
  flex-shrink: 0;
}

/* Make sure the button doesn't shrink */
.btn-primary {
  flex-shrink: 0;
  white-space: nowrap;
}

.cta-section {
    padding: 40px 20px; /* Reduced padding for mobile */
}

.cta-section .btn {
    font-size: 1rem;
    padding: 12px 20px;
    display: inline-block;
    white-space: normal; /* Allow text to wrap */
    max-width: 100%;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .cta-section .btn {
        font-size: 0.9rem;
        padding: 10px 15px;
        width: 100%; /* Full width on mobile */
        max-width: 300px; /* Maximum width */
    }
    
    .cta-section h2 {
        font-size: 1.5rem; /* Smaller heading on mobile */
    }
    
    .cta-section p {
        font-size: 1rem; /* Smaller paragraph text on mobile */
    }
}






