/* -----------------------------------------------------------------
   1. CSS Variables & Reset
   ----------------------------------------------------------------- */
:root {
  --color-primary-blue: #0047ab;
  --color-bg-gradient-start: #003278;
  --color-bg-gradient-end: #0053c7;
  --blue-color: #0053c7;
  --color-accent-orange: #ed7d30;
  --color-text-cyan: #8abbff;
  --color-text-white: #ffffff;
  --color-text-dark: #000;
  --color-text-gray: #666666;
  --color-border: rgba(0, 0, 0, 0.4);

  --container-max: 1340px;
  --header-height: 70px;
  --border-radius-card: 12px;
  --border-radius-input: 4px;

  --font-primary: "Afacad", sans-serif;

  --fs-h1: 68px;
  --lh-h1: 70px;
  --fs-h2: 50px;
  --lh-h2: 56px;
  --fs-h3: 28px;
  --lh-h3: 34px;
  --fs-display: 60px;
  --lh-display: 80px;
  --fs-small: 16px;
  --lh-small: 20px;
  --fs-body: 20px;
  --fs-large: 22px;
  --lh-large: 34px;
  --fs-large-bold: 24px;
  --lh-large-bold: 33px;
  --fs-highlight: 22px;
  --lh-highlight: 28px;
  --lh-body: 1.6;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body,
a,
li,
button,
input,
textarea,
select {
  font-family: var(--font-primary);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--color-text-dark);
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}
a {
  text-decoration: none;
  color: inherit;
}
ul {
  list-style: none;
}

h1 {
  font-size: var(--fs-h1);
  line-height: var(--lh-h1);
  font-weight: 700;
}
h2 {
  font-size: var(--fs-h2);
  line-height: var(--lh-h2);
  font-weight: 700;
}

h3 {
  font-size: var(--fs-h3);
  line-height: var(--lh-h3);
  font-weight: 600;
}
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 30px;
  width: 100%;
}

.text-blue {
  color: var(--blue-color);
}

/* Initial state for the entire page */
body {
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
}

/* State when the page has fully loaded */
body.page-loaded {
  opacity: 1;
}

/* Optional: Smoothly reveal sections as they enter the viewport */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-on-scroll.active {
  opacity: 1;
  transform: none;
}


/* -----------------------------------------------------------------
   Menu-Bar
   ----------------------------------------------------------------- */

/* Sidebar Container */
.mobile-sidebar {
  position: fixed;
  top: 0;
  right: -100%; /* Hidden by default */
  max-width: 485px;
  width: 85%;
  height: 100%;
  overflow-y: auto;
  background: #fff;
  z-index: 10000;
  transition: right 0.3s ease-in-out;
  display: flex;
  flex-direction: column;
}

.mobile-sidebar.open {
  right: 0;
}

/* Backdrop Overlay */
.menu-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 9999;
  display: none;
}

.menu-backdrop.active {
  display: block;
}

/* Header Section */
.sidebar-header {
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}

.sidebar-logo img {
  height: 37px;
}

.close-menu {
  background: none;
  border: none;
  cursor: pointer;
}

.close-menu img {
  width: 28px;
}

