/* ---------- Design tokens ---------- */
:root {
  --navy: #0b3a6f;
  --navy-dark: #071f3f;
  --blue: #1560a8;
  --gold: #f2a900;
  --gold-dark: #d48f00;
  --maroon: #a4262c;
  --bg: #f4f7fb;
  --white: #ffffff;
  --ink: #1d2a3a;
  --muted: #5b6b7d;
  --line: #e2e8f0;
  --radius: 14px;
  --shadow: 0 8px 28px rgba(11, 58, 111, 0.10);
  --shadow-lg: 0 16px 40px rgba(11, 58, 111, 0.18);
  --font-head: "Playfair Display", Georgia, serif;
  --font-body: "Poppins", "Segoe UI", Arial, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 15px;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, li { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea { font-family: inherit; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.25; color: var(--navy); }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 26px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.3px;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s, color 0.2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: var(--gold); color: var(--navy-dark); box-shadow: 0 6px 16px rgba(242, 169, 0, 0.35); }
.btn-gold:hover { background: var(--gold-dark); }
.btn-navy { background: var(--navy); color: var(--white); box-shadow: 0 6px 16px rgba(11, 58, 111, 0.25); }
.btn-navy:hover { background: var(--blue); }
.btn-outline { border: 2px solid var(--navy); color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-outline-light { border: 2px solid var(--white); color: var(--white); }
.btn-outline-light:hover { background: var(--white); color: var(--navy); }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy-dark); color: #cdd9ea; font-size: 13px; }
.topbar-in { display: flex; justify-content: space-between; align-items: center; min-height: 40px; gap: 16px; }
.topbar-contact { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.topbar-contact a:hover, .topbar-social a:hover { color: var(--gold); }
.topbar-contact i { color: var(--gold); margin-right: 7px; }
.topbar-social { display: flex; gap: 6px; }
.topbar-social a {
  width: 28px; height: 28px; display: grid; place-items: center;
  border-radius: 50%; font-size: 12px; background: rgba(255, 255, 255, 0.08);
  transition: background 0.2s, color 0.2s;
}
.topbar-social a:hover { background: rgba(255, 255, 255, 0.2); }

/* ---------- Header / navigation ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, 0.88); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px); box-shadow: 0 2px 14px rgba(11, 58, 111, 0.08); transition: box-shadow 0.3s, background 0.3s; }
.site-header.scrolled { background: rgba(255, 255, 255, 0.96); box-shadow: 0 8px 28px rgba(11, 58, 111, 0.16); }
.header-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; transition: min-height 0.3s; }
.scrolled .header-in { min-height: 64px; }
.scrolled .brand img { height: 46px; }
.brand img { transition: height 0.3s; }
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand img { height: 54px; width: auto; }
.brand-text strong { display: block; font-family: var(--font-head); font-size: 24px; color: var(--navy); letter-spacing: 1.5px; line-height: 1.1; }
.brand-text small { display: block; font-size: 11.5px; color: var(--maroon); font-weight: 600; letter-spacing: 1px; text-transform: uppercase; }

.main-menu { display: flex; align-items: center; gap: 18px; }
.main-menu > ul { display: flex; align-items: center; gap: 2px; }
.main-menu > ul > li { position: relative; }
.main-menu > ul > li > a {
  display: flex; align-items: center; gap: 7px;
  padding: 10px 11px; border-radius: 8px;
  font-size: 12.5px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.4px;
  color: var(--ink); transition: color 0.2s, background 0.2s;
}
.main-menu > ul > li > a > i:first-child { font-size: 13px; color: var(--gold-dark); }
.main-menu > ul > li > a:hover, .main-menu > ul > li > a.active { color: var(--navy); background: #eaf1fa; }
.main-menu > ul > li > a.active { box-shadow: inset 0 -3px 0 var(--gold); border-radius: 8px 8px 0 0; }
.caret { font-size: 10px !important; margin-left: 2px; }

.dropdown {
  position: absolute; top: 100%; left: 0; min-width: 210px;
  background: var(--white); border-top: 3px solid var(--gold);
  border-radius: 0 0 10px 10px; box-shadow: var(--shadow-lg);
  padding: 8px 0; opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: all 0.2s ease;
}
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown { opacity: 1; visibility: visible; transform: none; }
.dropdown li a { display: flex; align-items: center; gap: 10px; padding: 10px 18px; font-size: 13.5px; font-weight: 500; }
.dropdown li a i { font-size: 10px; color: var(--gold-dark); }
.dropdown li a:hover { background: #eaf1fa; color: var(--navy); padding-left: 22px; }
.dropdown li a { transition: padding 0.2s, background 0.2s; }

.nav-cta { padding: 10px 24px; white-space: nowrap; }
.menu-toggle { display: none; width: 44px; height: 44px; border-radius: 10px; background: var(--navy); color: var(--white); font-size: 20px; }

/* ---------- Inner page banner ---------- */
.page-banner {
  background: linear-gradient(120deg, rgba(7, 31, 63, 0.95), rgba(21, 96, 168, 0.88)), url('background-image.png') center/cover;
  color: var(--white);
  text-align: center;
  padding: 56px 20px 60px;
  position: relative;
}
.page-banner::after {
  content: ""; position: absolute; left: 50%; bottom: -3px; transform: translateX(-50%);
  width: 90px; height: 5px; border-radius: 4px; background: var(--gold);
}
.page-banner::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(circle at 12% 30%, rgba(242, 169, 0, 0.22), transparent 38%),
    radial-gradient(circle at 88% 70%, rgba(255, 255, 255, 0.14), transparent 36%),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.035) 0 2px, transparent 2px 22px);
}
.page-banner > * { position: relative; z-index: 1; }
.page-banner h1 { color: var(--white); font-size: clamp(28px, 4.5vw, 44px); }
.page-banner p { color: #d7e4f4; margin-top: 10px; font-size: 15px; }
.page-banner h1 span { color: var(--gold); }

/* ---------- Section helpers ---------- */
.section { padding: 70px 0; }
.section-white { background: var(--white); }
.section-title { text-align: center; margin-bottom: 40px; }
.section-title h2 { font-size: clamp(26px, 3.5vw, 36px); position: relative; display: inline-block; padding-bottom: 14px; }
.section-title h2::after {
  content: ""; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
  width: 60px; height: 4px; border-radius: 4px; background: var(--gold);
}

.card {
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow); border: 1px solid var(--line);
}

