
:root{--navy:#07375e;--dark:#04253f;--gold:#dda128;--cream:#fbf7ef;--muted:#617386;--line:#eadfca;--shadow:0 16px 44px rgba(7,55,94,.13)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif;color:var(--navy);line-height:1.55}img{display:block;max-width:100%}a{text-decoration:none;color:inherit}.container{width:min(1180px,92%);margin:auto}
.site-header{position:sticky;top:0;z-index:50;background:#fff;border-bottom:1px solid #eee}.header-inner{height:82px;display:flex;align-items:center;gap:16px;flex-wrap:nowrap}.brand{flex:0 0 190px}.brand img{width:190px;height:62px;object-fit:cover;object-position:left top;border-radius:6px}.desktop-nav{margin-left:auto;display:flex;align-items:center;gap:18px;white-space:nowrap;font-weight:750;font-size:14px}.desktop-nav a:hover{color:var(--gold)}.menu-btn,.mobile-nav{display:none}.call-top{flex:0 0 auto}
.btn{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:0 19px;border-radius:999px;font-weight:850;border:2px solid transparent}.btn-gold{background:var(--gold);color:#0a2e4e;border-color:var(--gold)}.btn-outline{background:#fff;color:var(--navy);border-color:var(--navy)}
.hero{padding:70px 0;background:radial-gradient(circle at 90% 15%,rgba(221,161,40,.17),transparent 30%),linear-gradient(135deg,#fff,var(--cream))}.hero-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.95fr);gap:54px;align-items:center}.eyebrow{font-size:13px;font-weight:900;letter-spacing:1.7px;color:var(--gold);margin-bottom:12px}h1,h2,h3{margin-top:0;line-height:1.12}h1{font-size:clamp(44px,5.3vw,74px);letter-spacing:-2px;margin-bottom:22px}h1 span{color:var(--gold)}h2{font-size:clamp(32px,4vw,48px)}.lead,.body-lg{font-size:18px;color:var(--muted)}.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin:26px 0}.tagline{font:italic 25px Georgia,serif;margin:18px 0}.trust-inline{display:flex;gap:9px;flex-wrap:wrap}.trust-inline span{border:1px solid var(--line);border-radius:999px;padding:7px 11px;font-size:13px;font-weight:750;background:#fff}
.hero-media{position:relative;min-width:0}.hero-media img{width:100%;height:460px;object-fit:cover;object-position:center;border-radius:28px;box-shadow:var(--shadow)}.care-badge{position:absolute;left:50%;bottom:22px;transform:translateX(-50%);width:min(78%,420px);padding:18px 22px;text-align:center;background:var(--navy);color:#fff;border:2px solid var(--gold);border-radius:18px;box-shadow:0 12px 28px rgba(0,0,0,.18)}.care-badge strong{display:block;font-size:20px;margin-bottom:4px}.care-badge span{font-size:13px;color:#dce8f1}
.section{padding:78px 0}.section-head{max-width:720px;margin-bottom:34px}.service-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:16px}.service-grid article{padding:22px;border:1px solid #eee;border-radius:18px;box-shadow:0 8px 26px rgba(7,55,94,.06)}.service-grid p{color:var(--muted);font-size:14px}.icon{width:48px;height:48px;display:grid;place-items:center;background:var(--cream);border-radius:14px;color:var(--gold);font-weight:900;margin-bottom:16px}.band{background:var(--navy);color:#fff}.light h2{color:#fff}.benefit-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:24px}.benefit-grid strong{display:block;color:#f4c46d;margin-bottom:7px}.benefit-grid span{color:#dbe8f2}.about-grid,.request-grid,.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:52px;align-items:center}.charity{margin-top:24px;padding:20px;background:var(--cream);border-left:4px solid var(--gold);border-radius:0 14px 14px 0}.values{background:var(--navy);color:#fff;border-radius:24px;padding:28px}.values div{padding:14px 0;border-bottom:1px solid rgba(255,255,255,.14)}.values div:last-child{border-bottom:0}.request-section{background:var(--cream)}.care-form{background:#fff;border-radius:22px;padding:26px;box-shadow:var(--shadow)}.care-form label{display:grid;gap:6px;font-weight:700;margin-bottom:14px}.care-form input,.care-form textarea,.care-form select{width:100%;padding:12px;border:1px solid #d6dde2;border-radius:10px;font:inherit}.care-form .btn{width:100%}.contact-card{display:grid;gap:12px}.contact-card a{padding:14px 16px;border:1px solid #e8e8e8;border-radius:14px}
.float{position:fixed;right:18px;z-index:60;padding:12px 16px;border-radius:999px;font-weight:850;box-shadow:0 10px 25px rgba(0,0,0,.15)}.whatsapp{bottom:72px;background:#1f9d61;color:#fff}.call{bottom:18px;background:var(--gold)}footer{background:var(--dark);color:#fff;padding:24px 0}.footer-inner{display:flex;justify-content:space-between;gap:24px}.footer-inner span{font:italic 16px Georgia,serif;color:#efc56d}

@media (max-width:900px){
  .brand{flex-basis:165px}.brand img{width:165px;height:54px}.desktop-nav{gap:11px;font-size:12px}.call-top{padding:0 14px;font-size:13px}
  .hero-grid{gap:28px}.hero-media img{height:400px}h1{font-size:clamp(38px,5.5vw,58px)}
  .service-grid{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:640px){
  .header-inner{height:74px}.brand{flex-basis:190px}.brand img{width:190px;height:60px}.desktop-nav,.call-top{display:none}.menu-btn{display:block;margin-left:auto;border:0;background:none;font-size:26px;color:var(--navy)}.mobile-nav.open{display:flex}.mobile-nav{position:absolute;left:0;right:0;top:74px;background:#fff;flex-direction:column;padding:16px 4%;gap:12px;font-weight:750;box-shadow:0 12px 24px rgba(7,55,94,.12)}
  .hero{padding:48px 0}.hero-grid,.about-grid,.request-grid,.contact-grid{grid-template-columns:1fr}.hero-media img{height:360px}.care-badge{bottom:12px;width:calc(100% - 24px)}h1{font-size:44px}.service-grid,.benefit-grid{grid-template-columns:1fr}.section{padding:58px 0}.footer-inner{flex-direction:column}
}


/* === Approved AB3T hero banner === */
.hero-approved{
  padding:26px 0 34px;
  background:linear-gradient(135deg,#fff 0%,#fbf7ef 100%);
}
.hero-approved .container{width:min(1540px,96%);}
.hero-banner-wrap{
  position:relative;
  width:100%;
  margin:0 auto;
  border-radius:28px;
  overflow:hidden;
  box-shadow:0 16px 44px rgba(7,55,94,.10);
}
.hero-banner-image{
  display:block;
  width:100%;
  height:auto;
}
.hero-hotspot{
  position:absolute;
  display:block;
  z-index:3;
  border-radius:999px;
}
/* Hotspots line up with the visible Call and WhatsApp buttons in the approved artwork. */
.hero-call-hotspot{
  left:3.5%;
  top:67.2%;
  width:19.4%;
  height:8.2%;
}
.hero-whatsapp-hotspot{
  left:23.4%;
  top:67.2%;
  width:15.1%;
  height:8.2%;
}
.hero-mobile-actions{display:none;}

@media (max-width:700px){
  .hero-approved{padding:14px 0 24px;}
  .hero-approved .container{width:96%;}
  .hero-banner-wrap{border-radius:18px;}
  .hero-hotspot{display:none;}
  .hero-mobile-actions{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
    justify-content:center;
    margin-top:14px;
  }
  .hero-mobile-actions .btn{flex:1 1 160px;}
}

/* Exact approved hero artwork */
.hero-banner-wrap { overflow: hidden; }
.hero-banner-image {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  object-fit: contain !important;
  object-position: center !important;
}


/* === AB3T Gives Back — navy/gold highlight === */
.giving-back{background:linear-gradient(135deg,#06375f,#084d80);color:#fff;padding:32px 0;border-top:3px solid #dda128;border-bottom:3px solid #dda128}
.giving-back .container{width:min(1540px,96%)}
.giving-back-inner{display:grid;grid-template-columns:100px minmax(0,1fr) 390px;gap:30px;align-items:center}
.giving-heart{width:82px;height:82px;border:2px solid #dda128;border-radius:50%;display:grid;place-items:center;color:#dda128;font-size:42px}
.giving-kicker{font-size:12px;font-weight:900;letter-spacing:2px;color:#f2b52b;margin-bottom:5px}
.giving-copy h2{margin:0 0 7px!important;color:#f2b52b!important;font-size:clamp(30px,3vw,44px);line-height:1.08}
.giving-copy p{margin:7px 0;color:#fff!important;line-height:1.5;font-size:16px}
.giving-copy .giving-lead{font-size:18px;font-weight:800}
.giving-copy strong{display:block;margin-top:8px;color:#f2b52b;font-size:17px}
.giving-items{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.giving-items div{text-align:center;padding:5px 8px;border-left:1px solid rgba(255,255,255,.25);color:#fff}
.giving-items span{display:grid;place-items:center;width:68px;height:68px;margin:0 auto 9px;border-radius:50%;background:#dda128;font-size:29px}
.giving-items b{display:block;font-size:15px;color:#fff}
@media(max-width:900px){.giving-back-inner{grid-template-columns:80px 1fr}.giving-items{grid-column:1/-1;width:min(520px,100%);margin:auto}.giving-items div:first-child{border-left:0}}
@media(max-width:600px){.giving-back{padding:25px 0}.giving-back-inner{display:block;text-align:center}.giving-heart{margin:0 auto 14px}.giving-items{margin-top:20px}.giving-copy h2{font-size:30px}.giving-items span{width:58px;height:58px;font-size:24px}}

/* Bilingual English / Tamil selector */
.language-switch{display:flex;align-items:center;border:1px solid #d8e0e7;border-radius:999px;padding:3px;background:#fff;flex:0 0 auto}
.lang-btn{border:0;background:transparent;color:#07375f;font:inherit;font-weight:800;padding:8px 11px;border-radius:999px;cursor:pointer;white-space:nowrap}
.lang-btn.active{background:#07375f;color:#fff}
.mobile-language{display:flex;gap:8px;padding:10px 16px 16px}.mobile-language .lang-btn{border:1px solid #d8e0e7;flex:1}
@media(max-width:1100px) and (min-width:901px){.language-switch .lang-btn{padding:7px 8px;font-size:11px}}
@media(max-width:900px){.header-inner>.language-switch{display:none}}

/* Tamil hero is HTML so the hero itself changes language too */
.tamil-hero{padding:26px 0 30px;background:linear-gradient(135deg,#fff,#fbf7ef)}
.tamil-hero-card{display:grid;grid-template-columns:47% 53%;min-height:560px;border-radius:28px;overflow:hidden;background:#fff;box-shadow:0 16px 44px rgba(7,55,94,.10)}
.tamil-hero-copy{padding:50px 44px;display:flex;flex-direction:column;justify-content:center;color:#07375f}
.tamil-kicker{color:#d99a18;font-weight:900;letter-spacing:.5px;margin-bottom:15px}
.tamil-hero h1{font-size:clamp(42px,4.3vw,68px);line-height:1.1;margin:0 0 22px;color:#07375f}
.tamil-hero h1 span{color:#e0a01b}.tamil-hero p{font-size:19px;line-height:1.65;margin:0 0 30px}.tamil-hero em{font-size:25px;font-weight:700;color:#07375f}
.tamil-hero-photo{position:relative;min-height:560px}.tamil-hero-photo>img{width:100%;height:100%;object-fit:cover;object-position:center}
.tamil-family-badge{position:absolute;left:7%;right:7%;bottom:8%;padding:20px 24px;text-align:center;border-radius:22px;background:#07375f;color:#fff;border:2px solid #e0a01b}
.tamil-family-badge strong{display:block;font-size:30px;margin-bottom:7px}.tamil-family-badge span{font-size:17px}
@media(max-width:760px){.tamil-hero-card{grid-template-columns:1fr}.tamil-hero-copy{padding:32px 24px}.tamil-hero-photo{min-height:390px}.tamil-hero h1{font-size:40px}.tamil-family-badge strong{font-size:23px}}

/* === Mobile layout polish v4 === */
@media (max-width:640px){
  body{overflow-x:hidden}
  .container{width:94%;}
  .site-header .container{width:94%;}
  .header-inner{height:72px;gap:8px}
  .brand{flex:0 1 168px;min-width:0}
  .brand img{width:168px;height:56px;object-fit:cover}
  .menu-btn{font-size:28px;padding:6px 2px}
  .mobile-nav{top:72px;padding:14px 5% 18px;gap:8px}
  .mobile-nav>a{padding:9px 10px;border-radius:10px}
  .mobile-nav .request-nav{border:1.5px solid var(--gold);background:#fff8e9}

  .hero-approved{padding:12px 0 18px!important}
  .hero-approved .container{width:96%!important}
  .hero-approved .hero-banner-wrap{border-radius:16px!important;box-shadow:0 8px 24px rgba(7,55,94,.09)!important}

  .core-values-strip{padding:10px 0 14px}
  .core-values-strip .container{width:94%}
  .core-values-inner{grid-template-columns:repeat(2,minmax(0,1fr));border-radius:18px}
  .core-value{min-width:0;min-height:76px;gap:8px;padding:8px 7px;font-size:15px;justify-content:flex-start}
  .core-value span{flex:0 0 44px;width:44px;height:44px;font-size:21px}
  .core-value strong{min-width:0;overflow-wrap:anywhere;line-height:1.15}
  .core-value:nth-child(2){border-left:1px solid #ead7aa}
  .core-value:nth-child(3){border-left:0;border-top:1px solid #ead7aa}
  .core-value:nth-child(4){border-top:1px solid #ead7aa}

  .section{padding:44px 0}
  .section-head{margin-bottom:22px}
  .section-head h2{font-size:36px;line-height:1.12}
  .service-grid{grid-template-columns:1fr;gap:14px}
  .service-grid article{padding:20px;border-radius:16px}
  .about-grid,.request-grid,.contact-grid{gap:28px}
  .values{padding:20px;border-radius:18px}
  .care-form{padding:20px;border-radius:18px}

  .float{right:10px;padding:10px 13px;font-size:14px}
  .whatsapp{bottom:62px}.call{bottom:12px}
  footer{padding-bottom:92px}
}

/* === Mobile core values alignment fix v6 === */
@media (max-width:640px){
  .core-values-strip .container{width:94%!important;}
  .core-values-inner{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    width:100%!important;
  }
  .core-value{
    display:grid!important;
    grid-template-columns:44px minmax(0,1fr)!important;
    align-items:center!important;
    justify-content:stretch!important;
    column-gap:10px!important;
    min-width:0!important;
    min-height:86px!important;
    padding:10px 12px!important;
    text-align:left!important;
    font-size:14px!important;
  }
  .core-value span{
    width:44px!important;
    height:44px!important;
    margin:0!important;
    font-size:21px!important;
    flex:none!important;
  }
  .core-value strong{
    display:block!important;
    min-width:0!important;
    margin:0!important;
    font-size:14px!important;
    line-height:1.15!important;
    white-space:nowrap!important;
    overflow-wrap:normal!important;
    word-break:normal!important;
  }
}
@media (max-width:390px){
  .core-value{grid-template-columns:40px minmax(0,1fr)!important;column-gap:7px!important;padding:8px!important;}
  .core-value span{width:40px!important;height:40px!important;font-size:19px!important;}
  .core-value strong{font-size:12.5px!important;}
}


/* Customer Reviews */
.reviews-section{background:#fff}
.reviews-head{max-width:820px}
.reviews-panel{max-width:900px;margin:0 auto;padding:34px 36px;border:1px solid #e8e8e8;border-radius:22px;background:linear-gradient(135deg,#fff,#fffaf0);box-shadow:0 10px 30px rgba(7,55,94,.07);text-align:center}
.review-stars{color:var(--gold);font-size:26px;letter-spacing:5px;margin-bottom:12px}
.reviews-panel h3{font-size:28px;color:var(--navy);margin-bottom:12px}
.reviews-panel p{max-width:720px;margin:0 auto 22px;color:var(--muted);line-height:1.65}
.review-btn{display:inline-flex;align-items:center;justify-content:center}
@media(max-width:760px){.reviews-panel{padding:26px 20px}.review-stars{font-size:23px;letter-spacing:3px}.reviews-panel h3{font-size:24px}.review-btn{width:100%}}

/* AB3T Gives Back community gallery */
.giving-gallery-link{display:inline-flex;align-items:center;margin-top:12px;padding:10px 16px;border:1px solid #f2b52b;border-radius:999px;color:#f2b52b!important;font-weight:800;text-decoration:none;transition:.2s ease}
.giving-gallery-link:hover,.giving-gallery-link:focus{background:#f2b52b;color:#06375f!important;transform:translateY(-1px)}
.community-gallery{background:#fffdf9;text-align:center}
.community-gallery .body-lg{max-width:820px;margin:0 auto 26px;color:#526b82}
.community-gallery-feature{max-width:1180px;margin:0 auto;background:#fff;border:1px solid #eadfca;border-radius:22px;overflow:hidden;box-shadow:0 16px 38px rgba(7,55,95,.10)}
.community-gallery-feature img{display:block;width:100%;height:auto}
.community-gallery-feature figcaption{padding:14px 18px;color:#526b82;font-size:14px}

/* Standalone AB3T Gives Back gallery page */
.gallery-page-header{background:#07375f;border-bottom:3px solid #f2b52b}
.gallery-page-nav{min-height:82px;display:flex;align-items:center;justify-content:space-between;gap:20px}
.gallery-brand{display:flex;align-items:center;gap:12px;color:#fff;text-decoration:none;font-weight:800}
.gallery-brand img{width:52px;height:52px;object-fit:cover;border-radius:50%;background:#fff}
.gallery-back{color:#f2b52b;text-decoration:none;font-weight:800}
.gallery-page{min-height:calc(100vh - 82px);padding-top:64px}
.gallery-page h1{font-size:clamp(38px,6vw,64px);color:#07375f;margin:8px 0 14px}
.gallery-home-btn{display:inline-flex;margin-top:28px;padding:12px 18px;border-radius:999px;background:#07375f;color:#fff;text-decoration:none;font-weight:800}
@media(max-width:600px){.gallery-page-nav{min-height:72px}.gallery-brand span{display:none}.gallery-brand img{width:46px;height:46px}.gallery-page{padding-top:42px}}

/* AB3T clear-service homepage, 2026-10-08 */
.ab3t-explainer{padding:42px 0 48px;background:#fffdf8;text-align:center;border-bottom:1px solid #f0dfb7}
.ab3t-explainer-inner{max-width:930px}
.ab3t-explainer h1{font-size:clamp(30px,4.1vw,52px);line-height:1.14;letter-spacing:-1px;margin:0 0 18px}
.ab3t-explainer p{font-size:clamp(16px,1.65vw,20px);color:var(--muted);line-height:1.65;margin:0 auto;max-width:820px}
.ab3t-explainer-actions{display:flex;gap:12px;justify-content:center;flex-wrap:wrap;margin-top:25px}
.ab3t-services .section-head{max-width:850px}
.ab3t-services .service-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.ab3t-services .service-grid article{background:#fff;padding:25px 22px}
.ab3t-services .service-grid h3{font-size:21px;margin-bottom:9px}
.ab3t-services .service-grid p{font-size:15px;line-height:1.65;margin:0}
.ab3t-services .icon{font-size:26px;width:56px;height:56px}
@media(max-width:900px){.ab3t-services .service-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.ab3t-explainer{padding:29px 0 33px}.ab3t-explainer h1{font-size:32px}.ab3t-explainer-actions .btn{width:100%}.ab3t-services .service-grid{grid-template-columns:1fr}}

/* Service photos adapted from AB3T's Facebook poster */
.ab3t-services .service-grid article{padding:0;overflow:hidden;display:flex;flex-direction:column}
.ab3t-services .service-grid .service-photo{display:block;width:100%;height:205px;object-fit:cover;object-position:center;background:#f6f4f0}
.ab3t-services .service-grid article h3{margin:20px 22px 8px}
.ab3t-services .service-grid article p{margin:0 22px 24px}
@media(max-width:640px){.ab3t-services .service-grid .service-photo{height:220px}}


/* Clear, editable AB3T homepage hero — English and Tamil */
.hero-clear{padding:28px 0 34px!important}
.hero-clear .container{width:min(1540px,96%)}
.hero-clear-card{display:grid;grid-template-columns:minmax(0,1.04fr) minmax(0,1fr);background:#fff;border-radius:28px;overflow:hidden;box-shadow:var(--shadow)}
.hero-clear-copy{padding:clamp(26px,3.7vw,62px);display:flex;flex-direction:column;justify-content:center;align-items:flex-start;min-width:0}
.hero-clear-copy .eyebrow{font-size:12px;line-height:1.6}
.hero-clear-copy h1{font-size:clamp(34px,3.4vw,60px);letter-spacing:-1.5px;line-height:1.11;margin:0 0 18px}
.hero-clear-copy h1 span{color:#d99a18}
.hero-clear-lead{font-size:clamp(17px,1.45vw,21px);font-weight:650;margin:0 0 14px}
.hero-clear-services{color:var(--muted);font-size:clamp(14px,1.1vw,17px);line-height:1.65;margin:0}
.hero-clear-actions{display:flex;gap:12px;flex-wrap:wrap;margin:24px 0 18px}
.hero-clear-tagline{font:italic clamp(18px,1.6vw,25px) Georgia,serif}
.hero-clear-media{position:relative;min-height:490px;background:#f8f4ea;display:flex;flex-direction:column;justify-content:center}
.hero-clear-media>img{width:100%;height:100%;min-height:490px;object-fit:cover;object-position:center;flex:1}
.hero-clear-badge{position:absolute;bottom:22px;left:6%;right:6%;padding:16px 18px;text-align:center;border-radius:20px;border:2px solid var(--gold);background:var(--navy);color:#fff}
.hero-clear-badge strong{display:block;font-size:clamp(19px,1.8vw,28px);line-height:1.25}
.hero-clear-badge span{display:block;font-size:clamp(12px,1vw,16px);margin-top:5px}
/* Override older fixed-aspect Tamil rules without altering its image visibility fix. */
#home-ta .tamil-hero-card{aspect-ratio:auto!important;min-height:0!important;grid-template-columns:minmax(0,1.04fr) minmax(0,1fr)!important}
#home-ta .tamil-hero-copy{padding:clamp(26px,3.7vw,62px)!important}
#home-ta h1{font-size:clamp(32px,3vw,53px)!important;line-height:1.18!important}
#home-ta p{margin-bottom:12px!important}
#home-ta .tamil-service-summary{font-size:clamp(14px,1.1vw,17px)!important;color:var(--muted)}
#home-ta .hero-clear-actions{margin:18px 0 20px}
#home-ta .tamil-hero-photo{min-height:490px!important}
@media(max-width:760px){
 .hero-clear-card{grid-template-columns:1fr}
 .hero-clear-copy{padding:27px 23px}
 .hero-clear-copy h1{font-size:clamp(31px,7vw,43px)}
 .hero-clear-media{min-height:0}
 .hero-clear-media>img{min-height:0;height:auto;max-height:440px;object-fit:contain}
 .hero-clear-badge{position:relative;left:auto;right:auto;bottom:auto;margin:10px 12px 14px}
 #home-ta .tamil-hero-card{grid-template-columns:1fr!important}
 #home-ta .tamil-hero-copy{padding:27px 23px!important}
 #home-ta h1{font-size:clamp(30px,7vw,40px)!important}
 #home-ta .tamil-hero-photo{min-height:0!important;height:auto!important}
}
@media(max-width:480px){.hero-clear-actions{width:100%}.hero-clear-actions .btn{width:100%}}

/* AB3T six-service poster hero: image retains exact approved poster design. */
.hero-poster{padding:20px 0 20px!important}
.hero-poster .container{width:min(1870px,98%)!important}
.hero-poster-frame{position:relative;border-radius:24px;overflow:hidden;box-shadow:0 14px 40px rgba(7,55,94,.12);background:#fff}
.hero-poster-image{width:100%;height:auto;display:block}
.hero-poster-hotspot{position:absolute;display:block;z-index:2;border-radius:30px}
.hero-poster-hotspot:focus-visible{outline:4px solid #07375e;outline-offset:3px}
.hero-poster-call{left:1.9%;top:60.5%;width:18%;height:13%}
.hero-poster-whatsapp{left:20.3%;top:60.5%;width:20%;height:13%}
.hero-poster-mobile-actions{display:none}
.hero-poster-note{font-size:11px;color:#617386;text-align:center;margin:8px 0 0}
@media(max-width:760px){
 .hero-poster{padding:12px 0 18px!important}
 .hero-poster .container{width:96%!important}
 .hero-poster-frame{border-radius:14px}
 .hero-poster-hotspot{display:none}
 .hero-poster-mobile-actions{display:flex;gap:10px;flex-wrap:wrap;margin:14px 0 4px}
 .hero-poster-mobile-actions .btn{flex:1 1 150px;font-size:13px;padding:10px 12px}
 .hero-poster-note{font-size:10px}
}

/* AB3T service cards: larger icons instead of repeated hero photos */
.ab3t-services .service-grid article{padding:26px 24px;overflow:hidden;display:flex;flex-direction:column}
.ab3t-services .service-grid .icon{display:grid;place-items:center;width:90px;height:90px;min-height:90px;font-size:48px;line-height:1;border-radius:20px;background:var(--cream);margin:0 0 18px}
.ab3t-services .service-grid article h3{margin:0 0 10px}
.ab3t-services .service-grid article p{margin:0}

/* Tamil homepage: six service illustrations, no elderly couple or duplicate badge */
#home-ta .tamil-hero-photo{display:flex!important;align-items:stretch!important;justify-content:center!important;min-height:490px!important;height:auto!important;padding:0!important;background:#fff!important;overflow:hidden!important}
#home-ta .tamil-hero-photo>img{width:100%!important;height:100%!important;min-height:490px!important;max-height:none!important;object-fit:cover!important;object-position:center!important;flex:1 1 auto!important;display:block!important}
#home-ta .tamil-hero-card{aspect-ratio:auto!important;align-items:stretch!important}
@media(max-width:760px){
 #home-ta .tamil-hero-photo{height:auto!important;min-height:0!important}
 #home-ta .tamil-hero-photo>img{height:auto!important;min-height:0!important;object-fit:contain!important}
}

/* Tamil collage: responsive editable labels over six illustrated scenes */
#home-ta .tamil-hero-photo { position:relative!important; height:auto!important; min-height:0!important; align-self:center!important; }
#home-ta .tamil-hero-photo > img { width:100%!important; height:auto!important; object-fit:contain!important; display:block!important; }
#home-ta .ta-collage-label { position:absolute; z-index:2; color:#fff; font-family:inherit; font-size:clamp(8px,0.9vw,15px); font-weight:750; line-height:1.2; text-align:center; display:flex; align-items:center; justify-content:center; padding:0 3px; box-sizing:border-box; pointer-events:none; }
#home-ta .ta-collage-label-1 {left:0.5%;top:42.7%;width:30%;height:7.5%}
#home-ta .ta-collage-label-2 {left:32.5%;top:42.7%;width:32%;height:7.5%}
#home-ta .ta-collage-label-3 {left:66.5%;top:42.7%;width:33%;height:7.5%}
#home-ta .ta-collage-label-4 {left:0%;top:89.7%;width:25%;height:7.5%}
#home-ta .ta-collage-label-5 {left:26.3%;top:89.7%;width:34%;height:7.5%}
#home-ta .ta-collage-label-6 {left:61.8%;top:89.7%;width:37.5%;height:7.5%}
@media(max-width:640px){
 #home-ta .tamil-hero-photo{height:auto!important;min-height:0!important;}
 #home-ta .ta-collage-label{font-size:clamp(6px,1.65vw,11px);}
}


/* Tamil collage: anchor all six labels to the actual image dimensions.
   Overrides older flex/stretch hero rules which pushed the bottom labels offscreen. */
#home-ta .tamil-hero-photo{
  display:block!important;
  position:relative!important;
  width:100%!important;
  height:auto!important;
  min-height:0!important;
  align-self:center!important;
  overflow:hidden!important;
}
#home-ta .tamil-hero-photo > img{
  display:block!important;
  width:100%!important;
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  object-fit:contain!important;
  flex:none!important;
}
#home-ta .ta-collage-label{
  z-index:3!important;
  visibility:visible!important;
  opacity:1!important;
}
#home-ta .ta-collage-label-4,
#home-ta .ta-collage-label-5,
#home-ta .ta-collage-label-6{
  top:89.7%!important;
  height:7.5%!important;
}

/* 2026-10-08: keep bottom Tamil captions inside the visible collage bars */
#home-ta .tamil-hero-photo .ta-collage-label-4,
#home-ta .tamil-hero-photo .ta-collage-label-5,
#home-ta .tamil-hero-photo .ta-collage-label-6{
  top:auto!important;
  bottom:1.1%!important;
  height:7.5%!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  color:#fff!important;
  z-index:10!important;
}

/* Structural Tamil hero fix: six independent photo + caption cards. */
#home-ta .tamil-hero-photo.tamil-six-photo-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;grid-template-rows:repeat(2,minmax(0,1fr))!important;gap:8px!important;align-content:center!important;align-self:center!important;position:relative!important;width:100%!important;height:auto!important;min-height:0!important;overflow:visible!important;padding:8px!important;background:#fff!important}
#home-ta .tamil-six-photo-grid .tamil-photo-card{display:flex!important;flex-direction:column!important;position:relative!important;min-width:0!important;margin:0!important;overflow:hidden!important;border-radius:12px!important;background:#07375f!important}
#home-ta .tamil-six-photo-grid .tamil-photo-card img{display:block!important;width:100%!important;height:auto!important;aspect-ratio:1 / 1!important;object-fit:cover!important;min-height:0!important;max-height:none!important}
#home-ta .tamil-six-photo-grid .tamil-photo-card figcaption{position:absolute!important;left:0!important;right:0!important;bottom:0!important;display:flex!important;align-items:center!important;justify-content:center!important;min-height:18%!important;padding:5px 4px!important;background:#07375f!important;color:#fff!important;font-size:clamp(10px,.9vw,15px)!important;font-weight:800!important;line-height:1.2!important;text-align:center!important;visibility:visible!important;opacity:1!important;transform:none!important}
@media(max-width:760px){#home-ta .tamil-hero-photo.tamil-six-photo-grid{gap:5px!important;padding:5px!important}#home-ta .tamil-six-photo-grid .tamil-photo-card figcaption{font-size:clamp(8px,1.6vw,12px)!important;padding:3px 2px!important}}


/* Tamil homepage: fit all six photos and captions */
@media (min-width: 761px) {
  #home-ta .tamil-hero-photo.tamil-six-photo-grid {
    grid-template-rows: repeat(2, minmax(0, 1fr)) !important;
    height: 500px !important;
    max-height: 500px !important;
    overflow: hidden !important;
    align-self: center !important;
  }

  #home-ta .tamil-six-photo-grid .tamil-photo-card {
    height: 100% !important;
    min-height: 0 !important;
  }

  #home-ta .tamil-six-photo-grid .tamil-photo-card img {
    width: 100% !important;
    height: 100% !important;
    aspect-ratio: auto !important;
    object-fit: cover !important;
  }

  #home-ta .tamil-six-photo-grid .tamil-photo-card figcaption {
    bottom: 0 !important;
    min-height: 44px !important;
    padding: 5px 6px !important;
    font-size: 13px !important;
    z-index: 20 !important;
  }
}


/* FIX: Tamil homepage six-photo layout */
@media (min-width: 761px) {

  #home-ta .tamil-hero-photo.tamil-six-photo-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    grid-template-rows: repeat(2, 240px) !important;
    gap: 10px !important;
    height: auto !important;
    max-height: none !important;
    min-height: 0 !important;
    overflow: visible !important;
    align-self: center !important;
  }

  #home-ta .tamil-six-photo-grid .tamil-photo-card {
    display: flex !important;
    flex-direction: column !important;
    height: 240px !important;
    min-height: 0 !important;
    overflow: hidden !important;
    border-radius: 12px !important;
  }

  #home-ta .tamil-six-photo-grid .tamil-photo-card img {
    display: block !important;
    width: 100% !important;
    height: 195px !important;
    flex: 1 1 auto !important;
    min-height: 0 !important;
    aspect-ratio: auto !important;
    object-fit: cover !important;
  }

  #home-ta .tamil-six-photo-grid .tamil-photo-card figcaption {
    position: relative !important;
    inset: auto !important;
    flex: 0 0 45px !important;
    min-height: 45px !important;
    padding: 4px 6px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #07375f !important;
    color: white !important;
    font-size: 12px !important;
    line-height: 1.2 !important;
    text-align: center !important;
  }
}

/* Final Tamil homepage photo grid correction */

#home-ta .tamil-hero-photo.tamil-six-photo-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 10px !important;
  align-content: start !important;
  height: auto !important;
  overflow: visible !important;
}

#home-ta .tamil-six-photo-grid .tamil-photo-card {
  display: flex !important;
  flex-direction: column !important;
  height: 240px !important;
  min-width: 0 !important;
  overflow: hidden !important;
  border-radius: 12px !important;
  margin: 0 !important;
}

#home-ta .tamil-six-photo-grid .tamil-photo-card img {
  display: block !important;
  width: 100% !important;
  height: 190px !important;
  flex: 0 0 190px !important;
  object-fit: cover !important;
}

#home-ta .tamil-six-photo-grid .tamil-photo-card figcaption {
  position: relative !important;
  inset: auto !important;
  flex: 0 0 50px !important;
  height: 50px !important;
  min-height: 50px !important;
  padding: 5px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #07375f !important;
  color: white !important;
  font-size: 12px !important;
  line-height: 1.25 !important;
  text-align: center !important;
}

/* Prevent Tamil hero from cutting off bottom captions */

@media (min-width: 761px) {
  #home-ta,
  #home-ta .container,
  #home-ta .tamil-hero-card,
  #home-ta .tamil-hero-photo {
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
  }

  #home-ta .tamil-six-photo-grid {
    grid-template-rows: repeat(2, 260px) !important;
    align-content: start !important;
    padding-bottom: 16px !important;
  }
}

/* Allow full Tamil photo gallery to remain visible */
@media (min-width: 761px) {
  #home-ta .tamil-hero-card,
  #home-ta .tamil-hero-photo,
  #home-ta .tamil-six-photo-grid {
    min-height: 520px !important;
    max-height: none !important;
    overflow: visible !important;
  }

  #home-ta .tamil-hero-card {
    height: auto !important;
    padding-bottom: 24px !important;
  }
}

/* FINAL FIX: Tamil homepage six photo cards */
@media (min-width: 761px) {

  #home-ta .tamil-hero-photo.tamil-six-photo-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    grid-template-rows: repeat(2, 240px) !important;
    gap: 12px !important;
    padding: 0 0 12px !important;
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
  }

  #home-ta .tamil-six-photo-grid .tamil-photo-card {
    display: flex !important;
    flex-direction: column !important;
    height: 240px !important;
    min-height: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
    border-radius: 14px !important;
    position: relative !important;
  }

  #home-ta .tamil-six-photo-grid .tamil-photo-card img {
    display: block !important;
    width: 100% !important;
    height: 190px !important;
    flex: 0 0 190px !important;
    object-fit: cover !important;
  }

  #home-ta .tamil-six-photo-grid .tamil-photo-card figcaption {
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    height: 50px !important;
    min-height: 50px !important;
    flex: 0 0 50px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 4px 6px !important;
    background: #07375f !important;
    color: white !important;
    font-size: 12px !important;
    line-height: 1.2 !important;
    text-align: center !important;
    box-sizing: border-box !important;
  }
}

/* Tamil hero: show complete bottom captions */
@media (min-width: 761px) {
  #home-ta .tamil-hero-card {
    height: auto !important;
    max-height: none !important;
    min-height: 620px !important;
    overflow: visible !important;
    padding-bottom: 32px !important;
  }

  #home-ta .tamil-hero-photo {
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
  }
}

/* Keep the full Tamil photo grid visible */
@media (min-width: 761px) {
  #home-ta {
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
  }

  #home-ta .container {
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
  }

  #home-ta .tamil-hero-card {
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    padding-bottom: 40px !important;
  }

  #home-ta .tamil-hero-photo.tamil-six-photo-grid {
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
  }
}

/* Give Tamil photo gallery enough vertical space */
@media (min-width: 761px) {
  #home-ta .tamil-hero-card {
    min-height: 620px !important;
    overflow: visible !important;
  }

  #home-ta .tamil-six-photo-grid {
    grid-template-rows: repeat(2, 260px) !important;
    min-height: 540px !important;
  }
}

/* Slightly reduce Tamil hero heading */
@media (min-width: 761px) {
  #home-ta .tamil-hero-copy h1 {
    font-size: clamp(38px, 3vw, 56px) !important;
    line-height: 1.15 !important;
  }
}

/* Final fix: prevent Tamil gallery captions being clipped */
@media (min-width: 761px) {
  #home-ta .tamil-hero-card {
    height: auto !important;
    max-height: none !important;
    min-height: 0 !important;
    overflow: visible !important;
  }

  #home-ta .tamil-hero-photo.tamil-six-photo-grid {
    height: auto !important;
    max-height: none !important;
    min-height: 0 !important;
    grid-template-rows: repeat(2, 260px) !important;
    overflow: visible !important;
  }

  #home-ta {
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
  }
}
