/* =========================================================
   SUNRISE SECURITY SERVICES — Global Stylesheet
   HTML5 / CSS3 only. No frameworks.
   ========================================================= */

/* ---------- Design Tokens ---------- */
:root {
  --navy-deep: #0b1f3a;
  --navy: #12294d;
  --royal: #1e4fa3;
  --royal-light: #2f6fd6;
  --charcoal: #22262e;
  --black: #10131a;
  --grey-light: #f3f5f8;
  --grey-mid: #e2e7ee;
  --grey-text: #5a6472;
  --white: #ffffff;
  --gold: #d9a441;
  --gold-light: #ecc873;

  --font-head: "Cormorant Garamond";
  --font-body: "Inter";
  --font-ui: "Manrope";

  --shadow-sm: 0 2px 8px rgba(11, 31, 58, 0.08);
  --shadow-md: 0 8px 26px rgba(11, 31, 58, 0.12);
  --shadow-lg: 0 18px 48px rgba(11, 31, 58, 0.18);

  --radius: 14px;
  --radius-sm: 10px;
  --maxw: 1200px;
  --header-h: 60px;
  --transition: 0.3s ease;
}

/* ---------- Reset ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 10px); }
body {
  font-family: var(--font-body);
  color: var(--charcoal);
  line-height: 1.65;
  background: var(--white);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; color: var(--navy-deep); font-weight: 600; letter-spacing: 0.2px; }
h1, h2 { font-weight: 700; }

.container { width: 92%; max-width: var(--maxw); margin: 0 auto; }

/* ---------- Accessibility ---------- */
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 2000;
  background: var(--navy-deep); color: #fff; padding: 10px 18px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---------- Buttons ---------- */
