/* === RESET & BASE STYLES === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: sans-serif;
  scroll-behavior: smooth;
}

html {
  font-size: 62.5%; /* 1rem = 10px */
  overflow-x: hidden;
}

body {
  line-height: 1.6;
  color: #555;
  background-color: #fff;
  overflow-x: hidden;
}

/* === TYPOGRAPHY === */
.heading-primary {
  font-size: 5.2rem;
  font-weight: 700;
  line-height: 1.05;
  margin-bottom: 3.2rem;
  color: #333;
}

.heading-secondary {
  font-size: 4.4rem;
  line-height: 1.2;
  margin-bottom: 9.6rem;
}

.heading-tertiary {
  font-size: 3.6rem;
  line-height: 1.2;
  margin-bottom: 3.2rem;
  text-transform: capitalize;
}

/* === COLORS === */
:root {
  --color-hero: #D9EDDF;
  --color-services: #D2FADF;
  --color-about: #BEFBFF;
  --color-brand: #00A6FB;
  --color-company: #1150d8;
  --gray-dark: #333;
  --gray-medium: #837c7e;
  --cta-btn:#002499;
}

/* === LAYOUT === */
.container {
  max-width: 120rem;
  margin: 0 auto;
  padding: 0 3.2rem;
}

.grid {
  display: grid;
  column-gap: 6.4rem;
  row-gap: 9.6rem;
  margin-bottom: 9.6rem;
}

.grid--2--cols {
  grid-template-columns: repeat(2, 1fr);
}

/* === HEADER === */
.site-header {
  background-color: #c5c5c5;
  padding: 2.4rem 1rem;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

/* Logo & Company Name */
.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
}

.logo {
  width: 10rem;
  border-radius: 5rem;
    margin-right: 1.6rem;
}

.company-name {
  font-size: 5.6rem;
  letter-spacing: 0.2rem;
  font-weight: 700;
  color: var(--color-company);
  font-family: serif;
}

/* Emergency Banner */
.emergency-banner {
  display: flex;
  align-items: center;
  background-color: var(--color-brand);
  color: white;
  padding: 1.2rem 2.4rem;
  border-radius:2rem;
  font-size: 1.8rem;
}

.emergency-icon {
  font-size: 3.2rem;
  margin-right:1.2rem;
}

.emergency-text strong {
  font-weight: 700;
}

/* === NAVIGATION STYLES === */
.main-navigation {
  /* background-color: whitesmoke; */
  position: relative;
  align-items: center;
}

.nav-list {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 3.2rem;
  font-size:2rem;
  font-weight: 500;
  color: #080808;
  margin: 0;
  padding: 0;
}

.nav-link {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--cta-btn);
}

/* === BUTTONS === */
.btn {
  font-weight: 600;
  padding: 1.6rem 3.2rem;
  font-size: 1.8rem;
  text-decoration: none;
  display: inline-block;
  border-radius: 10rem;
  border: none;
  cursor: pointer;
  background-color: var(--color-brand);
  color: #fff;
  transition: all 0.2s ease;
}

.btn:hover {
  background-color: #002499;
  color: yellow;
}

.btn-primary {
  background-color: var(--color-brand);
}

/* === MOBILE MENU TOGGLE === */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.4rem;
  cursor: pointer;
  color: var(--gray-dark);
}


/* === SECTIONS === */
.section-hero {
  background-color: var(--color-hero);
  padding: 6rem 0;
}

.section-about-us {
  background-color: var(--color-about);
  padding: 9.6rem 0;
}




/* === HERO SECTION === */
.section-hero {
  position: relative;
  height: 100vh;
  background: url('images/h1.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 950px;
  width: 90%;
  padding: 5.2rem;
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 3rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  z-index: 2;
}



.description {
  font-size:2rem;
  color: #3b3b3b;
  margin-bottom: 3rem;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
}


.btn-outline {
  background-color: transparent;
  border: 2px solid #00A6FB;
  color: #00A6FB;
}

.btn-outline:hover {
  background-color:#002499;
  color: white;
}

.trust-badge {
  font-size:1.7rem;
  color: #333;
}

/* Optional overlay for better readability on light/dark images */
.section-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.2); /* Light overlay */
  z-index: 1;
}

