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

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
}

/* Desktop layout */
.main-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
  position: relative;
}

/* Hide toggle by default */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
}

nav {
  background-color: white;
  padding: 25px 0;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
}

.navbar li {
  margin: 0 15px;
  color: black;
  cursor: pointer;
}

.navbar a {
  color: black;
  text-decoration: none;
}

.navbar li:hover {
  opacity: 0.8;
}

.logo {
  color: rgb(9, 8, 8);
  font-size: 1.5em;
  text-decoration: none;
  font-weight: bold;
  padding-right: 50px;
  margin: 10px;
}

/* Dropdown Container */
.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: white;
  padding-top: 20px;
  /* Pushes the entire dropdown content down */
  list-style: none;
  display: none;
  width: 180px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  z-index: 999;
  text-align: left;
  border-top: 3px solid #002244;
}

/* Show menu on hover (desktop) */
.dropdown:hover .dropdown-menu,
.dropdown-menu:hover {
  display: block;
}

/* Dropdown Items */
.dropdown-menu li a {
  display: block;
  padding: 12px 20px;
  color: #000;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
}

.dropdown-menu li a:hover {
  background-color: #f5f5f5;
}

/* Enhanced dropdown functionality for mobile */
@media (max-width: 768px) {
  .dropdown-menu {
    display: none !important;
    /* Make sure it's hidden initially */
  }

  .dropdown.active .dropdown-menu {
    display: block !important;
    /* Only show when dropdown is active */
  }
}

.btn-yellow {
  background-color: #f5de58;
  color: #000;
  padding: 10px 20px;
  border-radius: 5px;
  font-weight: bold;
  text-decoration: none;
}

.btn-yellow:hover {
  background-color: #e0c22f;
}

/* Hero Section */
.surgical-hero {
  position: relative;
  width: 100%;
  height: 100vh;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url('../images/surgical_hero.jpg') no-repeat center center;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
}

.surgical-hero-content {
  max-width: 900px;
  padding: 0 20px;
  z-index: 2;
}

.surgical-hero-subtitle {
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 15px;
  font-weight: 400;
  color: #a8d0f0;
}

.surgical-hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 25px;
  line-height: 1.2;
}

.surgical-hero-text {
  font-size: 1.1rem;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.surgical-cta {
  background-color: #2c5555;
  color: white;
  padding: 14px 32px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
  box-shadow: 0 4px 15px rgba(44, 85, 85, 0.3);
}

.surgical-cta:hover {
  background-color: #1e3e3e;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(44, 85, 85, 0.4);
}

/* Introduction Section */
.surgical-intro {
  padding: 100px 0;
  background-color: #f9f9f9;
}

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

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 2.2rem;
  color: #2c5555;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.section-header h2:after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 25%;
  width: 50%;
  height: 3px;
  background-color: #2c5555;
}

.section-header p {
  font-size: 1.1rem;
  color: #666;
  max-width: 800px;
  margin: 0 auto;
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.intro-image {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.intro-image img {
  width: 100%;
  height: auto;
  display: block;
}

.intro-content h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: #2c5555;
}

.intro-content p {
  margin-bottom: 20px;
  font-size: 1.1rem;
  color: #555;
}

.intro-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 30px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.feature-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(44, 85, 85, 0.15);
  border-radius: 50%;
  flex-shrink: 0;
}

.feature-icon svg {
  width: 20px;
  height: 20px;
  stroke: #2c5555;
}

.feature-text h4 {
  font-size: 1rem;
  margin-bottom: 5px;
  color: #333;
}

.feature-text p {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 0;
}

/* Tabs Section */
.treatments-tabs {
  padding: 100px 0;
  background-color: #fff;
}

.tabs-container {
  max-width: 1200px;
  margin: 0 auto;
}

.tabs-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
  border-bottom: 1px solid #eee;
}

.tab-button {
  padding: 15px 25px;
  background: none;
  border: none;
  font-size: 1.1rem;
  color: #777;
  cursor: pointer;
  position: relative;
  transition: all 0.3s ease;
}

.tab-button:hover {
  color: #2c5555;
}

.tab-button.active {
  color: #2c5555;
  font-weight: 600;
}

