/* ============================================================
   ATHOL SOLUTIONS PVT LTD — GLOBAL STYLESHEET v2
   Barlow font system | Navy + Gold | Royal animations
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@400;600;700;800;900&family=Barlow:wght@300;400;500;600&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ── TOKENS ──────────────────────────────────────────────── */
:root {
  --navy:        #0B1F3A;
  --navy-deep:   #060F1E;
  --navy-mid:    #112744;
  --gold:        #C9A84C;
  --gold-light:  #E8C97A;
  --gold-pale:   #FDF6E3;
  --gold-dim:    rgba(201,168,76,0.15);
  --cream:       #F5F3EF;
  --white:       #FFFFFF;
  --slate:       #4A5568;
  --slate-light: #718096;
  --border-dark: rgba(255,255,255,0.07);
  --border-lite: rgba(11,31,58,0.1);
  --shadow-sm:   0 2px 12px rgba(6,15,30,0.08);
  --shadow-md:   0 8px 40px rgba(6,15,30,0.14);
  --shadow-lg:   0 24px 64px rgba(6,15,30,0.22);
  --font-head:   'Barlow Condensed', sans-serif;
  --font-body:   'Barlow', sans-serif;
  --ease:        cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out:    cubic-bezier(0, 0, 0.2, 1);
  --t:           0.28s;
  --t-slow:      0.52s;
  --nav-h:       88px;
  --max-w:       1240px;
}

/* ── BASE ────────────────────────────────────────────────── */
body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--navy);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--navy-deep); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 3px; }

/* ── LOADER ──────────────────────────────────────────────── */
#loader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--navy-deep);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 20px;
  transition: opacity 0.7s var(--ease), visibility 0.7s;
}
#loader.hide { opacity: 0; visibility: hidden; pointer-events: none; }

.loader-logo-svg {
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  animation: fadeUp 0.8s ease both;
}
.loader-logo-svg img {
  width: 120px;
  height: 120px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}
.loader-bar-wrap {
  width: 160px; height: 2px;
  background: rgba(255,255,255,0.08); border-radius: 2px; overflow: hidden;
  animation: fadeUp 0.8s 0.3s ease both;
}
.loader-bar {
  height: 100%; background: var(--gold); border-radius: 2px;
  animation: loadBar 1.8s var(--ease) forwards;
}
@keyframes loadBar { from { width: 0; } to { width: 100%; } }

/* ── NAV ─────────────────────────────────────────────────── */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  height: var(--nav-h);
  display: flex; align-items: center; padding: 0 5vw;
  transition: background var(--t), border-color var(--t), backdrop-filter var(--t);
}
#navbar.scrolled {
  background: rgba(6,15,30,0.97);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(201,168,76,0.14);
}
#navbar.nav-dark {
  background: rgba(6,15,30,0.97);
  border-bottom: 1px solid rgba(201,168,76,0.14);
}

.nav-inner {
  display: flex; align-items: center;
  justify-content: space-between; width: 100%;
  max-width: var(--max-w); margin: 0 auto;
}
.nav-logo svg { height: 42px; width: auto; }

.nav-links { display: flex; gap: 34px; align-items: center; }
.nav-links a {
  color: rgba(255,255,255,0.68);
  font-family: var(--font-body);
  font-size: 13.5px; font-weight: 500; letter-spacing: 0.04em;
  transition: color var(--t); position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0; right: 0;
  height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--t);
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-links a.active { color: var(--gold-light); }

.nav-cta-btn {
  background: var(--gold) !important;
  color: var(--navy-deep) !important;
  font-weight: 600 !important;
  padding: 9px 22px; border-radius: 2px;
  transition: background var(--t) !important;
}
.nav-cta-btn::after { display: none !important; }
.nav-cta-btn:hover { background: var(--gold-light) !important; }

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  width: 28px; cursor: pointer; padding: 4px 0;
}
.hamburger span {
  display: block; height: 2px; background: var(--white);
  border-radius: 2px; transition: all var(--t);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none; position: fixed;
  top: var(--nav-h); left: 0; right: 0;
  background: var(--navy-deep);
  border-bottom: 1px solid rgba(201,168,76,0.15);
  z-index: 499; padding: 20px 5vw 28px;
  flex-direction: column;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  color: rgba(255,255,255,0.72); font-size: 15px;
  padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: color var(--t);
}
.mobile-menu a:hover { color: var(--gold-light); }
.mobile-menu .mob-cta {
  margin-top: 16px; background: var(--gold);
  color: var(--navy-deep); font-weight: 600;
  padding: 14px 24px; border-radius: 2px;
  text-align: center; border-bottom: none;
}

/* ── BUTTONS ─────────────────────────────────────────────── */
.btn-gold {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--gold); color: var(--navy-deep);
  font-family: var(--font-body); font-size: 14px; font-weight: 600;
  letter-spacing: 0.05em; padding: 13px 30px;
  border-radius: 2px; border: none;
  transition: all var(--t); white-space: nowrap;
}
.btn-gold:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(201,168,76,0.28); }

