/* =========================================================
   HOMEPAGE GLOBAL STYLES
========================================================= */

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background: #f7f9fc;
}

/* SECTION WRAPPER */
.section {
    padding: 80px 12%;
    text-align: center;
}

/* TITLE */
.section h2 {
    font-size: 36px;
    font-weight: 800;
    color: #002D62;
    margin-bottom: 20px;
}

/* =========================================================
/* ============================================
/* HERO SECTION */
.hero-section {
  position: relative;
  background: url('hero-banner.png') center/cover no-repeat;
  min-height: 820px;
  padding: 120px 0 100px;
  color: #fff;
}

/* DARK OVERLAY */
.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 0;
}

/* CENTER ALIGN FULL HERO CONTENT */
.hero-content {
  position: relative;
  z-index: 10;
  max-width: 1100px;
  margin: auto;
  padding: 0 20px;
}

/* ============================================
   TOP HEADLINE (BEFORE GREEN BOX)
============================================ */
.hero-top-headline {
  font-size: 44px;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 40px;

  text-shadow: 0 4px 10px rgba(0,0,0,0.7);
}

/* ============================================
   GREEN BOX TITLE
============================================ */
.hero-title-box {
  background: #006f66;
  padding: 45px 55px;
  border-radius: 14px;

  max-width: 1000px;
  margin: 0 auto 45px;
}

.hero-title {
  font-size: 42px;
  font-weight: 800;
  line-height: 1.28;
  margin: 0;
  color: #ffffff;
}

/* ============================================
   SUBHEAD + SUPPORT LINES
============================================ */
.hero-below-box {
  max-width: 900px;
  margin: 10px auto 40px;
}

.hero-line1,
.hero-line2 {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.55;
  color: #ffffff;
  text-shadow: 0 4px 12px rgba(0,0,0,0.6);
  margin-bottom: 18px;
}

/* ============================================
   CTA BUTTONS
============================================ */
.hero-cta {
  text-align: center;
  margin-top: 20px;
}

.hero-cta a {
  background: #007bff;
  padding: 16px 28px;
  font-size: 18px;
  border-radius: 10px;
  font-weight: 700;
  color: #ffffff;
  text-decoration: none;
  display: inline-block;
  margin: 0 12px;
  border: 2px solid #007bff;
  transition: 0.25s ease;
}

.hero-cta a:hover {
  background: transparent;
  color: #ffffff;
  border-color: #ffffff;
}

/* ============================================
   MOBILE RESPONSIVE
============================================ */
@media (max-width: 768px) {

  .hero-top-headline {
    font-size: 30px;
    line-height: 1.3;
    text-align: center;
  }

  .hero-title-box {
    padding: 30px 22px;
  }

  .hero-title {
    font-size: 28px;
    text-align: center;
  }

  .hero-line1,
  .hero-line2 {
    font-size: 18px;
    text-align: center;
  }

  .hero-cta a {
    display: block;
    margin: 10px auto;
    width: 90%;
    padding: 14px 20px;
    font-size: 16px;
  }
}

/* =========================================================
   SEO GRID
========================================================= */
/* LEADERSHIP SECTION */
.leadership-section {
    padding: 60px 0;
}

.leadership-section h2 {
    text-align: center;
    font-size: 36px;
    color: #002D62;
    margin-bottom: 40px;
    font-weight: 800;
}

/* Main container: image + text */
.leadership-container {
    display: flex;
    align-items: center;     /* Vertically center both */
    justify-content: center;
    gap: 60px;
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
}

/* IMAGE FIX — PROPER SIZE, NO STRETCHING */
.leader-image {
    flex: 0 0 380px;        /* Fixed width box for image */
}

.leader-image img {
    width: 380px;           /* Perfect size */
    height: auto;           /* Maintain original proportions */
    border-radius: 12px;
    object-fit: contain;    /* No cropping */
    display: block;
    box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}

/* TEXT */
.leader-text {
    flex: 1;
    font-size: 20px;
    line-height: 1.7;
    color: #333;
}

/* MOBILE RESPONSIVE */
@media (max-width: 900px) {
    .leadership-container {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .leader-image {
        flex: unset;
    }

    .leader-image img {
        width: 260px;
        margin: auto;
    }

    .leader-text {
        max-width: 90%;
        margin: auto;
        font-size: 18px;
    }
}


/* =========================================================
   WHAT WE DO
========================================================= */

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
}