.tab-button.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: #2c5555;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.treatment-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.treatment-image {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.treatment-image img {
  width: 100%;
  height: auto;
  display: block;
}

.treatment-content h3 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #2c5555;
}

.treatment-content p {
  margin-bottom: 20px;
  font-size: 1.1rem;
  color: #555;
}

.benefits-list {
  margin: 30px 0;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 15px;
}

.benefit-icon {
  width: 25px;
  height: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(44, 85, 85, 0.15);
  border-radius: 50%;
  flex-shrink: 0;
}

.benefit-icon svg {
  width: 12px;
  height: 12px;
  stroke: #2c5555;
}

.benefit-text {
  font-size: 1rem;
  color: #555;
}

.treatment-cta {
  margin-top: 30px;
}

.btn-treatment {
  background-color: #2c5555;
  color: white;
  padding: 12px 28px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 5px;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
}

.btn-treatment:hover {
  background-color: #1e3e3e;
}

/* Enhancement for treatment tabs section on mobile */
@media screen and (max-width: 768px) {
  /* Improve tab content layout for mobile */
  .treatment-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }

  /* Center content in treatment descriptions */
  .treatment-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 15px;
  }

  /* Make benefit items align properly on mobile */
  .benefits-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin: 20px auto;
  }

  .benefit-item {
    justify-content: center;
    width: 100%;
    max-width: 300px;
  }

  /* Center the benefit icon and text on smaller screens */
  .benefit-text {
    text-align: left;
  }

  /* Make CTAs centered and properly sized */
  .treatment-cta {
    text-align: center;
    width: 100%;
    margin-top: 25px;
  }

  .btn-treatment {
    display: inline-block;
    min-width: 200px;
  }

  /* Ensure tab buttons are more touch-friendly */
  .tab-button {
    padding: 12px 15px;
    width: 100%;
    font-size: 1rem;
    border-bottom: 1px solid #eee;
  }

  /* Improve spacing in tab content */
  .tab-content.active {
    padding: 0 10px;
  }

  /* Adjust treatment headings size for mobile */
  .treatment-content h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
  }

  .treatment-content p {
    font-size: 1rem;
    margin-bottom: 15px;
  }
}

/* Extra small devices */
@media screen and (max-width: 480px) {
  .treatment-content h3 {
    font-size: 1.4rem;
  }

  .benefit-item {
    max-width: 250px;
  }

  .btn-treatment {
    width: 100%;
    max-width: 250px;
  }
}

/* Technology Section */
.technology-section {
  padding: 100px 0;
  background-color: #f0f5f5;
}

.section-header h2 {
  text-align: center;
  font-size: 2rem;
  color: #003b3b;
}

.section-header p {
  text-align: center;
  color: #555;
  font-size: 1rem;
  margin-top: 10px;
}

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

.technology-card {
  background: #fff;
  padding: 20px;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  text-align: center;
  position: relative;
  transition: box-shadow 0.3s ease;
  overflow: hidden;
}

.technology-card:hover {
  z-index: 10;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.technology-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 15px;
}

.technology-icon img {
  width: 40px;
  height: 40px;
  margin-bottom: 10px;
}

.technology-content h3 {
  font-size: 1.4rem;
  color: #2c5555;
  margin-bottom: 10px;
}

.technology-content p {
  font-size: 0.95rem;
  color: #666;
}

.technology-hover-content {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.85);
  color: #fff;
  opacity: 0;
  visibility: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  transition: opacity 0.3s ease, transform 0.3s ease;
  transform: translateY(10px);
}

.technology-card:hover .technology-hover-content {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.hover-description {
  text-align: center;
  max-width: 90%;
}

.hover-description h4 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: #fff;
}

.hover-description p,
.hover-description ul {
  font-size: 0.95rem;
  color: #f0f0f0;
  margin-top: 10px;
  line-height: 1.5;
}

.hover-description ul {
  list-style: none;
  padding: 0;
}

.hover-description li::before {
  content: '✔ ';
  color: #00c9a7;
  margin-right: 5px;
}

