:root {
  --blue: #0a4d8c;
  --blue-dark: #073864;
  --red: #c62828;
  --red-dark: #9f1f1f;
  --light-blue: #eaf4ff;
  --soft-gray: #f5f7fa;
  --white: #ffffff;
  --text: #1f2937;
  --muted: #64748b;
  --line: #dbe4ee;
  --shadow: 0 18px 50px rgba(15, 23, 42, 0.12);
  --radius: 8px;
  --header-height: 76px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "DM Sans", Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 1000;
  padding: 0.75rem 1rem;
  background: var(--blue);
  color: var(--white);
  border-radius: var(--radius);
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(219, 228, 238, 0.75);
}

.navbar {
  width: min(1180px, calc(100% - 32px));
  height: var(--header-height);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: max-content;
}

.navbar .brand-logo {
  display: block;
  width: clamp(104px, 11vw, 132px);
  height: auto;
}

.footer-brand .brand-logo {
  display: block;
  width: clamp(118px, 13vw, 154px);
  height: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.3rem;
  color: #334155;
  font-weight: 700;
  font-size: 0.94rem;
}

.nav-links a {
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a:focus {
  color: var(--red);
}

.nav-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: var(--radius);
  padding: 0.8rem 1.15rem;
  border: 0;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.nav-cta,
.btn-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--red), var(--blue));
  box-shadow: 0 14px 32px rgba(198, 40, 40, 0.22);
}

.btn:hover,
.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(10, 77, 140, 0.2);
}

.btn-outline {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.1);
}

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

.btn-outline-light {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: transparent;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  background: var(--blue);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.hero {
  position: relative;
  min-height: calc(100vh - var(--header-height));
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
}

.hero-bg,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-bg {
  background:
    linear-gradient(90deg, rgba(7, 56, 100, 0.92) 0%, rgba(10, 77, 140, 0.8) 46%, rgba(198, 40, 40, 0.58) 100%),
    url("ASSETS/hero pic.jpg") center/cover;
  transform: scale(1.02);
}

.hero-overlay {
  background: radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.22), transparent 28%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.6fr);
  gap: 3rem;
  align-items: center;
  padding: 5rem 0;
}

.eyebrow {
  margin: 0 0 0.85rem;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero .eyebrow,
.cta-section .eyebrow {
  color: #ffd7d7;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 1rem;
  font-size: clamp(2.8rem, 7vw, 5.8rem);
}

h2 {
  margin-bottom: 1rem;
  color: var(--blue-dark);
  font-size: clamp(2rem, 4vw, 3.2rem);
}

h3 {
  margin-bottom: 0.65rem;
  color: var(--blue-dark);
  font-size: 1.15rem;
}

.hero-copy {
  max-width: 660px;
  margin-bottom: 1.6rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1rem, 2vw, 1.24rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.centered {
  justify-content: center;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  max-width: 650px;
  margin-top: 2rem;
}

.hero-stats div,
.hero-panel {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(18px);
  border-radius: var(--radius);
}

.hero-stats div {
  padding: 1rem;
}

.hero-stats strong,
.hero-stats span {
  display: block;
}

.hero-stats strong {
  font-size: 1.05rem;
}

.hero-stats span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
}

.hero-panel {
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.pulse-badge {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 1.2rem;
  border-radius: 50%;
  background: var(--red);
}

.hero-panel h2 {
  color: var(--white);
  font-size: 1.65rem;
}

.hero-panel p {
  color: rgba(255, 255, 255, 0.82);
}

.hero-panel a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--white);
  font-weight: 800;
}

.section {
  padding: 6rem 0;
}

.section-soft {
  background: var(--soft-gray);
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 4rem;
  align-items: center;
}

.image-frame {
  position: relative;
}

.image-frame img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.experience-card {
  position: absolute;
  right: -18px;
  bottom: 28px;
  width: min(240px, 72%);
  padding: 1rem;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--red));
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.experience-card strong,
.experience-card span {
  display: block;
}

.section-copy p,
.section-heading p {
  color: var(--muted);
  font-size: 1.05rem;
}

.feature-list {
  display: grid;
  gap: 0.9rem;
  margin-top: 1.5rem;
}

.feature-list div,
.why-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
}

.feature-list i,
.why-item i {
  color: var(--red);
}

.section-heading {
  max-width: 720px;
  margin: 0 auto 3rem;
  text-align: center;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.service-card,
.blog-card,
.testimonial-card,
.appointment-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.07);
}

.service-card {
  padding: 1.25rem;
  min-height: 230px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(198, 40, 40, 0.28);
  box-shadow: var(--shadow);
}