.service-card {
    padding: 25px;
    background: white;
    border-radius: 10px;
    border-left: 6px solid #57D0FF;
    font-weight: 600;
    box-shadow: 0 5px 12px rgba(0,0,0,0.07);
}

/* =========================================================
   DIFFERENTIATORS
========================================================= */

.diff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 20px;
}

.diff-card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    font-weight: 600;
    color: #002D62;
    border-top: 4px solid #0096FF;
}

/* =========================================================
   INDUSTRIES
========================================================= */

.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 20px;
}

.industries-grid div {
    background: #ffffff;
    padding: 20px;
    border-radius: 10px;
    border-left: 5px solid #57D0FF;
    font-weight: 600;
    box-shadow: 0 5px 10px rgba(0,0,0,0.05);
}

/* =========================================================
   ENGAGEMENT MODELS
========================================================= */

.engagement-list {
    list-style: none;
    padding: 0;
    font-size: 20px;
    font-weight: 600;
    line-height: 2;
}

/* =========================================================
   IMPACT METRICS
========================================================= */

.impact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 20px;
}

.impact-card {
    padding: 25px;
    background: white;
    border-left: 6px solid #0096FF;
    border-radius: 10px;
    font-weight: 700;
    color: #002D62;
}

/* =========================================================
   CLIENT JOURNEY
========================================================= */

.journey-flow {
    font-size: 26px;
    font-weight: 700;
    color: #002D62;
    margin-top: 20px;
}

/* =========================================================
   CTA FORM
========================================================= */
.form-box { max-width: 550px; margin: auto; display: flex; flex-direction: column; gap: 15px; } .form-box input { padding: 14px; border-radius: 8px; border: 1px solid #c7d7e8; font-size: 15px; } .form-box button { margin-top: 90px; background: #0096FF; color: white; padding: 14px; border-radius: 8px; font-size: 18px; cursor: pointer; } .form-box button:hover { background: #57D0FF; } .cta-buttons-extra a { display: inline-block; margin: 10px 10px 0 0; padding: 12px 20px; background: #e8f4ff; color: #002D62; border-radius: 8px; text-decoration: none; } .cta-buttons-extra a:hover { background: #d0eaff; }


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 768px) {
    .hero h1 {
        font-size: 36px;
    }

    .hero {
        padding-left: 5%;
    }
}
.header .logo img {
    height: 55px;
    width: auto;
    object-fit: contain;
}
/* Hide the mobile menu checkbox */
#menu-toggle {
    display: none;
}
/* HEADER WRAPPER FIX — align all items vertically */
.header {
    display: flex;
    align-items: center;      /* Vertically centers logo + text + menu */
    justify-content: space-between;
    padding: 10px 40px;
    background: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* LOGO + TEXT container */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* logo image */
.logo img {
    height: 55px;
    object-fit: contain;
}

/* "NEXORA TECH" Text */
.logo-text {
    font-size: 26px;
    font-weight: 700;
    margin-top: 3px;       /* small optical alignment */
    color: #003366;        /* matches footer */
    letter-spacing: 1px;
}

/* Fix the menu container so logo does not push upward */
.nav {
    display: flex;
    align-items: center;
}

/* Hide the checkbox (fixes unwanted box) */
#menu-toggle {
    display: none;
}
.menu > li > a:hover {
    color: #003A78;
}
.logo-text {
    font-size: 22px;      /* reduced from 26px → perfect size */
    font-weight: 700;
    margin-top: 2px;
    color: #003A78;       /* exact Nexora logo blue */
    letter-spacing: 0.5px;
}
/* HEADER MAIN CONTAINER */
.header {
    display: flex;
    align-items: center;     /* ensures perfect vertical alignment */
    justify-content: space-between;
    padding: 8px 40px;
    background: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    height: 85px;            /* ensures space for a slightly bigger logo */
}

/* LOGO GROUP */
.logo {
    display: flex;
    align-items: center;     /* aligns logo + text perfectly */
    gap: 14px;
}

/* LOGO IMAGE — make it slightly bigger & visually centered */
.logo img {
    height: 62px;            /* increased from 45px */
    width: auto;
    object-fit: contain;
    margin-top: -4px;        /* shifts logo slightly UP for perfect alignment */
}