.overlay-card {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgba(255, 255, 255, 0.8); /* White with 80% opacity */
  padding: 6.5rem;
  border-radius: 4rem;
  text-align: center;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(8px); /* Frosted glass effect */
  -webkit-backdrop-filter: blur(8px); /* Safari support */
  z-index: 2;
}


/* === ABOUT US SECTION === */
.section-about-us {
  background-color: #e8f1fd; /* Soft blue background */
  padding: 8rem 2rem;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8rem;
  align-items: center;
  padding: 4rem 0;
}

.about-image {
  position: relative;
  overflow: hidden;
  border-radius: 3rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  transition: transform 0.4s ease;
  }

.about-img {
  width: 100%;
  height: auto;
  border-radius:3rem;
  transition: transform 0.4s ease;
}

.about-img:hover {
  transform: scale(1.02);
}

.about-text h2 {
  margin-bottom: 2rem;
  color: #1150d8;
}

.about-text h3 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  color: #1A73E8;
}

.description {
  font-size: 2rem;
  color: #555;
  margin-bottom: 2rem;
}

.features-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 3rem;
}

.features-list li {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.features-list ion-icon {
  color: #1A73E8;
  font-size: 2rem;
}

.trust-badges {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 3rem;
  font-size: 1.6rem;
  color: #333;
}

.trust-badges ion-icon {
  color: #FFA500;
  margin-right: 0.5rem;
}

.cta-buttons {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.btn {
  padding: 1.4rem 2.8rem;
  font-size: 1.6rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 10rem;
  cursor: pointer;
  transition: all 0.3s ease;
  margin:2rem;
}

.btn-primary {
  background-color: #1A73E8;
  color: white;
  border: none;
}

.btn-primary:hover {
  background-color: #0055B3;
  color: yellow;
}

.btn-outline {
  background-color: transparent;
  border: 2px solid #1A73E8;
  color: #1A73E8;
}

.btn-outline:hover {
  background-color: #1A73E8;
  color: white;
}


/* === WHY CHOOSE US SECTION === */
.section-values {
  background-color:#e8f1fd ;/* Service background color */
  padding: 8rem 0;
    border-top:  solid 1px #1A73E8;

}

.values-header {
  text-align: center;
  margin-bottom: 6rem;
}

.values-header .description {
  font-size: 2rem;
  color: #555;
  margin-top: 1rem;
}

/* Values Grid */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 4rem;
  justify-items: center;
}

/* Value Item */
.value-item {
  background-color: #fff;
  padding: 3rem;
  border-radius: 1.5rem;
  box-shadow: 0 2rem 4rem rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease;
}

.value-item:hover {
  transform: translateY(-0.5rem);
  box-shadow: 0 3rem 6rem rgba(0, 0, 0, 0.1);
}

.value-icon {
  font-size: 3.6rem;
  color: #1A73E8;
  margin-bottom: 1.5rem;
}

.value-title {
  font-size: 2.4rem;
  margin-bottom: 1rem;
  color: #1150d8;
}

.value-description {
  font-size: 1.8rem;
  color: #555;
}

.trust-message {
  text-align: center;
  font-size: 2rem;
  color: #28a745;
  margin-top: 2rem;
}

.trust-message i {
  margin-right: 0.5rem;
}

/* === TESTIMONIALS SECTION === */
.section-testimonials {
  background-color: #eeeeee;
  padding: 8rem 2rem;
}

.testimonial-header {
  text-align: center;
  margin-bottom: 6rem;
}

.testimonial-header .description {
  font-size: 1.8rem;
  color: #555;
}

/* Testimonial Slider */
.testimonial-slider {
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: auto;
  min-height: 300px;
}

.testimonial-item {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  max-width: 700px;
  text-align: center;
  opacity: 0;
  transition: opacity 0.5s ease, transform 0.5s ease;
  padding: 2rem;
  border-radius: 1rem;
  background-color: #fff;
  box-shadow: 0 2rem 4rem rgba(0, 0, 0, 0.1);
  transform: translate(-50%, -50%);
}

.testimonial-item.active {
  opacity: 1;
  z-index: 10;
}

.testimonial-image {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  object-fit: cover;
  border: 3px solid #1ecbe1;
}

.testimonial-text {
  font-size: 1.8rem;
  font-style: italic;
  color: #333;
  margin-bottom: 1.5rem;
}

.testimonial-author {
  font-weight: 600;
  font-size: 1.6rem;
  color: #1150d8;
}

/* Slider Navigation */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 3rem;
  background: none;
  border: none;
  color: #1ecbe1;
  cursor: pointer;
  z-index: 20;
}