.service-card i {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
  color: var(--white);
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--blue), var(--red));
}

.service-card p,
.blog-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.why {
  background:
    linear-gradient(90deg, rgba(234, 244, 255, 0.9), rgba(255, 255, 255, 0.96)),
    url("https://images.unsplash.com/photo-1519494026892-80bbd2d6fd0d?auto=format&fit=crop&w=1500&q=80") center/cover fixed;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.why-item {
  font-weight: 800;
}

.cta-section {
  padding: 5rem 0;
  color: var(--white);
  text-align: center;
  background: linear-gradient(135deg, var(--red), var(--blue));
}

.cta-section h2 {
  color: var(--white);
}

.cta-section p {
  max-width: 660px;
  margin: 0 auto 1.6rem;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.1rem;
}

.testimonial-wrap {
  display: grid;
  grid-template-columns: 52px 1fr 52px;
  gap: 1rem;
  align-items: center;
}

.testimonial-slider {
  position: relative;
  min-height: 270px;
  overflow: hidden;
}

.testimonial-card {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.testimonial-card.active {
  opacity: 1;
  transform: translateX(0);
}

.testimonial-card i {
  color: var(--red);
  font-size: 2rem;
}

.testimonial-card p {
  margin: 1rem 0;
  color: var(--text);
  font-size: clamp(1.25rem, 3vw, 2rem);
  line-height: 1.25;
}

.slider-btn {
  width: 52px;
  height: 52px;
  color: var(--blue);
  background: var(--light-blue);
  border: 1px solid var(--line);
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.slider-btn:hover {
  color: var(--white);
  background: var(--blue);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.blog-card {
  overflow: hidden;
  display: block;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.blog-card:hover,
.blog-card:focus {
  transform: translateY(-6px);
  border-color: rgba(10, 77, 140, 0.28);
  box-shadow: var(--shadow);
}

.blog-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.blog-card div {
  padding: 1.25rem;
}

.blog-card span {
  color: var(--red);
  font-weight: 800;
  font-size: 0.82rem;
  text-transform: uppercase;
}

.blog-card strong {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 1rem;
  color: var(--blue);
  font-weight: 800;
}

.tip-hero {
  padding: 4.5rem 0;
  background:
    linear-gradient(90deg, rgba(234, 244, 255, 0.96), rgba(255, 255, 255, 0.9)),
    radial-gradient(circle at 85% 20%, rgba(198, 40, 40, 0.14), transparent 30%);
}

.tip-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
  gap: 3rem;
  align-items: center;
}

.tip-hero h1 {
  max-width: 740px;
  margin-bottom: 1rem;
  color: var(--blue-dark);
  font-size: clamp(2.4rem, 5vw, 4.6rem);
}

.tip-hero p:not(.eyebrow) {
  max-width: 660px;
  color: var(--muted);
  font-size: 1.15rem;
}

.tip-hero img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 1.5rem;
  color: var(--blue);
  font-weight: 800;
}

.tip-content {
  background: var(--white);
}

.article-shell {
  max-width: 860px;
}

.article-shell h2 {
  margin-top: 2rem;
  font-size: clamp(1.45rem, 3vw, 2.15rem);
}

.article-shell p {
  color: var(--muted);
  font-size: 1.06rem;
}

.medical-note,
.source-note,
.tip-cta {
  border-radius: var(--radius);
}

.medical-note {
  padding: 1rem 1.1rem;
  color: var(--blue-dark) !important;
  background: var(--light-blue);
  border: 1px solid #cde7ff;
}

.tip-cta {
  margin: 2.5rem 0;
  padding: 1.5rem;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--red));
}

.tip-cta h2,
.tip-cta p {
  color: var(--white);
}

.source-note {
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  font-size: 0.96rem !important;
}

.source-note a {
  color: var(--blue);
  font-weight: 800;
}

.faq-list {
  display: grid;
  gap: 0.8rem;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  overflow: hidden;
}

.faq-item button {
  width: 100%;
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.15rem;
  color: var(--blue-dark);
  background: var(--white);
  border: 0;
  text-align: left;
  font-weight: 800;
  cursor: pointer;
}

.faq-item button i {
  color: var(--red);
  transition: transform 0.2s ease;
}

.faq-item.active button i {
  transform: rotate(45deg);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}

.faq-content p {
  margin: 0;
  padding: 0 1.15rem 1rem;
  color: var(--muted);
}

.contact {
  background: linear-gradient(180deg, var(--white), var(--light-blue));
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: 2rem;
  align-items: start;
}

.contact-list {
  display: grid;
  gap: 0.8rem;
  margin: 1.5rem 0;
}

.contact-list a,
.contact-list div {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--text);
  font-weight: 700;
}