/* "NEXORA TECH" TEXT */
.logo-text {
    font-size: 22px;
    font-weight: 700;
    color: #003A78;          /* perfect brand blue */
    letter-spacing: 0.5px;
    margin-top: 2px;         /* tiny tweak for optical alignment */
}
/* Fix huge gap between sections */
.section {
    padding: 60px 20px; /* Reduce spacing */
    margin: 0 auto;
    max-width: 1200px;
    text-align: center;
}

/* Reduce gap specifically before Leadership section */
.leadership {
    padding-top: 40px !important;
    margin-top: -40px !important;
}

/* Title styling fix */
.section h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #002E5B; /* Nexora Blue */
}

/* Paragraph alignment fix */
.section p {
    font-size: 18px;
    line-height: 1.6;
    color: #333;
}

/* Improve alignment on mobile */
@media (max-width: 768px) {
    .section {
        padding: 40px 15px;
    }
    .section h2 {
        font-size: 28px;
    }
    .section p {
        font-size: 16px;
    }
    .leadership {
        margin-top: -20px !important;
    }
}
/* =============================== */
/* FIX: REMOVE LARGE WHITE SPACES */
/* =============================== */

/* Reduce general section spacing */
.section {
    padding: 40px 20px !important;
    margin: 0 auto !important;
}

/* Leadership section */
.leadership {
    margin-top: 20px !important;
}
.leadership h2 {
    margin-bottom: 10px !important;
}
.leadership p {
    max-width: 900px;
    margin: 10px auto !important;
    line-height: 1.5;
}

/* What We Do */
.services-grid {
    margin-top: 20px !important;
}

/* Impact Metrics */
.impact {
    padding-top: 20px !important;
}
.impact-grid {
    margin-top: 10px !important;
}

/* Client Journey */
.journey {
    padding-top: 20px !important;
}
.journey-flow {
    margin-top: 5px !important;
    font-size: 22px;
}

/* Fix for mobile spacing too large */
@media (max-width: 768px) {
    .section {
        padding: 30px 15px !important;
    }

    .leadership p {
        font-size: 16px;
        padding: 0 10px;
    }

    .journey h2 {
        margin-bottom: 5px !important;
    }

    .journey-flow {
        font-size: 18px !important;
    }

    .impact-grid, .services-grid, .seo-grid {
        gap: 15px !important;
    }
}
/* HERO MAIN TITLE FIX */
.hero-content h1 {
    font-size: 46px !important;
    font-weight: 800 !important;
    line-height: 1.15 !important;
    margin-bottom: 20px !important;
    max-width: 900px;
}

/* SUBHEADLINE — make bold & bigger */
.subheadline {
    font-size: 22px !important;
    font-weight: 600 !important;
    line-height: 1.4;
    max-width: 800px;
    margin-bottom: 15px !important;
}

/* SUPPORT PARAGRAPH — also bigger */
.support {
    font-size: 20px !important;
    font-weight: 500 !important;
    line-height: 1.5;
    max-width: 850px;
    margin-bottom: 25px !important;
}

/* CTA BUTTONS — reduce gap + align */
.hero-buttons {
    display: flex;
    gap: 15px !important;   /* reduce space between buttons */
    margin-top: 10px;
}

/* CTA Buttons Styling (clean & consistent) */
.btn-primary,
.btn-secondary {
    padding: 12px 24px;
    font-size: 17px !important;
    font-weight: 600;
    border-radius: 6px;
    display: inline-block;
}

.btn-primary {
    background-color: #007bff;
    color: #fff;
}

.btn-secondary {
    background-color: #fff;
    color: #007bff;
    border: 2px solid #007bff;
}

/* MOBILE OPTIMIZATION */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 32px !important;
        line-height: 1.2 !important;
    }

    .subheadline,
    .support {
        font-size: 17px !important;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 12px !important;
    }
}
.hero-buttons a {
    margin-right: 18px;   /* space between the buttons */
}

.hero-buttons a:last-child {
    margin-right: 0;  /* removes extra gap at the end */
}
/* Leadership Section */
.leadership {
    padding: 80px 0;
}

.leadership h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 42px;
    font-weight: 700;
    color: #003366;
}

