/* ============================================================
   QROWN DESIGN BUILD — Global Stylesheet
   Brand: Royal Blue #1464C8 · Sky Blue #14A0DC · Deep Navy #0028B4 · Gold #B48C00
   Fonts: Rajdhani (headings) · Lato (body)
   ============================================================ */

/* --- CSS Variables --- */
:root {
  --royal-blue: #1464C8;
  --sky-blue: #14A0DC;
  --deep-navy: #0028B4;
  --gold: #B48C00;
  --gold-light: #C89912;
  --white: #FFFFFF;
  --light-cloud: #DCF0F0;
  --dark-text: #0A0A14;
  --blue-gradient: linear-gradient(135deg, #0028B4, #1464C8, #14A0DC);
  --gold-gradient: linear-gradient(90deg, #C89912, #B48C00);
  --hero-overlay: linear-gradient(135deg, rgba(0,40,180,0.92) 0%, rgba(20,100,200,0.88) 60%, rgba(20,160,220,0.82) 100%);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.12);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.16);
  --radius: 8px;
  --radius-lg: 16px;
  --transition: 0.3s ease;
  --max-width: 1200px;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Lato', 'Georgia', serif;
  color: var(--dark-text);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--sky-blue); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--royal-blue); }
ul, ol { list-style: none; }

/* --- Typography --- */
h1, h2, h3, h4, h5 {
  font-family: 'Rajdhani', 'Arial Black', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--deep-navy);
}
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 3vw, 1.6rem); }
p { margin-bottom: 1rem; }

.section-label {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

/* --- Layout --- */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section--navy { background: var(--deep-navy); color: var(--white); }
.section--navy h2, .section--navy h3 { color: var(--white); }
.section--navy .section-label { color: var(--gold); }
.section--cloud { background: var(--light-cloud); }
.section--blue { background: var(--blue-gradient); color: var(--white); }
.section--blue h2 { color: var(--white); }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.text-center { text-align: center; }

/* --- Video Intro Overlay --- */
.video-intro {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s ease;
}
.video-intro.fade-out {
  opacity: 0;
  pointer-events: none;
}
.video-intro video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}
.video-intro__skip {
  position: absolute;
  bottom: 40px;
  right: 40px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
  padding: 10px 24px;
  border-radius: var(--radius);
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all var(--transition);
  backdrop-filter: blur(4px);
}
.video-intro__skip:hover {
  background: rgba(255,255,255,0.25);
}

/* --- Top Info Bar --- */
.top-bar {
  background: #0a1628;
  color: rgba(255,255,255,0.7);
  font-size: 0.8rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(20,100,200,0.2);
}
.top-bar__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.top-bar__left {
  display: flex;
  gap: 24px;
  align-items: center;
}
.top-bar__item {
  display: flex;
  align-items: center;
  gap: 6px;
}
.top-bar__item a { color: rgba(255,255,255,0.7); font-size: 0.8rem; }
.top-bar__item a:hover { color: var(--gold); }
.top-bar__socials {
  display: flex;
  gap: 12px;
}
.top-bar__socials a {
  color: rgba(255,255,255,0.5);
  font-size: 0.85rem;
  transition: color var(--transition);
}
.top-bar__socials a:hover { color: var(--gold); }

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(0, 40, 180, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 2px solid rgba(180, 140, 0, 0.3);
  transition: background var(--transition), box-shadow var(--transition), top var(--transition);
}
.nav.has-topbar { top: 36px; }
.nav.scrolled {
  top: 0;
  background: rgba(0, 40, 180, 0.98);
  box-shadow: var(--shadow-md);
}
.nav__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.nav__logo {
  height: 52px;
  width: auto;
}
.nav__logo--circle {
  width: 44px;
  height: 44px;
  background: var(--gold-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--white);
}
.nav__name {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--white);
  letter-spacing: 0.02em;
}
.nav__name span { color: var(--sky-blue); font-weight: 400; }
.nav__links {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav__links a {
  color: rgba(255,255,255,0.85);
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  padding: 8px 14px;
  border-radius: var(--radius);
  transition: all var(--transition);
}
.nav__links a:hover, .nav__links a.active {
  color: var(--white);
  background: rgba(255,255,255,0.1);
}

/* Services Dropdown */
.nav__dropdown {
  position: relative;
}
.nav__dropdown-trigger {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav__dropdown-trigger::after {
  content: '';
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  transition: transform var(--transition);
}
.nav__dropdown:hover .nav__dropdown-trigger::after {
  transform: rotate(180deg);
}
.nav__dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 260px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(-8px);
  transition: all 0.25s ease;
}
.nav__dropdown:hover .nav__dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.nav__dropdown-menu a {
  display: block;
  padding: 10px 20px;
  color: var(--dark-text) !important;
  font-size: 0.9rem;
  border-radius: 0;
}
.nav__dropdown-menu a:hover {
  background: var(--light-cloud) !important;
  color: var(--royal-blue) !important;
}

/* CTA in nav */
.nav__cta {
  background: var(--gold) !important;
  color: var(--white) !important;
  padding: 10px 20px !important;
  border-radius: var(--radius) !important;
  font-weight: 700 !important;
}
.nav__cta:hover {
  background: var(--gold-light) !important;
  transform: translateY(-1px);
}

/* Mobile Menu Toggle */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav__toggle span {
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all var(--transition);
}
.nav__toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav__toggle.open span:nth-child(2) { opacity: 0; }
.nav__toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  background: var(--blue-gradient);
  overflow: hidden;
  padding-top: 108px;
}
.hero--short { min-height: 50vh; }
.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.2;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: var(--hero-overlay);
}
.hero__pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero__content {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 60px 24px;
  color: var(--white);
}
.hero h1 { color: var(--white); margin-bottom: 20px; }
.hero p { font-size: 1.15rem; max-width: 640px; opacity: 0.9; margin-bottom: 28px; }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.03em;
  text-decoration: none;
  transition: all var(--transition);
  border: none;
  cursor: pointer;
}
.btn--primary {
  background: var(--gold);
  color: var(--white);
}
.btn--primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(180,140,0,0.3);
  color: var(--white);
}
.btn--outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.4);
}
.btn--outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.1);
  color: var(--white);
}
.btn--blue {
  background: var(--royal-blue);
  color: var(--white);
}
.btn--blue:hover {
  background: var(--deep-navy);
  color: var(--white);
}
.btn-group { display: flex; gap: 16px; flex-wrap: wrap; }

