/* =========================================
   UDAAN - A LIFE AHEAD
   Main Website Stylesheet
   ========================================= */

:root{
  --bg:#F5F9F8;
  --bg-soft:#EAF2F0;
  --teal:#145864;
  --teal-deep:#0D3E47;
  --marigold:#F2A93B;
  --coral:#EA6659;
  --ink:#1C2B2E;
  --muted:#5C6F72;
  --line:#D8E4E2;
  --white:#FFFFFF;
  --radius:14px;
}

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

html{
  scroll-behavior:smooth;
}

body{
  background:var(--bg);
  color:var(--ink);
  font-family:'Work Sans',sans-serif;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}

h1,h2,h3,h4{
  font-family:'Fraunces',serif;
  font-weight:600;
  line-height:1.15;
  color:var(--teal-deep);
}

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

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

.wrap{
  width:100%;
  max-width:1120px;
  margin:0 auto;
  padding:0 28px;
}

/* Accessibility */
.skip-link{
  position:absolute;
  left:-9999px;
  top:8px;
  background:var(--teal-deep);
  color:#fff;
  padding:10px 14px;
  border-radius:6px;
  z-index:100;
}

.skip-link:focus{
  left:8px;
}

/* =========================================
   HEADER
   ========================================= */

header{
  position:sticky;
  top:0;
  z-index:50;
  background:rgba(245,249,248,.92);
  backdrop-filter:blur(8px);
  border-bottom:1px solid var(--line);
}

.navbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:16px 28px;
  max-width:1120px;
  margin:0 auto;
}

.brand{
  display:flex;
  align-items:center;
  gap:10px;
}

.brand-mark{
  width:38px;
  height:38px;
  flex-shrink:0;
}

.brand-text .name{
  font-family:'Fraunces',serif;
  font-size:1.35rem;
  font-weight:700;
  color:var(--teal-deep);
}

.brand-text .tag{
  display:block;
  font-size:.72rem;
  color:var(--muted);
  letter-spacing:.02em;
}

nav.links{
  display:flex;
  gap:6px;
  align-items:center;
}

nav.links a{
  font-family:'Work Sans',sans-serif;
  font-size:.95rem;
  background:none;
  border:none;
  cursor:pointer;
  color:var(--ink);
  padding:9px 16px;
  border-radius:999px;
  transition:background .2s ease,color .2s ease;
}

nav.links a:hover{
  background:var(--bg-soft);
}

nav.links a.active{
  background:var(--teal);
  color:var(--white);
}

.nav-cta{
  background:var(--coral);
  color:var(--white)!important;
  padding:9px 18px!important;
  border-radius:999px;
  font-weight:600;
}

.nav-cta:hover{
  background:#D85647!important;
  color:var(--white)!important;
}

.hamburger{
  display:none;
  flex-direction:column;
  gap:5px;
  background:none;
  border:none;
  cursor:pointer;
  padding:6px;
}

.hamburger span{
  width:24px;
  height:2.5px;
  background:var(--teal-deep);
  border-radius:2px;
}

/* =========================================
   GENERAL
   ========================================= */

.page{
  display:block;
  animation:fadein .35s ease;
}

@keyframes fadein{
  from{
    opacity:0;
    transform:translateY(6px);
  }
  to{
    opacity:1;
    transform:translateY(0);
  }
}

section{
  padding:72px 0;
}

.section-tight{
  padding:48px 0;
}

/* =========================================
   HERO
   ========================================= */

.hero{
  position:relative;
  overflow:hidden;
  padding:64px 0 40px;
}

.hero-grid{
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:48px;
  align-items:center;
}

.kicker{
  color:var(--coral);
  font-weight:600;
  font-size:.95rem;
  margin-bottom:14px;
}

.hero h1{
  font-size:2.9rem;
  margin-bottom:20px;
  max-width:560px;
}

.hero p.lead{
  font-size:1.13rem;
  color:var(--muted);
  max-width:480px;
  margin-bottom:30px;
}

.btn-row{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
}

.btn{
  display:inline-block;
  padding:13px 26px;
  border-radius:999px;
  font-weight:600;
  font-size:.98rem;
  transition:transform .15s ease,box-shadow .15s ease;
  border:2px solid transparent;
}

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

.btn-primary:hover{
  background:var(--teal-deep);
  transform:translateY(-1px);
}

.btn-outline{
  border-color:var(--teal);
  color:var(--teal);
}

.btn-outline:hover{
  background:var(--teal);
  color:var(--white);
}

.hero-art{
  position:relative;
  height:380px;
}

.stat-strip{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:0;
  margin-top:56px;
  border-top:1px solid var(--line);
  padding-top:32px;
}

.stat{
  padding:0 20px;
  border-left:1px solid var(--line);
}