.contact-list i {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: var(--white);
  border-radius: 50%;
  background: var(--blue);
}

.map-embed {
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.07);
}

.map-embed iframe {
  display: block;
  width: 100%;
  height: 250px;
  border: 0;
}

.appointment-form {
  padding: 1.5rem;
}

.form-row {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 1rem;
}

label {
  color: var(--blue-dark);
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.85rem 0.9rem;
  color: var(--text);
  background: var(--white);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(10, 77, 140, 0.12);
}

textarea {
  resize: vertical;
}

.form-submit {
  width: 100%;
}

.form-note {
  min-height: 1.5rem;
  margin: 0.85rem 0 0;
  color: var(--blue);
  font-weight: 800;
}

.site-footer {
  position: relative;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.84);
  background:
    radial-gradient(circle at 12% 0%, rgba(198, 40, 40, 0.24), transparent 34%),
    linear-gradient(135deg, #061b30 0%, #082f55 54%, #071f36 100%);
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.05), transparent 35%, rgba(255, 255, 255, 0.04));
}

.footer-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.45fr 0.75fr 0.9fr 1.1fr;
  gap: 2.2rem;
  padding: 4rem 0 3rem;
}

.site-footer p {
  max-width: 360px;
  margin: 1.1rem 0 1.25rem;
  color: rgba(255, 255, 255, 0.72);
}

.footer-brand {
  display: inline-flex;
  padding: 0.45rem 0.65rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.18);
}

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.footer-badges span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 36px;
  padding: 0.45rem 0.7rem;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 800;
}

.site-footer h2 {
  position: relative;
  margin-bottom: 1.2rem;
  color: var(--white);
  font-size: 1rem;
}

.site-footer h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.45rem;
  width: 36px;
  height: 3px;
  border-radius: 999px;
  background: var(--red);
}

.footer-links a,
.footer-contact a,
.footer-contact span {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.7rem;
  color: rgba(255, 255, 255, 0.74);
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer-links a:hover,
.footer-contact a:hover {
  color: var(--white);
  transform: translateX(3px);
}

.footer-contact i {
  color: #ffb4b4;
}

.socials {
  display: flex;
  gap: 0.7rem;
  margin-top: 1rem;
}

.socials a {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  transition: background 0.2s ease, transform 0.2s ease;
}

.socials a:hover {
  background: var(--red);
  transform: translateY(-2px);
}

.footer-bottom {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 0;
  color: rgba(255, 255, 255, 0.68);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.92rem;
}

.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  color: var(--white);
  background: #25d366;
  border-radius: 50%;
  box-shadow: 0 18px 34px rgba(37, 211, 102, 0.32);
  font-size: 1.8rem;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

h1 .reveal {
  display: block;
}

h1 .reveal:nth-child(1) {
  transition-delay: 0s;
}

h1 .reveal:nth-child(2) {
  transition-delay: 0.15s;
}

h1 .reveal:nth-child(3) {
  transition-delay: 0.3s;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1040px) {
  .nav-cta {
    display: none;
  }

  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  :root {
    --header-height: 68px;
  }

  .navbar {
    width: min(100% - 24px, 1180px);
  }

  .menu-toggle {
    display: flex;
  }

  .menu-open .menu-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-open .menu-toggle span:nth-child(2) {
    opacity: 0;
  }

  .menu-open .menu-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .nav-links {
    position: fixed;
    left: 12px;
    right: 12px;
    top: calc(var(--header-height) + 10px);
    display: grid;
    gap: 0;
    padding: 0.6rem;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .menu-open .nav-links {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-links a {
    padding: 0.85rem;
    border-radius: var(--radius);
  }

  .nav-links a:hover {
    background: var(--light-blue);
  }

  .hero {
    min-height: auto;
  }

  .hero-grid,
  .two-column,
  .tip-hero-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

  .hero-grid {
    gap: 1.5rem;
    padding: 4rem 0;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 4rem 0;
  }

  .two-column {
    gap: 2rem;
  }

  .experience-card {
    right: 12px;
  }

  .blog-grid,
  .why-grid {
    grid-template-columns: 1fr;
  }

  .testimonial-wrap {
    grid-template-columns: 1fr;
  }

  .slider-btn {
    display: none;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 24px, 1120px);
  }

  .navbar .brand-logo {
    width: 104px;
  }

  h1 {
    font-size: 2.55rem;
  }

  .hero-actions .btn {
    width: 100%;
  }

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

  .testimonial-slider {
    min-height: 330px;
  }

  .appointment-form {
    padding: 1rem;
  }
}