/* --- Cards --- */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  border: 1px solid rgba(20,100,200,0.08);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.card__icon {
  width: 56px;
  height: 56px;
  background: var(--light-cloud);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 16px;
  color: var(--royal-blue);
}
.card h3 { margin-bottom: 12px; }
.card p { color: #5a6677; font-size: 0.95rem; }

/* Service card link variant */
.card--service {
  text-decoration: none;
  display: block;
  color: inherit;
  border-top: 3px solid transparent;
  overflow: hidden;
  padding-top: 0;
}
.card--service:hover {
  border-top-color: var(--gold);
  color: inherit;
}
.card--service .card__arrow {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--royal-blue);
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  margin-top: 16px;
  transition: gap var(--transition);
}
.card--service:hover .card__arrow { gap: 8px; }

/* Service card thumbnail images */
.card__img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 12px 12px 0 0;
  margin: -32px -32px 20px -32px;
  width: calc(100% + 64px);
}
.card--service .card__img {
  margin-top: 0;
}

/* --- Stats Bar --- */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
  padding: 48px 0;
}
.stat__number {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 2.8rem;
  color: var(--gold);
  line-height: 1;
}
.stat__label {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  margin-top: 4px;
}

/* --- Testimonials --- */
.testimonial {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--gold);
}
.testimonial__text {
  font-style: italic;
  font-size: 1.05rem;
  color: #3a4555;
  margin-bottom: 16px;
  line-height: 1.8;
}
.testimonial__author {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  color: var(--deep-navy);
}
.testimonial__role {
  font-size: 0.85rem;
  color: #8a96a8;
}

