/* ================= GLOBAL ================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background: #f7f9fc;
  color: #0b1f38;
  line-height: 1.6;
}

.container {
  width: 90%;
  max-width: 1150px;
  margin: auto;
}

.section {
  padding: 80px 0;
}

.light-bg {
  background: #ffffff;
}

h1, h2, h3, h4 {
  color: #002d62;
}

h2 {
  font-size: 36px;
  margin-bottom: 20px;
}

.section-text {
  max-width: 800px;
  margin: auto;
  font-size: 18px;
  color: #445b78;
}

/* ============================================================================
   HEADER – Clean, Compact, Responsive
============================================================================ */
.header {
    width: 100%;
    padding: 10px 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #ffffff;
    height: 75px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.logo-area {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 55px;
}

/* ============================================================================
   NAVIGATION MENU
============================================================================ */
.navbar .nav-links {
    display: flex;
    list-style: none;
    gap: 36px;
    align-items: center;
}

.navbar ul li {
    position: relative;
}

.navbar ul li a {
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    color: #002D62;
    padding: 8px 0;
    transition: 0.25s;
}

.navbar ul li a:hover {
    color: #0096FF;
}

/* ============================================================================
   STABLE DROPDOWN (DESKTOP)
============================================================================ */
.dropdown {
    position: relative;
}

.mega-menu {
    position: absolute;
    top: 55px;
    left: 0;
    width: 250px;
    padding: 20px 25px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 12px 35px rgba(0,0,0,0.15);

    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
    pointer-events: none;
}

.dropdown:hover .mega-menu,
.dropdown.hover-active .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.dropdown::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 0;
    width: 250px;
    height: 25px;
}

.mega-col h4 {
    font-size: 15px;
    font-weight: 700;
    color: #002D62;
    margin-bottom: 10px;
}

.mega-menu a {
    display: block;
    margin-bottom: 10px;
    font-size: 15px;
    font-weight: 600;
    color: #002D62;
    text-decoration: none;
    transition: 0.2s ease;
}

.mega-menu a:hover {
    color: #0096FF;
    padding-left: 5px;
}

/* ============================================================================
   MOBILE MENU ICON
============================================================================ */
.mobile-menu-icon {
    display: none;
    font-size: 32px;
    cursor: pointer;
}

/* ============================================================================
   MOBILE RESPONSIVE
============================================================================ */
@media (max-width: 900px) {

    .mobile-menu-icon {
        display: block;
    }

    .navbar .nav-links {
        position: absolute;
        top: 75px;
        left: 0;
        width: 100%;
        flex-direction: column;
        background: #ffffff;
        padding: 20px 0;

        max-height: 0;
        overflow: hidden;
        opacity: 0;
        pointer-events: none;
        transition: all 0.35s ease;
    }

    .nav-links.nav-active {
        max-height: 700px;
        opacity: 1;
        pointer-events: auto;
        border-bottom: 1px solid #eee;
    }

    .dropdown:hover .mega-menu {
        display: none;
    }

    .dropdown.open .mega-menu {
        display: block !important;
        position: static;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        pointer-events: auto;
        padding: 12px 20px;
        background: #f4f8ff;
        border-radius: 10px;
        box-shadow: none;
    }
}


/* ================= HERO ================= */
.hero {
  background: linear-gradient(135deg, #002d62, #0056b3);
  padding: 140px 0 120px;
  color: #ffffff;
  text-align: center;
}

.hero h1 {
  font-size: 52px;
  margin-bottom: 20px;
  color: #ffffff;
}

.hero p {
  max-width: 850px;
  margin: auto;
  font-size: 20px;
  opacity: 0.95;
}

.badge {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 13px;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.hero-cta {
  margin-top: 35px;
  display: flex;
  justify-content: center;
  gap: 18px;
}

/* ================= BUTTONS ================= */
.btn-primary {
  background: #0096ff;
  color: #ffffff;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
}

.btn-primary:hover {
  background: #007dd6;
}

.btn-secondary {
  border: 2px solid #ffffff;
  color: #ffffff;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
}

/* ================= GRID ================= */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 50px;
  align-items: center;
}

/* ================= LIST ================= */
.list {
  list-style: none;
}

.list li {
  padding-left: 24px;
  margin-bottom: 14px;
  position: relative;
}

.list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #0096ff;
  font-weight: bold;
}