.slider-btn:hover {
  color: #0055B3;
}

.prev {
  left: -4rem;
}

.next {
  right: -4rem;
}

/* === SERVICES SECTION === */
.section-services {
  padding: 9rem 0;
}


.section-header {
  text-align: center;
  margin-bottom: 6rem;
}

/* === Service Grid === */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 4rem;
  justify-items: center;
}

/* === Service Card === */
.service-card {
  background-color: #ffffff9a;
  padding: 3rem;
  border-radius: 3rem;
  box-shadow: 0 2rem 4rem rgba(0, 0, 0, 0.2);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-1rem);
  box-shadow: 0 3rem 6rem rgba(0, 0, 0, 0.15);
}

/* === Icons === */
.icon-box {
  font-size: 4rem;
  color: #1A73E8;
  margin-bottom: 2rem;
  display: inline-block;
  padding: 1.2rem;
  background-color: #e6f0ff;
  border-radius: 100%;
}

.service-description{
  font-size: 2rem;
  color: #555;
  margin-bottom: 2rem;
}

/* TEAM SECTION */

/* === TEAM SECTION === */
.section-team {
  background-color: #eeeeee; /* Light blue background */
  padding: 9rem 0;
}

/* Hero Banner with Overlay */
.team-hero {
  position: relative;
  height: 450px;
  overflow: hidden;
  border-radius: 1rem;
  margin-bottom: 4rem;
}

.team-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4);
}

.team-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  z-index: 2;
}

.team-overlay h2 {
  font-size: 6rem;
  margin-bottom: 1rem;
  color: var(--color-brand);
}

.team-overlay p {
  font-size: 3.2rem;
  color: #fff;
}

/* Section Header */
.section-header {
  text-align: center;
  margin-bottom: 6rem;
}


/* Doctor Grid Layout */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 3rem;
  justify-items: center;
}

/* Doctor Card Styles */
.team-card {
  background-color: #fff;
  border-radius: 2rem;
  box-shadow: 0 2rem 4rem rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  padding: 2rem;
  width: auto;
}

.team-card:hover {
  transform: translateY(-0.5rem);
  box-shadow: 0 4rem 6rem rgba(0, 0, 0, 0.1);
}

.team-img {
  width: 100%;
  height: auto;
  border-radius: 1rem;
  margin-bottom: 2rem;
  transition: transform 0.3s ease;
}

.team-img:hover {
  transform: scale(1.05);
}

.team-info h3 {
  margin-bottom: 1rem;
  color:#080808;
  font-size: 3.6rem;
}

.team-role {
  font-size: 1.8rem;
  color: #1A73E8;
  margin-bottom: 1.5rem;
}

/* Qualifications List */
.team-qualifications {
  list-style: none;
  padding-left: 0;
  margin-bottom: 2rem;
}

.team-qualifications li {
  display: flex;
  align-items: center;
  gap: 2rem;
  font-size: 1.8rem;
  color: #555;
}

.team-qualifications i {
  color: #0000ffc2;
  font-size: 2rem;
}

/* === CONTACT FORM SECTION === */


.section-contactform {
  background-color:#b3e4fe;
  padding: 9rem 0;
}

.form-header {
  text-align: center;
  margin-bottom: 4rem;
}

.form-header .description {
  font-size: 2.2rem;
  color: #555;
  margin-top: 1rem;
}

/* Form Layout */
.contact-form {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  background-color: #fff;
  border-radius: 2rem;
  padding: 3rem;
  box-shadow: 0 2rem 4rem rgba(0, 0, 0, 0.2);
}

/* Form Group */
.form-group {
  display: flex;
  flex-direction: column;
}