.stat:first-child{
  border-left:none;
  padding-left:0;
}

.stat .num{
  font-family:'Fraunces',serif;
  font-size:2.1rem;
  color:var(--teal-deep);
  font-weight:600;
}

.stat .label{
  color:var(--muted);
  font-size:.9rem;
  margin-top:4px;
}

/* =========================================
   SECTION HEADINGS
   ========================================= */

.section-head{
  max-width:620px;
  margin-bottom:40px;
}

.section-head h2{
  font-size:2.1rem;
  margin-bottom:14px;
}

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

.section-head.split{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  flex-wrap:wrap;
  gap:20px;
  max-width:none;
}

/* =========================================
   CARDS / GRIDS
   ========================================= */

.card{
  background:var(--white);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:28px;
  width:100%;
  height:auto;
  min-height:0;
  align-self:start;
}

.grid-3{
  width:100%;
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:24px;
  align-items:start;
}

.grid-2{
  width:100%;
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:32px;
  align-items:start;
}

/* =========================================
   SERVICE CARDS
   ========================================= */

.service-card{
  display:block;
  width:100%;
  height:auto!important;
  min-height:0!important;
  align-self:start;
  overflow:visible;
  background:var(--white);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:28px;
  transition:
    transform .2s ease,
    box-shadow .2s ease,
    border-color .2s ease;
}

.service-card-link{
  display:block;
  width:100%;
  height:auto!important;
  min-height:0!important;
  align-self:start;
  color:inherit;
  text-decoration:none;
}

.service-card-link:hover{
  transform:translateY(-3px);
  border-color:#BFD4D0;
  box-shadow:0 12px 30px rgba(20,65,70,.08);
}

.service-card-link:focus-visible{
  outline:2px solid var(--teal);
  outline-offset:3px;
}

.service-card h3{
  font-size:1.15rem;
  margin-bottom:8px;
  color:var(--teal-deep);
}

.service-card h3 a{
  color:inherit;
  text-decoration:none;
}

.service-card p{
  color:var(--muted);
  font-size:.96rem;
  margin:0;
}

.icon-badge{
  width:48px;
  height:48px;
  border-radius:12px;
  background:var(--bg-soft);
  display:flex;
  align-items:center;
  justify-content:center;
  margin-bottom:18px;
}

/* Prevent accidental full-row stretching */
.grid-3 > .service-card,
.grid-3 > .service-card-link,
.grid-2 > .service-card,
.grid-2 > .service-card-link{
  width:100%;
  height:auto!important;
  min-height:0!important;
  align-self:start;
}

/* =========================================
   PHOTO / ABOUT
   ========================================= */

.photo-placeholder{
  border:1.5px dashed var(--line);
  border-radius:var(--radius);
  background:var(--bg-soft);
  display:flex;
  align-items:center;
  justify-content:center;
  color:var(--muted);
  font-size:.85rem;
  text-align:center;
  padding:20px;
  min-height:260px;
}

.about-block{
  margin-bottom:56px;
}

.quote-line{
  border-left:3px solid var(--marigold);
  padding-left:20px;
  margin:24px 0;
  color:var(--teal-deep);
  font-family:'Fraunces',serif;
  font-size:1.2rem;
}

.credential-list{
  list-style:none;
  margin-top:18px;
}

.credential-list li{
  padding:10px 0;
  border-bottom:1px solid var(--line);
  color:var(--muted);
  display:flex;
  gap:10px;
}

.credential-list li:last-child{
  border-bottom:none;
}

.credential-list b{
  color:var(--ink);
  min-width:150px;
  display:inline-block;
}

/* =========================================
   TESTIMONIALS
   ========================================= */

.rating-strip{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}

.rating-badge{
  display:inline-flex;
  align-items:center;
  gap:9px;
  background:var(--white);
  border:1px solid var(--line);
  border-radius:999px;
  padding:8px 16px 8px 8px;
}

.rating-badge .platform{
  display:flex;
  align-items:center;
  justify-content:center;
  width:26px;
  height:26px;
  border-radius:50%;
  flex-shrink:0;
  font-family:'Fraunces',serif;
  font-weight:700;
  font-size:.78rem;
  color:#fff;
}

.rating-badge.jd .platform{
  background:#1BA672;
}

.rating-badge.practo .platform{
  background:#1E88C7;
}

.rating-badge .stars{
  display:flex;
  gap:1px;
}

.rating-badge .stars svg{
  width:13px;
  height:13px;
}

.rating-badge b{
  color:var(--teal-deep);
  font-family:'Fraunces',serif;
  font-size:1rem;
}

.rating-badge span{
  color:var(--muted);
  font-size:.82rem;
}

.testimonial{
  background:var(--white);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:26px;
  height:100%;
  position:relative;
  overflow:hidden;
}