.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px; border-radius: 40px; font-weight: 600;
  font-size: 0.94rem; cursor: pointer; border: 2px solid transparent;
  transition: var(--transition); font-family: var(--font-ui);
  letter-spacing: 0.2px;
  text-align: center; line-height: 1.2;
}
.btn::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: linear-gradient(120deg, transparent 20%, rgba(255,255,255,0.35) 50%, transparent 80%);
  transform: translateX(-120%); transition: transform 0.6s ease;
  pointer-events: none;
}
.btn:hover::before { transform: translateX(120%); }
.btn-primary { background: var(--royal); color: #fff; }
.btn-primary:hover { background: var(--royal-light); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-gold { background: var(--gold); color: var(--navy-deep); }
.btn-gold:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,0.7); }
.btn-outline:hover { background: #fff; color: var(--navy-deep); transform: translateY(-2px); }
.btn-outline-dark { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline-dark:hover { background: var(--navy); color: #fff; transform: translateY(-2px); }

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-h);
  z-index: 1000;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid rgba(11, 31, 58, 0.08);
  box-shadow: var(--shadow-sm);
  transition: background 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

/* Transparent navbar over the home hero before scrolling */
body.home-page .site-header:not(.scrolled) {
  background: linear-gradient(to bottom, rgba(5, 14, 28, 0.72), rgba(5, 14, 28, 0.10));
  border-bottom-color: rgba(255, 255, 255, 0.14);
  box-shadow: none;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  border-bottom-color: rgba(11, 31, 58, 0.08);
  box-shadow: 0 8px 30px rgba(11, 31, 58, 0.10);
}

.header-inner {
  width: 100%;
  max-width: 1500px;
  height: 100%;
  margin: 0 auto;
  padding: 0 48px 0 70px;   /* top right bottom left */
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  flex-shrink: 0;
  margin-left: 35px;
}

.brand .logo-chip {
    width: 58px;
    height: 58px;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
    overflow: visible;
    padding: 0;
}

.brand img {
    width: 58px;
    height: 58px;
    object-fit: contain;
    display: block;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-text .name {
    font-family: var(--font-head);
    font-size: 1rem;      /* was 1.22rem */
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--navy-deep);
}

.brand-text .sub {
    font-family: var(--font-ui);
    font-size: 0.55rem;   /* was 0.62rem */
    font-weight: 600;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: #d9a441;
}

body.home-page .site-header:not(.scrolled) .brand-text .name { color: #fff; }
body.home-page .site-header:not(.scrolled) .brand-text .sub { color: var(--gold-light); }

.main-nav {
  display: flex;
  align-items: center;
  margin-left: auto;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-wrap: nowrap;
}

.main-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 9px;
  white-space: nowrap;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--navy-deep);
  border-radius: 7px;
  transition: var(--transition);
  position: relative;
}

.main-nav a:hover,
.main-nav a.active { color: var(--royal); }

body.home-page .site-header:not(.scrolled) .main-nav a { color: rgba(255,255,255,0.92); }
body.home-page .site-header:not(.scrolled) .main-nav a:hover { color: #fff; }
body.home-page .site-header:not(.scrolled) .main-nav a.active { color: var(--gold-light); }

.main-nav a.active::after {
  content: "";
  position: absolute;
  left: 11px;
  right: 11px;
  bottom: 4px;
  height: 2px;
  background: var(--gold);
}

.site-header.scrolled .main-nav a { color: var(--navy); }
.site-header.scrolled .main-nav a:hover,
.site-header.scrolled .main-nav a.active { color: var(--royal); }
.site-header.scrolled .main-nav a.active::after { background: var(--royal); }

.header-cta {
  margin-left: 10px;
  flex-shrink: 0;
}

.header-cta .btn {
  padding: 8px 16px;
  font-size: 0.82rem;
  white-space: nowrap;
}

.hamburger {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--navy-deep);
  border-radius: 3px;
  transition: var(--transition);
}

body.home-page .site-header:not(.scrolled) .hamburger span { background: #fff; }
.hamburger.open span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* =========================================================
   HERO (Home)
   ========================================================= */
.hero {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
  padding: calc(var(--header-h) + 24px) 0 42px;
  background-image: url("https://res.cloudinary.com/dsn3p1co7/image/upload/v1785603752/ChatGPT_Image_Aug_1_2026_10_34_33_PM_rds9h3.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: linear-gradient(
    90deg,
    rgba(5, 14, 28, 0.93) 0%,
    rgba(5, 14, 28, 0.80) 31%,
    rgba(8, 24, 48, 0.48) 52%,
    rgba(8, 24, 48, 0.12) 76%,
    rgba(8, 24, 48, 0.04) 100%
  );
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 110px;
  z-index: -1;
  background: linear-gradient(to top, rgba(5, 14, 28, 0.30), transparent);
}

.hero .container {
  width: 90%;
  max-width: 1450px;
  margin: 0 auto;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(580px, 46%);
  max-width: 580px;
  padding: 16px 0;
}

.hero .eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 7px 16px;
  margin-bottom: 16px;
  border: 1px solid rgba(236, 200, 115, 0.55);
  border-radius: 50px;
  background: rgba(217, 164, 65, 0.14);
  color: var(--gold-light);
  font-family: var(--font-body);
  font-size: clamp(0.62rem, 0.72vw, 0.76rem);
  font-weight: 600;
  letter-spacing: 1.7px;
  line-height: 1.3;
  text-transform: uppercase;
}

.hero h1 {
  margin-bottom: 16px;
  font-family: var(--font-head);
  font-size: clamp(2.35rem, 3.55vw, 4rem);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -1.3px;
  color: #fff;
  text-shadow: 0 8px 30px rgba(0,0,0,0.24);
}

.hero h1 span { color: var(--gold-light); }

.hero p {
  max-width: 560px;
  margin-bottom: 22px;
  font-family: var(--font-body);
  font-size: clamp(0.88rem, 0.96vw, 1rem);
  font-weight: 400;
  line-height: 1.65;
  color: rgba(255,255,255,0.82);
}

.hero-buttons {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-buttons .btn {
  padding: 11px 20px;
  font-size: 0.86rem;
}

.scroll-indicator {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.80);
  font-size: 0.64rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.scroll-indicator .mouse {
  width: 24px;
  height: 38px;
  border: 2px solid #fff;
  border-radius: 16px;
  position: relative;
}

.scroll-indicator .mouse::after {
  content: "";
  position: absolute;
  top: 7px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 7px;
  background: #fff;
  border-radius: 3px;
  animation: scrollDot 1.6s infinite;
}

@keyframes scrollDot {
  0% { opacity: 0; top: 7px; }
  40% { opacity: 1; }
  80% { opacity: 0; top: 18px; }
  100% { opacity: 0; }
}

/* =========================================================
   INNER PAGE BANNER
   ========================================================= */
.page-banner {
  position: relative; padding: calc(var(--header-h) + 70px) 0 70px; color: #fff; text-align: center;
  background: linear-gradient(rgba(11,31,58,0.82), rgba(18,41,77,0.88)),
    url("https://res.cloudinary.com/dsn3p1co7/image/upload/v1785670985/7f472ef9666a089e9a7fde1986a78c61_wbs3go.jpg") center/cover no-repeat;
  /* TODO: Replace banner image with Cloudinary URL */
}
.page-banner h1 { color: #fff; font-size: clamp(2rem, 4.5vw, 3rem); margin-bottom: 14px; }
.page-banner p { color: #d7deea; max-width: 640px; margin: 0 auto; }
.breadcrumb { margin-top: 18px; font-size: 0.85rem; color: var(--gold-light); }
.breadcrumb a { color: #cfd7e4; }
.breadcrumb a:hover { color: #fff; }

/* =========================================================
   SECTION HELPERS
   ========================================================= */
section { padding: 84px 0; }
.section-label {
  display: inline-block; padding: 7px 20px; border-radius: 40px; font-size: 0.76rem;
  font-family: var(--font-ui);
  letter-spacing: 2px; text-transform: uppercase; font-weight: 700;
  background: rgba(30,79,163,0.1); color: var(--royal); margin-bottom: 16px;
}
.section-head { text-align: center; max-width: 720px; margin: 0 auto 52px; }
.section-head h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); margin-bottom: 16px; }
.section-head p { color: var(--grey-text); font-size: 1.02rem; }
.text-center { text-align: center; }

/* =========================================================
   ABOUT PREVIEW
   ========================================================= */
.about-preview .grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 54px; align-items: center;
}
.about-media { position: relative; }
.about-media img { border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.about-media .badge {
  position: absolute; bottom: -22px; right: -12px; background: var(--navy-deep); color: #fff;
  padding: 18px 24px; border-radius: var(--radius); box-shadow: var(--shadow-md); text-align: center;
}
.about-media .badge strong { font-family: var(--font-head); font-size: 1.6rem; display: block; color: var(--gold-light); }
.about-media .badge span { font-size: 0.78rem; letter-spacing: 1px; }
.about-text h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); margin-bottom: 18px; }
.about-text p { color: var(--grey-text); margin-bottom: 22px; }
.highlight-list { display: grid; gap: 16px; margin-bottom: 28px; }
.highlight-list li { display: flex; gap: 14px; align-items: flex-start; }
.highlight-list .ic {
  flex: 0 0 44px; height: 44px; border-radius: 12px; background: rgba(30,79,163,0.1);
  display: grid; place-items: center; color: var(--royal); font-size: 1.1rem;
}
.highlight-list h4 { font-family: var(--font-body); font-size: 1rem; color: var(--navy-deep); margin-bottom: 2px; }
.highlight-list p { margin: 0; font-size: 0.9rem; }

/* =========================================================
   SERVICE CARDS
   ========================================================= */
.services-section { background: var(--grey-light); }
.card-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px;
}
.service-card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); border: 1px solid var(--grey-mid);
  transition: var(--transition); display: flex; flex-direction: column;
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.service-card .thumb { position: relative; aspect-ratio: 3/2; overflow: hidden; }
.service-card .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: var(--transition);
}
.service-card:hover .thumb img { transform: scale(1.08); }
.service-card .float-icon {
  position: absolute; top: 14px; left: 14px; width: 46px; height: 46px; border-radius: 12px;
  background: var(--navy-deep); color: var(--gold-light); display: grid; place-items: center;
  font-size: 1.15rem; box-shadow: var(--shadow-md);
}
.service-card .body { padding: 22px 20px; display: flex; flex-direction: column; flex: 1; }
.service-card h3 { font-size: 1.12rem; margin-bottom: 10px; }
.service-card p { color: var(--grey-text); font-size: 0.9rem; margin-bottom: 16px; flex: 1; }
.learn-more {
  color: var(--royal); font-weight: 600; font-size: 0.9rem; display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-ui);
}
.learn-more i { transition: var(--transition); }
.learn-more:hover i { transform: translateX(4px); }

