/* ===========================================================
   Eagle Investment — by Eagle Holdings (Pvt) Ltd
   Static site stylesheet
   =========================================================== */

:root {
  --navy:        #15155a;   /* primary brand navy/indigo */
  --navy-deep:   #0e0e3d;
  --navy-soft:   #23237a;
  --blue:        #2f6fd6;   /* light-blue accent */
  --blue-light:  #6fb1ec;
  --sky:         #eaf2fc;   /* pale background tint */
  --gold:        #f4b400;   /* call-to-action highlight */
  --ink:         #1c2233;
  --muted:       #5a6275;
  --line:        #e2e8f2;
  --white:       #ffffff;
  --wa:          #25d366;   /* WhatsApp green */

  --radius:      14px;
  --radius-lg:   22px;
  --shadow:      0 10px 30px rgba(21, 21, 90, .10);
  --shadow-lg:   0 20px 50px rgba(21, 21, 90, .18);
  --maxw:        1180px;
  --font:        "Poppins", "Segoe UI", system-ui, -apple-system, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

.wrap { width: 92%; max-width: var(--maxw); margin: 0 auto; }

section { padding: 80px 0; }

/* ---- Brand name highlight ---- */
.brand-name {
  font-weight: 800;
  letter-spacing: .5px;
  background: linear-gradient(90deg, var(--navy), var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 { line-height: 1.2; color: var(--navy); font-weight: 700; }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.6rem); }
.eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 12px;
}
.sinhala { font-family: "Noto Sans Sinhala", var(--font); }
.lead { font-size: 1.12rem; color: var(--muted); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 54px; }
.section-head p { color: var(--muted); margin-top: 10px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--navy); color: #fff; box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--navy-soft); }
.btn-gold { background: var(--gold); color: var(--navy-deep); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-light { background: #fff; color: var(--navy); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.nav-brand { display: flex; align-items: center; gap: 12px; }
.nav-brand img { width: 44px; height: 44px; border-radius: 10px; }
.nav-brand .nb-text { line-height: 1.05; }
.nav-brand .nb-name { font-weight: 800; font-size: 1.15rem; color: var(--navy); letter-spacing: .3px; }
.nav-brand .nb-sub { font-size: .68rem; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); }

.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; }
.nav-links a { font-weight: 500; color: var(--ink); font-size: .98rem; position: relative; padding: 6px 0; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--blue); transition: width .25s ease;
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--navy); font-weight: 600; }
.nav-links a.active::after { display: none; } /* CTA button doesn't need the underline */
.nav-cta { margin-left: 6px; }
.nav-links .nav-cta .btn { color: #fff; } /* keep Apply Now text white over navy */
.nav-links .nav-cta a::after { display: none; }

/* Language switcher */
.lang-switch { display: inline-flex; border: 1.5px solid var(--line); border-radius: 50px; overflow: hidden; }
.lang-btn {
  background: #fff; border: 0; padding: 7px 14px; font-family: inherit;
  font-weight: 600; font-size: .82rem; color: var(--muted); cursor: pointer; transition: .2s;
}
.lang-btn[data-lang="si"] { font-family: "Noto Sans Sinhala", var(--font); }
.lang-btn[data-lang="ta"] { font-family: "Noto Sans Tamil", var(--font); }
.lang-btn { padding: 7px 12px; }
.lang-btn.active { background: var(--navy); color: #fff; }
.lang-btn:not(.active):hover { background: var(--sky); }

/* Sinhala mode typography */
html.lang-si body,
html.lang-si h1, html.lang-si h2, html.lang-si h3, html.lang-si h4,
html.lang-si .btn, html.lang-si input, html.lang-si select, html.lang-si textarea {
  font-family: "Noto Sans Sinhala", var(--font);
}

/* Tamil mode typography */
html.lang-ta body,
html.lang-ta h1, html.lang-ta h2, html.lang-ta h3, html.lang-ta h4,
html.lang-ta .btn, html.lang-ta input, html.lang-ta select, html.lang-ta textarea {
  font-family: "Noto Sans Tamil", var(--font);
}

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 26px; height: 3px; background: var(--navy); border-radius: 3px; transition: .3s; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(47,111,214,.30), transparent 60%),
    linear-gradient(135deg, var(--navy-deep), var(--navy) 55%, var(--navy-soft));
  color: #fff;
  overflow: hidden;
}
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 50px; align-items: center; padding: 90px 0 100px; }
.hero h1 { color: #fff; }
.hero h1 .hl { color: var(--blue-light); }
.hero .sinhala-tag { font-size: 1.25rem; color: var(--blue-light); margin: 18px 0 6px; font-weight: 500; }
.hero p.lead { color: #cdd6ee; margin-bottom: 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-figure {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,.12);
}
.hero-figure img { width: 100%; }

.hero-badges { display: flex; gap: 26px; margin-top: 34px; flex-wrap: wrap; }
.hero-badges .b { }
.hero-badges .b strong { display: block; font-size: 1.7rem; color: #fff; }
.hero-badges .b span { font-size: .85rem; color: #aeb9dd; }

/* ---------- Trust strip ---------- */
.strip { background: var(--navy-deep); color: #cdd6ee; padding: 22px 0; }
.strip .wrap { display: flex; flex-wrap: wrap; justify-content: space-around; gap: 18px; text-align: center; }
.strip .item { display: flex; align-items: center; gap: 10px; font-weight: 500; }
.strip .item svg { color: var(--blue-light); flex: none; }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 32px 28px;
  box-shadow: var(--shadow); transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.card .ic {
  width: 58px; height: 58px; border-radius: 14px;
  display: grid; place-items: center; margin-bottom: 18px;
  background: var(--sky); color: var(--navy);
}
.card h3 { font-size: 1.25rem; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: .96rem; }

/* feature card with image */
.svc-card { padding: 0; overflow: hidden; }
.svc-card img { height: 210px; width: 100%; object-fit: cover; }
.svc-card .body { padding: 28px; }
.svc-card ul { list-style: none; margin: 16px 0 0; }
.svc-card ul li { position: relative; padding-left: 26px; margin-bottom: 8px; color: var(--muted); }
.svc-card ul li::before {
  content: "✓"; position: absolute; left: 0; color: var(--wa); font-weight: 700;
}

/* stacked vehicle-types list */
.svc-card .veh-types { margin: 14px 0 8px; display: grid; gap: 8px; }
.svc-card .veh-types li { padding-left: 24px; color: var(--navy); font-weight: 600; margin-bottom: 0; }
.svc-card .veh-types li::before {
  content: "›"; left: 6px; top: -1px; color: var(--blue); font-size: 1.15rem; font-weight: 700;
}

/* ---------- Steps ---------- */
.steps { counter-reset: step; }
.step { position: relative; padding-left: 0; }
.step .num {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--navy); color: #fff; display: grid; place-items: center;
  font-weight: 700; font-size: 1.3rem; margin-bottom: 16px;
}
.step h3 { font-size: 1.15rem; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: .95rem; }

/* ---------- Benefits ---------- */
.benefits-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 50px; align-items: center; }
.dream-figure { margin: 0; max-width: 400px; justify-self: center; width: 100%; }
.dream-figure img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.benefit-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 16px 28px; margin: 22px 0 30px; }
.benefit-list li { position: relative; padding-left: 36px; color: var(--ink); font-weight: 500; line-height: 1.5; }
.benefit-list li::before {
  content: "✓"; position: absolute; left: 0; top: 1px;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--navy); color: #fff; display: grid; place-items: center;
  font-size: 13px; font-weight: 700;
}