.testimonial::before{
  content:"";
  position:absolute;
  top:0;
  left:0;
  right:0;
  height:4px;
  background:linear-gradient(90deg,var(--marigold),var(--coral));
}

.testimonial .stars{
  display:flex;
  gap:3px;
  margin-bottom:14px;
}

.testimonial .stars svg{
  width:16px;
  height:16px;
}

.testimonial p{
  color:var(--ink);
  font-size:.98rem;
  margin-bottom:18px;
}

.testimonial .who-row{
  display:flex;
  align-items:center;
  gap:10px;
  padding-top:14px;
  border-top:1px solid var(--line);
}

.testimonial .avatar{
  width:36px;
  height:36px;
  border-radius:50%;
  background:var(--bg-soft);
  display:flex;
  align-items:center;
  justify-content:center;
  font-family:'Fraunces',serif;
  font-weight:600;
  color:var(--teal-deep);
  font-size:.95rem;
  flex-shrink:0;
}

.testimonial .who{
  font-weight:600;
  color:var(--teal-deep);
  font-size:.92rem;
}

.testimonial .cond{
  color:var(--muted);
  font-size:.8rem;
}

/* =========================================
   CONTACT
   ========================================= */

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

.info-row{
  display:flex;
  gap:16px;
  padding:16px 0;
  border-bottom:1px solid var(--line);
}

.info-row:last-child{
  border-bottom:none;
}

.info-row .ic{
  width:22px;
  flex-shrink:0;
  margin-top:3px;
}

.info-row b{
  display:block;
  margin-bottom:2px;
}

.info-row span{
  color:var(--muted);
  font-size:.94rem;
}

.map-box{
  border-radius:var(--radius);
  overflow:hidden;
  border:1px solid var(--line);
  min-height:280px;
}

.map-box iframe{
  width:100%;
  height:100%;
  min-height:280px;
  border:0;
}

.contact-form{
  display:flex;
  flex-direction:column;
  gap:14px;
}

.contact-form input,
.contact-form textarea{
  padding:13px 16px;
  border:1px solid var(--line);
  border-radius:10px;
  font-family:'Work Sans',sans-serif;
  font-size:.97rem;
  background:var(--white);
}

.contact-form textarea{
  min-height:100px;
  resize:vertical;
}

.contact-form button{
  align-self:flex-start;
  background:var(--coral);
  color:var(--white);
  border:none;
  padding:13px 28px;
  border-radius:999px;
  font-weight:600;
  cursor:pointer;
  font-size:.97rem;
}

.note{
  font-size:.82rem;
  color:var(--muted);
  margin-top:6px;
  background:var(--bg-soft);
  padding:10px 14px;
  border-radius:8px;
}

/* =========================================
   CTA
   ========================================= */

.cta-strip{
  background:var(--teal);
  color:var(--white);
  border-radius:20px;
  padding:48px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  flex-wrap:wrap;
  margin:20px 0 0;
}

.cta-strip h3{
  color:var(--white);
  font-size:1.6rem;
  max-width:420px;
}

.cta-strip .btn-primary{
  background:var(--marigold);
  color:var(--teal-deep);
}

.cta-strip .btn-primary:hover{
  background:#E2992A;
}

/* =========================================
   FOOTER
   ========================================= */

footer{
  border-top:1px solid var(--line);
  padding:36px 0;
  margin-top:40px;
}

footer .wrap{
  display:flex;
  justify-content:space-between;
  align-items:center;
  flex-wrap:wrap;
  gap:12px;
}

footer p{
  color:var(--muted);
  font-size:.88rem;
}

/* =========================================
   WHATSAPP
   ========================================= */

.float-btn{
  position:fixed;
  bottom:22px;
  right:22px;
  z-index:60;
  background:#25D366;
  color:#fff;
  width:56px;
  height:56px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow:0 6px 18px rgba(0,0,0,.18);
}

/* =========================================
   DEDICATED SEO SERVICE PAGES
   ========================================= */

.service-page{
  display:block;
  width:100%;
  min-height:100vh;
}

.service-hero{
  padding:64px 28px 42px;
  text-align:center;
}

.service-hero .kicker{
  font-weight:700;
  letter-spacing:.04em;
}

.service-hero h1{
  max-width:900px;
  margin:12px auto 16px;
  font-size:2.6rem;
}

.service-hero p{
  max-width:760px;
  margin:0 auto;
  line-height:1.75;
  color:var(--muted);
}

.service-grid{
  width:100%;
  max-width:1050px;
  margin:0 auto;
  padding:10px 28px 60px;
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:20px;
  align-items:start;
}

.service-grid > *{
  width:100%;
  height:auto!important;
  min-height:0!important;
  align-self:start;
}