.sidebar-nav ul {
  list-style: none;
  padding: 0;
  margin-bottom: 90px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.sidebar-link {
  display: flex;
  align-items: center;
  padding: 15px 32px;
  text-decoration: none;
  transition: background 0.2s;
  gap: 15px;
}

.sidebar-link:hover {
  background-color: #eef5ff; /* Light blue tint */
  color: var(--blue-color);
}

.sidebar-link.active {
  background-color: #eef5ff; /* Light blue tint */
  color: var(--blue-color);
}

.sidebar-link:hover .nav-icon,
.sidebar-link.active .nav-icon {
  filter: brightness(0) saturate(100%) invert(14%) sepia(98%) saturate(4236%)
    hue-rotate(213deg) brightness(92%) contrast(105%);
}

.nav-home {
  filter: brightness(0) saturate(100%) invert(55%) sepia(84%) saturate(1732%)
    hue-rotate(357deg) brightness(96%) contrast(96%);
}

.nav-icon {
  width: 32px;
  height: 32px;
}

/* Footer & CTA */
.sidebar-footer {
  padding: 0px 30px 30px;
  text-align: center;
}

.btn-sidebar-contact {
  display: block;
  width: 100%;
}

/* -----------------------------------------------------------------
   2. Header Section
   ----------------------------------------------------------------- */
.site-header {
  margin-top: 20px;
  position: sticky;
  top: 0px;
  background-color: transparent;
  display: flex;
  align-items: center;
  z-index: 100;
}

.header-inner {
  height: var(--header-height);
  background: #fff;
  max-width: 1360px;
  width: 95%;
  margin: 0px auto;
  padding: 0 25px;
  border-radius: 6px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Active sticky state applied via JS */
.header-inner.sticky-active {
  width: 100%;
  max-width: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 24px;
  font-weight: 800;
  text-transform: uppercase;
}

.logo-text-blue {
  color: #0c4ca3;
}
.logo-text-orange {
  color: var(--color-accent-orange);
}

.nav-menu {
  display: flex;
  gap: 30px;
  align-items: center;
}

.nav-links-btn {
  display: flex;
  gap: 30px;
  align-items: center;
}

.nav-link {
  font-weight: 500;
  color: #000;
}

.nav-link.active {
  color: #0053c7;
}

.nav-link:hover {
  color: #0053c7;
}

.header-actions {
  display: flex;
  gap: 18px;
  align-items: center;
}

.btn-contact,
.btn-download {
  background-color: var(--blue-color);
  color: #fff;
  padding: 10px 24px;
  border-radius: 4px;
  border: none;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  transition: 0.3s all ease;
}

.btn-contact:hover,
.btn-download:hover {
  background-color: var(--color-accent-orange);
}

.hamburger {
  display: none;
  cursor: pointer;
}

.section-heading {
  margin: 6px 0 18px;
}

/* --- About Hero Layout --- */
.hero-banner {
  margin-top: -90px;
  background: linear-gradient(
    90deg,
    var(--color-bg-gradient-start) 0%,
    var(--color-bg-gradient-end) 100%
  );
  padding: 140px 0 30px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: visible; /* Allows breadcrumb to hang out */
}

.hero-content-wrapper {
  max-width: 990px;
  width: 100%;
  margin: 0 auto;
  position: relative;
  z-index: 5;
}

.hero-banner h1 {
  margin-bottom: 8px;
}

.hero-banner p {
  width: 100%;
  margin: 0 auto;
  font-size: var(--fs-body);
  line-height: var(--lh-body);
}

/* --- Breadcrumb Box --- */
.breadcrumb-wrapper {
  position: absolute;
  bottom: -30px; /* Positions it exactly on the section line */
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

.breadcrumb {
  position: relative;
  z-index: 2;
  bottom: -65px;
  width: fit-content;
  margin: 0 auto;
  background: #fff;
  padding: 13px 15px;
  border-radius: 6px;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  display: flex;
  font-size: var(--fs-small) !important;
  line-height: var(--lh-small) !important;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
}

.breadcrumb a {
  color: #0053c7;
  font-size: var(--fs-small) !important;
  line-height: var(--lh-small) !important;
  font-weight: 400;
  overflow-x: visible;
}

.active-page {
  color: #000;
}

/* -----------------------------------------------------------------
   3. Hero Section
   ----------------------------------------------------------------- */
.hero-section {
  position: relative;
  background: linear-gradient(
    90deg,
    var(--color-bg-gradient-start) 0%,
    var(--color-bg-gradient-end) 100%
  );
  overflow: hidden;
  padding: 0;
  color: var(--color-text-white);
}

.hero-section .container {
  max-width: 1420px;
  padding: 100px 30px 0;
}

.banner-left-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("../assets/icons/banner-bg-pattern-left.png");
  background-repeat: no-repeat;
  opacity: 1;
  pointer-events: none;
}

.pattern-binary {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%; /* Constrain width so it doesn't overlap the left pattern */
  height: 100%;
  background: url("../assets/icons/binary-pattern-white.png") no-repeat right
    center;
  background-repeat: no-repeat;
  background-position: top right; /* Explicitly pin the image to the top right */
  opacity: 1;
  pointer-events: none;
  z-index: 1; /* Ensure it stays behind the content but visible */
}

/* --- Footer Styling --- */
.site-footer {
  background-color: #003278; /* Deep blue from image */
  color: #fff;
  padding: 60px 0 0;
  position: relative;
  overflow: hidden;
}

.footer-pattern {
  position: absolute;
  top: -30%;
  right: 0;
  width: 100%; /* Constrain width so it doesn't overlap the left pattern */
  height: 100%;
  background: url("../assets/icons/footer-pattern.webp");
  background-repeat: no-repeat;
  background-position: top right; /* Explicitly pin the image to the top right */
  opacity: 1;
  pointer-events: none;
  z-index: 1; /* Ensure it stays behind the content but visible */
}

.footer-main-grid {
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 0.82fr 1fr 1.55fr 0.9fr;
  gap: 40px;
  padding-bottom: 40px;
  position: relative;
  z-index: 2;
}

.paper-plane-decoration {
  position: absolute;
  left: 12%;
  bottom: 20%;
}

.footer-brand {
  max-width: 340px;
  width: 100%;
}

.footer-brand .footer-logo img {
  height: 43px;
  margin-bottom: 12px;
}

.footer-links h3 {
  font-size: var(--fs-large-bold);
  line-height: var(--lh-large-bold);
  margin-bottom: 14px;
  font-weight: 700;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links ul li {
  display: flex;
  align-items: flex-start;
  color: var(--color-text-white);
  gap: 10px;
}

/* Orange bullet points */
.footer-links ul li::before {
  content: "";
  position: relative;
  top: 12px;
  width: 8px;
  height: 8px;
  flex-shrink: 0;
  border-radius: 50%;
  background-color: var(--color-accent-orange);
}

.footer-links ul li a {
  transition: 0.3s;
}

.footer-links ul li a:hover {
  color: var(--color-accent-orange);
}

.copyright-bar {
  position: relative;
  z-index: 2;
  background-color: #214d8a; /* Lighter blue bar */
  text-align: center;
  padding: 10px 0;
  font-size: var(--fs-small) !important;
  line-height: var(--lh-small) !important;
}

.text-orange {
  color: var(--color-accent-orange);
}

.official-badge {
  display: flex;
  align-items: center;
  background-color: #ebf2ff; /* Light blue tint from image */
  color: var(--blue-color); /* Brand blue color */
  padding: 6px 12px;
  border-radius: 50px; /* Pill shape */
  font-size: var(--fs-small);
  line-height: var(--fs-small);
  font-weight: 600;
  gap: 6px;
  width: fit-content;
  margin: 0 auto 14px;
}

.status-dot {
  width: 8px;
  height: 8px;
  background-color: var(--blue-color); /* Solid blue dot */
  border-radius: 50%;
}

/* Container Section */
.verification-section {
  background-color: #ebf2ff; /* Light blue background */
  padding: 50px 0;
  text-align: center;
}

.verification-box {
  max-width: 720px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 50px;
}

/* Verification Input Card */
.verify-card {
  position: relative;
  background: #ffffff;
  max-width: 720px;
  width: 100%;
  margin: 0 auto;
  padding: 12px 15px;
  border-radius: 6px;
}

.verify-input-group {
  display: flex;
  gap: 15px;
}

.verify-input-group input::placeholder {
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  font-weight: 500;
  color: rgba(0, 0, 0, 0.4);
}

.verify-input {
  flex: 1;
  border: none;
  padding: 0px 10px;
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  outline: none;
  color: #000000;
}

/* Verify Button */
.btn-verify {
  background-color: var(--blue-color);
  color: #fff;
  padding: 8px 35px;
  border: none;
  border-radius: 4px;
  outline: none;
  font-weight: 500;
  transition: 0.3s all ease;
}

.btn-verify:hover {
  background-color: var(--color-accent-orange);
}

.status-text {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  text-align: left;
  gap: 8px;
  margin: 0 auto;
}

.star-icon {
  position: relative;
  top: 4px;
  width: 24px;
  height: 24px;
}

.autocomplete-dropdown {
  position: absolute;
  top: 100%;
  left: 15px;
  right: 15px;
  background: #fff;
  border: 1px solid #ddd;
  border-top: none;
  list-style: none;
  padding: 0;
  margin: 0;
  max-height: 200px;
  overflow-y: auto;
  z-index: 100;
  border-radius: 0 0 6px 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  display: none; /* Hidden by default [cite: 28] */
  text-align: left;
}

.autocomplete-dropdown li {
  padding: 12px 20px;
  cursor: pointer;
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  transition: background 0.2s;
}

.autocomplete-dropdown li:hover {
  background-color: #f0f7ff;
  color: var(--blue-color);
}

/* -----------------------------------------------------------------
   4. TABLET BREAKPOINT
   ----------------------------------------------------------------- */
@media (max-width: 1300px) {
  :root {
    --fs-small: 15px;
    --fs-h1: 60px;
    --lh-h1: 64px;
    --fs-h2: 45px;
    --lh-h2: 52px;
    --fs-h3: 26px;
    --lh-h3: 32px;
    --fs-display: 54px;
    --lh-display: 72px;
    --fs-large: 21px;
    --lh-large: 32px;
    --fs-large-bold: 22px;
    --lh-large-bold: 30px;
    --fs-body: 19px;
    --fs-highlight: 20px;
    --lh-highlight: 26px;
  }

  .section-heading {
    margin: 0 0 14px;
  }

  .hero-banner {
    padding: 130px 0 30px;
  }

  .hero-banner p {
    width: 80%;
  }

  .breadcrumb {
    bottom: -40px;
  }

  .hero-section .container {
    padding: 80px 30px 0;
  }

  .verification-box {
    gap: 32px;
  }
}

@media (max-width: 1100px) {
  :root {
    --fs-body: 18px;
    --fs-h1: 55px;
    --lh-h1: 58px;
    --fs-h2: 44px;
    --lh-h2: 50px;
    --fs-h3: 26px;
    --lh-h3: 32px;
    --fs-display: 52px;
    --lh-display: 68px;
    --fs-large: 20px;
    --lh-large: 30px;
    --fs-large-bold: 22px;
    --lh-large-blod: 30px;
  }

  .nav-menu {
    display: none;
  }
  .hamburger {
    display: block;
  }

  .hero-section .container {
    padding: 70px 30px 0;
  }

  .hero-banner p {
    width: 90%;
  }

  .banner-left-pattern {
    left: -20%;
  }

  .pattern-binary {
    top: -5%;
  }

  .verification-box {
    max-width: 640px;
  }

  .footer-pattern {
    top: -25%;
  }

  .paper-plane-decoration {
    left: 22%;
    bottom: 15%;
  }

  .footer-main-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 33px;
  }

  .footer-links ul li::before {
    top: 10px;
  }

  .footer-grid {
    grid-template-columns: 0.7fr 1fr 1.6fr 0.8fr;
    gap: clamp(18px, 2vw, 50px);
  }
}

/* -----------------------------------------------------------------
   5. MOBILE BREAKPOINT
   ----------------------------------------------------------------- */
@media (max-width: 767px) {
  :root {
    --header-height: 50px;
    --fs-h1: 36px;
    --lh-h1: 44px;
    --fs-h2: 30px;
    --lh-h2: 36px;
    --fs-h3: 24px;
    --lh-h3: 30px;
    --fs-display: 32px;
    --lh-display: 40px;
    --fs-highlight: 18px;
    --lh-highlight: 24px;
    --fs-large: 19px;
    --lh-large: 27px;
    --fs-large-bold: 20px;
    --lh-large-blod: 28px;
    --fs-small: 14px;
    --lh-small: 22px;
  }

  .section-heading {
    margin: 0 0 12px;
  }

  .container {
    padding: 0 20px;
  }

  .breadcrumb {
    bottom: -40px;
    padding: 10px 15px;
  }

  .logo img {
    height: 28px;
    width: auto;
  }

  .btn-contact,
  .btn-download {
    display: none;
  }

  .btn-sidebar-contact {
    display: block;
  }

  .hero-section .container {
    padding: 40px 20px 0;
  }

  .verification-section {
    padding: 40px 0;
  }

  .hero-banner p {
    width: 100%;
  }

  .verification-box {
    gap: 18px;
  }

  .verify-card {
    padding: 8px 12px;
  }

  .btn-verify {
    padding: 8px 30px;
  }

  .verify-input {
    width: 95%;
    padding: 0px;
  }

  .star-icon {
    width: 20px;
    height: 20px;
  }

  .site-footer {
    padding: 40px 0 0;
  }

  .footer-pattern {
    top: 25%;
  }

  .paper-plane-decoration {
    transform: scaleX(-1);
    top: 20%;
    right: 10%;
    bottom: revert;
    left: revert;
  }

  .footer-brand .footer-logo img {
    height: 30px;
    margin-bottom: 4px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: left;
    gap: 26px;
  }

  .footer-links h3 {
    margin-bottom: 8px;
  }
}

@media (max-width: 500px) {
  .sidebar-logo img {
    height: 30px;
  }

  .close-menu img {
    width: 22px;
  }

  .sidebar-header {
    margin-bottom: 26px;
  }

  .sidebar-nav ul {
    gap: 10px;
    margin-bottom: 56px;
  }

  .sidebar-link {
    padding: 10px 16px;
  }

  .nav-icon {
    width: 24px;
    height: 24px;
  }

  .sidebar-footer {
    padding: 0px 35px 30px;
  }

  .banner-left-pattern {
    left: -50%;
  }

  .pattern-binary {
    top: -15%;
    background: url("../assets/icons/binary-pattern-white-mob.png");
    background-repeat: no-repeat;
    background-position: top right;
  }
}