/* ================= CARDS ================= */
.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.cards.three {
  grid-template-columns: repeat(3, 1fr);
}

.card {
  background: #ffffff;
  padding: 30px;
  border-radius: 14px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.06);
}

.card h4 {
  margin-bottom: 10px;
}

/* ================= BOXES ================= */
.highlight-box,
.framework-box {
  background: linear-gradient(135deg, #e8f3ff, #ffffff);
  padding: 40px;
  border-radius: 16px;
}

/* ================= CTA ================= */
.cta {
  background: #002d62;
  color: #ffffff;
  padding: 80px 0;
  text-align: center;
}

.cta h2 {
  color: #ffffff;
  margin-bottom: 30px;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 900px) {
  .grid-2,
  .cards,
  .cards.three {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 38px;
  }
}

.btn-primary,
.btn-secondary {
  background: #0096ff;        /* Nexora blue */
  color: #ffffff;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  transition: background 0.3s ease;
}

/* Optional hover effect */
.btn-primary:hover,
.btn-secondary:hover {
  background: #007dd6;
}

/* ======================================================
   MOBILE RESPONSIVE FIXES – NEXORA TECH
====================================================== */
@media (max-width: 768px) {

  /* ---- HERO SECTION ---- */
  .hero {
    padding: 110px 0 80px;
  }

  .hero h1 {
    font-size: 34px;
    line-height: 1.2;
  }

  .hero p {
    font-size: 16px;
    padding: 0 10px;
  }

  /* ---- CTA BUTTONS STACK ---- */
  .hero-cta {
    flex-direction: column;
    gap: 14px;
    width: 100%;
    padding: 0 20px;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    text-align: center;
    padding: 16px;
    font-size: 16px;
  }

  /* ---- SECTIONS ---- */
  .section {
    padding: 60px 0;
  }

  h2 {
    font-size: 28px;
    text-align: center;
  }

  .section-text {
    font-size: 16px;
    text-align: center;
  }

  /* ---- GRIDS TO SINGLE COLUMN ---- */
  .grid-2 {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .cards,
  .cards.three {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  /* ---- CARDS ---- */
  .card {
    padding: 24px;
  }

  /* ---- BOXES ---- */
  .highlight-box,
  .framework-box {
    padding: 28px;
    text-align: center;
  }

  /* ---- LIST ---- */
  .list li {
    font-size: 15px;
  }

  /* ---- CTA SECTION ---- */
  .cta {
    padding: 70px 20px;
  }

  .cta h2 {
    font-size: 26px;
  }
}

/* ======================================================
   SMALL DEVICES (PHONES < 420px)
====================================================== */
@media (max-width: 420px) {

  .hero h1 {
    font-size: 30px;
  }

  .hero p {
    font-size: 15px;
  }

  h2 {
    font-size: 24px;
  }

  .btn-primary,
  .btn-secondary {
    font-size: 15px;
  }
}

/* ======================================================
   FRACTIONAL CXO – SPLIT HERO (LEFT CONTENT / RIGHT IMAGE)
====================================================== */

.hero-split {
  background: linear-gradient(135deg, #002d62, #0056b3);
  padding: 140px 0 120px;
  color: #ffffff;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.hero-content {
  text-align: left;
}

.hero-content h1 {
  font-size: 48px;
  margin: 20px 0;
  color: #ffffff;
}

.hero-content p {
  font-size: 18px;
  max-width: 560px;
  opacity: 0.95;
}

.hero-cta {
  margin-top: 30px;
  display: flex;
  gap: 16px;
}

/* ---------- IMAGE ---------- */
.hero-image img {
  width: 100%;
  max-width: 520px;
  border-radius: 16px;
  object-fit: contain;
  box-shadow: 0 30px 60px rgba(0,0,0,0.35);
}

/* ======================================================
   RESPONSIVE
====================================================== */
@media (max-width: 900px) {

  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content {
    text-align: center;
  }

  .hero-content p {
    margin: auto;
  }

  .hero-cta {
    justify-content: center;
    flex-direction: column;
  }

  .hero-image img {
    max-width: 100%;
    margin-top: 40px;
  }
}

/* ================= HERO SECTION ================= */
.hero {
  background: linear-gradient(135deg, #002d62, #0056b3);
  padding: 140px 0 120px;
  color: #ffffff;
}

/* Layout */
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: flex-start; /* KEY FIX */
}

/* Left Content */
.hero-content {
  text-align: left;
  margin-top: 20px; /* Vertical alignment fix */
}

/* Badge */
.badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  padding: 8px 18px;
  border-radius: 30px;
  font-size: 13px;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

/* Heading */
.hero-content h1 {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.15;
  margin: 18px 0 16px;
  color: #ffffff;
}

/* Paragraph */
.hero-content p {
  font-size: 18px;
  max-width: 560px;
  opacity: 0.95;
  margin-bottom: 28px;
}

/* CTA Buttons */
.hero-cta {
  display: flex;
  gap: 16px;
  align-items: center;
}

/* Buttons */
.btn-primary,
.btn-secondary {
  background: #0096ff;
  color: #ffffff;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  transition: background 0.3s ease;
}

.btn-primary:hover,
.btn-secondary:hover {
  background: #007dd6;
}

/* Right Image */
.hero-image img {
  width: 100%;
  border-radius: 18px;
  margin-top: 8px; /* Optical alignment polish */
  box-shadow: 0 20px 50px rgba(0,0,0,0.25);
}

/* ================= RESPONSIVE ================= */
@media (max-width: 900px) {
  .hero {
    padding: 110px 0 90px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-content {
    margin-top: 0;
    text-align: center;
  }

  .hero-content p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta {
    justify-content: center;
    flex-direction: column;
    width: 100%;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 420px) {
  .hero-content h1 {
    font-size: 32px;
  }

  .hero-content p {
    font-size: 15px;
  }
}

.cta-micro {
  font-size: 14px;
  opacity: 0.85;
  margin-top: 10px;
  color: #ffffff;
}

/* =========================
   CALLBACK SECTION
========================= */

.callback-section {
    margin-top: 80px;
}

/* Blue Top Bar */
.callback-top {
    background: linear-gradient(135deg, #002c5f, #0056d2);
    color: #fff;
    text-align: center;
    padding: 60px 20px;
}

.callback-top h2 {
    font-size: 32px;
    font-weight: 800;
}

.callback-top p {
    margin: 10px 0 20px;
    font-size: 16px;
    opacity: 0.9;
}

.callback-btn {
    display: inline-block;
    background: #00b4ff;
    color: #fff;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
}

/* Form Area */
.callback-form-area {
    background: #ffffff;
    text-align: center;
    padding: 70px 20px;
}

.callback-form-area h3 {
    font-size: 28px;
    margin-bottom: 8px;
}

.callback-form-area p {
    font-size: 15px;
    margin-bottom: 30px;
    color: #555;
}

/* Form */
.callback-form-area form {
    max-width: 420px;
    margin: auto;
}

.callback-form-area input {
    width: 100%;
    padding: 14px;
    margin-bottom: 14px;
    border-radius: 8px;
    border: 1px solid #cfd9ff;
    font-size: 15px;
}

.callback-form-area button {
    width: 100%;
    padding: 14px;
    background: #0096ff;
    border: none;
    border-radius: 8px;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}

.callback-form-area button:hover {
    background: #0073cc;
}

.cta h2 {
  color: #ffffff !important;
}