.btn-outline-white {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--white);
  font-family: var(--font-body); font-size: 14px; font-weight: 500;
  letter-spacing: 0.05em; padding: 12px 30px;
  border-radius: 2px; border: 1px solid rgba(255,255,255,0.28);
  transition: all var(--t); white-space: nowrap;
}
.btn-outline-white:hover { border-color: var(--gold); color: var(--gold); }

.btn-outline-navy {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--navy);
  font-family: var(--font-body); font-size: 14px; font-weight: 600;
  letter-spacing: 0.05em; padding: 12px 30px;
  border-radius: 2px; border: 1px solid rgba(11,31,58,0.22);
  transition: all var(--t);
}
.btn-outline-navy:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }

.btn-dark {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--navy-deep); color: var(--white);
  font-family: var(--font-body); font-size: 14px; font-weight: 600;
  letter-spacing: 0.05em; padding: 13px 30px;
  border-radius: 2px; border: none;
  transition: all var(--t); white-space: nowrap;
}
.btn-dark:hover { background: var(--navy-mid); transform: translateY(-2px); }

/* ── TYPOGRAPHY SYSTEM ───────────────────────────────────── */
.s-label {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body);
  font-size: 10.5px; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 14px;
}
.s-label::before { content: ''; width: 28px; height: 1px; background: var(--gold); }

.s-heading {
  font-family: var(--font-head);
  font-size: clamp(30px, 3.8vw, 54px);
  font-weight: 800; color: var(--navy);
  line-height: 1.08; letter-spacing: -0.01em;
  text-transform: uppercase; margin-bottom: 18px;
}
.s-heading.light { color: var(--white); }
.s-sub {
  font-size: 16px; font-weight: 300;
  color: var(--slate-light); line-height: 1.85; max-width: 580px;
}
.s-sub.light { color: rgba(255,255,255,0.48); }

/* ── PAGE HERO SHARED ────────────────────────────────────── */
.page-hero {
  min-height: 56vh; background: var(--navy-deep);
  display: flex; align-items: flex-end;
  padding: calc(var(--nav-h) + 60px) 5vw 64px;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 79px, rgba(201,168,76,0.04) 80px),
    repeating-linear-gradient(90deg, transparent, transparent 79px, rgba(201,168,76,0.04) 80px);
}
.page-hero-content {
  position: relative; max-width: var(--max-w); margin: 0 auto; width: 100%;
}
.page-hero h1 {
  font-family: var(--font-head);
  font-size: clamp(38px, 5.5vw, 80px);
  font-weight: 900; color: var(--white);
  line-height: 1.0; letter-spacing: -0.01em;
  text-transform: uppercase;
}
.page-hero h1 em { font-style: normal; color: var(--gold); }
.page-hero .page-hero-sub {
  font-size: 17px; font-weight: 300;
  color: rgba(255,255,255,0.48); margin-top: 18px;
  max-width: 520px; line-height: 1.8;
}
.breadcrumb {
  display: flex; gap: 8px; align-items: center;
  font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,0.3); margin-bottom: 22px;
}
.breadcrumb a { color: var(--gold); }

/* ── LAYOUT ──────────────────────────────────────────────── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 5vw; }
section { padding: 104px 5vw; }

/* ── SCROLL REVEAL ───────────────────────────────────────── */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal.revealed { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.22s; }
.reveal-delay-3 { transition-delay: 0.34s; }
.reveal-delay-4 { transition-delay: 0.46s; }
.reveal-delay-5 { transition-delay: 0.58s; }
.reveal-delay-6 { transition-delay: 0.70s; }

/* ── KEYFRAMES ───────────────────────────────────────────── */
@keyframes fadeUp { from { opacity:0; transform:translateY(24px); } to { opacity:1; transform:translateY(0); } }
@keyframes fadeIn { from { opacity:0; } to { opacity:1; } }
@keyframes slideLeft { from { opacity:0; transform:translateX(40px); } to { opacity:1; transform:translateX(0); } }
@keyframes floatY { 0%,100% { transform:translateY(0); } 50% { transform:translateY(-14px); } }
@keyframes pulse { 0%,100% { opacity:1; } 50% { opacity:0.3; } }
@keyframes marqueeScroll { from { transform:translateX(0); } to { transform:translateX(-50%); } }

/* ── SVG ICONS ───────────────────────────────────────────── */
.icon-wrap {
  width: 52px; height: 52px;
  border: 1px solid rgba(201,168,76,0.3);
  border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  transition: background var(--t), border-color var(--t), transform var(--t);
}
.icon-wrap svg { width: 26px; height: 26px; stroke: var(--gold); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; transition: stroke var(--t), transform var(--t); }

