:root {
  --navy: #0b2a6b;
  --navy-dark: #071f52;
  --blue: #1452c4;
  --blue-light: #eaf2fd;
  --yellow: #f8c514;
  --text: #34405a;
  --white: #fff;
  --radius: 12px;
  --shadow: 0 12px 30px rgba(11, 42, 107, .15);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Poppins', sans-serif; color: var(--text); background: #fff; line-height: 1.6; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }

h1, h2, h3, h4 { color: var(--navy); line-height: 1.2; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 700; margin: 10px 0 18px; }

.badge {
  display: inline-block; background: var(--blue); color: #fff; font-size: .72rem; font-weight: 600;
  letter-spacing: .5px; padding: 4px 14px; border-radius: 30px;
}
.line { width: 70px; height: 4px; background: var(--yellow); border-radius: 4px; }
.line.center { margin: 0 auto; }

/* ===== HEADER ===== */
.header { position: sticky; top: 0; z-index: 100; background: #fff; transition: box-shadow .3s; }
.header.scrolled { box-shadow: 0 4px 20px rgba(0,0,0,.08); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 82px; gap: 20px; }
.logo img { height: 70px; width: auto; }
.nav { display: flex; align-items: center; gap: 34px; }
.nav-link { font-size: .9rem; font-weight: 500; color: var(--navy); position: relative; padding: 6px 0; }
.nav-link i { font-size: .65rem; margin-left: 4px; }
.nav-link::after {
  content: ''; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0; background: var(--blue); transition: width .3s;
}
.nav-link:hover, .nav-link.active { color: var(--blue); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

.dropdown { position: relative; }
.dropdown-menu {
  position: absolute; top: 140%; left: -16px; background: #fff; min-width: 210px; border-radius: 10px;
  box-shadow: var(--shadow); padding: 8px 0; opacity: 0; visibility: hidden; transform: translateY(10px); transition: .25s;
}
.dropdown-menu a { display: block; padding: 9px 18px; font-size: .88rem; color: var(--navy); }
.dropdown-menu a:hover { background: var(--blue-light); color: var(--blue); }
.dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }

.btn-call {
  background: var(--navy); color: #fff; font-weight: 600; font-size: .9rem; padding: 12px 26px;
  border-radius: 40px; display: inline-flex; align-items: center; gap: 10px; transition: .3s;
}
.btn-call:hover { background: var(--blue); transform: translateY(-2px); }
.menu-toggle { display: none; background: none; border: 0; font-size: 1.5rem; color: var(--navy); cursor: pointer; }

/* ===== HERO ===== */
.hero {
  position: relative; min-height: 420px; display: flex; align-items: center; color: #fff;
  background: url('../images/hero.jpg') right center / auto 100% no-repeat, var(--navy-dark);
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, #08245e 0%, #0b2f78 38%, rgba(11,47,120,.55) 55%, rgba(11,47,120,0) 72%);
}
.hero-content { position: relative; z-index: 1; padding-top: 50px; padding-bottom: 50px; }
.hero-tag { font-size: 1.05rem; font-weight: 500; letter-spacing: 1px; }
.hero h1 { color: #fff; font-size: clamp(2rem, 4.2vw, 3.2rem); font-weight: 800; margin: 10px 0 22px; letter-spacing: -.5px; }
.hero h1 span { color: var(--yellow); }
.hero p { max-width: 560px; font-size: 1rem; color: #e6ecf8; margin-bottom: 30px; }

/* ===== WHO WE ARE ===== */
.who { padding: 90px 0; }
.who-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 50px; align-items: center; }
.who-text p { margin-bottom: 16px; font-size: .95rem; }
.script-line {
  font-family: 'Kaushan Script', cursive; color: var(--blue); font-size: 1.45rem; display: flex; flex-wrap: wrap;
  gap: 14px; align-items: center; margin-top: 26px; position: relative; padding-bottom: 12px;
}
.script-line b { font-weight: 400; color: var(--navy); }
.script-line::after { content: ''; position: absolute; left: 0; bottom: 0; width: 60px; height: 3px; background: var(--yellow); border-radius: 3px; }

.who-media { position: relative; padding-right: 160px; }
.who-media img { border-radius: var(--radius); width: 100%; height: 380px; object-fit: cover; box-shadow: var(--shadow); }
.benefit-card {
  position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 280px; background: var(--navy);
  border-radius: var(--radius); padding: 10px 24px; box-shadow: var(--shadow);
}
.benefit { display: flex; gap: 18px; align-items: center; padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.2); }
.benefit:last-child { border-bottom: 0; }
.benefit i { font-size: 2.2rem; color: var(--yellow); width: 46px; text-align: center; flex-shrink: 0; }
.benefit h4 { color: #fff; font-size: 1rem; font-weight: 600; }
.benefit p { color: #d4ddf0; font-size: .82rem; }

/* ===== MVV ===== */
.mvv { background: var(--blue-light); padding: 80px 0; }
.section-head { text-align: center; margin-bottom: 50px; }
.mvv-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.mvv-item { display: flex; gap: 24px; padding: 0 30px; border-left: 1px solid #b9cbe8; }
.mvv-item:first-child { border-left: 0; padding-left: 0; }
.mvv-icon {
  width: 72px; height: 72px; flex-shrink: 0; border-radius: 50%; background: var(--blue); color: #fff;
  display: grid; place-items: center; font-size: 1.9rem; box-shadow: 0 8px 20px rgba(20,82,196,.35); transition: transform .4s;
}
.mvv-item:hover .mvv-icon { transform: rotateY(180deg); }
.mvv-item h3 { font-size: 1.25rem; margin-bottom: 12px; }
.mvv-item p { font-size: .88rem; color: var(--navy); opacity: .85; }
.checks li { font-size: .88rem; color: var(--navy); margin-bottom: 4px; display: flex; gap: 10px; align-items: center; }
.checks li::before {
  content: ''; flex-shrink: 0; width: 14px; height: 14px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f8c514' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ===== WHY ===== */
.why { padding: 30px 0 30px; }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.why-img img { border-radius: 6px; width: 100%; height: 100%; object-fit: cover; box-shadow: var(--shadow); }
.why-text h2 { margin-bottom: 12px; }
.lead { font-size: .95rem; margin-bottom: 22px; }
.features li { display: flex; gap: 18px; align-items: center; margin-bottom: 18px; }
.features i {
  width: 46px; height: 46px; flex-shrink: 0; border-radius: 50%; background: var(--navy); color: #fff;
  display: grid; place-items: center; font-size: 1.1rem; transition: .3s;
}
.features li:hover i { background: var(--yellow); color: var(--navy); }
.features h4 { font-size: .95rem; font-weight: 600; }
.features p { font-size: .85rem; color: var(--blue); }

/* ===== TRUST ===== */
.trust { background: var(--blue-light); padding: 40px 0; }
.trust-grid { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.trust-text h3 { font-size: 1.25rem; margin-bottom: 6px; }
.trust-text p { font-size: .88rem; color: var(--navy); max-width: 420px; }
.trust-badges { display: flex; gap: 40px; }
.tb { text-align: center; width: 110px; }
.tb span { display: block; font-size: .68rem; font-weight: 700; color: var(--navy); margin-top: 8px; }
.tb-icon {
  width: 72px; height: 72px; margin: 0 auto; display: grid; place-items: center; font-size: 1.8rem; color: var(--navy); transition: transform .3s;
}
.tb:hover .tb-icon { transform: scale(1.1); }
.tb-icon.shield { font-size: 3.2rem; }
.tb-icon.ring { border: 4px double var(--navy); border-radius: 50%; }
.tb-icon.ring strong { font-size: 1.1rem; }
.tb-icon.green { border-color: #3aa83a; color: #3aa83a; }

/* ===== CTA ===== */
.cta { background: var(--navy); padding: 40px 0; color: #fff; }
.cta-grid { display: grid; grid-template-columns: 170px 1fr 1.6fr; gap: 30px; align-items: center; }
.cta-logo img { border-radius: 8px; }
.cta-info { display: flex; gap: 18px; border-left: 1px solid rgba(255,255,255,.25); padding-left: 30px; }
.cta-info > i { font-size: 2rem; }
.cta h3 { color: #fff; font-size: 1.2rem; margin-bottom: 8px; }
.cta-info p { font-size: .82rem; color: #d4ddf0; margin-bottom: 14px; }
.btn-yellow {
  background: var(--yellow); color: var(--navy); font-weight: 600; font-size: .88rem; padding: 10px 26px;
  border-radius: 30px; border: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 8px;
  font-family: inherit; transition: .3s;
}
.btn-yellow:hover { background: #fff; transform: translateY(-2px); }
.quote-form input, .quote-form textarea {
  width: 100%; padding: 10px 12px; border: 2px solid transparent; border-radius: 5px; font-family: inherit; font-size: .82rem; outline: none;
}
.quote-form input:focus, .quote-form textarea:focus { border-color: var(--yellow); }
.quote-form .error { border-color: #ff5a5a; }
.row3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 8px; }
.row2 { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.row2 textarea { height: 60px; resize: none; }
.row2 .btn-yellow { border-radius: 5px; justify-content: center; }
.form-msg { font-size: .82rem; margin-top: 8px; min-height: 1em; }

/* ===== FOOTER ===== */
.footer { background: var(--navy-dark); color: #fff; padding: 18px 0; border-top: 1px solid rgba(255,255,255,.1); }
.footer-grid { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.footer p { font-size: .8rem; }
.footer nav { display: flex; gap: 26px; flex-wrap: wrap; }
.footer nav a { font-size: .8rem; }
.footer nav a:hover { color: var(--yellow); }
.socials { display: flex; gap: 10px; }
.socials a { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-size: .85rem; transition: .3s; }
.socials a:hover { transform: translateY(-3px); }
.fb { background: #1877f2; }
.ig { background: linear-gradient(45deg, #f9a43a, #e1306c, #833ab4); }
.yt { background: #ff0000; }

.to-top {
  position: fixed; right: 22px; bottom: 22px; width: 44px; height: 44px; border-radius: 50%; border: 0;
  background: var(--yellow); color: var(--navy); cursor: pointer; font-size: 1rem; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transition: .3s; z-index: 99;
}
.to-top.show { opacity: 1; visibility: visible; }

/* ===== Inquiry form (hero card + popup) ===== */
.inquiry-form h3 { font-size: 1.35rem; margin-bottom: 4px; }
.inq-sub { font-size: .82rem; color: var(--text); margin-bottom: 16px; }
.inq-field { display: block; margin-bottom: 12px; }
.inq-field span { display: block; font-size: .78rem; font-weight: 600; color: var(--navy); margin-bottom: 5px; }
.inq-field input, .inq-field select, .inq-field textarea {
  width: 100%; padding: 11px 14px; border: 2px solid #e3ebf8; border-radius: 10px; background: #f9fbff;
  font-family: inherit; font-size: .9rem; color: var(--navy); outline: none; transition: border-color .3s, box-shadow .3s;
}
.inq-field textarea { resize: vertical; }
.inq-field input:focus, .inq-field select:focus, .inq-field textarea:focus {
  border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(20,82,196,.1);
}
.inq-field .error { border-color: #e04848; }
.inq-submit { width: 100%; justify-content: center; padding: 14px; border-radius: 12px; font-size: .95rem; margin-top: 4px; }
.inq-submit:hover { background: var(--navy); color: #fff; }
.inq-msg { font-size: .85rem; margin-top: 10px; min-height: 1.2em; color: #2b8a3e; font-weight: 500; }
.inq-msg.bad { color: #e04848; }

/* Popup */
.inq-modal { position: fixed; inset: 0; z-index: 600; display: flex; align-items: center; justify-content: center; padding: 16px; visibility: hidden; opacity: 0; transition: opacity .3s, visibility .3s; }
.inq-modal.open { visibility: visible; opacity: 1; }
.inq-backdrop { position: absolute; inset: 0; background: rgba(4,12,30,.7); backdrop-filter: blur(4px); }
.inq-dialog {
  position: relative; width: 100%; max-width: 420px; max-height: calc(100vh - 32px); overflow-y: auto;
  background: #fff; border-radius: 20px; padding: 28px 24px 20px; border-top: 5px solid var(--yellow);
  box-shadow: 0 30px 60px rgba(0,0,0,.4); transform: translateY(30px); transition: transform .35s ease;
}
.inq-modal.open .inq-dialog { transform: none; }
.inq-close {
  position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--blue-light); color: var(--navy); font-size: 1.05rem;
}
.inq-close:hover { background: var(--yellow); }

/* Mobile/tablet quick contact bar: WhatsApp · Call · Inquiry */
.quick-contact { display: none; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
@media (max-width: 991px) {
  body { padding-bottom: 80px; }
  .quick-contact {
    position: fixed; left: 50%; bottom: calc(16px + env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 99;
    display: flex; gap: 16px;
  }
  .qc-btn {
    width: 54px; height: 54px; border-radius: 50%; border: 0; display: grid; place-items: center; cursor: pointer;
    font-size: 1.4rem; box-shadow: 0 8px 20px rgba(0,0,0,.25); transition: transform .15s;
  }
  .qc-btn:active { transform: scale(.92); }
  .qc-wa { background: #25d366; color: #fff; }
  .qc-call { background: var(--yellow); color: var(--navy); }
  .qc-inq { background: var(--blue); color: #fff; }
}

/* ===== REVEAL ANIMATION ===== */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .8s ease, transform .8s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
  .nav { gap: 22px; }
  .cta-grid { grid-template-columns: 1fr 1fr; }
  .cta-logo { display: none; }
  .cta-info { border-left: 0; padding-left: 0; }
}

@media (max-width: 991px) {
  .menu-toggle { display: block; }
  .btn-call { display: none; }
  .nav {
    position: absolute; top: 82px; left: 0; right: 0; background: #fff; flex-direction: column; align-items: flex-start;
    gap: 0; padding: 10px 24px 20px; box-shadow: 0 10px 20px rgba(0,0,0,.08);
    max-height: 0; overflow: hidden; padding-top: 0; padding-bottom: 0; transition: .35s;
  }
  .nav.open { max-height: 500px; padding-top: 10px; padding-bottom: 20px; }
  .nav > a, .dropdown { width: 100%; border-bottom: 1px solid #eef2f8; }
  .nav-link { display: block; padding: 12px 0; }
  .nav-link::after { display: none; }
  .dropdown-menu { position: static; box-shadow: none; opacity: 1; visibility: visible; transform: none; display: none; padding: 0 0 8px; }
  .dropdown.open .dropdown-menu { display: block; }

  .hero { background-size: cover; background-position: 70% center; }
  .hero::before { background: linear-gradient(90deg, rgba(8,36,94,.95), rgba(11,47,120,.75)); }

  .who-grid, .why-grid { grid-template-columns: 1fr; }
  .who-media { padding-right: 0; }
  .benefit-card { position: relative; transform: none; width: 100%; margin-top: -40px; top: auto; }
  .mvv-grid { grid-template-columns: 1fr; gap: 30px; }
  .mvv-item { border-left: 0; padding: 0; }
  .trust-grid { flex-direction: column; text-align: center; }
  .trust-text p { margin: 0 auto; }
}

@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .logo img { height: 56px; }
  .who, .mvv { padding: 60px 0; }
  .who-media img { height: 260px; }
  .trust-badges { flex-wrap: wrap; justify-content: center; gap: 20px; }
  .cta-grid { grid-template-columns: 1fr; }
  .row3, .row2 { grid-template-columns: 1fr; }
  .footer-grid { flex-direction: column; text-align: center; }
  .footer nav { justify-content: center; gap: 14px; }
}
