
/*
Theme Name: E COMP-TECH Premium Mockup Design
Author: E COMP-TECH
Description: Elegant premium corporate theme for E COMP-TECH engineering, sourcing and manufacturing.
Version: 8.0.0
*/
:root{--navy:#07182e;--navy2:#0c294d;--red:#ed1b35;--ink:#102039;--muted:#69758a;--line:#e3e7ed;--soft:#f5f7f9;--white:#fff}
*{box-sizing:border-box}html{scroll-behavior:smooth}
body{margin:0;color:var(--ink);font-family:Manrope,Arial,sans-serif;line-height:1.55;background:#fff}
a{text-decoration:none;color:inherit}.container{width:min(1180px,92%);margin:auto}
.site-header{height:76px;background:rgba(255,255,255,.97);border-bottom:1px solid #e9edf2;position:sticky;top:0;z-index:100;backdrop-filter:blur(14px)}
.header-inner{height:100%;display:flex;align-items:center;justify-content:space-between}
.logo{width:184px;display:block}.nav{display:flex;align-items:center;gap:25px;font-size:12px;font-weight:700}
.nav a{color:#26334a}.nav a:hover{color:var(--red)}.nav-cta{background:var(--red)!important;color:#fff!important;padding:13px 20px;border-radius:4px}
.hero{min-height:600px;background:var(--navy);color:#fff;position:relative;overflow:hidden}
.hero-media{position:absolute;inset:0 0 0 43%;background-image:linear-gradient(90deg,var(--navy) 0%,rgba(7,24,46,.86) 18%,rgba(7,24,46,.1) 58%,rgba(7,24,46,.25)),url('https://images.pexels.com/photos/35652373/pexels-photo-35652373.jpeg?auto=compress&cs=tinysrgb&w=2400');background-size:cover;background-position:center}
.hero-inner{min-height:600px;display:flex;align-items:center;position:relative;z-index:1}
.hero-copy{width:58%;padding:65px 0}
.eyebrow,.kicker{font-family:"Fira Code",monospace;text-transform:uppercase;letter-spacing:2.2px;font-size:10px;color:#a9b9ce}
.hero h1,.section h2,.cta h2{font-family:"Cormorant Garamond",Georgia,serif;font-weight:500}
.hero h1{font-size:clamp(56px,7vw,92px);line-height:.87;letter-spacing:-2px;margin:16px 0 25px}
.hero h1 span{display:block}.hero h1 .red{color:var(--red)}
.hero p{font-size:17px;max-width:550px;color:#e0e7f0;margin:0 0 26px}
.actions{display:flex;gap:12px;flex-wrap:wrap}.btn{padding:13px 19px;border-radius:4px;font-size:12px;font-weight:800;display:inline-flex;align-items:center}
.btn-red{background:var(--red);color:#fff}.btn-outline{border:1px solid rgba(255,255,255,.55);color:#fff}
.hero-benefits{display:flex;gap:28px;margin-top:38px;flex-wrap:wrap}
.benefit{display:flex;gap:9px;align-items:center;font-size:11px;color:#dce5ef}.benefit-icon{width:25px;height:25px;border:1px solid #b8c8da;border-radius:50%;display:grid;place-items:center;font-size:11px}
.hero-note{position:absolute;right:2%;bottom:40px;width:120px;font-family:"Fira Code",monospace;font-size:9px;line-height:1.7;letter-spacing:1.4px;color:#c1cede}.hero-note:before{content:"";display:block;width:34px;height:2px;background:var(--red);margin-bottom:12px}
.section{padding:76px 0}.section:first-of-type{padding-top:92px}.section.soft{background:var(--soft)}
.section-head{display:flex;justify-content:space-between;gap:50px;align-items:flex-end;margin-bottom:36px}.section-head>div:first-child{max-width:720px}
.kicker{color:var(--red);font-weight:700}.section h2{font-size:clamp(40px,4.5vw,61px);line-height:.96;letter-spacing:-1.5px;margin:9px 0 0}
.section-intro{max-width:390px;color:var(--muted);font-size:14px}
.cards{display:grid;grid-template-columns:repeat(5,1fr);gap:8px}.card{border:1px solid var(--line);background:#fff;min-width:0}
.card-img{height:128px;background-size:cover;background-position:center}.card-body{padding:17px}.card h3{font-family:"Cormorant Garamond",Georgia,serif;font-size:21px;line-height:1.05;margin:0 0 7px}.card p{font-size:11px;color:var(--muted);margin:0 0 18px}.arrow{color:var(--red);font-size:16px}
.process-section{background:#f2f5f7;position:relative;overflow:hidden}.process-section:after{content:"";position:absolute;inset:35% -10% auto;height:180px;background:repeating-radial-gradient(ellipse at 45% 50%,transparent 0 18px,rgba(33,60,90,.05) 19px 20px,transparent 21px 36px);transform:rotate(-6deg);pointer-events:none}
.process{display:grid;grid-template-columns:repeat(7,1fr);position:relative;z-index:1}.step{text-align:center;padding:16px 6px;position:relative}.step:not(:last-child):after{content:"";height:1px;background:#c5ccd5;position:absolute;top:29px;left:62%;width:78%}.step-no{color:var(--red);font-size:11px;font-weight:800;display:block;margin-bottom:8px}.step-icon{height:35px;font-size:20px;margin-bottom:8px}.step strong{font-size:11px;display:block}.step small{font-size:9px;color:var(--muted)}
.industry-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:6px}.industry{height:170px;background-size:cover;background-position:center;position:relative;display:flex;align-items:flex-end;overflow:hidden;border-radius:2px;background-color:#102a49}.industry:after{content:"";position:absolute;inset:0;background:linear-gradient(145deg,rgba(8,28,52,.20),rgba(3,14,29,.88))}
.industry span{position:relative;z-index:1;color:#fff;font-family:"Cormorant Garamond",Georgia,serif;font-size:16px;padding:14px 10px;line-height:1}
.presence{display:grid;grid-template-columns:1fr 1fr 1fr;background:var(--soft);gap:1px}.presence-copy{padding:48px 42px;background:var(--soft)}.presence-copy h2{margin-bottom:14px}.presence-copy p{color:var(--muted);font-size:14px}.location{min-height:300px;background-size:cover;background-position:center;position:relative;background-color:#dfe6ee}.location.india{background-color:#dfe6ee}.location-card{position:absolute;left:0;right:0;bottom:0;background:rgba(255,255,255,.93);padding:15px 18px}.location-card b{font-family:"Fira Code",monospace;font-size:9px;letter-spacing:1.5px}.location-card p{font-size:11px;margin:4px 0;color:var(--muted)}
.site-footer{background:var(--navy);color:#fff;border-top:1px solid rgba(255,255,255,.12);padding:34px 0 16px}.footer-top{display:grid;grid-template-columns:1.35fr .75fr .9fr 1.15fr;gap:28px}.footer-logo{width:165px}.site-footer h4{font-size:11px;margin:4px 0 10px;color:#fff}.site-footer p,.site-footer a{font-size:10px;color:#aeb9c8}.site-footer a:hover{color:#fff}.newsletter{display:flex;border:1px solid rgba(255,255,255,.28);height:34px}.newsletter input{border:0;background:transparent;color:#fff;padding:0 10px;min-width:0;flex:1;font:10px Manrope}.newsletter input::placeholder{color:#7f8da0}.newsletter button{border:0;background:var(--red);color:#fff;width:38px}.copyright{border-top:1px solid rgba(255,255,255,.12);margin-top:28px;padding-top:15px;display:flex;justify-content:space-between;font-size:9px;color:#8e9caf}
.mobile-toggle{display:none;background:none;border:0;font-size:24px;color:var(--navy)}
@media(max-width:1000px){.nav{display:none}.mobile-toggle{display:block}.hero-media{inset:0;background-image:linear-gradient(90deg,rgba(7,24,46,.96),rgba(7,24,46,.73)),url('https://images.pexels.com/photos/35652373/pexels-photo-35652373.jpeg?auto=compress&cs=tinysrgb&w=2400')}.hero-copy{width:100%}.cards{grid-template-columns:repeat(2,1fr)}.process{grid-template-columns:repeat(4,1fr)}.step:not(:last-child):after{display:none}.industry-grid{grid-template-columns:repeat(2,1fr)}.presence{grid-template-columns:1fr 1fr}.presence-copy{grid-column:1/-1}.footer-top{grid-template-columns:1fr 1fr}}
@media(max-width:620px){.site-header{height:68px}.logo{width:160px}.hero,.hero-inner{min-height:670px}.hero-copy{padding:60px 0}.hero h1{font-size:58px}.hero p{font-size:15px}.hero-note{display:none}.hero-benefits{gap:15px}.section{padding:65px 0}.section-head{display:block}.section-intro{margin-top:16px}.cards{grid-template-columns:1fr}.card-img{height:170px}.process{grid-template-columns:repeat(2,1fr);gap:18px 8px}.step{padding:8px 4px}.step-icon{margin-bottom:5px}.step strong{font-size:12px}.step small{font-size:10px}.industry-grid{grid-template-columns:repeat(2,1fr)}.industry{height:145px}.presence{grid-template-columns:1fr}.presence-copy{grid-column:auto;padding:38px 25px}.location{min-height:230px}.location{min-height:240px}.footer-top{grid-template-columns:1fr}.copyright{display:block}.copyright span{display:block;margin-top:7px}}

/* High-resolution photo treatment */
.card-img,.industry,.hero-media,.location{background-repeat:no-repeat;background-color:#e8edf2;}
.card-img{filter:saturate(.92) contrast(1.04);}
.industry{filter:saturate(.90) contrast(1.06);}
.hero-media{filter:saturate(.88) contrast(1.08);}

html{scroll-behavior:smooth;scroll-padding-top:82px}
@media(max-width:1000px){
 .site-header{position:sticky}
 .nav.nav-open{display:flex;position:absolute;left:0;right:0;top:100%;background:#fff;padding:18px 24px 22px;box-shadow:0 12px 24px rgba(7,24,46,.12);flex-direction:column;align-items:stretch;gap:0}
 .nav.nav-open a{padding:12px 0;border-bottom:1px solid #edf0f4}
 .nav.nav-open .nav-cta{padding:13px 16px;margin-top:10px;text-align:center;border:0}
}

/* v3: About copy, real Resources destination, and reliable in-page navigation */
html{scroll-behavior:smooth;scroll-padding-top:96px}
section[id],main[id],footer[id]{scroll-margin-top:96px}
.about-section{background:#fff}
.about-content{max-width:960px;display:grid;grid-template-columns:1fr 1fr;gap:30px;color:var(--muted);font-size:15px;line-height:1.85}
.about-content p{margin:0}
.about-pillars{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:34px}
.about-pillars>div{border-top:1px solid var(--line);padding:18px 0;display:flex;flex-direction:column;gap:10px;color:var(--ink)}
.about-pillars strong{color:var(--red);font-size:12px;letter-spacing:.12em}
.about-pillars span{font-size:14px;font-weight:600}
.resources-section{background:#f3f6f9}
.resource-actions{display:flex;align-items:center;gap:24px;margin-top:26px}
.text-link{color:var(--red);font-weight:700;text-decoration:none}
.newsletter button{cursor:pointer}
@media(max-width:700px){.about-content{grid-template-columns:1fr;gap:15px}.about-pillars{grid-template-columns:1fr;gap:4px}.about-pillars>div{padding:12px 0}.resource-actions{align-items:flex-start;flex-direction:column;gap:16px}}

/* V4 refinements: About, Bangalore image, and real contact details */
.about-section{background:#f5f7fa}
.about-heading{max-width:1000px;margin:0 auto 44px}
.about-heading h2{font-size:clamp(38px,4.2vw,58px);line-height:1.02;letter-spacing:-1.4px;margin:12px 0 18px;max-width:820px}
.about-heading h2 span{color:var(--red)}
.about-lead{max-width:720px;margin:0;color:var(--muted);font-size:18px;line-height:1.65}
.about-bottom{display:grid;grid-template-columns:.8fr 1.2fr;gap:70px;align-items:start;border-top:1px solid var(--line);padding-top:28px}
.about-bottom>p{font-size:15px;line-height:1.85;color:var(--muted);margin:0;max-width:450px}
.about-values{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.about-values>div{display:flex;flex-direction:column;align-items:flex-start;gap:10px}
.about-values span{color:var(--red);font-size:12px;font-weight:800;letter-spacing:.12em}
.about-values b{font-size:14px;line-height:1.4;color:var(--ink)}
.about-values small{font-size:12px;line-height:1.65;color:var(--muted)}
.contact-section{background:#fff}
.contact-heading{align-items:flex-end}
.contact-grid{display:grid;grid-template-columns:.8fr 1.2fr;gap:36px;align-items:stretch}
.contact-details{display:flex;flex-direction:column;gap:0}
.contact-item{display:flex;gap:18px;align-items:flex-start;padding:20px 0;border-bottom:1px solid var(--line);text-decoration:none;color:var(--ink)}
.contact-item:first-child{padding-top:0}
.contact-icon{display:flex;align-items:center;justify-content:center;width:42px;height:42px;flex:0 0 42px;border:1px solid var(--line);border-radius:50%;font-size:21px;color:var(--red)}
.contact-item span:last-child{display:flex;flex-direction:column;gap:7px}
.contact-item small{font-size:10px;letter-spacing:.16em;font-weight:800;color:var(--red)}
.contact-item b{font-size:14px;line-height:1.6;font-weight:600}
.contact-item em{font-size:12px;font-style:normal;font-weight:700;color:var(--muted)}
.contact-item:hover em{color:var(--red)}
.contact-note{margin-top:20px;font-size:12px;line-height:1.7;color:var(--muted)}
.contact-map{min-height:390px;overflow:hidden;background:var(--soft)}
.contact-map iframe{display:block;width:100%;height:100%;min-height:390px;border:0}
@media(max-width:760px){
 .about-heading{margin-bottom:30px}
 .about-lead{font-size:16px}
 .about-bottom{grid-template-columns:1fr;gap:28px}
 .about-values{grid-template-columns:1fr;gap:18px}
 .about-values>div{display:grid;grid-template-columns:34px 1fr;gap:4px 12px}
 .about-values span{grid-row:span 2}
 .contact-grid{grid-template-columns:1fr;gap:26px}
 .contact-map,.contact-map iframe{min-height:300px}
}


/* V5 polish: consistent typography, spacing, contact layout, and quote CTA */
.about-section,
.resources-section,
.contact-section { position: relative; }

.about-section .about-heading { max-width: 1000px; margin: 0 auto 42px; }
.about-section .about-heading h2 {
  max-width: 900px;
  font-size: clamp(42px, 5vw, 76px);
  line-height: .99;
  letter-spacing: -.045em;
  margin: 14px 0 22px;
}
.about-section .about-heading h2 span { color: var(--ink); }
.about-section .about-lead {
  max-width: 900px;
  font-size: clamp(17px, 1.35vw, 21px);
  line-height: 1.65;
}
.about-section .about-bottom {
  display: grid;
  grid-template-columns: minmax(250px, .8fr) minmax(0, 1.2fr);
  gap: clamp(32px, 5vw, 78px);
  align-items: start;
  border-top: 1px solid var(--line);
  padding-top: 30px;
}
.about-section .about-bottom > p {
  max-width: 520px;
  margin: 0;
  font-size: 16px;
  line-height: 1.8;
  color: var(--muted);
}
.about-section .about-values {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 30px);
}
.about-section .about-values > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
  padding-top: 2px;
}
.about-section .about-values span {
  display: block;
  margin-bottom: 2px;
  color: var(--red);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
}
.about-section .about-values b {
  display: block;
  font-size: 16px;
  line-height: 1.4;
  font-weight: 700;
  color: var(--ink);
}
.about-section .about-values small {
  display: block;
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
}

.resources-section { background: #f3f6f9; }
.resources-section .section-head { align-items: flex-end; }
.resources-section .section-head h2 {
  font-size: clamp(42px, 5.4vw, 82px);
  line-height: .98;
  letter-spacing: -.045em;
}
.resources-section .section-intro {
  max-width: 460px;
  font-size: 17px;
  line-height: 1.75;
}
.resources-section .resource-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 32px;
}
.resources-section .resource-actions .btn { min-height: 54px; }
.resources-section .text-link {
  display: inline-flex;
  align-items: center;
  min-height: 54px;
  padding: 0 8px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
}
.resources-section .text-link:hover { color: var(--red); }

.contact-section { background: #fff; }
.contact-section .contact-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, .65fr);
  gap: clamp(30px, 6vw, 100px);
  align-items: end;
  margin-bottom: 44px;
}
.contact-section .contact-heading h2 {
  font-size: clamp(42px, 5vw, 76px);
  line-height: .99;
  letter-spacing: -.045em;
}
.contact-section .contact-heading .section-intro {
  max-width: 440px;
  margin: 0 0 6px;
  font-size: 17px;
  line-height: 1.75;
  color: var(--muted);
}
.contact-section .contact-grid {
  display: grid;
  grid-template-columns: minmax(290px, .8fr) minmax(0, 1.2fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: stretch;
}
.contact-section .contact-details {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 0;
}
.contact-section .contact-item {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
}
.contact-section .contact-item:first-child { padding-top: 0; }
.contact-section .contact-icon {
  display: flex;
  flex: 0 0 42px;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--red);
  font-size: 20px;
}
.contact-section .contact-item > span:last-child {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
  min-width: 0;
}
.contact-section .contact-item small {
  display: block;
  font-size: 10px;
  line-height: 1.4;
  letter-spacing: .16em;
  font-weight: 800;
  color: var(--red);
}
.contact-section .contact-item b {
  display: block;
  font-size: 15px;
  line-height: 1.65;
  font-weight: 700;
  overflow-wrap: anywhere;
}
.contact-section .contact-item em {
  display: block;
  font-size: 12px;
  line-height: 1.5;
  font-style: normal;
  color: var(--muted);
}
.contact-section .contact-item:hover em { color: var(--red); }
.contact-section .contact-note {
  margin-top: 22px;
  font-size: 13px;
  line-height: 1.75;
  color: var(--muted);
}
.contact-section .contact-map {
  min-height: 430px;
  height: 100%;
  overflow: hidden;
  border-radius: 4px;
  background: #f3f6f9;
}
.contact-section .contact-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 430px;
  border: 0;
  filter: grayscale(.18) saturate(.82);
}

@media (max-width: 900px) {
  .about-section .about-bottom { grid-template-columns: 1fr; gap: 28px; }
  .contact-section .contact-heading { grid-template-columns: 1fr; gap: 18px; }
  .contact-section .contact-grid { grid-template-columns: 1fr; }
  .contact-section .contact-map,
  .contact-section .contact-map iframe { min-height: 340px; }
}
@media (max-width: 600px) {
  .about-section .about-values { grid-template-columns: 1fr; gap: 22px; }
  .about-section .about-values > div {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 3px 12px;
  }
  .about-section .about-values span { grid-row: span 2; }
  .resources-section .resource-actions { align-items: flex-start; flex-direction: column; }
  .resources-section .resource-actions .btn,
  .resources-section .text-link { min-height: 48px; }
  .contact-section .contact-map,
  .contact-section .contact-map iframe { min-height: 280px; }
}


/* V6 interactions: high-contrast footer wordmark, functional capability cards,
   single Request a Quote CTA, and click-to-reveal contact details. */
footer .logo { width: 220px; max-width: 100%; }
.capability-card {
  display: block;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.capability-card:hover,
.capability-card:focus-visible {
  border-color: var(--red);
  box-shadow: 0 10px 28px rgba(7,24,46,.08);
  transform: translateY(-3px);
  outline: none;
}
.capability-card .arrow { display: inline-block; transition: transform .2s ease; }
.capability-card:hover .arrow,
.capability-card:focus-visible .arrow { transform: translateX(5px); }
.resource-actions { display:flex; flex-wrap:wrap; align-items:center; gap:18px; }
.resource-actions .btn { min-height:54px; }
.contact-grid-accordion { align-items:start; }
.contact-details { min-width:0; }
.contact-disclosure { border-bottom:1px solid var(--line); }
.contact-disclosure:first-child { border-top:1px solid var(--line); }
.contact-disclosure summary {
  display:flex;
  align-items:center;
  gap:18px;
  padding:22px 0;
  list-style:none;
  cursor:pointer;
  color:var(--ink);
}
.contact-disclosure summary::-webkit-details-marker { display:none; }
.contact-disclosure summary:focus-visible { outline:2px solid var(--red); outline-offset:4px; }
.contact-summary-text { display:flex; flex:1 1 auto; flex-direction:column; align-items:flex-start; gap:7px; min-width:0; }
.contact-summary-text small {
  color:var(--red);
  font-size:10px;
  line-height:1.4;
  font-weight:800;
  letter-spacing:.16em;
}
.contact-summary-text b { font-size:16px; line-height:1.45; font-weight:700; }
.contact-summary-text em { color:var(--muted); font-size:12px; line-height:1.5; font-style:normal; }
.disclosure-plus { color:var(--red); font-size:28px; line-height:1; font-weight:300; transition:transform .2s ease; }
.contact-disclosure[open] .disclosure-plus { transform:rotate(45deg); }
.contact-reveal { padding:0 0 24px 60px; animation:contactRevealIn .18s ease-out; }
.contact-reveal p { margin:0 0 10px; color:var(--ink); font-size:15px; line-height:1.7; font-weight:650; overflow-wrap:anywhere; }
.contact-reveal-link { display:inline-block; color:var(--muted); text-decoration:none; font-size:13px; font-weight:700; }
.contact-reveal-link:hover { color:var(--red); }
.contact-map-panel {
  min-height:340px;
  padding:clamp(28px,4vw,54px);
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  justify-content:center;
  background:var(--navy);
  color:#fff;
  border-radius:3px;
}
.contact-map-panel .map-panel-kicker { color:#ff2946; font-size:10px; font-weight:800; letter-spacing:.17em; margin-bottom:18px; }
.contact-map-panel h3 { max-width:460px; margin:0 0 16px; color:#fff; font-family:"Cormorant Garamond",Georgia,serif; font-size:clamp(30px,3.4vw,48px); line-height:1.02; letter-spacing:-.025em; }
.contact-map-panel p { max-width:420px; margin:0 0 26px; color:#b9c4d2; font-size:14px; line-height:1.8; }
.contact-map-panel .btn-outline { border-color:rgba(255,255,255,.45); color:#fff; }
.contact-map-panel .btn-outline:hover { background:#fff; color:var(--navy); }
@keyframes contactRevealIn { from {opacity:0; transform:translateY(-4px)} to {opacity:1; transform:translateY(0)} }
@media (max-width:800px) {
  .contact-grid-accordion { grid-template-columns:1fr; }
  .contact-map-panel { min-height:280px; }
}
@media (max-width:560px) {
  .contact-disclosure summary { gap:12px; padding:18px 0; }
  .contact-icon { width:38px; height:38px; flex-basis:38px; }
  .contact-reveal { padding-left:50px; }
  .resource-actions .btn { width:100%; justify-content:center; }
}

/* Footer logo uses its own class in the markup. */
.site-footer .footer-logo { display:block; width:220px; max-width:100%; height:auto; }


/* V7: make Singapore/India location images smaller and keep the contact map visible below. */
.locations-section .location,
.locations-section .location-card,
.location-section .location,
.location-section .location-card,
.location-grid .location,
.location-grid .location-card {
  min-height: 250px;
}
.locations-section .location img,
.locations-section .location-card img,
.location-section .location img,
.location-section .location-card img,
.location-grid .location img,
.location-grid .location-card img {
  max-height: 250px;
  object-fit: cover;
}
.locations-section .location,
.location-section .location,
.location-grid .location {
  background-size: cover;
  background-position: center;
}
.contact-section { overflow: visible; }
.contact-section .contact-grid-accordion { margin-bottom: 36px; }
.contact-section .contact-map-panel {
  min-height: 280px;
  height: auto;
  align-self: start;
  overflow: visible;
}
.contact-section .contact-map-panel h3 {
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.05;
}
.contact-section .contact-map-panel p {
  max-width: 500px;
}
.contact-section .contact-map-panel .btn-outline {
  margin-top: 2px;
}
.contact-section .contact-grid-accordion {
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
}
@media (max-width: 800px) {
  .contact-section .contact-grid-accordion { grid-template-columns: 1fr; }
  .contact-section .contact-map-panel { min-height: 240px; }
}

.contact-section .contact-map-embed {
  width: 100%;
  height: 300px;
  margin-top: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #f3f6f9;
}
.contact-section .contact-map-embed iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(.12) saturate(.9);
}
@media (max-width: 600px) {
  .contact-section .contact-map-embed { height: 240px; }
}


/* V9: restore India Gate image, align global-presence heading with tiles,
   and place the Singapore map beside the contact-panel copy. */
.locations-section .section-head,
.location-section .section-head,
.global-presence .section-head,
.locations .section-head {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 0;
  padding-right: 0;
  align-items: flex-end;
}
.locations-section .locations-grid,
.location-section .locations-grid,
.global-presence .locations-grid,
.locations .locations-grid {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}
.location {
  min-height: 320px;
  height: 320px;
  overflow: hidden;
}
.location .location-card { padding: 18px 22px; }
.location .location-card b { font-size: 11px; letter-spacing: .16em; }
.location .location-card p { font-size: 13px; line-height: 1.55; max-width: 95%; }

.contact-section .contact-map-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, .9fr);
  align-items: stretch;
  gap: clamp(24px, 3vw, 44px);
  min-height: 340px;
  height: auto;
  padding: clamp(28px, 4vw, 52px);
  overflow: hidden;
}
.contact-section .contact-panel-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-width: 0;
}
.contact-section .contact-panel-map {
  min-width: 0;
  min-height: 280px;
  overflow: hidden;
  border-radius: 3px;
  background: #e8edf2;
}
.contact-section .contact-panel-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 280px;
  border: 0;
  filter: grayscale(.12) saturate(.9);
}
@media (max-width: 900px) {
  .location { min-height: 270px; height: 270px; }
  .contact-section .contact-map-panel { grid-template-columns: 1fr; }
  .contact-section .contact-panel-map,
  .contact-section .contact-panel-map iframe { min-height: 260px; height: 260px; }
}
@media (max-width: 600px) {
  .location { min-height: 230px; height: 230px; }
  .location .location-card { padding: 14px 16px; }
  .contact-section .contact-map-panel { padding: 24px; }
}


/* V10: no embedded map; preserve the Singapore contact panel copy with readable contrast.
   Location photos use full-image sizing rather than cropping. */
.contact-section .contact-map-panel {
  display: block;
  min-height: 0;
  height: auto;
  padding: clamp(30px, 5vw, 64px);
  background: #f3f6f9;
  color: #14233d;
  overflow: visible;
}
.contact-section .contact-panel-copy {
  max-width: 760px;
}
.contact-section .contact-map-panel .map-panel-kicker {
  color: #f51d3a;
}
.contact-section .contact-map-panel h3 {
  color: #14233d;
  max-width: 760px;
  font-size: clamp(36px, 4.5vw, 64px);
  line-height: 1.02;
}
.contact-section .contact-map-panel p {
  color: #68778f;
  max-width: 640px;
  font-size: 16px;
  line-height: 1.8;
}
.contact-section .contact-map-panel .btn-outline {
  color: #14233d;
  border-color: #cbd4df;
}
.contact-section .contact-map-panel .btn-outline:hover {
  color: #fff;
  background: #14233d;
  border-color: #14233d;
}

/* Global presence tiles: show the full photograph, at a smaller consistent height. */
.location,
.location.singapore,
.location.india {
  height: 300px;
  min-height: 300px;
  background-size: contain !important;
  background-repeat: no-repeat !important;
  background-position: center top !important;
  background-color: #eef2f6;
}
.location .location-card {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 14px 18px;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(5px);
}
.location .location-card b {
  color: #14233d;
}
.location .location-card p {
  color: #68778f;
}
@media (max-width: 760px) {
  .location,
  .location.singapore,
  .location.india {
    height: 230px;
    min-height: 230px;
  }
  .location .location-card { padding: 12px 14px; }
}


/* V11 final refinements requested */
.locations-section .section-head,
.location-section .section-head,
.global-presence .section-head,
.locations .section-head {
  align-items: flex-start !important;
}
.locations-section .section-head h2,
.location-section .section-head h2,
.global-presence .section-head h2,
.locations .section-head h2 {
  margin-top: 0;
}
.locations-section .locations-grid,
.location-section .locations-grid,
.global-presence .locations-grid,
.locations .locations-grid {
  align-self: start;
  margin-top: 0;
}

/* Compact the right-hand contact callout and align its CTA with the quote note. */
.contact-section .contact-map-panel {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 0;
  height: 100%;
  max-height: 520px;
  padding: clamp(26px, 3vw, 42px);
  background: #f3f6f9;
  color: #14233d;
}
.contact-section .contact-panel-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 1 1 auto;
  min-height: 100%;
  max-width: 100%;
}
.contact-section .contact-map-panel .map-panel-kicker {
  margin-bottom: 18px;
  color: #f51d3a;
}
.contact-section .contact-map-panel h3 {
  margin: 0 0 18px;
  max-width: 620px;
  font-size: clamp(34px, 3.6vw, 52px);
  line-height: 1.03;
  color: #14233d;
}
.contact-section .contact-map-panel p {
  margin: 0 0 24px;
  max-width: 560px;
  color: #68778f;
  font-size: 15px;
  line-height: 1.75;
}
.contact-section .contact-map-panel .btn-outline {
  margin-top: auto;
  color: #14233d;
  border-color: #cbd4df;
}
.contact-section .contact-map-panel .btn-outline:hover {
  color: #fff;
  background: #14233d;
  border-color: #14233d;
}
@media (max-width: 900px) {
  .contact-section .contact-map-panel {
    max-height: none;
    height: auto;
  }
  .contact-section .contact-panel-copy { min-height: 0; }
  .contact-section .contact-map-panel .btn-outline { margin-top: 8px; }
}


/* V13 FIX: target the actual Global Presence grid classes in index.html.
   Align the tops of both location images with the OUR GLOBAL PRESENCE label. */
.presence {
  align-items: start;
}
.presence > .location {
  margin-top: 68px !important;
  align-self: start;
}
.presence > .presence-copy {
  margin-top: 0;
}
@media (max-width: 900px) {
  .presence > .location {
    margin-top: 34px !important;
  }
}
@media (max-width: 700px) {
  .presence {
    grid-template-columns: 1fr;
  }
  .presence > .location {
    margin-top: 0 !important;
  }
}


/* V14 review fixes: align Global Presence images, balance capability cards,
   and keep the About copy concise and natural. */
#locations .presence {
  align-items: start;
  row-gap: 0;
}
#locations .presence-copy {
  align-self: start;
  padding-top: 0;
}
#locations .presence > .location {
  margin-top: 0 !important;
  transform: translateY(0);
  align-self: start;
}
/* Match the image row to the kicker at the top of the left column. */
#locations .presence-copy .kicker {
  margin-top: 0;
}
#locations .presence .location {
  height: 300px;
  min-height: 300px;
}
/* All capability cards share the same internal layout and arrow baseline. */
#capabilities .cards {
  align-items: stretch;
}
#capabilities .capability-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 300px;
}
#capabilities .capability-card .card-img {
  flex: 0 0 128px;
}
#capabilities .capability-card .card-body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  align-items: flex-start;
}
#capabilities .capability-card .card-body p {
  margin-bottom: 16px;
}
#capabilities .capability-card .arrow {
  margin-top: auto;
  display: inline-block;
  padding-top: 6px;
}
/* Keep spacing between Global Presence and Resources intentional, not excessive. */
#locations.section {
  padding-bottom: 56px;
}
#resources.section {
  padding-top: 56px;
}
/* More robust responsive behaviour for the location grid. */
@media (max-width: 900px) {
  #locations .presence {
    grid-template-columns: 1fr 1fr;
  }
  #locations .presence-copy {
    grid-column: 1 / -1;
    padding: 0 0 22px;
  }
  #locations .presence > .location {
    margin-top: 0 !important;
    transform: none;
  }
}
@media (max-width: 620px) {
  #locations .presence {
    grid-template-columns: 1fr;
  }
  #locations .presence-copy {
    grid-column: auto;
    padding: 0 0 20px;
  }
  #locations .presence .location {
    height: 230px;
    min-height: 230px;
  }
  #capabilities .cards {
    grid-template-columns: 1fr;
  }
  #capabilities .capability-card {
    min-height: 0;
  }
}