/* --- Process Steps --- */
.process { counter-reset: step; }
.process__step {
  display: flex;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid rgba(20,100,200,0.1);
}
.process__step:last-child { border-bottom: none; }
.process__number {
  counter-increment: step;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: var(--blue-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--white);
}
.process__content h3 { margin-bottom: 6px; font-size: 1.1rem; }
.process__content p { color: #5a6677; font-size: 0.95rem; margin-bottom: 0; }

/* --- FAQ Accordion --- */
.faq__item {
  border-bottom: 1px solid rgba(20,100,200,0.1);
}
.faq__question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 20px 0;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--deep-navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq__question::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--royal-blue);
  transition: transform var(--transition);
  flex-shrink: 0;
}
.faq__item.open .faq__question::after {
  content: '−';
}
.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}
.faq__item.open .faq__answer {
  max-height: 300px;
  padding-bottom: 20px;
}
.faq__answer p { color: #5a6677; font-size: 0.95rem; margin-bottom: 0; }

/* --- Contact Form --- */
.form { max-width: 640px; }
.form__group { margin-bottom: 20px; }
.form__label {
  display: block;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--deep-navy);
  margin-bottom: 6px;
}
.form__input, .form__select, .form__textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid rgba(20,100,200,0.15);
  border-radius: var(--radius);
  font-family: 'Lato', sans-serif;
  font-size: 1rem;
  color: var(--dark-text);
  background: var(--white);
  transition: border-color var(--transition);
}
.form__input:focus, .form__select:focus, .form__textarea:focus {
  outline: none;
  border-color: var(--royal-blue);
}
.form__textarea { resize: vertical; min-height: 120px; }
.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* --- Footer --- */
.footer {
  background: var(--deep-navy);
  color: rgba(255,255,255,0.7);
  padding: 64px 0 0;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer__brand .nav__logo { height: 60px; width: auto; margin-bottom: 12px; }
.footer__brand .nav__logo--circle { margin-bottom: 12px; }
.footer__brand p { font-size: 0.9rem; max-width: 280px; }
.footer__newsletter input {
  width: 100%;
  padding: 10px 14px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
  color: var(--white);
  font-family: 'Lato', sans-serif;
  font-size: 0.9rem;
  margin-bottom: 10px;
}
.footer__newsletter input::placeholder { color: rgba(255,255,255,0.4); }
.footer__newsletter input:focus { outline: none; border-color: var(--sky-blue); }
.footer__newsletter button {
  width: 100%;
  padding: 10px 14px;
  background: var(--sky-blue);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: background var(--transition);
}
.footer__newsletter button:hover { background: var(--royal-blue); }
.footer h4 {
  color: var(--white);
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer ul li { margin-bottom: 8px; }
.footer ul a { color: rgba(255,255,255,0.6); font-size: 0.9rem; }
.footer ul a:hover { color: var(--gold); }
.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 12px;
  font-size: 0.9rem;
}
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  font-size: 0.8rem;
  margin-top: 0;
}
.footer__socials {
  display: flex;
  gap: 12px;
}
.footer__socials a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  transition: all var(--transition);
  font-size: 0.9rem;
}
.footer__socials a:hover {
  background: var(--gold);
  color: var(--white);
}

/* Gold accent bar */
.gold-bar {
  height: 3px;
  background: var(--gold-gradient);
}

/* --- Credential Badges --- */
.badges {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 100px;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.9);
  letter-spacing: 0.05em;
}
.badge--gold {
  border-color: var(--gold);
  color: var(--gold);
}

/* --- Service Page Specifics --- */
.service-hero { text-align: left; }
.service-hero .hero__content { max-width: 680px; }
.why-list li {
  padding: 12px 0 12px 28px;
  position: relative;
  color: #5a6677;
  font-size: 0.95rem;
  border-bottom: 1px solid rgba(20,100,200,0.06);
}
.why-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 20px;
  width: 12px;
  height: 12px;
  background: var(--gold);
  border-radius: 3px;
  transform: rotate(45deg);
}

/* --- CTA Banner --- */
.cta-banner {
  background: var(--blue-gradient);
  padding: 64px 0;
  text-align: center;
  color: var(--white);
}
.cta-banner h2 { color: var(--white); margin-bottom: 16px; }
.cta-banner p { opacity: 0.9; max-width: 560px; margin: 0 auto 28px; }
.cta-banner .supporting {
  margin-top: 16px;
  font-size: 0.9rem;
  opacity: 0.7;
}

/* --- Animations --- */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }

/* --- Responsive --- */
@media (max-width: 968px) {
  .top-bar { display: none; }
  .nav.has-topbar { top: 0; }
  .hero { padding-top: 72px; }
  .nav__links { display: none; }
  .nav__links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(0, 40, 180, 0.98);
    padding: 16px 24px 24px;
    border-bottom: 2px solid rgba(180,140,0,0.3);
    gap: 4px;
  }
  .nav__links.open a { padding: 12px 16px; }
  .nav__toggle { display: flex; }
  .nav__dropdown-menu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    background: rgba(255,255,255,0.05);
    box-shadow: none;
    padding: 0 0 0 16px;
    display: none;
  }
  .nav__dropdown.open .nav__dropdown-menu { display: block; }
  .nav__dropdown-menu a { color: rgba(255,255,255,0.7) !important; }
  .nav__dropdown-menu a:hover { background: rgba(255,255,255,0.05) !important; color: var(--white) !important; }
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats-bar { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .hero { min-height: 70vh; }
}

@media (max-width: 600px) {
  .section { padding: 56px 0; }
  .grid-4 { grid-template-columns: 1fr; }
  .stats-bar { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; gap: 12px; text-align: center; }
  .form__row { grid-template-columns: 1fr; }
  .btn-group { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
  .badges { justify-content: center; }
}
