/* bfsi.css — modern split-hero style (Nexora blue theme) */

/* Reset & base */
*{box-sizing:border-box;margin:0;padding:0;-webkit-font-smoothing:antialiased}
html,body{height:100%}
body{font-family:"Inter",system-ui,-apple-system,"Segoe UI",Roboto,Arial;color:#0b1f38;background:#f5f7fb;line-height:1.55}

/* Reusable container */
.container{width:92%;max-width:1180px;margin:0 auto;padding:0 12px}

/* ============================================================================
   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;
    }
}

/* Header */
.header{background:transparent;padding:14px 0}
.header-row{display:flex;justify-content:space-between;align-items:center}
.brand{font-weight:800;color:#00345c;font-size:18px}
.nav a{margin-left:18px;color:#3b5f7f;text-decoration:none;font-weight:600}
.nav a:hover{color:#0077d8}

/* SPLIT HERO */
.hero-split{display:grid;grid-template-columns:58% 38%;gap:2%;align-items:center;padding:44px 0;background:
linear-gradient(180deg,#f7fbff 0%, #f3f7fb 100%);border-bottom:1px solid rgba(3,81,163,0.03)}
.hero-left{padding-right:10px}
.eyebrow{display:inline-block;background:rgba(0,91,176,0.08);color:#003c7d;padding:6px 10px;border-radius:8px;font-weight:700;font-size:13px}
.hero-left h1{font-size:36px;margin:18px 0 12px;color:#07243b;line-height:1.02;font-weight:800}
.lead{color:#375b74;font-size:17px;max-width:620px}
.hero-actions{margin-top:18px;display:flex;gap:12px}
.btn{display:inline-flex;align-items:center;gap:10px;padding:10px 18px;border-radius:10px;font-weight:700;text-decoration:none}
.btn.primary{background:linear-gradient(90deg,#005bb0,#0077d8);color:#fff;box-shadow:0 10px 30px rgba(3,81,163,0.12)}
.btn.ghost{background:transparent;color:#005bb0;border:1px solid rgba(3,81,163,0.12)}
.hero-media {
  width: 100%;
  max-width: 420px;
  height: 260px;
  border-radius: 12px;

  background-image: url("banking-financial-services.png");
  background-size: cover;
  background-position: center;

  box-shadow: 0 18px 48px rgba(9,30,66,0.08);
  border: 1px solid rgba(0,0,0,0.04);
}


/* MAIN PANELS */
.main{padding:36px 0}
.panel{background:#fff;padding:22px;border-radius:12px;box-shadow:0 10px 30px rgba(12,36,64,0.04);margin-bottom:20px;border:1px solid rgba(10,30,60,0.02)}
.panel h2{font-size:22px;color:#00345c;margin-bottom:10px}
.panel p{color:#324d61}

/* GLASS ROW (three cards) */
.glass-row{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:18px 0}
.glass{background:linear-gradient(180deg, rgba(255,255,255,0.9), rgba(255,255,255,0.85));backdrop-filter: blur(6px);padding:18px;border-radius:12px;border:1px solid rgba(3,81,163,0.06);box-shadow:0 8px 24px rgba(9,30,66,0.04)}
.glass h3{color:#00345c;margin-bottom:8px}
.glass ul{color:#35566d;line-height:1.5}

/* OFFERINGS GRID */
.offerings-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px;margin:18px 0}
.offer{background:#fff;padding:18px;border-radius:12px;border:1px solid rgba(8,40,90,0.04);box-shadow:0 10px 26px rgba(9,30,66,0.03)}
.offer h4{color:#003c7d;margin-bottom:8px}
.offer p{color:#3a556e}

/* METRICS */
.metrics{display:flex;gap:18px;margin:20px 0;align-items:stretch}
.metric{flex:1;background:linear-gradient(180deg,#fff,#fbfdff);padding:18px;border-radius:12px;border:1px solid rgba(6,40,90,0.04);text-align:center;box-shadow:0 10px 26px rgba(9,30,66,0.03)}
.metric .num{font-size:28px;color:#0077d8;font-weight:800;margin-bottom:6px}
.metric .label{color:#425e78}

/* CTA STRIP */
.cta-strip{background:linear-gradient(90deg,#0077d8,#005bb0);padding:18px;border-radius:10px;margin:22px 0;color:#fff}
.cta-inner{display:flex;justify-content:space-between;align-items:center;gap:12px}
.cta-inner h3{margin:0;font-size:18px}
.cta-inner p{margin:0;opacity:0.95}

/* FOOTER */
.footer{padding:22px 0;color:#6b879a}
.foot-row{display:flex;justify-content:space-between;align-items:center;gap:12px}

/* Responsive */
@media (max-width:1100px){
  .hero-split{grid-template-columns:1fr;gap:20px;padding:28px 0}
  .hero-media{height:200px}
  .gloss-row{grid-template-columns:1fr}
  .glass-row{grid-template-columns:1fr}
  .offerings-grid{grid-template-columns:1fr}
  .metrics{flex-direction:column}
  .cta-inner{flex-direction:column;align-items:flex-start}
}
@media (max-width:520px){
  .hero-left h1{font-size:22px}
  .hero-media{height:160px}
  .container{padding:0 10px}
  .nav{display:none}
}

/* Option A — subtle right nudge for hero text */
.hero-grid {
  grid-template-columns: 58% 38%; /* small change to column widths */
  gap: 30px;
}

.hero-left {
  padding-left: 40px; /* moves title + buttons right */
}

.btn.ghost {
  background: linear-gradient(90deg, #005bb0, #0077d8);
  color: #fff;
  border: none;
  box-shadow: 0 10px 30px rgba(3,81,163,0.12);
}

.btn.ghost:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 42px rgba(3,81,163,0.18);
}

/* 1. Ensure header is fixed and on top */
header,
.site-header,
#header,
.header {               /* include the classes/IDs used in your template */
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;        /* very high so header stays above hero */
}

/* 2. CSS variable for header height (fallback value) */
:root {
  --header-height: 90px; /* adjust if your header is taller/shorter */
}

/* 3. Push page content down so it does NOT hide behind header */
body {
  padding-top: var(--header-height);
}

/* 4. Make sure hero doesn't use negative margins or a higher z-index */
.hero-section,
.hero,
#hero {
  position: relative;
  z-index: 1;            /* lower than header */
  margin-top: 0 !important; /* override any negative top margins */
  padding-top: 20px;     /* extra breathing room below header */
}

/* 5. If hero has an image card that was overlapping the header */
.hero-section .hero-image,
.hero-image,
.hero-card img {
  display: block;
  position: relative;
  z-index: 1;            /* ensure image is beneath header */
}

/* 6. Responsive tweak: reduce top padding on small screens */
@media (max-width: 768px) {
  :root { --header-height: 70px; }
  .hero-section { padding-top: 12px; }
}

/* Force header to be opaque and on top of everything */
header,
.site-header,
#header,
.header { /* include the selectors your theme actually uses */
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  z-index: 99999 !important;         /* ensure header is above hero/image */
  background-color: #ffffff !important; /* or your header color */
  background-image: none !important;
  box-shadow: 0 6px 20px rgba(8,40,71,0.08) !important; /* subtle separation */
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}

/* If your header has semi-transparent nav links or logo containers, force their background too */
header .nav,
header .nav-wrap,
header .navbar {
  background: transparent !important; /* keep inner transparency if you want */
}

/* Prevent hero/image from overlapping header visually */
.hero-section,
#hero,
.hero {
  z-index: 1 !important;
  margin-top: 0 !important;
}

/* Safety: if any style sets header to transparent on scroll (common in themes), override it */
header.transparent,
header.is-transparent,
.header--transparent,
.header.fixed--transparent {
  background: #ffffff !important;
  box-shadow: 0 6px 20px rgba(8,40,71,0.08) !important;
}

.nav-links, 
.navbar, 
.menu {
    margin-left: 20px !important;   /* adjust until perfect */
    padding-left: 0 !important;
}

/* 1) Make header use left-aligned flex layout */
header,
header .container,
.site-header,
.header {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important; /* keep logo + menu to left */
  gap: 30px !important; /* spacing between logo and nav - change as needed */
  padding-left: 24px !important; /* optional: move whole header inward from the page edge */
}

/* 2) Remove any auto margin on the nav that pushes it right */
header nav,
header .nav,
.navbar,
.nav-links,
.main-nav,
.site-navigation {
  margin-left: 0 !important;
  padding-left: 0 !important;
  transform: none !important;
  justify-self: start !important;
}

/* 3) If the menu is an UL, nudge the UL left */
header nav ul,
header .nav ul,
header .menu ul {
  margin-left: 8px !important; /* reduce gap between logo and first menu item */
  padding-left: 0 !important;
}

/* 4) Make sure logo sits left and gives space to nav */
header .logo,
header .site-logo,
header .brand {
  margin-right: 16px !important;
}

/* =========================================================
   BFSI ENTERPRISE ASSESSMENT – COMPLETE SECTION STYLES
========================================================= */

#bfsi-assessment {
  margin: 40px 0;
  padding: 28px;
}

/* Headline */
#bfsi-assessment h2 {
  font-size: 26px;
  font-weight: 800;
  color: #00345c;
  margin-bottom: 10px;
}

/* Sub-headline */
#bfsi-assessment .lead {
  font-size: 16px;
  color: #3a556e;
  max-width: 900px;
  margin-bottom: 22px;
}

/* Section headings inside assessment */
#bfsi-assessment h3 {
  font-size: 18px;
  font-weight: 700;
  color: #003c7d;
  margin: 26px 0 10px;
}

/* Intro paragraph */
#bfsi-assessment p {
  color: #324d61;
  line-height: 1.6;
  margin-bottom: 12px;
}

/* Bullet lists (general) */
#bfsi-assessment ul {
  margin-left: 18px;
  margin-bottom: 16px;
}

#bfsi-assessment ul li {
  margin-bottom: 10px;
  color: #35566d;
  line-height: 1.55;
}

/* Assessment Deliverables list */
.assessment-list li strong {
  color: #002d62;
  font-weight: 700;
}

/* Numbered engagement steps */
.engagement-steps {
  margin-left: 20px;
}

.engagement-steps li {
  margin-bottom: 14px;
  color: #324d61;
}

.engagement-steps li strong {
  color: #00345c;
}

/* Nexora differentiation checklist */
.nexora-diff {
  list-style: none;
  padding-left: 0;
}

.nexora-diff li {
  padding-left: 26px;
  position: relative;
  margin-bottom: 10px;
  color: #2f4e68;
  font-weight: 600;
}

.nexora-diff li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #0077d8;
  font-weight: 800;
}

/* CTA buttons area */
.cta-actions {
  display: flex;
  gap: 14px;
  margin: 22px 0 16px;
  flex-wrap: wrap;
}

/* Closing advisory line */
.closing-note {
  font-size: 14px;
  color: #56728a;
  margin-top: 8px;
  font-style: italic;
}

/* =========================================================
   BFSI ENTERPRISE ASSESSMENT – IMPROVED SPACING & LAYOUT
========================================================= */

#bfsi-assessment {
  margin: 60px 0;
  padding: 36px 40px;
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid rgba(0, 40, 90, 0.06);
  box-shadow: 0 14px 40px rgba(9,30,66,0.06);
}

/* =========================================================
   HEADINGS & INTRO
========================================================= */

#bfsi-assessment h2 {
  font-size: 28px;
  font-weight: 800;
  color: #002d62;
  margin-bottom: 14px;
}

#bfsi-assessment .lead {
  font-size: 16.5px;
  color: #3a556e;
  max-width: 900px;
  margin-bottom: 36px;
  line-height: 1.7;
}

/* Section headings */
#bfsi-assessment h3 {
  font-size: 19px;
  font-weight: 700;
  color: #003c7d;
  margin: 40px 0 16px;
}

/* Paragraphs */
#bfsi-assessment p {
  color: #324d61;
  line-height: 1.7;
  margin-bottom: 18px;
}

/* =========================================================
   BULLET LISTS – FIXED CROWDING
========================================================= */

#bfsi-assessment ul {
  margin: 14px 0 26px 22px;
}

#bfsi-assessment ul li {
  margin-bottom: 14px;
  line-height: 1.65;
  color: #35566d;
}

/* Deliverables emphasis */
.assessment-list li {
  padding-left: 4px;
}

.assessment-list li strong {
  display: block;
  margin-bottom: 4px;
  color: #002d62;
  font-weight: 700;
}

/* =========================================================
   ENGAGEMENT STEPS – CLEAR SEPARATION
========================================================= */

.engagement-steps {
  margin: 18px 0 28px 22px;
}

.engagement-steps li {
  margin-bottom: 18px;
  line-height: 1.65;
  color: #324d61;
}

.engagement-steps li strong {
  display: block;
  margin-bottom: 4px;
  color: #00345c;
}

/* =========================================================
   NEXORA DIFFERENTIATORS – CHECKMARK STYLE
========================================================= */

.nexora-diff {
  list-style: none;
  padding-left: 0;
  margin: 18px 0 30px;
}

.nexora-diff li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 14px;
  color: #2f4e68;
  font-weight: 600;
  line-height: 1.6;
}

.nexora-diff li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 2px;
  font-size: 16px;
  color: #0077d8;
  font-weight: 800;
}

/* =========================================================
   CTA BUTTONS – BREATHING SPACE
========================================================= */

.cta-actions {
  display: flex;
  gap: 18px;
  margin: 36px 0 22px;
  flex-wrap: wrap;
}

/* Advisory note */
.closing-note {
  font-size: 14px;
  color: #5c788f;
  margin-top: 12px;
  line-height: 1.6;
  font-style: italic;
}

/* =========================================================
   BFSI ASSESSMENT FORM – CLEAN GRID
========================================================= */

#bfsi-form {
  margin-top: 46px;
  padding-top: 26px;
  border-top: 1px solid rgba(0,40,90,0.08);
}

#bfsi-form h3 {
  font-size: 21px;
  margin-bottom: 20px;
}

#bfsi-form form {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px 18px;
}

/* Inputs & selects */
#bfsi-form input,
#bfsi-form select {
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,0.18);
  font-size: 14.5px;
  font-family: "Inter", system-ui;
  background: #ffffff;
}

#bfsi-form input:focus,
#bfsi-form select:focus {
  outline: none;
  border-color: #0077d8;
  box-shadow: 0 0 0 3px rgba(0,119,216,0.12);
}

/* Submit button */
#bfsi-form button {
  grid-column: span 3;
  margin-top: 14px;
}

/* =========================================================
   RESPONSIVE – MOBILE & TABLET
========================================================= */

@media (max-width: 900px) {
  #bfsi-assessment {
    padding: 28px 24px;
  }

  #bfsi-assessment h2 {
    font-size: 23px;
  }

  #bfsi-form form {
    grid-template-columns: 1fr;
  }

  #bfsi-form button {
    grid-column: span 1;
  }

  .cta-actions {
    flex-direction: column;
    align-items: flex-start;
  }
}
