/* ===========================================================
   Veda Topper International — Stylesheet
   Theme: Trustworthy & Academic (Navy + Gold)
   =========================================================== */

:root {
  --navy: #0d2240;
  --navy-2: #143257;
  --navy-3: #1d4373;
  --gold: #c9a227;
  --gold-light: #e3c75b;
  --ink: #1c2733;
  --muted: #5a6b7b;
  --line: #e4e8ee;
  --bg: #ffffff;
  --bg-soft: #f5f7fa;
  --bg-navy-soft: #f0f4f9;
  --radius: 14px;
  --shadow-sm: 0 2px 10px rgba(13, 34, 64, 0.06);
  --shadow: 0 12px 30px rgba(13, 34, 64, 0.10);
  --max: 1180px;
  --font: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --serif: Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
.container { width: 92%; max-width: var(--max); margin: 0 auto; }
h1, h2, h3, h4 { line-height: 1.2; color: var(--navy); font-weight: 700; }
h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.25rem; }
p { color: var(--muted); }
.section { padding: 78px 0; }
.section--soft { background: var(--bg-soft); }
.eyebrow { display: inline-block; text-transform: uppercase; letter-spacing: 2px; font-size: 0.78rem; font-weight: 700; color: var(--gold); margin-bottom: 12px; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.section-head p { margin-top: 10px; font-size: 1.05rem; }
.gold-rule { width: 64px; height: 4px; background: var(--gold); border-radius: 4px; margin: 14px auto 0; }

/* Buttons */
.btn { display: inline-block; padding: 14px 28px; border-radius: 50px; font-weight: 600; font-size: 0.97rem; cursor: pointer; border: 2px solid transparent; transition: transform .18s, box-shadow .18s, background .18s, color .18s; }
.btn:hover { transform: translateY(-2px); }
.btn--gold { background: var(--gold); color: var(--navy); }
.btn--gold:hover { background: var(--gold-light); box-shadow: var(--shadow); }
.btn--outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn--outline:hover { background: #fff; color: var(--navy); }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-3); box-shadow: var(--shadow); }

/* Top bar */
.topbar { background: var(--navy); color: #cdd8e6; font-size: 0.86rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 8px 0; flex-wrap: wrap; }
.topbar a { color: #cdd8e6; transition: color .15s; }
.topbar a:hover { color: var(--gold-light); }
.topbar .topbar-contacts span { margin-right: 18px; white-space: nowrap; }
.topbar .topbar-social a { margin-left: 14px; font-weight: 600; }

/* Header / Nav */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-badge { width: 46px; height: 46px; border-radius: 12px; flex: none; background: linear-gradient(135deg, var(--navy), var(--navy-3)); color: var(--gold); display: grid; place-items: center; font-weight: 800; font-size: 1.15rem; font-family: var(--serif); border: 1.5px solid var(--gold); }
.brand-name { font-weight: 800; color: var(--navy); font-size: 1.12rem; letter-spacing: .3px; line-height: 1.1; }
.brand-name span { display: block; font-size: .68rem; letter-spacing: 2px; color: var(--gold); font-weight: 700; }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-links a { padding: 9px 15px; border-radius: 8px; font-weight: 600; font-size: .96rem; color: var(--navy-2); transition: background .15s, color .15s; }
.nav-links a:hover { background: var(--bg-navy-soft); color: var(--navy); }
.nav-links a.active { color: var(--gold); }
.nav-cta { margin-left: 8px; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; width: 42px; height: 42px; border-radius: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2.5px; background: var(--navy); margin: 5px auto; border-radius: 2px; transition: .25s; }

/* Hero */
.hero { position: relative; color: #fff; background: linear-gradient(135deg, rgba(13,34,64,.93), rgba(20,50,87,.86)), radial-gradient(1200px 500px at 80% -10%, rgba(201,162,39,.25), transparent 60%); background-color: var(--navy); overflow: hidden; }
.hero::after { content: ""; position: absolute; right: -120px; bottom: -120px; width: 380px; height: 380px; border-radius: 50%; border: 40px solid rgba(201,162,39,.10); }
.hero .container { position: relative; z-index: 2; padding: 90px 0 84px; max-width: 820px; }
.hero h1 { color: #fff; }
.hero h1 .accent { color: var(--gold-light); }
.hero p.lead { color: #d7e1ee; font-size: 1.18rem; margin: 18px 0 30px; max-width: 640px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-badges { display: flex; gap: 26px; flex-wrap: wrap; margin-top: 40px; }
.hero-badges div { color: #d7e1ee; font-size: .92rem; }
.hero-badges strong { display: block; color: var(--gold-light); font-size: 1.7rem; font-weight: 800; }

/* Stats */
.stats { background: var(--gold); }
.stats .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 30px 0; text-align: center; }
.stats .stat strong { display: block; font-size: 2rem; font-weight: 800; color: var(--navy); }
.stats .stat span { color: var(--navy-2); font-weight: 600; font-size: .92rem; }

/* Cards */
.grid { display: grid; gap: 24px; }
.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: 28px; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s, border-color .2s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #d7c98a; }
.card .ico { width: 54px; height: 54px; border-radius: 12px; display: grid; place-items: center; background: var(--bg-navy-soft); color: var(--navy); margin-bottom: 16px; font-size: 1.5rem; font-weight: 800; border: 1px solid var(--line); }
.card h3 { margin-bottom: 8px; }
.card p { font-size: .96rem; }
.card .tag-list { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 6px; }
.card .tag-list span { font-size: .76rem; background: var(--bg-soft); color: var(--navy-2); padding: 4px 10px; border-radius: 30px; border: 1px solid var(--line); }

/* Split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.split .media { border-radius: var(--radius); min-height: 320px; background: linear-gradient(135deg, var(--navy), var(--navy-3)); position: relative; overflow: hidden; box-shadow: var(--shadow); display: grid; place-items: center; color: var(--gold); font-family: var(--serif); font-size: 4rem; }
.feature-list { list-style: none; margin-top: 18px; }
.feature-list li { position: relative; padding-left: 34px; margin-bottom: 14px; color: var(--ink); }
.feature-list li::before { content: "\2713"; position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--gold); color: var(--navy); display: grid; place-items: center; font-size: .8rem; font-weight: 800; }

/* CTA band */
.cta-band { background: linear-gradient(135deg, var(--navy), var(--navy-3)); color: #fff; border-radius: var(--radius); padding: 48px; text-align: center; box-shadow: var(--shadow); }
.cta-band h2 { color: #fff; }
.cta-band p { color: #d7e1ee; margin: 12px auto 26px; max-width: 560px; }

/* Page banner */
.page-banner { background: linear-gradient(135deg, rgba(13,34,64,.94), rgba(20,50,87,.9)), radial-gradient(800px 300px at 90% 0%, rgba(201,162,39,.25), transparent 60%); background-color: var(--navy); color: #fff; text-align: center; padding: 64px 0; }
.page-banner h1 { color: #fff; }
.page-banner p { color: #d7e1ee; margin-top: 10px; }
.breadcrumb { color: #aebfd2; font-size: .88rem; margin-top: 14px; }
.breadcrumb a:hover { color: var(--gold-light); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; }
.contact-info .info-item { display: flex; gap: 14px; margin-bottom: 22px; align-items: flex-start; }
.contact-info .info-item .ico { width: 46px; height: 46px; flex: none; border-radius: 10px; background: var(--navy); color: var(--gold); display: grid; place-items: center; font-size: 1.1rem; font-weight: 800; }
.contact-info .info-item h4 { color: var(--navy); margin-bottom: 2px; }
.contact-info .info-item p, .contact-info .info-item a { color: var(--muted); font-size: .96rem; }
.contact-info .info-item a:hover { color: var(--gold); }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow-sm); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; font-size: .9rem; color: var(--navy); margin-bottom: 6px; }
.field input, .field select, .field textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; font-family: inherit; font-size: .96rem; background: var(--bg-soft); transition: border .15s, background .15s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); background: #fff; }
.map-wrap { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.map-wrap iframe { width: 100%; height: 360px; border: 0; display: block; }
.form-note { font-size: .85rem; color: var(--muted); margin-top: 10px; }

/* Gallery */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gallery-grid .tile { aspect-ratio: 4/3; border-radius: var(--radius); overflow: hidden; position: relative; background: linear-gradient(135deg, var(--navy-2), var(--navy-3)); display: grid; place-items: center; color: rgba(255,255,255,.6); font-weight: 600; border: 1px solid var(--line); text-align: center; padding: 10px; }
.gallery-grid .tile span { font-size: .9rem; letter-spacing: 1px; }

/* WhatsApp float */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 60; background: #25d366; color: #fff; padding: 13px 20px; border-radius: 50px; font-weight: 700; box-shadow: 0 8px 20px rgba(0,0,0,.2); font-size: .95rem; }
.wa-float:hover { transform: translateY(-2px); }

/* Footer */
.site-footer { background: var(--navy); color: #b9c6d6; padding: 56px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1.2fr; gap: 30px; }
.site-footer h4 { color: #fff; margin-bottom: 16px; font-size: 1rem; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 9px; font-size: .92rem; }
.site-footer a:hover { color: var(--gold-light); }
.footer-brand .brand-name { color: #fff; }
.footer-brand p { color: #9fb0c4; font-size: .92rem; margin-top: 14px; }
.footer-social { display: flex; gap: 10px; margin-top: 16px; }
.footer-social a { width: 38px; height: 38px; border-radius: 9px; display: grid; place-items: center; background: rgba(255,255,255,.08); color: #fff; font-weight: 700; font-size: .8rem; transition: background .15s; }
.footer-social a:hover { background: var(--gold); color: var(--navy); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 44px; padding: 20px 0; text-align: center; font-size: .86rem; color: #8ea0b6; }

/* Responsive */
@media (max-width: 960px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav-links { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; background: #fff; border-bottom: 1px solid var(--line); padding: 10px 5%; gap: 2px; box-shadow: var(--shadow); display: none; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 10px; }
  .nav-cta { margin: 8px 0 4px; text-align: center; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .stats .container { grid-template-columns: repeat(2, 1fr); gap: 26px; }
  .form-row { grid-template-columns: 1fr; }
  .topbar .topbar-contacts { display: none; }
  .cta-band { padding: 34px 22px; }
}
@media (max-width: 460px) {
  .grid-4 { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
}

/* ---------- Real image integrations ---------- */
img.brand-badge { object-fit: cover; padding: 0; background: var(--navy); }
.split .media { padding: 0; }
.split .media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-grid .tile { background: var(--navy); }
.gallery-grid .tile img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-grid .tile.poster img { object-fit: contain; background: var(--navy); }

/* ---------- PWA install button ---------- */
.install-float { left: 18px; right: auto;
  position: fixed; left: 20px; bottom: 20px; z-index: 60;
  background: var(--navy); color: #fff; border: 1.5px solid var(--gold);
  padding: 12px 18px; border-radius: 50px; font-weight: 700; font-size: .92rem;
  cursor: pointer; box-shadow: 0 8px 20px rgba(0,0,0,.2); display: none;
}
.install-float:hover { background: var(--navy-3); }
@media (max-width: 480px){ .install-float { left: 18px; right: auto; left: 14px; bottom: 78px; } }

/* ---------- FAQ ---------- */
.faq { max-width: 840px; margin: 0 auto; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 12px; box-shadow: var(--shadow-sm); overflow: hidden; }
.faq summary { cursor: pointer; padding: 18px 46px 18px 20px; font-weight: 700; color: var(--navy); list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 16px; color: var(--gold); font-weight: 800; font-size: 1.3rem; }
.faq details[open] summary::after { content: "\2013"; }
.faq details > p { padding: 0 20px 18px; color: var(--muted); margin: 0; }

/* ---------- Brand logo image ---------- */
.brand-logo { height: 46px; width: auto; display: block; border-radius: 8px; }
.footer-brand .brand-logo { height: 54px; border-radius: 10px; }
@media (max-width: 480px){ .brand-logo { height: 38px; } }

/* Floating WhatsApp button (all pages) */
.wa-fab{position:fixed;right:18px;bottom:18px;z-index:9999;display:flex;align-items:center;gap:8px;
  background:#25D366;color:#fff;text-decoration:none;padding:12px 16px;border-radius:50px;
  box-shadow:0 6px 20px rgba(0,0,0,.25);font-weight:700;font-size:.95rem;transition:transform .15s ease,box-shadow .15s ease;}
.wa-fab:hover{transform:translateY(-2px);box-shadow:0 10px 26px rgba(0,0,0,.32);color:#fff;}
.wa-fab__ico{font-size:1.25rem;line-height:1;}
@media(max-width:480px){.wa-fab{right:14px;bottom:14px;padding:12px;border-radius:50%;}
  .wa-fab__txt{display:none;}}

/* Accessibility: skip to content */
.skip-link{position:absolute;left:-9999px;top:0;background:var(--gold,#c9a227);color:#0d2240;padding:10px 16px;z-index:10000;font-weight:700;border-radius:0 0 6px 0;}
.skip-link:focus{left:0;}