/* Labels */
.label {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #333;
}

/* Inputs */
.input {
  font-size: 1.8rem;
  padding: 1.5rem;
  border: 1px solid #ccc;
  border-radius: 0.8rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.input:focus {
  border-color: #1A73E8;
  outline: none;
  box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.25);
}

/* Submit Button */
.form-submit {
  grid-column: span 2;
  text-align: center;
  margin-top: 2rem;
}


/* Trust Message */
.form-trust {
  grid-column: span 2;
  text-align: center;
  margin-top: 2rem;
  font-size: 1.6rem;
  color: #555;
}

.form-trust i {
  color: #1A73E8;
  margin-right: 0.5rem;
}

/* Success Message (hidden by default) */
.success-message {
  display: none;
  grid-column: span 2;
  text-align: center;
  margin-top: 2rem;
  font-size: 1.8rem;
  color: #28a745;
}

.success-message i {
  margin-right: 0.5rem;
}


/* === FAQ SECTION === */
.section-faq {
background-color: #eeeeee; /* Hero background color */
  padding: 9rem 0;
  border-top: solid 1px #1A73E8;
}

.faq-header {
  text-align: center;
  margin-bottom: 4rem;
}

.faq-header .description {
  font-size: 2rem;
  color: #555;
}

.faq {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  background-color: #fff;
  border-radius: 1.5rem;
  margin-bottom: 2rem;
  overflow: hidden;
  box-shadow: 0 2rem 4rem rgba(0, 0, 0, 0.15);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 2rem;
  font-size: 2.2rem;
  font-weight: 600;
  background-color: #fff;
  border: none;
  width: 100%;
  cursor: pointer;
  color: #1150d8;
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background-color: #e6f0ff;
}

.faq-question i.arrow {
  font-size: 2rem;
  transition: transform 0.3s ease;
  color: #837c7e;
}

