/*
Theme Name: Retina - Child
Version: 1.0
Description: A child theme of DMM for Retina & Macular Disease Specialists
Template: mts_schema
Text Domain: schema
*/

@import url("../mts_schema/style.css");

:root {
  --navy:        #0B2550;
  --blue:        #1A56A0;
  --blue-mid:    #2371C8;
  --sky:         #4A9FE0;
  --sky-light:   #7BBFEE;
  --pale:        #EBF4FB;
  --pale2:       #F4F9FD;
  --white:       #FFFFFF;
  --dark:        #0B1E3A;
  --text:        #2C3E5A;
  --text-light:  #6B7FA0;
  --border:      rgba(26,86,160,0.14);
}

* { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; }
body {
  font-family:'DM Sans',sans-serif;
  background:var(--pale2);
  color:var(--text);
  overflow-x:hidden;
}

/* NAV */
.retina-nav {
  position:fixed; top:0; left:0; right:0; z-index:100;
  display:flex; align-items:center; justify-content:space-between;
  padding:0 52px; height:74px;
  background:rgba(244,249,253,0.94);
  backdrop-filter:blur(14px);
  border-bottom:1px solid var(--border);
  transition:box-shadow .3s;
}
.retina-nav.scrolled { box-shadow:0 4px 32px rgba(11,37,80,.09); }

.nav-brand { display:flex; align-items:center; gap:14px; text-decoration:none; }
.nav-logo-wrap {
  background: var(--blue);
  border-radius: 10px;
  padding: 6px 10px;
  display:flex; align-items:center; justify-content:center;
  flex-shrink:0;
}
.nav-brand-text { line-height:1.2; }
.nav-brand-text .l1 {
  font-family:'Playfair Display',serif;
  font-size:15px; font-weight:700; color:var(--navy);
}
.nav-brand-text .l2 {
  font-size:10px; font-weight:400; letter-spacing:.12em;
  text-transform:uppercase; color:var(--text-light);
}

.nav-links { display:flex; align-items:center; gap:34px; list-style:none; }
.nav-links a {
  font-size:13px; font-weight:500; color:var(--text);
  text-decoration:none; letter-spacing:.03em; transition:color .2s;
}
.nav-links a:hover { color:var(--blue-mid); }
.nav-cta {
  background:var(--blue) !important;
  color:var(--white) !important;
  padding:10px 22px; border-radius:100px;
  transition:background .2s, transform .15s !important;
}
.nav-cta:hover { background:var(--blue-mid) !important; transform:translateY(-1px); }

/* PHONE STRIP */
.phone-strip {
  margin-top:74px;
  background:var(--navy);
  color:white;
  display:flex; align-items:center; justify-content:center;
  gap:28px; padding:18px 52px;
}
.phone-strip span { font-size:21px; opacity:.75; }
.phone-strip a { color:var(--sky-light); text-decoration:none; font-weight:700; font-size:21px; letter-spacing:.04em; }
.phone-strip a:hover { text-decoration:underline; }
.phone-strip-name { font-size:21px; font-weight:700; letter-spacing:.04em; opacity:1; color:white; }
.phone-strip-tag { font-size:21px; font-weight:700; letter-spacing:.04em; opacity:1; color:var(--sky-light); }