/* =========================================================
   WHY CHOOSE US (dark)
   ========================================================= */
.why-section { background: linear-gradient(160deg, var(--navy-deep), var(--navy)); color: #fff; }
.why-section .section-head h2 { color: #fff; }
.why-section .section-head p { color: #c3cddd; }
.why-section .section-label { background: rgba(217,164,65,0.15); color: var(--gold-light); }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.why-card {
  background: linear-gradient(160deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.12); border-radius: var(--radius); padding: 26px 22px;
  transition: var(--transition);
}
.why-card:hover { transform: translateY(-6px); border-color: rgba(217,164,65,0.5); box-shadow: var(--shadow-lg); }
.why-card .num {
  font-family: var(--font-head); font-size: 1.6rem; color: var(--gold-light);
  width: 54px; height: 54px; border-radius: 14px; background: rgba(217,164,65,0.12);
  display: grid; place-items: center; margin-bottom: 16px;
}
.why-card h3 { color: #fff; font-size: 1.08rem; margin-bottom: 8px; }
.why-card p { color: #b7c2d4; font-size: 0.88rem; }

/* =========================================================
   INDUSTRIES
   ========================================================= */
.industry-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.industry-card {
  border-radius: var(--radius); overflow: hidden; position: relative; min-height: 260px;
  display: flex; align-items: flex-end; color: #fff; box-shadow: var(--shadow-sm);
}
.industry-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; transition: var(--transition); }
.industry-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(11,31,58,0.92), rgba(11,31,58,0.15)); z-index: 1; }
.industry-card:hover img { transform: scale(1.08); }
.industry-card .info { position: relative; z-index: 2; padding: 22px; }
.industry-card .info .ic { color: var(--gold-light); font-size: 1.3rem; margin-bottom: 8px; }
.industry-card h3 { color: #fff; font-size: 1.12rem; margin-bottom: 6px; }
.industry-card p { color: #d3dbe8; font-size: 0.85rem; margin-bottom: 10px; }
.industry-card .explore { color: var(--gold-light); font-weight: 600; font-size: 0.85rem; display: inline-flex; gap: 6px; align-items: center; }

/* =========================================================
   FINAL CTA
   ========================================================= */
.cta-section {
  position: relative; color: #fff; padding: 96px 0;
  background: linear-gradient(110deg, rgba(11,31,58,0.94) 40%, rgba(18,41,77,0.78)),
    url("https://res.cloudinary.com/dsn3p1co7/image/upload/v1785670702/7e34e46391e14a73c2ec17ad62a79dde_xfngaw.jpg") center/cover no-repeat;
  /* TODO: Replace CTA background image with Cloudinary URL */
}
.cta-inner { max-width: 700px; }
.cta-section .section-label { background: rgba(217,164,65,0.16); color: var(--gold-light); }
.cta-section h2 { color: #fff; font-size: clamp(1.8rem, 3.8vw, 2.7rem); margin-bottom: 18px; }
.cta-section p { color: #d3dbe8; margin-bottom: 26px; font-size: 1.05rem; }
.cta-contacts { display: flex; flex-wrap: wrap; gap: 22px; margin-bottom: 30px; }
.cta-contacts li { display: flex; align-items: center; gap: 10px; font-size: 0.95rem; }
.cta-contacts i { color: var(--gold-light); width: 20px; text-align: center; }
.cta-buttons { display: flex; flex-wrap: wrap; gap: 14px; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer { background: var(--black); color: #c4ccd8; padding: 66px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.4fr 1.4fr; gap: 40px; }
.footer-brand { display: flex; align-items: center; gap: 13px; margin-bottom: 18px; }
.footer-brand .logo-chip {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px;
  background: #fff; flex-shrink: 0; overflow: hidden;
}
.footer-brand img { width: 88%; height: 88%; object-fit: contain; }
.footer-brand .name { font-family: var(--font-head); color: #fff; font-size: 1.18rem; font-weight: 700; letter-spacing: 0.5px; }
.footer-brand .sub { font-family: var(--font-ui); font-size: 0.62rem; font-weight: 600; letter-spacing: 1.6px; color: var(--gold-light); text-transform: uppercase; }
.site-footer p { font-size: 0.9rem; color: #97a1b2; }
.footer-col h4 { color: #fff; font-family: var(--font-ui); font-weight: 700; font-size: 0.98rem; letter-spacing: 0.3px; margin-bottom: 18px; position: relative; padding-bottom: 10px; }
.footer-col h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 36px; height: 2px; background: var(--gold); }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a { font-size: 0.9rem; color: #a9b2c1; transition: var(--transition); }
.footer-col ul a:hover { color: var(--gold-light); padding-left: 5px; }
.footer-contact li { display: flex; gap: 12px; margin-bottom: 14px; font-size: 0.9rem; color: #a9b2c1; }
.footer-contact i { color: var(--gold-light); width: 18px; text-align: center; margin-top: 4px; }
.social-icons { display: flex; gap: 12px; margin-top: 18px; }
.social-icons a {
  width: 40px; height: 40px; border-radius: 10px; background: rgba(255,255,255,0.08);
  display: grid; place-items: center; color: #fff; transition: var(--transition);
}
.social-icons a:hover { background: var(--gold); color: var(--navy-deep); transform: translateY(-3px); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1); margin-top: 50px; padding: 22px 0;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
  font-size: 0.85rem; color: #8b94a4;
}
.footer-bottom .links a { color: #a9b2c1; margin-left: 16px; }
.footer-bottom .links a:hover { color: var(--gold-light); }

/* =========================================================
   BACK TO TOP
   ========================================================= */
.back-to-top {
  position: fixed; bottom: 26px; right: 26px; width: 48px; height: 48px; border-radius: 50%;
  background: var(--royal); color: #fff; border: none; cursor: pointer; font-size: 1.1rem;
  display: grid; place-items: center; opacity: 0; visibility: hidden; transform: translateY(15px);
  transition: var(--transition); z-index: 900; box-shadow: var(--shadow-md);
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--royal-light); }

/* =========================================================
   SCROLL REVEAL
   ========================================================= */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s cubic-bezier(.2,.7,.3,1), transform 0.7s cubic-bezier(.2,.7,.3,1); }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* Stagger reveal timing within common grids */
.card-grid .reveal:nth-child(1), .why-grid .reveal:nth-child(1), .value-grid .reveal:nth-child(1),
.industry-grid .reveal:nth-child(1), .team-grid .reveal:nth-child(1), .contact-cards .reveal:nth-child(1) { transition-delay: 0s; }
.card-grid .reveal:nth-child(2), .why-grid .reveal:nth-child(2), .value-grid .reveal:nth-child(2),
.industry-grid .reveal:nth-child(2), .team-grid .reveal:nth-child(2), .contact-cards .reveal:nth-child(2) { transition-delay: 0.08s; }
.card-grid .reveal:nth-child(3), .why-grid .reveal:nth-child(3), .value-grid .reveal:nth-child(3),
.industry-grid .reveal:nth-child(3), .team-grid .reveal:nth-child(3), .contact-cards .reveal:nth-child(3) { transition-delay: 0.16s; }
.card-grid .reveal:nth-child(4), .why-grid .reveal:nth-child(4), .value-grid .reveal:nth-child(4),
.industry-grid .reveal:nth-child(4), .contact-cards .reveal:nth-child(4) { transition-delay: 0.24s; }
.card-grid .reveal:nth-child(5), .why-grid .reveal:nth-child(5), .value-grid .reveal:nth-child(5),
.industry-grid .reveal:nth-child(5) { transition-delay: 0.32s; }
.card-grid .reveal:nth-child(6), .why-grid .reveal:nth-child(6), .value-grid .reveal:nth-child(6),
.industry-grid .reveal:nth-child(6) { transition-delay: 0.4s; }
.card-grid .reveal:nth-child(7), .why-grid .reveal:nth-child(7), .value-grid .reveal:nth-child(7),
.industry-grid .reveal:nth-child(7) { transition-delay: 0.48s; }
.card-grid .reveal:nth-child(8), .why-grid .reveal:nth-child(8), .value-grid .reveal:nth-child(8),
.industry-grid .reveal:nth-child(8) { transition-delay: 0.56s; }

/* Hero entrance sequence */
@keyframes heroFadeUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }
.hero .eyebrow { animation: heroFadeUp 0.8s cubic-bezier(.2,.7,.3,1) both; }
.hero h1 { animation: heroFadeUp 0.9s 0.12s cubic-bezier(.2,.7,.3,1) both; }
.hero p { animation: heroFadeUp 0.9s 0.24s cubic-bezier(.2,.7,.3,1) both; }
.hero-buttons { animation: heroFadeUp 0.9s 0.36s cubic-bezier(.2,.7,.3,1) both; }

/* Nav underline hover sweep */
.main-nav a { overflow: hidden; }
.main-nav a::before {
  content: ""; position: absolute; left: 11px; right: 11px; bottom: 4px; height: 2px;
  background: var(--royal); transform: scaleX(0); transform-origin: left; transition: transform 0.35s ease;
}
body.home-page .site-header:not(.scrolled) .main-nav a::before { background: var(--gold-light); }
.main-nav a:hover::before { transform: scaleX(1); }
.main-nav a.active::before { display: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

/* =========================================================
   VALUES / GENERIC ICON CARDS
   ========================================================= */
.value-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.value-card {
  background: #fff; border: 1px solid var(--grey-mid); border-radius: var(--radius); padding: 28px 22px;
  text-align: center; transition: var(--transition);
}
.value-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--royal); }
.value-card .ic {
  width: 58px; height: 58px; border-radius: 16px; margin: 0 auto 16px;
  background: rgba(30,79,163,0.09); color: var(--royal);
  display: grid; place-items: center; font-size: 1.35rem; transition: var(--transition);
}
.value-card:hover .ic { background: var(--royal); color: #fff; transform: scale(1.06); }
.value-card h3 { font-size: 1.08rem; margin-bottom: 8px; }
.value-card p { color: var(--grey-text); font-size: 0.88rem; }

/* =========================================================
   VISION / MISSION
   ========================================================= */
.vm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.vm-card {
  border-radius: var(--radius); padding: 40px 34px; color: #fff; position: relative; overflow: hidden;
}
.vm-card.vision { background: linear-gradient(150deg, var(--royal), var(--navy)); }
.vm-card.mission { background: linear-gradient(150deg, var(--navy-deep), var(--charcoal)); }
.vm-card .ic { font-size: 2rem; color: var(--gold-light); margin-bottom: 16px; }
.vm-card h3 { color: #fff; font-size: 1.5rem; margin-bottom: 14px; }
.vm-card p { color: #dbe2ee; }
.vm-card ul { margin-top: 14px; display: grid; gap: 8px; }
.vm-card ul li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.92rem; color: #e2e8f2; }
.vm-card ul i { color: var(--gold-light); margin-top: 5px; }

/* =========================================================
   STORY / OVERVIEW SPLIT
   ========================================================= */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.split.alt { direction: rtl; }
.split.alt > * { direction: ltr; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.split-text h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); margin-bottom: 18px; }
.split-text p { color: var(--grey-text); margin-bottom: 16px; }
.split-text ul { display: grid; gap: 10px; margin-top: 8px; }
.split-text ul li { display: flex; gap: 12px; align-items: flex-start; }
.split-text ul i { color: var(--royal); margin-top: 5px; }

/* =========================================================
   LEADERSHIP
   ========================================================= */
.leader-section { background: var(--grey-light); position: relative; overflow: hidden; }
.leader-grid { display: grid; grid-template-columns: 380px 1fr; gap: 56px; align-items: center; }
.leader-photo { position: relative; }
.leader-photo::before {
  content: ""; position: absolute; top: -16px; left: -16px; right: 28px; bottom: 28px;
  border: 2px solid var(--gold); border-radius: var(--radius); z-index: 0;
}
.leader-photo .frame {
  position: relative; z-index: 1; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-lg); aspect-ratio: 4 / 5;
}
.leader-photo .frame img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}
.leader-photo .tag {
  position: relative; z-index: 2; margin-top: -54px; margin-left: 18px; margin-right: -18px;
  background: var(--navy-deep); color: #fff;
  padding: 16px 20px; border-radius: 12px; box-shadow: var(--shadow-md);
}
.leader-photo .tag strong { display: block; font-family: var(--font-head); font-size: 1.25rem; font-weight: 700; }
.leader-photo .tag span { font-size: 0.8rem; letter-spacing: 0.5px; color: var(--gold-light); font-family: var(--font-ui); }
.leader-text .quote-mark { font-size: 2.8rem; color: var(--gold); line-height: 1; opacity: 0.7; }
.leader-text p { color: var(--grey-text); margin-bottom: 16px; font-size: 1.04rem; }
.leader-text .signature { font-family: var(--font-head); font-size: 1.35rem; font-style: italic; color: var(--navy-deep); margin-top: 4px; }
.leader-credentials { display: flex; flex-wrap: wrap; gap: 10px; margin: 6px 0 24px; }
.leader-credentials span {
  display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--grey-mid);
  color: var(--navy-deep); font-family: var(--font-ui); font-weight: 600; font-size: 0.82rem;
  padding: 8px 15px; border-radius: 40px; box-shadow: var(--shadow-sm);
}
.leader-credentials i { color: var(--royal); }

/* =========================================================
   OUR TEAM
   ========================================================= */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.team-card {
  background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--grey-mid);
  box-shadow: var(--shadow-sm); transition: var(--transition);
}
.team-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: rgba(217,164,65,0.5); }
.team-card .team-photo { position: relative; aspect-ratio: 4 / 4.5; overflow: hidden; }
.team-card .team-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform 0.6s ease; }
.team-card:hover .team-photo img { transform: scale(1.07); }
.team-card .team-exp {
  position: absolute; top: 14px; right: 14px; background: rgba(11,31,58,0.88); color: var(--gold-light);
  font-family: var(--font-ui); font-weight: 700; font-size: 0.72rem; letter-spacing: 0.4px;
  padding: 6px 12px; border-radius: 40px;
}
.team-card .team-body { padding: 22px 22px 26px; text-align: center; }
.team-card .team-body h3 { font-size: 1.2rem; margin-bottom: 4px; }
.team-card .team-role { color: var(--royal); font-family: var(--font-ui); font-weight: 700; font-size: 0.82rem; letter-spacing: 0.3px; text-transform: uppercase; margin-bottom: 10px; display: block; }
.team-card .team-desc { color: var(--grey-text); font-size: 0.9rem; }
.team-card .team-divider { width: 40px; height: 2px; background: var(--gold); margin: 12px auto 0; }

/* =========================================================
   TIMELINE (Why Choose Us page)
   ========================================================= */
.timeline { position: relative; max-width: 960px; margin: 0 auto; }
.timeline::before {
  content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 3px;
  background: linear-gradient(var(--royal), var(--gold)); transform: translateX(-50%);
}
.tl-item { position: relative; width: 50%; padding: 20px 44px; }
.tl-item:nth-child(odd) { left: 0; text-align: right; }
.tl-item:nth-child(even) { left: 50%; }
.tl-item .dot {
  position: absolute; top: 26px; width: 46px; height: 46px; border-radius: 50%;
  background: var(--navy-deep); color: var(--gold-light); display: grid; place-items: center;
  font-weight: 700; z-index: 2; box-shadow: 0 0 0 6px rgba(30,79,163,0.15);
}
.tl-item:nth-child(odd) .dot { right: -23px; }
.tl-item:nth-child(even) .dot { left: -23px; }
.tl-card { background: #fff; border: 1px solid var(--grey-mid); border-radius: var(--radius); padding: 20px 22px; box-shadow: var(--shadow-sm); }
.tl-card h3 { font-size: 1.08rem; margin-bottom: 6px; }
.tl-card p { color: var(--grey-text); font-size: 0.88rem; }

/* =========================================================
   DETAILED SERVICE BLOCKS (services page)
   ========================================================= */
.service-block { padding: 70px 0; border-bottom: 1px solid var(--grey-mid); scroll-margin-top: calc(var(--header-h) + 12px); }
.service-block:nth-child(even) { background: var(--grey-light); }
.service-block .split { align-items: stretch; }
.service-block .split .service-media { display: flex; }
.service-block .split img {
  width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; object-position: center;
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
  align-self: center;
}
.service-block .service-icon-badge {
  display: inline-flex; align-items: center; gap: 10px; background: rgba(30,79,163,0.1);
  color: var(--royal); padding: 8px 16px; border-radius: 40px; font-weight: 700; font-size: 0.82rem;
  font-family: var(--font-ui); letter-spacing: 0.3px; margin-bottom: 16px;
}
.service-block h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: 14px; }
.service-block > .container > .split .split-text p { margin-bottom: 18px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 22px; }
.chips span { background: #fff; border: 1px solid var(--grey-mid); color: var(--charcoal); padding: 6px 14px; border-radius: 40px; font-size: 0.82rem; }
.service-block:nth-child(even) .chips span { background: #fff; }
.two-col-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 22px; margin: 10px 0 22px; }
.two-col-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.92rem; color: var(--charcoal); }
.two-col-list i { color: var(--royal); margin-top: 5px; }
.mini-head { font-family: var(--font-ui); font-weight: 700; color: var(--navy-deep); margin: 10px 0 8px; font-size: 0.92rem; text-transform: uppercase; letter-spacing: 0.6px; }

/* =========================================================
   INDUSTRIES PAGE DETAIL
   ========================================================= */
.ind-block { padding: 64px 0; border-bottom: 1px solid var(--grey-mid); }
.ind-block:nth-child(even) { background: var(--grey-light); }
.ind-block .split { align-items: center; }
.card-soft { background: #fff; border: 1px solid var(--grey-mid); border-radius: var(--radius-sm); padding: 18px 20px; }
.card-soft h4 { font-family: var(--font-body); font-size: 0.95rem; color: var(--navy-deep); margin-bottom: 8px; }
.card-soft ul { display: grid; gap: 7px; }
.card-soft ul li { display: flex; gap: 9px; font-size: 0.88rem; color: var(--grey-text); }
.card-soft ul i { color: var(--royal); margin-top: 4px; }
.dual-card { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 18px 0; }

/* =========================================================
   GALLERY
   ========================================================= */
.gallery-note {
  background: rgba(217,164,65,0.12); border: 1px solid rgba(217,164,65,0.4); border-radius: var(--radius-sm);
  padding: 16px 20px; color: #7a5f1d; font-size: 0.9rem; display: flex; gap: 12px; align-items: flex-start; margin-bottom: 30px;
}
.gallery-note i { color: var(--gold); margin-top: 3px; }
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 36px; }
.filter-btn {
  padding: 9px 20px; border-radius: 40px; border: 1px solid var(--grey-mid); background: #fff;
  color: var(--charcoal); font-weight: 600; cursor: pointer; font-size: 0.86rem; transition: var(--transition); font-family: var(--font-ui);
}
.filter-btn:hover { border-color: var(--royal); color: var(--royal); }
.filter-btn.active { background: var(--navy-deep); color: #fff; border-color: var(--navy-deep); }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gallery-item { position: relative; border-radius: var(--radius-sm); overflow: hidden; cursor: pointer; aspect-ratio: 4/3; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.gallery-item:hover img { transform: scale(1.09); }
.gallery-item .overlay {
  position: absolute; inset: 0; background: linear-gradient(to top, rgba(11,31,58,0.9), rgba(11,31,58,0));
  display: flex; flex-direction: column; justify-content: flex-end; padding: 18px; color: #fff;
  opacity: 0; transition: var(--transition);
}
.gallery-item:hover .overlay { opacity: 1; }
.gallery-item .overlay .cat { font-size: 0.72rem; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold-light); }
.gallery-item .overlay h4 { color: #fff; font-family: var(--font-body); font-size: 1rem; }
.gallery-item .overlay .zoom { position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,0.2); display: grid; place-items: center; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; background: rgba(8,15,28,0.94); z-index: 2000;
  display: none; align-items: center; justify-content: center; flex-direction: column;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 88%; max-height: 78vh; border-radius: 8px; box-shadow: var(--shadow-lg); }
.lightbox .lb-caption { color: #fff; margin-top: 16px; text-align: center; }
.lightbox .lb-caption .cat { color: var(--gold-light); font-size: 0.8rem; letter-spacing: 1.5px; text-transform: uppercase; }
.lb-btn {
  position: absolute; background: rgba(255,255,255,0.12); border: none; color: #fff; cursor: pointer;
  width: 52px; height: 52px; border-radius: 50%; font-size: 1.3rem; display: grid; place-items: center; transition: var(--transition);
}
.lb-btn:hover { background: var(--royal); }
.lb-prev { left: 26px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 26px; top: 50%; transform: translateY(-50%); }
.lb-close { top: 24px; right: 24px; width: 46px; height: 46px; }

/* =========================================================
   CONTACT PAGE
   ========================================================= */
.contact-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-bottom: 60px; }
.contact-card {
  background: #fff; border: 1px solid var(--grey-mid); border-radius: var(--radius); padding: 28px 22px; text-align: center;
  transition: var(--transition);
}
.contact-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.contact-card .ic {
  width: 56px; height: 56px; border-radius: 16px; margin: 0 auto 18px;
  background: rgba(30,79,163,0.09); color: var(--royal); display: grid; place-items: center; font-size: 1.35rem;
  transition: var(--transition);
}
.contact-card:hover .ic { background: var(--royal); color: #fff; transform: scale(1.06); }
.contact-card h3 { font-size: 1.05rem; margin-bottom: 6px; }
.contact-card p { color: var(--grey-text); font-size: 0.9rem; }
.contact-card a { color: var(--royal); font-weight: 600; }

.contact-layout { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: start; }
.contact-form {
  background: #fff; border: 1px solid var(--grey-mid); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow-sm);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-family: var(--font-ui); font-size: 0.86rem; font-weight: 600; margin-bottom: 7px; color: var(--navy-deep); }
.form-group label .req { color: #d9534f; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--grey-mid); border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: 0.93rem; background: #fdfdfe; transition: var(--transition);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--royal); background: #fff;
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group.error input, .form-group.error select, .form-group.error textarea { border-color: #d9534f; background: #fff6f6; }
.error-msg { color: #d9534f; font-size: 0.8rem; margin-top: 5px; display: none; }
.form-group.error .error-msg { display: block; }
.form-success {
  display: none; background: #e8f6ed; border: 1px solid #9dd6b3; color: #1c6b3c;
  padding: 16px 20px; border-radius: var(--radius-sm); margin-bottom: 20px; font-size: 0.95rem;
}
.form-success.show { display: flex; gap: 12px; align-items: center; }
.form-success i { font-size: 1.3rem; }

.contact-aside { display: grid; gap: 24px; }
.aside-box { background: var(--navy-deep); color: #fff; border-radius: var(--radius); padding: 28px; }
.aside-box h3 { color: #fff; font-size: 1.2rem; margin-bottom: 16px; }
.aside-box ul { display: grid; gap: 14px; }
.aside-box ul li { display: flex; gap: 12px; font-size: 0.92rem; color: #d3dbe8; }
.aside-box ul i { color: var(--gold-light); width: 18px; text-align: center; margin-top: 4px; }
.map-box { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--grey-mid); }
.map-box iframe { width: 100%; height: 260px; border: 0; display: block; }
.map-placeholder {
  height: 260px; background: var(--grey-light); display: grid; place-items: center; color: var(--grey-text); text-align: center; padding: 20px;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
  .card-grid, .why-grid, .industry-grid, .value-grid, .team-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-cards { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 780px) {
  section { padding: 60px 0; }
  .about-preview .grid, .split, .split.alt, .vm-grid, .leader-grid, .contact-layout, .dual-card { grid-template-columns: 1fr; }
  .split.alt { direction: ltr; }
  .about-media .badge { right: 12px; }
  .leader-grid { grid-template-columns: 1fr; }
  .leader-photo { max-width: 340px; margin: 0 auto; }
  /* Timeline to vertical */
  .timeline::before { left: 22px; }
  .tl-item { width: 100%; left: 0 !important; text-align: left !important; padding: 16px 0 16px 62px; }
  .tl-item .dot { left: 0 !important; right: auto !important; top: 20px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 560px) {
  .card-grid, .why-grid, .industry-grid, .value-grid, .gallery-grid, .contact-cards, .team-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .two-col-list { grid-template-columns: 1fr; }
  .hero-buttons .btn, .cta-buttons .btn { flex: 1 1 auto; justify-content: center; }
  .brand-text .name { font-size: 1rem; }
  .lb-prev { left: 12px; } .lb-next { right: 12px; }
}

@media (max-width: 780px) {
  .hero { min-height: 94vh; background-position: 62% center; padding-top: calc(var(--header-h) + 34px); }
  .hero::before { background: linear-gradient(90deg, rgba(5,14,28,.91), rgba(8,24,48,.70)); }
  .hero h1 { font-size: clamp(2.25rem, 11vw, 3.45rem); }
}


/* =========================================================
   FINAL RESPONSIVE HEADER & HERO OVERRIDES
   ========================================================= */
@media (max-width: 1260px) {
  .header-inner { gap: 14px; }
  .main-nav a { padding: 9px 8px; font-size: 0.80rem; }
  .header-cta { margin-left: 5px; }
  .header-cta .btn { padding: 10px 14px; font-size: 0.84rem; }
  .hero-content { width: 50%; max-width: 550px; }
  .hero h1 { font-size: clamp(2.25rem, 3.7vw, 3.55rem); }
}

@media (max-width: 1020px) {
  .main-nav {
    position: fixed;
    top: var(--header-h);
    right: 0;
    width: min(340px, 86%);
    height: calc(100svh - var(--header-h));
    display: flex;
    flex-direction: column;
    align-items: stretch;
    margin-left: 0;
    padding: 22px;
    overflow-y: auto;
    background: var(--navy-deep);
    box-shadow: var(--shadow-lg);
    transform: translateX(105%);
    transition: transform 0.35s ease;
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 4px; width: 100%; }
  .main-nav a,
  body.home-page .site-header:not(.scrolled) .main-nav a,
  .site-header.scrolled .main-nav a {
    width: 100%;
    justify-content: flex-start;
    padding: 13px 12px;
    color: #eef2f8;
    font-size: 0.98rem;
  }
  .main-nav a:hover { background: rgba(255,255,255,0.08); color: #fff; }
  .main-nav a.active { background: rgba(217,164,65,0.15); color: var(--gold-light); }
  .main-nav a.active::after { display: none; }
  .main-nav .header-cta { display: block; margin: 14px 0 0; }
  .main-nav .header-cta .btn { width: 100%; justify-content: center; }
  .hamburger { display: flex; }
  .hero { background-position: 60% center; }
  .hero-content { width: 58%; max-width: 540px; }
  .hero h1 { font-size: clamp(2.2rem, 5.8vw, 3.35rem); }
}

@media (max-width: 700px) {
  :root { --header-h: 66px; }
  .header-inner { padding: 0 16px; }
   
  .brand-text .name { font-size: 1rem; }
  .brand-text .sub { font-size: 0.49rem; letter-spacing: 1.15px; }
  .hero {
    min-height: 100svh;
    align-items: flex-end;
    padding: calc(var(--header-h) + 20px) 0 34px;
    background-position: 61% center;
  }
  .hero::before {
    background: linear-gradient(
      180deg,
      rgba(5,16,31,0.08) 0%,
      rgba(5,16,31,0.30) 34%,
      rgba(5,16,31,0.82) 66%,
      rgba(5,16,31,0.98) 100%
    );
  }
  .hero-content {
    width: 100%;
    max-width: 100%;
    padding: 230px 0 18px;
  }
  .hero .eyebrow { margin-bottom: 12px; font-size: 0.58rem; padding: 7px 13px; }
  .hero h1 { font-size: clamp(2rem, 9.5vw, 2.75rem); line-height: 1; margin-bottom: 14px; }
  .hero p { font-size: 0.84rem; line-height: 1.55; margin-bottom: 18px; }
  .hero-buttons { gap: 8px; }
  .hero-buttons .btn { flex: 1 1 46%; justify-content: center; padding: 10px 13px; font-size: 0.77rem; }
  .scroll-indicator { display: none; }
}


/* =========================================================
   CORRECTED HERO BACKGROUND
   ========================================================= */

.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  margin-top: var(--header-h);

  display: flex;
  align-items: center;
  overflow: hidden;
  color: #ffffff;

  background-image:
    linear-gradient(
      90deg,
      rgba(4, 14, 29, 0.94) 0%,
      rgba(4, 14, 29, 0.82) 28%,
      rgba(4, 14, 29, 0.50) 48%,
      rgba(4, 14, 29, 0.12) 75%,
      rgba(4, 14, 29, 0.03) 100%
    ),
    url("https://res.cloudinary.com/dsn3p1co7/image/upload/v1785603752/ChatGPT_Image_Aug_1_2026_10_34_33_PM_rds9h3.png");

  background-repeat: no-repeat;

  /* This reduces excessive zoom */
  background-size: auto 100%;

  /* Moves the officer slightly right and keeps more of his head visible */
  background-position: right top;

  background-color: #07172b;
}

.hero .container {
  width: 90%;
  max-width: 1600px;
  margin: 0 auto;
}

.hero-content {
  position: relative;
  z-index: 2;

  width: 46%;
  max-width: 650px;

  padding: 42px 0;
}

.hero h1 {
  margin-bottom: 18px;

  font-family: var(--font-head);
  font-size: clamp(2.6rem, 3.8vw, 4.15rem);
  font-weight: 700;
  line-height: 0.96;
  letter-spacing: -1.4px;

  color: #ffffff;
}

.hero h1 span {
  color: var(--gold-light);
}

.hero p {
  max-width: 620px;
  margin-bottom: 26px;

  font-family: var(--font-body);
  font-size: clamp(0.92rem, 1vw, 1.04rem);
  line-height: 1.7;

  color: rgba(255, 255, 255, 0.84);
}


/* =========================================================
   LARGE SCREENS
   ========================================================= */

@media (min-width: 1600px) {
  .hero {
    background-size: cover;
    background-position: center 18%;
  }
}


/* =========================================================
   LAPTOPS
   ========================================================= */

@media (max-width: 1300px) {
  .hero {
    background-size: auto 100%;
    background-position: 72% top;
  }

  .hero-content {
    width: 49%;
  }

  .hero h1 {
    font-size: clamp(2.45rem, 4vw, 3.65rem);
  }
}


/* =========================================================
   TABLETS
   ========================================================= */

@media (max-width: 991px) {
  .hero {
    background-size: cover;
    background-position: 64% center;
  }

  .hero-content {
    width: 60%;
    max-width: 560px;
  }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 700px) {
  .hero {
    min-height: calc(100svh - var(--header-h));
    align-items: flex-end;

    background-size: cover;
    background-position: 62% center;

    background-image:
      linear-gradient(
        180deg,
        rgba(4, 14, 29, 0.08) 0%,
        rgba(4, 14, 29, 0.34) 38%,
        rgba(4, 14, 29, 0.92) 72%,
        rgba(4, 14, 29, 1) 100%
      ),
      url("https://res.cloudinary.com/dsn3p1co7/image/upload/v1785603752/ChatGPT_Image_Aug_1_2026_10_34_33_PM_rds9h3.png");
  }

  .hero-content {
    width: 100%;
    max-width: 100%;
    padding: 280px 0 52px;
  }
}

.gallery-item img{
    width:100%;
    height:320px;
    object-fit:contain;
}


/* Mobile header logo alignment fix */
@media (max-width: 700px) {
  .header-inner {
    padding: 0 16px;
    align-items: center;
  }

  .brand {
  margin-left: 0;
  gap: 10px;
  align-items: center;
}

.brand .logo-chip {
  width: 56px;
  height: 56px;
  flex: 0 0 56px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.brand-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.15;
}
}