.faq-question[open] i.arrow {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 3rem 2rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-answer p {
  font-size: 1.8rem;
  color: #333;
}

/* Link styling inside FAQ */
.faq .link {
  color: #1A73E8;
  text-decoration: underline;
}

.faq .link:hover {
  color: #0055B3;
}

/* FOOTER SECTION */

.footer {
  /* background-color: #1ecbe1; Brand color */
  color: #080808;
  padding: 6rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;

}
.footer a{
  color: #333;
}
.footer-logo {
  width: 80px;
  height: auto;
  margin-bottom: 1rem;
  border-radius: 50%;
}

.footer-name{
  font-size: 3.2rem;
  text-decoration: none; /* the text decoration functionality has a bug to be fixed */
  color: #333;
}

.footer-description {
  font-size: 1.8rem;
  margin-bottom: 2rem;
  color:#007dfb;
}

.social-icons {
  list-style: none;
  display: flex;
  gap: 1rem;
}

.social-icons a {
  /* color: white; */
  font-size: 2.4rem;
  transition: color 0.3s ease;
  color: #0055B3;
}

.social-icons a:hover {
  color: #ffd900; /* Accent orange */
}

.footer-contact,
.footer-nav {
  /* color: #f9f9f9; */
  font-size: 1.8rem;
}

.footer-header {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  /* color: #fff; */
}

.footer-nav ul {
  list-style: none;
  padding-left: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-nav ul li a {
  /* color: #f9f9f9; */
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-nav ul li a:hover {
  color: #ffd900;
}

.footer-address {
  font-style: normal;
  line-height: 1.6;
}

.footer-address a,  p {
  text-decoration: none;
  margin-bottom: 1rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  margin-top: 2rem;
}

.copyright {
  font-size: 1.4rem;
  /* color: #f9f9f9; */
}

.legal-links {
  list-style: none;
  display: flex;
  gap: 1.2rem;
  margin: 0;
  padding: 0;
}

.legal-links li a {
  font-size: 1.4rem;
  /* color: #f9f9f9; */
  text-decoration: none;
  transition: color 0.3s ease;
}

.legal-links li a:hover {
  color: #FFA500;
}


/* === DOCTOR DETAIL PAGE === */
.section-doctor-detail {
  background-color: #e6f6ff;
  padding: 8rem 1rem;
}

.doctor-profile {
  background-color: #fff;
  border-radius: 2rem;
  box-shadow: 0 2rem 4rem rgba(0, 0, 0, 0.1);
  padding: 3rem;
  margin-bottom: 4rem;
  display: none;
}

.doctor-profile.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

.modal-img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1.5rem;
  border: 3px solid #1ecbe1;
}

.modal-title {
  font-size: 3.6rem;
  color: #1150d8;
  margin-bottom: 0.5rem;
}

.modal-role {
  font-size: 2rem;
  color: #1A73E8;
  margin-bottom: 2rem;
  font-weight: 600;
}

.doctor-detail-content {
  max-width: 700px;
  margin: 0 auto;
  text-align: left;
}

.doctor-detail-content h4 {
  font-size: 2.6rem;
  margin-top: 2rem;
  color: #1150d8;
}

.doctor-detail-content p {
  font-size: 1.9rem;
  color: #555;
}

.doctor-detail-content ul {
  list-style: none;
  padding-left: 0;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin-top: 1rem;
}

.doctor-detail-content ul li {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.6rem;
}

.doctor-detail-content ul li i {
  color: #1A73E8;
  font-size: 1.8rem;
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background-color: var(--color-brand);
  color: white;
  padding: 1rem;
  border-radius: 50%;
  font-size: 2.4rem;
  text-decoration: none;
  display: inline-block;
  transition: background-color 0.3s ease;
}

.back-to-top:hover {
  background-color: #0055B3;
  color: yellow;
}

/* Back to Doctors Button */
.btn-back {
  display: inline-block;
  margin-bottom: 2rem;
    background-color:#0055B3;
  color: white;
  font-size: 1.8rem;
  text-decoration: none;
  transition: color 0.3s ease;
  border: solid 2px white;
}

.btn-back:hover {
  background-color: #002499;
  color: yellow;
  border: solid 2px yellow;
}

.btn-back i {
  margin-right: 0.5rem;
}



/* === BACK TO TOP === */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background-color: #1A73E8;
  color: white;
  padding: 1rem;
  border-radius: 50%;
  font-size: 2.4rem;
  text-decoration: none;
  display: inline-block;
  transition: background-color 0.3s ease;
}

.back-to-top:hover {
  background-color: #0055B3;
}

/* PRIVACY AND TERMS PAGE STYLING */

/* === TERMS OF SERVICE & PRIVACY POLICY === */
.terms-page,
.privacy-page {
  background-color: #fff;
  color: #333;
}

.terms-hero,
.privacy-hero {
  position: relative;
  height: 500px;
  background: url('../images/terms.jpg') center/cover no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  filter: brightness(0.5);
  -webkit-filter: brightness(0.5);
  z-index: 1;

}

.terms-overlay,
.privacy-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  z-index: 2;
  font-size: 3.2rem;
}

.terms-overlay h1,
.privacy-overlay h1 {
  font-size: 6rem;
  margin-bottom: 1.5rem;
  color: #00a6fb;
}

.terms-overlay .description,
.privacy-overlay .description {
  font-size: 2.8rem;
  color: #333;
}

/* Table of Contents */
.table-of-contents {
  background-color: #f9f9f9;
  border-radius: 1.5rem;
  padding: 2.4rem;
  margin-bottom: 4rem;
  box-shadow: 0 2rem 4rem rgba(0, 0, 0, 0.2);
}

.table-of-contents h3 {
  font-size: 3.2rem;
  margin-bottom: 1.5rem;
  color: #1150d8;
}

.table-of-contents ul {
  list-style: none;
  padding-left: 0;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;

}

.table-of-contents li a {
  font-size: 2rem;
  color: #1A73E8;
  text-decoration: none;
  transition: color 0.3s ease;
}

.table-of-contents li a:hover {
  color: #ffff00;
}

/* Main Content */
.main-content {
  max-width: 900px;
  margin: 1rem auto;
  padding: 4rem 2rem;
  background-color: #fff;
  border-radius: 1rem;
  box-shadow: 0 2rem 4rem rgba(0, 0, 0, 0.1);
  line-height: 1.8;
}