/* ---------- Section tints ---------- */
.tint { background: var(--sky); }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--navy), var(--blue));
  color: #fff; border-radius: var(--radius-lg);
  padding: 56px; text-align: center; box-shadow: var(--shadow-lg);
}
.cta-band h2 { color: #fff; }
.cta-band p { color: #dce6fb; max-width: 620px; margin: 12px auto 26px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Apply form ---------- */
.apply-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow); }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 7px; color: var(--navy); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: 10px;
  font-family: inherit; font-size: .97rem; color: var(--ink); background: #fff; transition: border .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); }
.field textarea { resize: vertical; min-height: 90px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-note { font-size: .82rem; color: var(--muted); margin-top: 12px; text-align: center; }

.aside-list { list-style: none; }
.aside-list li { display: flex; gap: 14px; margin-bottom: 22px; }
.aside-list .ic { flex: none; width: 46px; height: 46px; border-radius: 12px; background: var(--sky); color: var(--navy); display: grid; place-items: center; }
.aside-list h4 { font-size: 1.05rem; margin-bottom: 2px; }
.aside-list p { color: var(--muted); font-size: .92rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.contact-card { display: flex; gap: 16px; align-items: flex-start; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.contact-card .ic { flex: none; width: 50px; height: 50px; border-radius: 12px; background: var(--navy); color: #fff; display: grid; place-items: center; }
.contact-card h4 { margin-bottom: 4px; }
.contact-card a, .contact-card p { color: var(--muted); }
.contact-card a:hover { color: var(--blue); }
.map-embed { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }
.map-embed iframe { width: 100%; height: 340px; border: 0; display: block; }

/* ---------- Page hero (inner) ---------- */
.page-hero {
  background: linear-gradient(135deg, var(--navy-deep), var(--navy));
  color: #fff; text-align: center; padding: 70px 0;
}
.page-hero h1 { color: #fff; }
.page-hero p { color: #c4cef0; margin-top: 8px; }
.breadcrumb { font-size: .85rem; color: #93a0cf; margin-top: 14px; }
.breadcrumb a:hover { color: #fff; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.about-grid img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.stat-row { display: flex; gap: 36px; margin-top: 26px; flex-wrap: wrap; }
.stat-row .s strong { font-size: 2rem; color: var(--navy); display: block; }
.stat-row .s span { font-size: .85rem; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: #c8d0ec; padding: 64px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; }
.site-footer h4 { color: #fff; margin-bottom: 18px; font-size: 1.05rem; }
.site-footer a { color: #c8d0ec; }
.site-footer a:hover { color: #fff; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-brand img { width: 50px; height: 50px; border-radius: 10px; }
.footer-brand .fb-name { font-weight: 800; color: #fff; font-size: 1.2rem; }
.footer-brand .fb-sub { font-size: .7rem; letter-spacing: 1.5px; text-transform: uppercase; color: #8c98c8; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; font-size: .95rem; }
.foot-contact li { display: flex; gap: 10px; margin-bottom: 12px; font-size: .92rem; }
.foot-contact svg { flex: none; color: var(--blue-light); margin-top: 3px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 44px; padding-top: 22px; text-align: center; font-size: .85rem; color: #8c98c8; }
.footer-bottom span { color: var(--blue-light); font-weight: 600; }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  width: 58px; height: 58px; border-radius: 50%; background: var(--wa);
  display: grid; place-items: center; color: #fff;
  box-shadow: 0 8px 24px rgba(37,211,102,.5); transition: transform .2s;
}
.wa-float:hover { transform: scale(1.08); }

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .hero .wrap { grid-template-columns: 1fr; padding: 60px 0 70px; }
  .hero-figure { order: -1; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .apply-grid, .contact-grid, .about-grid, .footer-grid, .benefits-grid { grid-template-columns: 1fr; }
  .footer-grid { gap: 30px; }
  .benefits-grid { gap: 36px; }
  .dream-figure { order: -1; max-width: 340px; }
}
@media (max-width: 880px) {
  section { padding: 56px 0; }
  .nav-links {
    position: fixed; inset: 76px 0 auto 0; flex-direction: column;
    background: #fff; padding: 22px 6%; gap: 4px; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow); transform: translateY(-130%); transition: transform .3s ease;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav-links .nav-cta { margin: 14px 0 0; }
  .nav-links .nav-cta a { background: var(--navy); color: #fff; text-align: center; border-radius: 50px; padding: 14px; border-bottom: 0; font-weight: 600; }
  .nav-links .lang-switch { margin: 14px auto 0; }
  .nav-toggle { display: flex; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .benefit-list { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .cta-band { padding: 38px 24px; }
}