.service-grid .card{
  width:100%;
  height:auto!important;
  min-height:0!important;
  padding:28px;
}

.service-grid .card h2{
  margin-top:0;
  margin-bottom:10px;
}

.service-grid .card p{
  color:var(--muted);
}

.faq-wrap{
  width:100%;
  max-width:900px;
  margin:0 auto;
  padding:0 28px 70px;
}

.faq-wrap h2{
  text-align:center;
  margin-bottom:20px;
}

.faq-wrap details{
  border-bottom:1px solid var(--line);
  padding:16px 0;
}

.faq-wrap summary{
  cursor:pointer;
  font-weight:700;
  color:var(--teal-deep);
}

.faq-wrap details p{
  color:var(--muted);
  padding-top:10px;
}

.page-cta{
  text-align:center;
  padding:20px 28px 70px;
}

.page-cta .btn,
.page-cta .nav-cta{
  display:inline-block;
}

/* =========================================
   RESPONSIVE
   ========================================= */

@media(max-width:860px){

  .hero-grid,
  .grid-2,
  .contact-grid{
    grid-template-columns:1fr;
  }

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

  .hero h1{
    font-size:2.2rem;
  }

  nav.links{
    position:fixed;
    top:70px;
    left:0;
    right:0;
    background:var(--white);
    flex-direction:column;
    align-items:stretch;
    padding:16px;
    border-bottom:1px solid var(--line);
    display:none;
  }

  nav.links.open{
    display:flex;
  }

  nav.links a{
    text-align:left;
    border-radius:8px;
  }

  .hamburger{
    display:flex;
  }

  .stat-strip{
    grid-template-columns:1fr;
    gap:18px;
  }

  .stat{
    border-left:none;
    padding-left:0;
    border-top:1px solid var(--line);
    padding-top:16px;
  }

  .stat:first-child{
    border-top:none;
    padding-top:0;
  }

  .hero-art{
    height:220px;
  }

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

  .service-hero h1{
    font-size:2.2rem;
  }
}

@media(max-width:600px){

  .wrap{
    padding-left:20px;
    padding-right:20px;
  }

  .navbar{
    padding:14px 20px;
  }

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

  .cta-strip{
    flex-direction:column;
    align-items:flex-start;
    padding:32px 24px;
  }

  .section-head.split{
    flex-direction:column;
    align-items:flex-start;
  }

  .service-grid{
    padding-left:20px;
    padding-right:20px;
    gap:16px;
  }

  .service-card{
    padding:24px 22px;
  }

  .service-hero{
    padding:48px 20px 34px;
  }

  .service-hero h1{
    font-size:2rem;
  }

  .faq-wrap{
    padding-left:20px;
    padding-right:20px;
  }

  .page-cta{
    padding-left:20px;
    padding-right:20px;
  }
}

/* =========================================
   SERVICES DROPDOWN (shared header)
   ========================================= */

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

.has-dropdown{
  position:relative;
  display:flex;
  align-items:center;
}

nav.links .has-dropdown > a.dd-parent{
  padding-right:6px;
}

nav.links .has-dropdown.current > a.dd-parent{
  color:var(--teal);
  font-weight:600;
}

.dd-toggle{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:28px;
  height:28px;
  margin-left:-2px;
  background:none;
  border:none;
  border-radius:999px;
  color:var(--ink);
  cursor:pointer;
  transition:background .2s ease,transform .2s ease;
}

.dd-toggle:hover{
  background:var(--bg-soft);
}

.has-dropdown.dd-open .dd-toggle svg{
  transform:rotate(180deg);
}

.dropdown{
  list-style:none;
  display:none;
  position:absolute;
  top:100%;
  left:0;
  min-width:230px;
  flex-direction:column;
  gap:2px;
  padding:8px;
  background:var(--white);
  border:1px solid var(--line);
  border-radius:12px;
  box-shadow:0 12px 28px rgba(13,62,71,.12);
  z-index:60;
}

.has-dropdown.dd-open .dropdown{
  display:flex;
}

.dropdown a{
  display:block;
  white-space:nowrap;
  border-radius:8px!important;
}

@media(min-width:861px){
  .has-dropdown:hover .dropdown,
  .has-dropdown:focus-within .dropdown{
    display:flex;
  }
}

@media(max-width:860px){
  .has-dropdown{
    flex-wrap:wrap;
  }

  nav.links .has-dropdown > a.dd-parent{
    flex:1;
  }

  .dd-toggle{
    width:40px;
    height:40px;
  }

  .dropdown{
    position:static;
    width:100%;
    min-width:0;
    box-shadow:none;
    border:none;
    border-left:2px solid var(--line);
    border-radius:0;
    margin:0 0 6px 16px;
    padding:2px 0 2px 8px;
    background:transparent;
  }
}