.main-content h2 {
  font-size: 3.2rem;
  color: #1150d8;
  margin-top: 3rem;
  margin-bottom: 2rem;
}

.main-content p,
.main-content ul {
  font-size: 2rem;
  color: #555;
  margin-bottom: 2rem;
}

.main-content ul {
  list-style: none;
  padding-left: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.main-content ul li {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.main-content ul li i {
  color: #1A73E8;
  font-size: 2rem;
}


/* === RESOURCES SECTION === */
.section-resources {
  background-color: #e6f6ff;
  padding: 9rem 1rem;
}

.section-resources .container {
  max-width: 1100px;
}

.resource-nav {
  background-color: #fff;
  border-radius: 1.5rem;
  padding: 1.5rem;
  box-shadow: 0 2rem 4rem rgba(0, 0, 0, 0.1);
  margin-bottom: 4rem;
}

.resource-nav-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.resource-nav-list li {
  margin: 0 0.5rem;
}

.resource-nav-list a {
  display: inline-block;
  padding: 1rem 2rem;
  font-size: 1.6rem;
  color: #1A73E8;
  text-decoration: none;
  border: 2px solid #1A73E8;
  border-radius: 10rem;
  transition: all 0.3s ease;
}

.resource-nav-list a:hover {
  background-color: #1A73E8;
  color: white;
}

/* Resource Sections */
.resources-content {
  margin-top: 4rem;
}

.resource-section {
  background-color: #fff;
  padding: 3rem;
  border-radius: 1rem;
  box-shadow: 0 2rem 4rem rgba(0, 0, 0, 0.05);
  margin-bottom: 4rem;
}

.resource-section h3 {
  color: #1150d8;
  margin-bottom: 1.5rem;
}

.resource-section p.description {
  font-size: 2rem;
  color: #555;
  margin-bottom: 2rem;
}

.resource-list {
  list-style: none;
  padding-left: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.resource-list li {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.8rem;
  color: #555;
}

.resource-list i {
  color: #1A73E8;
  font-size: 1.8rem;
}

.resource-list a {
  color: #1A73E8;
  text-decoration: underline;
}

.resource-list a:hover {
  color: #0055B3;
}


/* === AUTH PAGE === */
.auth-page {
  background-color: #e6f6ff;
}

.auth-header {
  text-align: center;
  margin-bottom: 4rem;
}

.auth-header .logo-link {
  font-size: 3.6rem;
  font-weight: bold;
  color: #1150d8;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.auth-header .logo {
  width: 80px;
  height: auto;
}

.auth-container {
  max-width: 800px;
  margin: 2rem auto;
  background-color: #fff;
  border-radius: 1rem;
  box-shadow: 0 2rem 4rem rgba(0, 0, 0, 0.2);
  padding: 3rem;
  position: relative;
}

/* Auth Toggle Navigation */
.auth-toggle {
  display: flex;
  justify-content: space-between;
  background-color: #f1f1f1;
  border-radius: 1.5rem;
  overflow: hidden;
  margin-bottom: 3rem;
}

.toggle-btn {
  flex: 1;
  text-align: center;
  padding: 1.4rem 2rem;
  font-size: 2rem;
  text-decoration: none;
  color: #555;
  background-color: transparent;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.toggle-btn.active {
  background-color: #1A73E8;
  color: white;
}

/* Auth Forms */
.auth-form {
  display: none;
}

.auth-form.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.auth-form h2 {
  text-align: center;
  margin-bottom: 2rem;
}

.form-group {
  margin-bottom: 2rem;
}

.form-group label {
  display: block;
  font-size: 2rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 0.5rem;
}

.form-group input {
  width: 100%;
  padding: 1.8rem;
  font-size: 1.6rem;
  border: 1px solid #ccc;
  border-radius: 0.8rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus {
  border-color: #1A73E8;
  outline: none;
  box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.2);
}

/* Form Actions */
.form-actions {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 2rem;
}

.link {
  color: #1A73E8;
  text-decoration: underline;
  font-size: 1.6rem;
}

.link:hover {
  color: #0055B3;
}



/* the responsive bit of this design will be taken care of as a future plan */