/* HERO */
.hero {
  display:grid; grid-template-columns:1.3fr 0.7fr;
  min-height:calc(100vh - 74px - 44px);
  overflow:visible;
  align-items:stretch;
}
.hero-left {
  display:flex; flex-direction:column; justify-content:center;
  padding:80px 60px 80px 80px;
  overflow:visible;
}
.hero-tag {
  display:inline-flex; align-items:center; gap:8px;
  background:var(--pale); border:1px solid rgba(26,86,160,.2);
  color:var(--blue); font-size:11px; font-weight:500;
  letter-spacing:.12em; text-transform:uppercase;
  padding:7px 16px; border-radius:100px;
  margin-bottom:30px; width:fit-content;
  animation:fadeUp .7s ease both;
}
.hero-tag::before {
  content:''; width:6px; height:6px;
  background:var(--blue-mid); border-radius:50%;
  animation:pulse 2s infinite;
}
@keyframes pulse {
  0%,100%{opacity:1;transform:scale(1)}
  50%{opacity:.4;transform:scale(.7)}
}
.hero-h1 {
  font-family:'Playfair Display',serif;
  font-size:clamp(40px,4.2vw,60px);
  font-weight:700; line-height:1.1; color:var(--navy);
  margin-bottom:22px;
  animation:fadeUp .7s .1s ease both;
}
.hero-h1 em { font-style:italic; color:var(--blue-mid); }
.hero-sub {
  font-size:16px; font-weight:300; line-height:1.75;
  color:var(--text-light); max-width:430px;
  margin-bottom:44px;
  animation:fadeUp .7s .2s ease both;
}
.hero-btns {
  display:flex; gap:14px; flex-wrap:wrap;
  animation:fadeUp .7s .3s ease both;
  padding-bottom: 4px;
}
.btn-primary {
  background:var(--blue); color:var(--white);
  padding:15px 34px; border-radius:100px;
  font-size:14px; font-weight:500; text-decoration:none;
  letter-spacing:.03em; transition:all .25s;
  box-shadow:0 8px 28px rgba(26,86,160,.3);
  border:none; cursor:pointer; font-family:inherit;
  white-space:nowrap;
}
.btn-primary:hover {
  background:var(--blue-mid);
  transform:translateY(-2px);
  box-shadow:0 12px 36px rgba(26,86,160,.38);
}
.btn-secondary {
  display:flex; align-items:center; gap:10px;
  color:var(--text); font-size:14px; font-weight:500;
  text-decoration:none; padding:15px 22px;
  border-radius:100px; border:1.5px solid var(--border);
  transition:all .25s;
}
.btn-secondary:hover { border-color:var(--blue); color:var(--blue); transform:translateY(-2px); }
.btn-arrow {
  width:28px; height:28px; background:var(--pale);
  border-radius:50%; display:flex; align-items:center; justify-content:center;
  font-size:12px; transition:background .25s;
}
.btn-secondary:hover .btn-arrow { background:var(--blue); color:white; }
.hero-stats {
  display:flex; gap:40px; margin-top:56px; padding-top:36px;
  border-top:1px solid var(--border);
  animation:fadeUp .7s .4s ease both;
}
.stat-num {
  font-family:'Playfair Display',serif;
  font-size:30px; font-weight:700; color:var(--navy); line-height:1;
}
.stat-label { font-size:12px; color:var(--text-light); margin-top:4px; }

.hero-right {
  background:var(--navy);
  position:relative; overflow:hidden;
  display:flex; align-items:flex-start; justify-content:center;
}
.hero-right img {
  position:relative;
  width:100%; height:auto;
  object-fit:cover; object-position:50% 8%;
  opacity:0.92;
  display:block;
}
.hero-bg-ring {
  position:absolute; border-radius:50%;
  border:1px solid rgba(255,255,255,.06);
}
.hero-bg-ring:nth-child(1){width:560px;height:560px}
.hero-bg-ring:nth-child(2){width:380px;height:380px}
.hero-bg-ring:nth-child(3){width:200px;height:200px}
.hero-eye-wrap {
  position:relative; z-index:2;
  animation:fadeIn 1s .3s ease both;
}
.float-card {
  position:absolute; z-index:3;
  background:white; border-radius:16px;
  padding:16px 22px;
  box-shadow:0 16px 48px rgba(0,0,0,.2);
  min-width:210px;
}
.float-card.c1 {bottom: 20px;left: 20px;animation:fadeUp .8s .6s ease both;}
.float-card.c2 { top:56px; right:-20px; animation:fadeUp .8s .8s ease both;
  background:var(--blue); color:white; min-width:180px; }