/* Wrapper for image + text */
.leadership-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Photo card */
.leader-photo {
    background: white;
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.leader-photo img {
    width: 280px;
    height: auto;
    border-radius: 12px;
}

/* Text block */
.leader-text {
    max-width: 650px;
    font-size: 20px;
    line-height: 1.6;
    color: #1a1a1a;
}

/* Mobile responsiveness */
@media (max-width: 900px) {
    .leadership-wrapper {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .leader-photo img {
        width: 220px;
    }

    .leader-text {
        font-size: 18px;
        max-width: 90%;
    }
}

.leadership {
    text-align: center;        /* Center heading */
}

.leadership h2 {
    margin-bottom: 40px;       /* Space between heading & content */
}

.leadership-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;   /* Centers total block */
    gap: 60px;                 /* Space between image and text */
}
/* Section spacing */
.leadership-section {
    padding: 60px 0;
    text-align: center;
}

/* Title */
.leadership-section h2 {
    font-size: 36px;
    font-weight: 700;
    color: #003366;
    margin-bottom: 40px;
}

/* Main container (Image + Text) */
.leadership-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 50px;
}

/* Image box */
.leader-image img {
    width: 350px;            /* MAKES IMAGE NORMAL SIZE */
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Text */
.leader-text {
    flex: 1;
    text-align: left;
    font-size: 18px;
    line-height: 1.6;
    color: #333;
    max-width: 600px;
}

/* Responsive (Mobile) */
@media (max-width: 768px) {
    .leadership-container {
        flex-direction: column;
        text-align: center;
    }

    .leader-text {
        text-align: center;
    }

    .leader-image img {
        width: 260px;
    }
}
.support {
    font-size: 18px;
    font-weight: 600;   /* makes it bold */
    color: #ffffff;
    line-height: 1.5;
}
/* ===========================================
 /* =========================================================
   BOTTOM HERO BANNER — FINAL WORKING VERSION
========================================================= */

.bottom-hero {
    position: relative;
    width: 100%;
    height: 450px;

    /* Background image */
    background-image: url('bottom-banner2.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    display: flex;
    justify-content: center;
    align-items: flex-end;   /* CTA stays at bottom */
    padding-bottom: 60px;

    border-radius: 12px;
    overflow: hidden;
    z-index: 1;
}

/* Dark Overlay */
.bottom-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 2;
}

/* CTA Content Wrapper */
.bottom-hero-content {
    position: relative;
    z-index: 3; /* Above overlay */
    text-align: center;
}

/* CTA Button — FINAL FIX */
.bottom-hero .btn-primary {
    display: inline-block;
    padding: 18px 50px;

    background: #0096FF !important;   /* Fully opaque */
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    border-radius: 14px;

    border: 3px solid #0096FF;  /* Helps hide white border behind CTA */
    text-decoration: none;

    box-shadow: 0 6px 18px rgba(0,0,0,0.35);
    transition: 0.3s ease;
}

/* CTA Hover */
.bottom-hero .btn-primary:hover {
    background: #0078e6 !important;
    border-color: #0078e6;
}

/* Fix any inherited backgrounds */
.bottom-hero,
.bottom-hero * {
    background-color: transparent !important;
}

/* Responsive */
@media (max-width: 768px) {
    .bottom-hero {
        height: 360px;
        padding-bottom: 40px;
    }

    .bottom-hero .btn-primary {
        font-size: 18px;
        padding: 14px 32px;
        border-radius: 12px;
    }
}
/* MOBILE ONLY */
@media (max-width: 900px) {

    .desktop-menu {
        display: none !important;
    }

    .mobile-menu-icon {
        display: block;
        font-size: 28px;
        cursor: pointer;
        color: #003A78;
    }

    #mobile-toggle {
        display: none;
    }

    .mobile-menu {
        display: none;
        position: absolute;
        top: 85px;
        left: 0;
        width: 100%;
        background: white;
        box-shadow: 0 4px 14px rgba(0,0,0,0.15);
        z-index: 999;
        padding: 20px 0;
    }

    #mobile-toggle:checked ~ .mobile-menu {
        display: block;
    }

    .mobile-menu ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .mobile-menu li {
        padding: 16px 22px;
        border-bottom: 1px solid #eee;
    }

    .mobile-menu li a {
        font-size: 18px;
        text-decoration: none;
        font-weight: 600;
        color: #003A78;
    }

    /* LOGO FIX */
    .logo img {
        height: 48px;
    }

    .logo-text {
        font-size: 20px;
    }
}

/* DESKTOP ONLY */
@media (min-width: 901px) {
    .mobile-menu,
    .mobile-menu-icon {
        display: none !important;
    }
}
/* ============================================================
 /* ================================================
   HERO SECTION — FINAL MOBILE PERFECT VERSION
================================================ */