.learn-more-btn {
  display: inline-block;
  margin-top: 15px;
  padding: 8px 16px;
  background-color: #00c9a7;
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.learn-more-btn:hover {
  background-color: #6cb006;
}

/* Modal Styles */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.modal-content {
  background: #fff;
  padding: 40px;
  border-radius: 12px;
  width: 75%;
  max-width: 90vw;
  min-height: 60vh;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  animation: fadeIn 0.3s ease;
}

.modal-content h2 {
  font-size: 1.8rem;
  color: #003b3b;
  margin-bottom: 15px;
}

.modal-content p {
  font-size: 1rem;
  color: #444;
  line-height: 1.6;
}

.close-modal {
  position: absolute;
  top: 12px;
  right: 18px;
  font-size: 28px;
  font-weight: bold;
  color: #999;
  cursor: pointer;
  transition: color 0.3s ease;
}

.close-modal:hover {
  color: #333;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Behavior */
@media (max-width: 768px) {
  .modal-content {
    width: 95%;
    padding: 25px;
    min-height: auto;
    max-height: 90vh;
  }
}

/* Expert Section Styles */
.our-expert {
  padding: 100px 0;
  background: linear-gradient(180deg, #f9f9f9 0%, #ffffff 100%);
  position: relative;
  overflow: hidden;
}

.our-expert::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 8px;
  background: linear-gradient(90deg, #0077cc, #00a4d6);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
}

.section-header h2 {
  font-size: 36px;
  font-weight: 700;
  color: #002e5d;
  margin-bottom: 16px;
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: #0077cc;
}

.section-header p {
  font-size: 18px;
  color: #555;
  max-width: 700px;
  margin: 0 auto;
}

.expert-profile {
  display: flex;
  align-items: center;
  gap: 50px;
  max-width: 1000px;
  margin: 0 auto;
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  padding: 40px;
  position: relative;
}

.expert-photo-container {
  position: relative;
  flex-shrink: 0;
}

.expert-photo {
  width: 280px;
  height: 280px;
  object-fit: cover;
  border-radius: 50%;
  border: 6px solid #fff;
  box-shadow: 0 10px 25px rgba(0, 119, 204, 0.2);
  transition: transform 0.3s ease;
}

.expert-photo:hover {
  transform: scale(1.03);
}

.photo-badge {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: linear-gradient(135deg, #0077cc, #00a4d6);
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(0, 119, 204, 0.3);
}

.expert-info {
  text-align: left;
}

.expert-info h3 {
  font-size: 32px;
  color: #002e5d;
  margin-bottom: 8px;
  font-weight: 700;
}

.expert-title {
  font-size: 18px;
  font-weight: 600;
  color: #0077cc;
  margin-bottom: 20px;
  display: inline-block;
  padding-bottom: 10px;
  border-bottom: 2px solid #e4f1fa;
}

.expert-info p {
  font-size: 16px;
  line-height: 1.8;
  color: #444;
  margin-bottom: 20px;
}

.expertise-areas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 25px;
}

.expertise-tag {
  background-color: #e4f1fa;
  color: #0077cc;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.expertise-tag:hover {
  background-color: #0077cc;
  color: white;
  transform: translateY(-2px);
}

.credentials {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 25px;
}

.credential-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.credential-icon {
  color: #0077cc;
  font-size: 20px;
}

.book-btn {
  display: inline-block;
  margin-top: 30px;
  background: linear-gradient(135deg, #0077cc, #00a4d6);
  color: white;
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 6px 15px rgba(0, 119, 204, 0.25);
  transition: all 0.3s ease;
}

.book-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 119, 204, 0.35);
}

/* Responsive */
@media (max-width: 900px) {
  .expert-profile {
    flex-direction: column;
    padding: 30px;
  }

  .section-header h2 {
    font-size: 32px;
  }

  .expert-info {
    text-align: center;
  }

  .expertise-areas {
    justify-content: center;
  }

  .credentials {
    flex-direction: column;
    gap: 10px;
  }
}
/* CTA Section */
.cta-section {
  padding: 100px 0;
  background: linear-gradient(rgba(44, 85, 85, 0.9), rgba(44, 85, 85, 0.9)),
    url('../images/subtle_pattern.jpg') center/cover no-repeat;
  color: white;
  text-align: center;
}
.cta-section .section-header h2 {
  color: white;
  padding: 20px;
}

.cta-section .section-header p {
  color: rgba(255, 255, 255, 1); /* Pure white */
  font-weight: 500;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4); /* Optional: improves contrast */
  margin-bottom: 10px;
  padding: 20px;
}

.cta-content {
  max-width: 800px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.cta-content p {
  font-size: 1.2rem;
  margin-bottom: 40px;
  opacity: 0.9;
}

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

.btn-cta-primary {
  background-color: white;
  color: #2c5555;
  padding: 15px 35px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-cta-primary:hover {
  background-color: #f0f0f0;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-cta-secondary {
  background-color: transparent;
  color: white;
  padding: 15px 35px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 50px;
  text-decoration: none;
  border: 2px solid white;
  transition: all 0.3s ease;
}

.btn-cta-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* FAQ Section */
.faq-section {
  padding: 100px 0;
  background-color: #f9f9f9;
}

.faq-grid {
  margin-top: 50px;
}

.faq-item {
  margin-bottom: 20px;
  border: 1px solid #eee;
  border-radius: 8px;
  overflow: hidden;
  background-color: white;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.faq-question {
  padding: 20px 25px;
  background-color: white;
  color: #333;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
}

.faq-question:hover {
  background-color: #f9f9f9;
}

.faq-question:after {
  content: '+';
  font-size: 1.5rem;
  color: #2c5555;
}

.faq-question.active:after {
  content: '-';
}

.faq-answer {
  padding: 0 25px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-answer.active {
  padding: 0 25px 20px;
  max-height: 1000px;
}

.faq-answer p {
  color: #666;
  line-height: 1.7;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .intro-grid {
    grid-template-columns: 1fr;
  }

  .intro-image {
    margin-bottom: 30px;
  }

  .technology-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .surgical-hero-title {
    font-size: 2.5rem;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .technology-grid {
    grid-template-columns: 1fr;
  }

  .tabs-nav {
    flex-direction: column;
    align-items: center;
  }

  .tab-button {
    width: 100%;
    text-align: center;
    padding: 12px;
  }

  .tab-button.active::after {
    display: none;
  }

  .tab-button.active {
    background-color: #f0f5f5;
  }
}

@media (max-width: 576px) {
  .surgical-hero-subtitle {
    font-size: 1rem;
  }

  .surgical-hero-title {
    font-size: 2rem;
  }

  .surgical-hero-text {
    font-size: 1rem;
  }

  .cta-content h2 {
    font-size: 2rem;
  }

  .intro-features {
    grid-template-columns: 1fr;
  }
}

/* Accessibility Button */
.accessibility-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #2c5555;
  color: white;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  z-index: 100;
  transition: all 0.3s ease;
}

.accessibility-button:hover {
  background-color: #1e3e3e;
  transform: scale(1.1);
}

/* High Contrast Mode */
body.high-contrast {
  background-color: #000;
  color: #fff;
}

body.high-contrast .surgical-hero {
  background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)),
    url('/api/placeholder/1920/1080') center/cover no-repeat;
}

body.high-contrast .section-header h2,
body.high-contrast .intro-content h3,
body.high-contrast .treatment-content h3,
body.high-contrast .tab-button.active,
body.high-contrast .technology-content h3 {
  color: #fff;
}

body.high-contrast .surgical-intro,
body.high-contrast .treatments-tabs,
body.high-contrast .technology-section,
body.high-contrast .patient-stories,
body.high-contrast .faq-section {
  background-color: #000;
}

body.high-contrast .technology-card,
body.high-contrast .story-card,
body.high-contrast .faq-item,
body.high-contrast .faq-question {
  background-color: #333;
  color: #fff;
}

body.high-contrast .intro-content p,
body.high-contrast .treatment-content p,
body.high-contrast .technology-content p,
body.high-contrast .story-text,
body.high-contrast .benefit-text,
body.high-contrast .faq-answer p {
  color: #fff;
}

/* start of footer */
.custom-footer {
  background: linear-gradient(
    45deg,
    rgba(15, 23, 42, 0.9) 20%,
    rgba(15, 23, 42, 0.85) 40%,
    rgba(15, 23, 42, 0.92) 60%,
    rgba(15, 23, 42, 0.88) 80%
  );
  color: white;
  padding: 50px 20px 0;
  font-family: 'Arial', sans-serif;
  position: relative;
}

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

.footer-top {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-column {
  margin-bottom: 20px;
}

.footer-column h3 {
  color: #f1c359;
  margin-bottom: 20px;
  font-size: 1.2rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  padding-bottom: 10px;
}

.footer-column h3::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 2px;
  background-color: #f1c359;
}

.footer-column ul {
  list-style: none;
}

.footer-column ul li {
  margin-bottom: 12px;
  line-height: 1.5;
}

.footer-column a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s;
  opacity: 0.9;
}

.footer-column a:hover {
  color: #f1c359;
  opacity: 1;
}

.footer-contact p {
  margin-bottom: 12px;
  line-height: 1.5;
  opacity: 0.9;
}

.footer-contact a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-contact a:hover {
  color: #f1c359;
}

.social-icons {
  display: flex;
  gap: 15px;
  margin-top: 15px;
}

.social-icons a {
  display: inline-block;
  transition: transform 0.3s;
}

.social-icons a:hover {
  transform: translateY(-3px);
}

.social-icons img {
  width: 28px;
  height: 28px;
  filter: brightness(0) invert(1);
  transition: filter 0.3s;
}

.social-icons a:hover img {
  filter: brightness(0) invert(0.8) sepia(1) saturate(5) hue-rotate(0deg);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
  font-size: 0.85rem;
}

.footer-bottom-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-bottom p {
  margin: 5px 0;
  opacity: 0.8;
}

.footer-bottom a {
  color: #ffffff;
  text-decoration: none;
  margin-left: 15px;
  transition: color 0.3s;
}

.footer-bottom a:hover {
  color: #f1c359;
}

@media (max-width: 768px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }

  .footer-bottom-container {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }

  .footer-bottom a {
    margin: 0 10px;
  }
}

@media (max-width: 480px) {
  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer-column {
    margin-bottom: 30px;
  }

  .footer-column h3 {
    margin-bottom: 15px;
  }
}

/* Mobile Navigation Styles - Updated */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  position: absolute;
  right: 20px;
  top: 25px;
  z-index: 1001;
}