.float-card-icon {
  width:40px; height:40px; border-radius:10px;
  background:var(--pale); display:flex; align-items:center; justify-content:center;
  font-size:18px; margin-right:14px; flex-shrink:0;
}
.float-card-row { display:flex; align-items:center; }
.float-card-title { font-weight:600; font-size:13px; color:var(--navy); }
.float-card-sub { font-size:11px; color:var(--text-light); margin-top:2px; }
.float-card.c2 .float-card-title { font-size:11px; color:rgba(255,255,255,.65); font-weight:400; margin-bottom:3px; }
.float-card.c2 .float-card-val {
  font-family:'Playfair Display',serif;
  font-size:20px; font-weight:700; color:white;
}

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

/* SHARED SECTION */
.retina-section { padding:96px 80px; }
.section-tag {
  font-size:11px; font-weight:500; letter-spacing:.14em;
  text-transform:uppercase; color:var(--blue-mid);
  margin-bottom:14px; display:flex; align-items:center; gap:10px;
}
.section-tag::before { content:''; width:26px; height:2px; background:var(--blue-mid); flex-shrink:0; }
.section-h2 {
  font-family:'Playfair Display',serif;
  font-size:clamp(30px,2.8vw,42px); font-weight:700;
  line-height:1.2; color:var(--navy); margin-bottom:14px;
}
.section-sub {
  font-size:16px; color:var(--text-light);
  line-height:1.75; max-width:520px; margin-bottom:52px;
}

/* SERVICES */
.services { background:var(--white); }
.services-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
.svc-card {
  border:1.5px solid var(--border); border-radius:20px;
  padding:34px; background:var(--pale2);
  transition:all .3s; position:relative; overflow:hidden; cursor:default;
  text-align:center;
}
.svc-card::after {
  content:''; position:absolute; bottom:0; left:0; right:0; height:3px;
  background:linear-gradient(90deg,var(--blue),var(--sky));
  transform:scaleX(0); transform-origin:left; transition:transform .3s;
}
.svc-card:hover {
  border-color:rgba(26,86,160,.28);
  box-shadow:0 14px 44px rgba(26,86,160,.1);
  transform:translateY(-4px);
}
.svc-card:hover::after { transform:scaleX(1); }
.svc-icon {
  width:50px; height:50px; background:var(--pale);
  border-radius:13px; display:flex; align-items:center;
  justify-content:center; margin-bottom:22px; font-size:21px;
  transition:background .3s; margin-left:auto; margin-right:auto;
}
.svc-card:hover .svc-icon { background:var(--blue); }
.svc-title {
  font-family:'Playfair Display',serif;
  font-size:15px; font-weight:600; color:var(--navy); margin-bottom:10px;
  text-align:center;
}
.svc-desc { font-size:14px; color:var(--text-light); line-height:1.7; text-align:center; }

/* ABOUT */
.about {
  background:var(--navy); color:white;
  display:grid; grid-template-columns:1fr 1fr;
  gap:80px; align-items:center; padding:96px 80px;
}
.about .section-tag { color:var(--sky-light); }
.about .section-tag::before { background:var(--sky-light); }
.about .section-h2 { color:white; }
.about .section-sub { color:rgba(255,255,255,.5); margin-bottom:36px; }
.about-list { list-style:none; display:flex; flex-direction:column; gap:16px; }
.about-item { display:flex; gap:14px; font-size:14px; color:rgba(255,255,255,.72); line-height:1.65; align-items:flex-start; }
.about-dot {
  width:20px; height:20px; flex-shrink:0; border-radius:50%;
  background:var(--blue-mid); display:flex; align-items:center;
  justify-content:center; font-size:10px; color:white; margin-top:2px;
}
.about-badge {
  display:inline-flex; align-items:center; gap:8px;
  background:var(--blue); padding:8px 16px;
  border-radius:100px; font-size:12px; color:white;
  font-weight:500; margin-top:30px;
}
.about-boxes { display:grid; grid-template-columns:1fr 1fr; gap:18px; }
.abox {
  background:rgba(255,255,255,.05); border:1px solid rgba(255,255,255,.08);
  border-radius:18px; padding:30px 26px; transition:background .3s;
}
.abox:hover { background:rgba(74,159,224,.12); }
.abox.wide { grid-column:1/-1; display:flex; align-items:center; gap:22px; }
.abox-num {
  font-family:'Playfair Display',serif;
  font-size:40px; font-weight:700; color:var(--sky); line-height:1;
}
.abox-label { font-size:12px; color:rgba(255,255,255,.45); margin-top:4px; }