.hero-section {
  position: relative;
  background: url('hero-banner.png') center/cover no-repeat;
  min-height: 820px;
  padding: 120px 20px 120px;
  color: #fff;
}

/* Dark overlay */
.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 5;
  max-width: 1100px;
  margin: auto;
  text-align: center;
}

/* ================================================
   TOP HEADLINE
================================================ */
.hero-top-headline {
  font-size: 44px;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 40px;
  text-shadow: 0 4px 10px rgba(0,0,0,0.7);
}

/* ================================================
   GREEN BOX
================================================ */
.hero-title-box {
  background: #006f66;
  padding: 45px 55px;
  border-radius: 14px;
  max-width: 900px;
  margin: 0 auto 45px;
}

.hero-title {
  font-size: 38px;
  font-weight: 800;
  line-height: 1.28;
  margin: 0;
}

/* ================================================
   SUBHEAD + SUPPORT TEXT
================================================ */
.hero-below-box {
  max-width: 900px;
  margin: 10px auto 40px;
}

.hero-line1,
.hero-line2 {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.55;
  margin-bottom: 18px;
  text-shadow: 0 4px 12px rgba(0,0,0,0.6);
}

/* ================================================
   CTA BUTTONS
================================================ */
.hero-cta {
  margin-top: 20px;
}

.hero-cta a {
  display: inline-block;
  background: #0096ff;
  color: #fff;
  padding: 16px 30px;
  font-size: 18px;
  border-radius: 10px;
  margin: 10px 10px;
  font-weight: 700;
  border: 2px solid #0096ff;
  transition: 0.3s ease;
}

.hero-cta a:hover {
  background: transparent;
  border-color: #fff;
  color: #fff;
}

/* ================================================
/* ============================================
   FIX: REMOVE TEXT BETWEEN HERO IMAGE & GREEN BOX ON MOBILE
=============================================== */
@media (max-width: 768px) {
    
    /* Hide the top headline block on mobile */
    .hero-top-headline {
        display: none !important;
    }

    /* Hide any subtitles that appear before green box */
    .hero-subtitle,
    .hero-line1,
    .hero-line2 {
        display: none !important;
    }

    /* Ensure green box appears immediately below hero image */
    .hero-title-box {
        margin-top: -20px !important; /* pulls green box up */
        display: block !important;
    }

    /* Keep only ONE green box */
    .green-box-duplicate,
    .hero-title-box.second,
    .hero-title-box.mobile-duplicate {
        display: none !important;
    }

    /* Ensure background image stays continuous */
    .hero-section {
        padding-top: 80px !important;
        padding-bottom: 40px !important;
    }
}
/* =========================================================
   CLIENT JOURNEY — MOBILE RESPONSIVE FIX
========================================================= */

@media (max-width: 768px) {

    /* Fix spacing and alignment */
    .client-journey-section {
        padding: 40px 20px !important;
        text-align: center !important;
    }

    .client-journey-section h2 {
        font-size: 28px !important;
        line-height: 1.3;
        margin-bottom: 12px !important;
    }

    .client-journey-steps {
        font-size: 18px !important;
        line-height: 1.6;
        display: block !important;
        padding: 0 10px;
        margin-bottom: 30px !important;
    }

    /* Fix image box (hero-like) */
    .services-hero-box {
        width: 100%;
        border-radius: 20px !important;
        overflow: hidden;
        margin: 0 auto 20px auto;
        padding: 0;
    }

    /* Fix hero text inside the image */
    .services-hero-box h3 {
        font-size: 26px !important;
        line-height: 1.3 !important;
        padding: 20px !important;
        text-align: center;
    }

    /* Fix CTA button alignment */
    .services-btn-primary,
    .services-btn-outline {
        width: 100% !important;
        max-width: 90% !important;
        margin: 12px auto !important;
        padding: 15px !important;
        font-size: 18px !important;
        display: block !important;
        text-align: center !important;
    }

    /* Remove weird spacing / cropping */
    .services-hero-box img {
        width: 100% !important;
        height: auto !important;
        object-fit: cover !important;
    }

    /* Fix Download Global Capability section */
    .capability-download-section {
        padding: 60px 20px !important;
        text-align: center !important;
    }

    .capability-download-section h2 {
        font-size: 28px !important;
        line-height: 1.3 !important;
    }
}