/* Mobile Menu Button */
.hamburger {
  width: 30px;
  height: 20px;
  position: relative;
  margin: 0 auto;
  margin-top: 13px;
}

.hamburger span {
  display: block;
  position: absolute;
  height: 3px;
  width: 100%;
  background: #000;
  border-radius: 3px;
  opacity: 1;
  left: 0;
  transform: rotate(0deg);
  transition: 0.25s ease-in-out;
}

.hamburger span:nth-child(1) {
  top: 0px;
}

.hamburger span:nth-child(2) {
  top: 8px;
}

.hamburger span:nth-child(3) {
  top: 16px;
}

/* Keep body from scrolling when mobile menu is open */
body.no-scroll {
  overflow: hidden;
}

/* Updated Mobile Navigation Styles */
@media screen and (max-width: 992px) {
  .main-nav {
    flex-wrap: wrap;
  }

  .mobile-nav-toggle {
    display: block;
    position: absolute;
    right: 20px;
    top: 20px;
    z-index: 2001;
  }

  .navbar {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100%;
    background: white;
    align-items: center;
    justify-content: flex-start;
    padding-top: 100px;
    z-index: 2000;
  }

  .navbar.active {
    display: flex;
  }

  .navbar li {
    width: 100%;
    text-align: center;
    padding: 15px 0;
  }

  .logo {
    position: relative;
    z-index: 2002;
  }

  .dropdown-menu {
    position: static;
    width: 100%;
    box-shadow: none;
    padding: 0;
    padding-right: 35px;
    margin-top: 15px;
  }

  .dropdown.active .dropdown-menu {
    display: block;
  }

  /* For the active hamburger button */
  .mobile-nav-toggle.active .hamburger span:nth-child(1) {
    top: 8px;
    transform: rotate(135deg);
  }

  .mobile-nav-toggle.active .hamburger span:nth-child(2) {
    opacity: 0;
    left: -60px;
  }

  .mobile-nav-toggle.active .hamburger span:nth-child(3) {
    top: 8px;
    transform: rotate(-135deg);
  }
}