/* DOCTOR */
.doctor { background:var(--white); padding:80px; }
.doc-content {
  padding:0;
  display:flex; flex-direction:column; justify-content:center;
}
.doc-name {
  font-family:'Playfair Display',serif;
  font-size:34px; font-weight:700; color:var(--navy); margin-bottom:4px;
}
.doc-title {
  font-size:12px; letter-spacing:.1em; text-transform:uppercase;
  color:var(--blue-mid); font-weight:500; margin-bottom:26px;
}
.doc-bio { font-size:15px; line-height:1.8; color:var(--text-light); margin-bottom:30px; }
.doc-creds { display:flex; flex-wrap:wrap; gap:9px; margin-bottom:38px; }
.cred {
  padding:6px 15px; border-radius:100px;
  border:1.5px solid var(--border);
  font-size:12px; color:var(--text); font-weight:500;
  background:var(--pale2);
}

/* MICROPULSE / TECH STRIP */
.tech-strip { background:var(--pale); padding:48px 80px; }
.tech-strip-inner { display:flex; align-items:center; justify-content:space-between; gap:40px; flex-wrap:wrap; }
.tech-item { display:flex; align-items:center; gap:18px; }
.tech-icon { width:50px;height:50px;background:var(--blue);border-radius:12px;display:flex;align-items:center;justify-content:center;font-size:22px;flex-shrink:0; color:#fff; }
.tech-title { font-size:13px;font-weight:600;color:var(--navy);margin-bottom:3px; }
.tech-desc { font-size:13px;color:var(--text-light);max-width:340px; }

/* REVIEWS */
.reviews { background:var(--pale); }
.reviews-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
.review-card {
  background:var(--white); border-radius:20px; padding:34px;
  box-shadow:0 4px 20px rgba(26,86,160,.07);
  transition:transform .3s, box-shadow .3s;
}
.review-card:hover { transform:translateY(-4px); box-shadow:0 12px 38px rgba(26,86,160,.13); }
.review-stars { color:var(--blue-mid); font-size:15px; margin-bottom:18px; letter-spacing:2px; }
.review-text {
  font-family:'Playfair Display',serif;
  font-size:16px; font-style:italic; color:var(--text);
  line-height:1.7; margin-bottom:26px;
}
.review-author { display:flex; align-items:center; gap:13px; }
.review-avatar {
  width:40px; height:40px; border-radius:50%;
  background:var(--blue); color:white;
  display:flex; align-items:center; justify-content:center;
  font-weight:600; font-size:15px;
}
.review-name { font-weight:600; font-size:14px; color:var(--navy); }
.review-date { font-size:11px; color:var(--text-light); }

/* CONTACT */
.contact {
  background:var(--white);
  display:grid; grid-template-columns:1fr 1fr;
  gap:80px; align-items:start; padding:96px 80px;
}
.info-block {
  display:flex; align-items:flex-start; gap:16px;
  margin-bottom:22px; padding:22px;
  border-radius:14px; border:1.5px solid var(--border);
  background:var(--pale2); transition:border-color .2s;
}
.info-block:hover { border-color:rgba(26,86,160,.28); }
.info-icon {
  width:44px; height:44px; flex-shrink:0;
  background:var(--pale); border-radius:11px;
  display:flex; align-items:center; justify-content:center; font-size:19px;
}
.info-label { font-size:11px; text-transform:uppercase; letter-spacing:.1em; color:var(--text-light); margin-bottom:3px; }
.info-value { font-size:15px; font-weight:500; color:var(--navy); }
.info-value a { color:inherit; text-decoration:none; }
.info-value a:hover { color:var(--blue-mid); }

.contact-form { display:flex; flex-direction:column; gap:16px; }
.form-row { display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.form-group { display:flex; flex-direction:column; gap:6px; }
.form-label { font-size:12px; font-weight:500; color:var(--text); letter-spacing:.04em; }
.form-input, .form-select, .form-textarea {
  padding:13px 16px; border:1.5px solid var(--border);
  border-radius:11px; font-size:14px; font-family:inherit;
  color:var(--text); background:var(--pale2);
  transition:border-color .2s, box-shadow .2s; outline:none; width:100%;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color:var(--blue); box-shadow:0 0 0 3px rgba(26,86,160,.1);
}
.form-textarea { resize:vertical; min-height:110px; }

/* FOOTER */
.retina-footer {
  background:var(--dark); color:rgba(255,255,255,.4);
  padding:44px 80px;
  display:flex; align-items:center; justify-content:space-between;
  flex-wrap:wrap; gap:22px;
}
.footer-brand { display:flex; align-items:center; gap:14px; }
.footer-brand-text { font-size:12px; color:rgba(255,255,255,.35); line-height:1.55; }
.footer-links { display:flex; gap:26px; }
.footer-links a { font-size:12px; color:rgba(255,255,255,.35); text-decoration:none; transition:color .2s; }
.footer-links a:hover { color:var(--sky); }
.footer-copy { font-size:12px; }

/* HAMBURGER */
.hamburger {
  display:none; flex-direction:column; gap:5px; cursor:pointer;
  padding:8px; background:none; border:none; z-index:200;
}
.hamburger span {
  display:block; width:24px; height:2px;
  background:var(--navy); border-radius:2px; transition:all .3s;
}
.hamburger.open span:nth-child(1) { transform:rotate(45deg) translate(5px,5px); }
.hamburger.open span:nth-child(2) { opacity:0; }
.hamburger.open span:nth-child(3) { transform:rotate(-45deg) translate(5px,-5px); }

@media (max-width: 768px) {
  .retina-nav { padding:0 20px; height:64px; }
  .nav-links { display:none; }
  .nav-brand-text .l1 { font-size:13px; }
  .phone-strip { margin-top:64px; padding:12px 20px; gap:10px; flex-wrap:wrap; justify-content:center; text-align:center; }
  .phone-strip-name, .phone-strip-tag, .phone-strip a { font-size:15px; }
  .hero { grid-template-columns:1fr; min-height:auto; }
  .hero-left { padding:40px 24px 32px; }
  .hero-right { min-height:280px; }
  .hero-h1 { font-size:34px; }
  .hero-sub { font-size:15px; }
  .hero-stats { gap:24px; }
  .float-card.c1 { left:12px; bottom:16px; min-width:180px; }
  .float-card.c2 { right:8px; top:16px; min-width:160px; }
  .retina-section { padding:56px 24px; }
  .services-grid, .reviews-grid { grid-template-columns:1fr; }
  .about { grid-template-columns:1fr; padding:56px 24px; gap:40px; }
  .about-boxes { grid-template-columns:1fr 1fr; }
  .abox.wide { grid-column:1/-1; }
  .doctor { padding:40px 24px; }
  .tech-strip { padding:40px 24px; }
  .contact { grid-template-columns:1fr; padding:56px 24px; gap:40px; }
  .form-row { grid-template-columns:1fr; }
  .retina-footer { padding:36px 24px; flex-direction:column; gap:20px; text-align:center; }
  .footer-links { flex-wrap:wrap; justify-content:center; gap:16px; }
  .hamburger { display:flex; }
  .nav-links {
    display:none; position:fixed; top:64px; left:0; right:0;
    background:var(--pale2); flex-direction:column;
    padding:24px 28px; gap:0;
    box-shadow:0 8px 32px rgba(11,37,80,.12);
    z-index:99; border-bottom:2px solid var(--border);
  }
  .nav-links.open { display:flex; }
  .nav-links li { border-bottom:1px solid var(--border); }
  .nav-links li:last-child { border-bottom:none; }
  .nav-links a { display:block; padding:16px 0; font-size:16px; }
  .nav-cta { margin-top:8px; display:block !important; text-align:center; padding:14px 22px !important; }
}

#logo {
    margin: 0px;
}

#logo img {
    max-width: 200px;
    display: block;
}