/* ── FORMS ───────────────────────────────────────────────── */
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block; font-size: 11px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--slate); margin-bottom: 8px;
}
.form-group input, .form-group select, .form-group textarea {
  width: 100%; background: var(--white); color: var(--navy);
  border: 1px solid var(--border-lite); border-radius: 2px;
  padding: 13px 16px; font-family: var(--font-body); font-size: 15px;
  outline: none; appearance: none;
  transition: border-color var(--t), box-shadow var(--t);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,168,76,0.1);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.dark-field label { color: rgba(255,255,255,0.5); }
.dark-field input, .dark-field select, .dark-field textarea {
  background: rgba(255,255,255,0.05); color: var(--white);
  border-color: rgba(255,255,255,0.1);
}
.dark-field input::placeholder, .dark-field textarea::placeholder { color: rgba(255,255,255,0.22); }
.dark-field select option { background: var(--navy-deep); }
.dark-field input:focus, .dark-field select:focus, .dark-field textarea:focus {
  border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,168,76,0.08);
}
.form-success {
  background: rgba(201,168,76,0.08); border: 1px solid var(--gold);
  border-radius: 3px; padding: 14px 18px;
  color: var(--gold); font-size: 14px; font-weight: 500;
  display: none; margin-top: 14px;
}

/* ── FILE UPLOAD ─────────────────────────────────────────── */
.file-input-wrap { position: relative; }
.file-label-btn {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 16px;
  border: 1px dashed rgba(255,255,255,0.2); border-radius: 2px;
  cursor: pointer; transition: border-color var(--t), background var(--t);
}
.file-label-btn:hover { border-color: var(--gold); background: rgba(201,168,76,0.05); }
.file-label-btn svg { width: 20px; height: 20px; stroke: var(--gold); fill: none; stroke-width: 1.5; flex-shrink: 0; }
.file-text { font-size: 14px; color: rgba(255,255,255,0.38); }
.file-name { font-size: 14px; color: var(--gold); }
.file-input-wrap input[type=file] { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; }

/* ── FOOTER ──────────────────────────────────────────────── */
footer { background: var(--navy-deep); border-top: 1px solid rgba(201,168,76,0.1); }
.footer-main {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 60px; padding: 72px 5vw 56px;
  max-width: var(--max-w); margin: 0 auto;
}
.footer-brand img { height: 60px; width: auto; }
.footer-brand p {
  font-size: 14px; font-weight: 300; color: rgba(255,255,255,0.36);
  line-height: 1.85; margin-top: 18px; max-width: 300px;
}
.footer-col h5 {
  font-size: 10px; font-weight: 600; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 20px;
}
.footer-col a {
  display: block; font-size: 14px; font-weight: 300;
  color: rgba(255,255,255,0.4); margin-bottom: 11px;
  transition: color var(--t);
}
.footer-col a:hover { color: var(--gold-light); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding: 22px 5vw; border-top: 1px solid rgba(255,255,255,0.05);
  max-width: var(--max-w); margin: 0 auto;
}
.footer-copy { font-size: 12px; color: rgba(255,255,255,0.2); }
.footer-legal { display: flex; gap: 24px; }
.footer-legal a { font-size: 12px; color: rgba(255,255,255,0.2); transition: color var(--t); }
.footer-legal a:hover { color: var(--gold); }

/* ── BACK TO TOP ─────────────────────────────────────────── */
#back-top {
  position: fixed; bottom: 28px; right: 28px;
  width: 44px; height: 44px; background: var(--gold);
  color: var(--navy-deep); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; z-index: 200;
  opacity: 0; transform: translateY(16px);
  transition: all var(--t);
  box-shadow: 0 4px 16px rgba(201,168,76,0.35);
}
#back-top.show { opacity: 1; transform: translateY(0); }
#back-top:hover { transform: translateY(-3px); background: var(--gold-light); }

/* ── CURSOR ──────────────────────────────────────────────── */
@media (pointer: fine) {
  * { cursor: none !important; }
  #cursor {
    position: fixed; z-index: 9000;
    width: 8px; height: 8px;
    background: var(--gold); border-radius: 50%;
    pointer-events: none; transform: translate(-50%,-50%);
  }
  #cursor-ring {
    position: fixed; z-index: 8999;
    width: 34px; height: 34px;
    border: 1.5px solid rgba(201,168,76,0.5);
    border-radius: 50%; pointer-events: none;
    transform: translate(-50%,-50%);
    transition: width 0.22s var(--ease), height 0.22s var(--ease), border-color 0.22s var(--ease);
  }
  body.cursor-hover #cursor-ring { width: 52px; height: 52px; border-color: var(--gold); }
}

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 960px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 40px; }
  .form-grid-2 { grid-template-columns: 1fr; }
  section { padding: 72px 5vw; }
}
@media (max-width: 600px) {
  .footer-main { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}