/* ---------- Footer ---------- */
.site-footer { margin-top: 0; background: var(--navy-dark); color: #b8c7dc; padding-top: 64px; font-size: 14px; border-top: 5px solid transparent; border-image: linear-gradient(90deg, var(--gold), var(--blue), var(--gold)) 1; position: relative; }
.footer-grid { display: grid; grid-template-columns: 1.1fr 0.9fr 1.3fr 1.2fr; gap: 40px; padding-bottom: 50px; }
.f-col h3 { color: var(--white); font-size: 18px; margin-bottom: 22px; position: relative; padding-bottom: 12px; }
.f-col h3::after { content: ""; position: absolute; left: 0; bottom: 0; width: 40px; height: 3px; background: var(--gold); border-radius: 3px; }
.f-logo img { width: 100px; height: 100px; object-fit: contain; background: var(--white); border-radius: 50%; padding: 6px; margin-bottom: 18px; }
.f-about p { line-height: 1.8; }
.f-links li { margin-bottom: 11px; }
.f-links a { position: relative; padding-left: 16px; transition: color 0.2s, padding 0.2s; }
.f-links a::before { content: "\f105"; font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute; left: 0; color: var(--gold); }
.f-links a:hover { color: var(--gold); padding-left: 20px; }
.f-info li { display: flex; gap: 12px; margin-bottom: 14px; align-items: flex-start; }
.f-info i { color: var(--gold); margin-top: 5px; width: 16px; }
.f-info a:hover { color: var(--gold); }
.f-info span { line-height: 1.9; }
.f-social { display: flex; gap: 10px; margin-bottom: 20px; }
.f-social a {
  width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%;
  background: rgba(255, 255, 255, 0.08); color: var(--white); transition: background 0.2s, color 0.2s, transform 0.2s;
}
.f-social a:hover { background: var(--gold); color: var(--navy-dark); transform: translateY(-3px); }
.f-map iframe { border-radius: 10px; display: block; }

/* ---------- Scroll progress & back-to-top ---------- */
.scroll-progress { position: fixed; top: 0; left: 0; height: 4px; width: 0; z-index: 300; background: linear-gradient(90deg, var(--gold), #ffd66b); box-shadow: 0 0 10px rgba(242, 169, 0, 0.6); }
.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 200; width: 48px; height: 48px; border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--blue)); color: var(--white); font-size: 16px;
  box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(16px);
  transition: all 0.3s ease;
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--gold); color: var(--navy-dark); transform: translateY(-4px); }

/* ---------- Responsive ---------- */
@media (max-width: 1150px) {
  .main-menu > ul > li > a { padding: 10px 8px; font-size: 12px; }
  .main-menu > ul > li > a > i:first-child { display: none; }
  .brand-text strong { font-size: 20px; }
}

@media (max-width: 991px) {
  .menu-toggle { display: grid; place-items: center; }
  .main-menu {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); padding: 10px 20px 24px;
    box-shadow: 0 18px 30px rgba(11, 58, 111, 0.18);
    max-height: calc(100vh - 76px); overflow-y: auto;
    display: none;
  }
  .menu-open .main-menu { display: flex; }
  .main-menu > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .main-menu > ul > li > a { padding: 14px 6px; font-size: 14px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .main-menu > ul > li > a > i:first-child { display: inline; }
  .main-menu > ul > li > a.active { box-shadow: none; border-radius: 0; border-left: 4px solid var(--gold); padding-left: 12px; }
  .caret { margin-left: auto; }
  .dropdown { position: static; opacity: 1; visibility: visible; transform: none; display: none; box-shadow: none; border-top: none; background: var(--bg); border-radius: 8px; margin: 6px 0; }
  .has-dropdown:hover .dropdown { display: none; }
  .has-dropdown.dd-open .dropdown { display: block; }
  .nav-cta { margin-top: 16px; width: 100%; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 54px 0; }
}

@media (max-width: 767px) {
  .hide-md { display: none !important; }
}

@media (max-width: 575px) {
  .hide-sm { display: none !important; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .brand img { height: 46px; }
  .brand-text strong { font-size: 18px; }
  .brand-text small { font-size: 10px; }
  .topbar-in { justify-content: center; }
  .topbar-social { display: none; }
}