@media (max-width: 480px) {
  .hero-h1 { font-size:28px; }
  .section-h2 { font-size:26px; }
  .hero-btns { flex-direction:column; }
  .btn-primary, .btn-secondary { text-align:center; justify-content:center; }
}

.nav-links { position:relative; }
.nav-links li { position:relative; list-style:none; }

.nav-links .sub-menu {
  position:absolute; top:100%; left:0;
  min-width:220px; margin:0; padding:10px 0;
  background:#fff;
  list-style:none;
  border:1px solid rgba(26,86,160,0.14);
  border-radius:12px;
  box-shadow:0 12px 36px rgba(11,37,80,.12);
  opacity:0; visibility:hidden; transform:translateY(6px);
  transition:opacity .2s ease, transform .2s ease, visibility .2s;
  z-index:120;
}
.nav-links li:hover > .sub-menu,
.nav-links li:focus-within > .sub-menu,
.nav-links li.is-open > .sub-menu {
  opacity:1; visibility:visible; transform:translateY(0);
}
.nav-links .sub-menu li { display:block; border:0; }
.nav-links .sub-menu a {
  display:block;
  padding:10px 18px;
  font-size:13px;
  white-space:nowrap;
  color:#2C3E5A;
  text-decoration:none;
}
.nav-links .sub-menu a:hover { background:#EBF4FB; color:#1A56A0; }

.nav-links .sub-menu .sub-menu { top:0; left:100%; margin-left:4px; }

.nav-links .menu-item-has-children > a::after {
  content:'\25BE'; /* ▾ */
  margin-left:6px;
  font-size:10px;
  opacity:.6;
}


@media (max-width: 768px) {
  .nav-links {
    display:none;
    position:fixed;
    top:64px; left:0; right:0;
    max-height:calc(100vh - 64px);
    overflow-y:auto;
    background:#F4F9FD;
    flex-direction:column;
    padding:18px 24px 28px;
    gap:0;
    box-shadow:0 8px 32px rgba(11,37,80,0.12);
    z-index:99;
    border-bottom:2px solid rgba(26,86,160,0.14);
  }
  .nav-links.open { display:flex; }

  .nav-links li {
    border-bottom:1px solid rgba(26,86,160,0.14);
    position:relative;
  }
  .nav-links li:last-child { border-bottom:none; }
  .nav-links a {
    display:block;
    padding:14px 0;
    font-size:16px;
  }

  .nav-links .sub-menu {
    position:static;
    opacity:1; visibility:visible; transform:none;
    box-shadow:none; border:0; border-radius:0;
    padding:0 0 8px 14px;
    background:transparent;
    display:none;
    min-width:0;
  }
  .nav-links li.is-open > .sub-menu { display:block; }
  .nav-links .sub-menu a {
    padding:10px 0;
    font-size:14px;
    white-space:normal;
  }
  .nav-links .sub-menu .sub-menu {
    margin-left:0;
    padding-left:14px;
  }

  .nav-links .menu-item-has-children > a::after {
    content:'\25BE';
    float:right;
    transition:transform .2s ease;
  }
  .nav-links .menu-item-has-children.is-open > a::after { transform:rotate(180deg); }

  .nav-cta {
    margin-top:10px;
    display:block !important;
    text-align:center;
    padding:14px 22px !important;
  }
}