/* V15: explicit desktop layout correction for the real #locations markup */
@media (min-width: 901px) {
  #locations .container.presence {
    display: grid !important;
    grid-template-columns: minmax(260px, 0.78fr) minmax(0, 1fr) minmax(0, 1fr) !important;
    align-items: start !important;
    column-gap: 10px !important;
    row-gap: 0 !important;
  }
  #locations .presence-copy {
    grid-column: 1 !important;
    grid-row: 1 !important;
    padding: 0 28px 0 0 !important;
    margin: 0 !important;
    align-self: start !important;
  }
  #locations .presence > .location {
    grid-row: 1 !important;
    grid-column: auto !important;
    margin: 0 !important;
    transform: none !important;
    height: 300px !important;
    min-height: 300px !important;
    align-self: start !important;
  }
  #locations .presence > .location:nth-of-type(2) {
    grid-column: 2 !important;
  }
  #locations .presence > .location:nth-of-type(3) {
    grid-column: 3 !important;
  }
}
@media (min-width: 621px) and (max-width: 900px) {
  #locations .container.presence {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    align-items: start !important;
  }
  #locations .presence-copy {
    grid-column: 1 / -1 !important;
    padding: 0 0 24px !important;
  }
  #locations .presence > .location {
    margin: 0 !important;
    transform: none !important;
    height: 260px !important;
    min-height: 260px !important;
  }
}
@media (max-width: 620px) {
  #locations .container.presence {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
  }
  #locations .presence-copy {
    grid-column: 1 !important;
    padding: 0 0 20px !important;
  }
  #locations .presence > .location {
    grid-column: 1 !important;
    margin: 0 !important;
    height: 230px !important;
    min-height: 230px !important;
  }
}


/* V16: updated About heading requested by the user */
.about-heading h2 {
  max-width: 900px;
  text-wrap: balance;
}


/* V17: restore About section to the same container alignment as other sections.
   The section itself must span full width; only its inner heading is content-sized. */
#about.about-section {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}
#about.about-section > .container {
  width: min(1180px, 92%) !important;
  max-width: 1180px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
#about.about-section .about-heading {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}
#about.about-section .about-heading h2,
#about.about-section .about-heading .about-lead {
  max-width: 900px;
}
@media (max-width: 620px) {
  #about.about-section > .container {
    width: 92% !important;
  }
}
