/*
 * Header Styles — Academy Percoid IT Solutions Theme  
 * @package academy-percoidit
 */


:root {
    /* ── Brand Colors ──────────────────────────────────── */
    --color-navy:        #002d61; 
    --color-blue:        #1470ae; 
    --color-blue-light:  #e8f0fb;
    --color-accent:      #ffcc00; 

    /* ── UI Colors ─────────────────────────────────────── */
    --color-white:       #ffffff;
    --off-white:         #f7f9fc;
    --color-light:       #f0f4fb;
    --color-text:        #333333; 
    --color-muted:       #64748b;
    --color-border:      #e2e8f0;
    --color-success:     #22c55e;

    /* ── Typography Families ────────────────────────────── */
    --font-heading:     'Lora', serif;
    --font-body:        'Lora', serif;
    --font-ui:          'Montserrat', sans-serif;

    /* ── Heading Scales  ─────────── */
    --h1-size:          56px;
    --h1-weight:        700;
    --h1-line-height:   1.25; /* 70px / 56px = 1.25 */

    --h1-below-size:          40px;
    --h1-below-weight:        700;
    --h1-below-line-height:   52px;

    --h2-size:          32px;
    --h2-weight:        600;
    --h2-line-height:   48px;  /* 48px / 32px = 1.5 */

    --h3-size:          20px;
    --h3-weight:        500;
    --h3-line-height:   30px; 
    
    --h4-size:          24px;
    --h4-weight:        700;
    --h4-line-height:   36px;

    --p-size:          18px;
    --p-weight:        500;
    --p-line-height:   27px;

    --p-sm-size:          16px;
    --p-sm-weight:        400;
    --p-sm-line-height:   24px;

    --h3-btn-size:          16px;
    --h3-btn-weight:        500;
    --h3-btn-line-height:   24px;  

    /* ── Layout & Effects ──────────────────────────────── */
    --radius-lg:         12px;
    --radius-md:         8px;
    --radius-sm:         4px;
    --radius-full:       50px; 

    --shadow-sm:         0 2px 8px rgba(0, 34, 68, 0.07);
    --shadow-md:         0 8px 32px rgba(0, 34, 68, 0.12);
    --shadow-lg:         0 20px 60px rgba(0, 34, 68, 0.15);

    /* ── Animation ─────────────────────────────────────── */
  --transition:         transform 0.3s cubic-bezier(0.25, 1, 0.5, 1),
                        border-color 0.3s ease,
                        box-shadow 0.3s ease;
}

/* ── Extra-Small  ≤ 479px ──────────────────────────────────── */

@media (max-width: 479px) {
  :root {
    /* Heading Scale */
    --h1-size:               28px;
    --h1-weight:             700;
    --h1-line-height:        1.25;

    --h1-below-size:         24px;
    --h1-below-weight:       700;
    --h1-below-line-height:  32px;

    --h2-size:               20px;
    --h2-weight:             600;
    --h2-line-height:        30px;

    --h3-size:               16px;
    --h3-weight:             500;
    --h3-line-height:        24px;

    --h4-size:               16px;
    --h4-weight:             700;
    --h4-line-height:        24px;

    --p-size:                15px;
    --p-weight:              400;
    --p-line-height:         23px;

    --p-sm-size:             13px;
    --p-sm-weight:           400;
    --p-sm-line-height:      20px;

    --h3-btn-size:           13px;
    --h3-btn-weight:         500;
    --h3-btn-line-height:    20px;

    /* Layout & Effects */
    --radius-lg:             8px;
    --radius-md:             6px;
    --radius-sm:             3px;
    --radius-full:           50px;

    --shadow-sm:             0 1px 4px rgba(0, 34, 68, 0.06);
    --shadow-md:             0 4px 16px rgba(0, 34, 68, 0.10);
    --shadow-lg:             0 10px 32px rgba(0, 34, 68, 0.12);
  }
}


/* ── Small  480px – 767px ──────────────────────────────────── */
@media (min-width: 480px) and (max-width: 767px) {
  :root {
    /* Heading Scale */
    --h1-size:               34px;
    --h1-weight:             700;
    --h1-line-height:        1.25;

    --h1-below-size:         28px;
    --h1-below-weight:       700;
    --h1-below-line-height:  38px;

    --h2-size:               24px;
    --h2-weight:             600;
    --h2-line-height:        36px;

    --h3-size:               18px;
    --h3-weight:             500;
    --h3-line-height:        27px;

    --h4-size:               18px;
    --h4-weight:             700;
    --h4-line-height:        28px;

    --p-size:                16px;
    --p-weight:              400;
    --p-line-height:         25px;

    --p-sm-size:             14px;
    --p-sm-weight:           400;
    --p-sm-line-height:      22px;

    --h3-btn-size:           14px;
    --h3-btn-weight:         500;
    --h3-btn-line-height:    22px;

    /* Layout & Effects */
    --radius-lg:             10px;
    --radius-md:             7px;
    --radius-sm:             4px;

    --shadow-sm:             0 1px 6px rgba(0, 34, 68, 0.06);
    --shadow-md:             0 6px 22px rgba(0, 34, 68, 0.10);
    --shadow-lg:             0 14px 44px rgba(0, 34, 68, 0.13);
  }
}


/* ── Medium  768px – 1023px ────────────────────────────────── */
@media (min-width: 768px) and (max-width: 1023px) {
  :root {
    /* Heading Scale */
    --h1-size:               42px;
    --h1-weight:             700;
    --h1-line-height:        1.25;

    --h1-below-size:         34px;
    --h1-below-weight:       700;
    --h1-below-line-height:  46px;

    --h2-size:               26px;
    --h2-weight:             600;
    --h2-line-height:        40px;

    --h3-size:               18px;
    --h3-weight:             500;
    --h3-line-height:        28px;

    --h4-size:               20px;
    --h4-weight:             700;
    --h4-line-height:        30px;

    --p-size:                17px;
    --p-weight:              500;
    --p-line-height:         26px;

    --p-sm-size:             15px;
    --p-sm-weight:           400;
    --p-sm-line-height:      23px;

    --h3-btn-size:           15px;
    --h3-btn-weight:         500;
    --h3-btn-line-height:    23px;

    /* Layout & Effects */
    --radius-lg:             11px;
    --radius-md:             7px;
    --radius-sm:             4px;

    --shadow-sm:             0 2px 6px rgba(0, 34, 68, 0.07);
    --shadow-md:             0 6px 26px rgba(0, 34, 68, 0.11);
    --shadow-lg:             0 16px 50px rgba(0, 34, 68, 0.14);
  }
}


/* ── Large  1024px – 1279px ────────────────────────────────── */
@media (min-width: 1024px) and (max-width: 1279px) {
  :root {
    /* Heading Scale */
    --h1-size:               48px;
    --h1-weight:             700;
    --h1-line-height:        1.25;

    --h1-below-size:         36px;
    --h1-below-weight:       700;
    --h1-below-line-height:  48px;

    --h2-size:               28px;
    --h2-weight:             600;
    --h2-line-height:        44px;

    --h3-size:               19px;
    --h3-weight:             500;
    --h3-line-height:        29px;

    --h4-size:               22px;
    --h4-weight:             700;
    --h4-line-height:        33px;

    --p-size:                17px;
    --p-weight:              500;
    --p-line-height:         26px;

    --p-sm-size:             15px;
    --p-sm-weight:           400;
    --p-sm-line-height:      23px;

    --h3-btn-size:           15px;
    --h3-btn-weight:         500;
    --h3-btn-line-height:    23px;

    /* Layout & Effects — same as root; listed for explicit clarity */
    --radius-lg:             12px;
    --radius-md:             8px;
    --radius-sm:             4px;

    --shadow-sm:             0 2px 8px rgba(0, 34, 68, 0.07);
    --shadow-md:             0 8px 28px rgba(0, 34, 68, 0.11);
    --shadow-lg:             0 18px 54px rgba(0, 34, 68, 0.14);
  }
}


/* ── 2XL  ≥ 1536px ─────────────────────────────────────────── */
@media (min-width: 1536px) {
  :root {
    /* Heading Scale — slightly enlarged for wide canvases */
    --h1-size:               64px;
    --h1-weight:             700;
    --h1-line-height:        1.2;

    --h1-below-size:         46px;
    --h1-below-weight:       700;
    --h1-below-line-height:  58px;

    --h2-size:               36px;
    --h2-weight:             600;
    --h2-line-height:        54px;

    --h3-size:               22px;
    --h3-weight:             500;
    --h3-line-height:        33px;

    --h4-size:               26px;
    --h4-weight:             700;
    --h4-line-height:        39px;

    --p-size:                19px;
    --p-weight:              500;
    --p-line-height:         29px;

    --p-sm-size:             17px;
    --p-sm-weight:           400;
    --p-sm-line-height:      26px;

    --h3-btn-size:           17px;
    --h3-btn-weight:         500;
    --h3-btn-line-height:    26px;

    /* Layout & Effects */
    --radius-lg:             14px;
    --radius-md:             9px;
    --radius-sm:             5px;

    --shadow-sm:             0 2px 10px rgba(0, 34, 68, 0.07);
    --shadow-md:             0 10px 38px rgba(0, 34, 68, 0.13);
    --shadow-lg:             0 24px 70px rgba(0, 34, 68, 0.16);
  }
}


/* ==========================================================================
   GLOBAL RESETS
   ========================================================================== */

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

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background-color: var(--color-white);
    line-height: 1.6;
    margin: 0; 
    -webkit-font-smoothing: antialiased;
    overflow: hidden !important;
}

/* ==========================================================================
   TYPOGRAPHY HIERARCHY
   ========================================================================== */
h1, .hero-title {
    font-family: var(--font-heading);
    font-size: var(--h1-size);
    font-weight: var(--h1-weight);
    line-height: var(--h1-line-height);
    color: var(--color-text);
    /* margin-bottom: 0.5em; */
}

h2, .section-title {
    font-family: var(--font-heading);
    font-size: var(--h2-size);
    font-weight: var(--h2-weight);
    line-height: var(--h2-line-height);
    color: var(--color-text);
    margin-bottom: 0.5em;
}
/* remove the browser default padding styles */
ul, ol {
    padding: 0;
    margin: 0; 
    list-style: none;
}

/* UI Elements */
.nav-links li a, 
.btn {
    font-family: var(--font-body);
    text-decoration: none;
    transition: var(--transition);
}


html, body {
  overflow-x: hidden; 
  overflow-y: auto !important;
}


/* ── Site Header / Navbar ────────────────────────────── */
.site-header {
  background: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  height: 72px;
  box-shadow: 0 2px 16px rgba(13, 27, 62, 0.08);
  position: sticky;
  top: 0;
  z-index: 100;
  font-family: var(--font-body);
}

/* ── Site Branding / Logo ────────────────────────────── */
.site-branding {
  display: flex;
  align-items: center;
}

/* Custom logo uploaded via WordPress Customizer */
.custom-logo-wrap a {
  display: flex;
  align-items: center;
}

/* Fallback text logo */
.logo-fallback {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-icon {
  width: 42px;
  height: 42px;
  background: var(--color-blue);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.logo-icon svg {
  width: 24px;
  height: 24px;
  fill: var(--color-white);
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-text .site-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--color-navy);
  letter-spacing: 0.05em;
  margin: 0;
  padding: 0;
}

.logo-text .site-description {
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: var(--h2-weight);
  color: var(--color-blue);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-top: 3px;
}

/* ── Custom Logo Size Control ─────────────────────────────── */
.custom-logo-wrap {
  display: flex;
  align-items: center;
}

.custom-logo-wrap img.custom-logo {
  width: 190px !important;      
  height: 60px !important;     
  max-width: 200px;            
  object-fit: contain;
  display: block;
}

/* ── Primary Navigation ──────────────────────────────── */
.main-navigation {
  display: flex;
  align-items: center;
}

.main-navigation {
    flex-grow: 1;
    display: flex;
    justify-content: end;
}
.main-navigation {
    margin-left: auto; 
}
  
.main-navigation .nav-links li {
  position: relative;
  font-family: var(--font-body) !important ;
}

/* Hide the drawer close button by default on page load */
#nav-drawer-close {
    display: none !important;
}

/* Only display the close button when the mobile menu is actually open */
#primary-menu.is-open #nav-drawer-close,
.main-navigation.toggled #nav-drawer-close {
    display: block !important; /* Or flex/inline-block depending on your styling */
}

@media (min-width: 768px) and (max-width: 1023px) {
    .main-navigation .nav-links {
        list-style: none;
        display: flex !important;   
        flex-direction: row;        
        align-items: center;
        justify-content: end;
        width: 100%;
        gap: 36px;
        margin: 0;
        padding: 0;
        position: static;           
        transform: none !important; 
    }
}

.main-navigation .nav-links {
    overflow: visible !important;
}

.main-navigation .nav-links li {
    overflow: visible !important;
    position: relative;
    font-family: var(--font-body) !important;
}

.main-navigation .nav-links a {
    display: inline-block !important;
    position: relative !important;
    padding-bottom: 6px !important;
    text-decoration: none;
}

.main-navigation .nav-links a::after {
    content: '' !important;
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 0 !important;
    height: 2px !important;
    background: var(--color-blue) !important;
    border-radius: 2px;
    transition: width 0.25s ease;
}

.main-navigation .nav-links a:hover::after,
.main-navigation .nav-links .current-menu-item > a::after,
.main-navigation .nav-links .current_page_item > a::after {
    width: 100% !important;
}

.main-navigation .nav-links a:hover,
.main-navigation .nav-links .current-menu-item > a,
.main-navigation .nav-links .current_page_item > a {
    color: var(--color-blue);
    /* border-bottom: #007bff; */
}

/* Make li position relative so ::before can anchor to the link */
.main-navigation .nav-links li {
  position: relative;
}

/* The underline pseudo-element */
.main-navigation .nav-links li a {
  position: relative;
  text-decoration: none;
}

/* This rule will ONLY apply to screens 768px wide and larger */
@media (min-width: 768px) {
    .main-navigation .nav-links li a::before {
        position: absolute;
        content: "";
        background: var(--color-blue) !important;
        width: 0%;
        height: 3px;
        bottom: -18px;
        left: 0;
        opacity: 0;
        transition: all 0.2s linear;
    }

    /* Optional: If you have a hover effect that activates this line, 
       make sure it is also wrapped inside this media query */
    .main-navigation .nav-links li a:hover::before {
        width: 100%;
        opacity: 1;
    }
}

/* Active / current page */
.main-navigation .nav-links li.current-menu-item a::before {
  width: 100%;
  opacity: 1;
}

/* ============================================================
   HERO BANNER — full-bleed, cinematic
   Uses only the existing tokens already defined in :root.
   No new custom properties are introduced.
   ============================================================ */

.hero-banner {
    position: relative;
    background: var(--color-navy);
}

.hero-banner__media {
    position: relative;
    overflow: hidden;
    min-height: 620px;
    display: flex;
    align-items: center;
}

.hero-banner__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 40%;
}

.hero-banner__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg,
        rgba(0, 45, 97, 0.96) 10%,
        rgba(0, 45, 97, 0.88) 38%,
        rgba(0, 45, 97, 0.55) 68%,
        rgba(0, 45, 97, 0.22) 100%);
}

.hero-banner__inner {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-banner__content {
    max-width: 640px;
    padding: 100px 0 ;
}

.hero-banner__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px;
    border-radius: var(--radius-full);
    background: rgba(20, 112, 174, 0.22);
    border: 1px solid rgba(232, 240, 251, 0.3);
    color: var(--color-blue-light);
    font-family: var(--font-ui);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin: 0 0 26px;
}
.hero-banner__eyebrow .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-blue-light);
    box-shadow: 0 0 0 4px rgba(20, 112, 174, 0.35);
}

.hero-banner__heading {
    font-family: var(--font-heading);
    font-size: var(--h1-size);
    font-weight: var(--h1-weight);
    line-height: var(--h1-line-height);
    color: var(--color-white);
    letter-spacing: -0.01em;
    margin: 0 0 24px;
}
.hero-banner__heading .accent { color: var(--color-blue-light); }

.hero-banner__sub {
    font-family: var(--font-body);
    font-size: var(--p-size);
    font-weight: var(--p-weight);
    line-height: var(--p-line-height);
    color: rgba(255, 255, 255, 0.82);
    max-width: 520px;
    margin: 0 0 40px;
}

.hero-banner__ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

/* .btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-ui);
    font-size: var(--h3-btn-size);
    font-weight: var(--h3-btn-weight);
    line-height: var(--h3-btn-line-height);
    padding: 16px 28px;
    border-radius: var(--radius-full);
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
}
.btn--light {
    background: var(--color-blue);
    color: var(--off-white);
    box-shadow: var(--shadow-md);
}
.btn--light:hover {
    background: var(--color-blue-light);
    box-shadow: var(--shadow-lg);
    color: var(--color-blue);
}
.btn--outline-light {
    background: transparent;
    color: var(--color-white);
    border: 2px solid rgba(255, 255, 255, 0.55);
    padding: 14px 26px;
}
.btn--outline-light:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--color-white);
    transform: translateY(-2px);
}
.cta-arrow { display: inline-flex; width: 18px; height: 18px; }
.cta-arrow svg { width: 100%; height: 100%; } */

/* ---- Responsive ---- */

@media (max-width: 1023px) {
    .hero-banner__media { min-height: 560px; }
    .hero-banner__inner { padding: 110px 0 90px; }
}

@media (max-width: 767px) {
    .hero-banner__media { min-height: 480px; }
    .hero-banner__inner { padding: 0px 0 70px; }
    .hero-banner__content { max-width: none;padding: 50px 0 0; }
    .hero-banner__sub { max-width: none; }
    .hero-banner__ctas { flex-direction: column; align-items: stretch; }
    .btn { justify-content: center; }
    .featured-dark-card, .support-card {
      padding: 20px !important;
    }
}

/* Button Styles */

/* Base Button Setup */
/* .btn--primary,
.btn--ghost,
.hero-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  border-radius: 4px; 
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.8px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.cta-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;
  background: transparent !important;
}

.cta-arrow svg {
  width: 14px;
  height: 14px;
  transition: transform 0.3s ease;
}

.apply-before__cta .btn--primary{
  background-color: var(--color-blue);   
}
.apply-before__cta .btn--primary:hover {
  background-color: var(--color-white);  
  border: 1px solid var(--color-blue);
  color: var(--color-blue); 
}

.percoid-cf7-form .btn--primary{
  background: var(--color-blue); 
  color: #ffffff;
  border: 1px solid var(--color-blue);
}

.btn--primary,
.hero-cta-btn {
  background: rgba(0, 82, 204, 0.15); 
  color: #ffffff;
  border: 1px solid var(--color-blue);
}

.btn--primary .cta-arrow svg,
.hero-cta-btn .cta-arrow svg {
  stroke: #ffffff;
}

.btn--primary:hover,
.hero-cta-btn:hover {
  background: var(--color-blue);
}

.btn--primary:hover .cta-arrow svg,
.hero-cta-btn:hover .cta-arrow svg {
  transform: translate(2px, -2px);
}


.btn--ghost {
  background: transparent;
  color: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.btn--ghost .cta-arrow svg {
  stroke: rgba(255, 255, 255, 0.8);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.6);
}

.btn--ghost:hover .cta-arrow svg {
  stroke: #ffffff;
  transform: translate(2px, -2px);
} */








/* Btn style Ends */


/* ── Shared base ─────────────────────────────────────────── */

/* .hero-cta-btn,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-ui);
  font-size: var(--h3-btn-size);
  font-weight: var(--h3-btn-weight);
  line-height: var(--h3-btn-line-height);
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  border-radius: 100px;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
} */

/* ── Hero CTA ────────────────────────────────────────────── */
/* .hero-cta-btn {
  padding: 14px 32px;
  background: var(--color-blue);
  color: var(--color-white);
  border: 2px solid var(--color-blue);
  animation: percoid-fadeUp 0.7s 0.28s ease both;
}

.hero-cta-btn:hover {
  background: transparent;
  color: var(--color-blue);
} */

/* Primary — blue fill */
/* .btn--primary {
  background: var(--color-blue);
  color: var(--color-white);
  border-color: var(--color-blue);
}

.btn--primary:hover {
  background: transparent;
  color: var(--color-blue);
} */

/* Ghost — outlined */
/* .btn--ghost {
  background: transparent;
  color: var(--color-blue);
  border-color: var(--color-blue);
}

.btn--ghost:hover {
  background: var(--color-blue);
  color: var(--color-white);
}


.pa-hero__actions .btn--ghost,
.sp-cta-actions .btn--ghost {
  background: var(--color-white);
  color: var(--color-blue);
  border-color: var(--color-blue);

}

.pa-hero__actions .btn--ghost:hover,
.sp-cta-actions .btn--ghost:hover {
  background: var(--color-blue);
  color: var(--color-white);
  border: 0px;
}


.btn--sm {
  font-size: 0.72rem;
  padding: 9px 18px;
}

.btn--full {
  width: 100%;
}


.cta-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 1.6em;
  height: 1.6em;
  border-radius: 50%;
  background: var(--color-white);
  transition: background 0.25s ease;
}

.cta-arrow svg {
  width: 0.85em;
  height: 0.85em;
  stroke: var(--color-blue);
  fill: none;
  stroke-width: 2;
  transition: stroke 0.25s ease;
} */

/* ── Arrow hover states ──────────────────────────────────── */

/* .btn--primary:hover .cta-arrow,
.hero-cta-btn:hover .cta-arrow {
  background: var(--color-blue);
}

.btn--primary:hover .cta-arrow svg,
.hero-cta-btn:hover .cta-arrow svg {
  stroke: var(--color-white);
}

.btn--ghost .cta-arrow {
  background: transparent;
  box-shadow: 0 0 0 1.5px var(--color-blue) inset;
}

.btn--ghost .cta-arrow svg {
  stroke: var(--color-blue);
}

.btn--ghost:hover .cta-arrow {
  background: var(--color-white);
  box-shadow: none;
}

.btn--ghost:hover .cta-arrow svg {
  stroke: var(--color-blue);
} */

/* Base Button Setup */
/* .btn--primary,
.btn--ghost,
.hero-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  text-decoration: none;
} */

/* Arrow Circle Container */
/* .cta-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.3s ease;
}

.cta-arrow svg {
  width: 14px;
  height: 14px;
  transition: stroke 0.3s ease, transform 0.3s ease;
} */



/* Base Button Setup */
/* .btn--primary,
.btn--ghost,
.hero-cta-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.3s ease;
  overflow: hidden;
} */

/* Inline Arrow without any background circle */
/* .cta-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent !important;
  box-shadow: none !important;
  width: auto;
  height: auto;
}

.cta-arrow svg {
  width: 18px;
  height: 18px;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
} */

/* ---------------- PRIMARY BUTTON ---------------- */
/* .btn--primary,
.hero-cta-btn {
  background-color: var(--color-white);
  color: var(--color-blue);
  border: 2px solid var(--color-white);
}

.btn--primary .cta-arrow svg,
.hero-cta-btn .cta-arrow svg {
  stroke: var(--color-blue);
} */

/* Hover: Inverts colors smoothly and slides icon right */
/* .btn--primary:hover,
.hero-cta-btn:hover {
  background-color: var(--color-blue);
  color: var(--color-white);
  border-color: var(--color-blue);
}

.btn--primary:hover .cta-arrow svg,
.hero-cta-btn:hover .cta-arrow svg {
  stroke: var(--color-white);
  transform: translateX(6px);
} */


/* ---------------- GHOST BUTTON ---------------- */
/* .btn--ghost {
  background-color: transparent;
  color: var(--color-white);
  border: 2px solid rgba(255, 255, 255, 0.4);
}

.btn--ghost .cta-arrow svg {
  stroke: var(--color-white);
} */


/* .btn--ghost:hover {
  border-color: var(--color-white);
  background-color: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
}

.btn--ghost:hover .cta-arrow svg {
  transform: translateX(6px);
} */

/* ── Hero Section ────────────────────────────────────── */
.hero-section {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--color-light);
  font-family: var(--font-body);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 15% 50%, rgba(26, 95, 168, 0.10) 0%, transparent 70%),
    radial-gradient(ellipse 50% 80% at 85% 50%, rgba(26, 95, 168, 0.08) 0%, transparent 70%),
    linear-gradient(160deg, #e8f0fb 0%, #f5f8ff 40%, #eef3fb 100%);
}

.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(26, 95, 168, 0.12) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.5;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 60px 24px;
  max-width: 820px;
  width: 100%;
}

.hero-heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--color-navy);
  line-height: 1.1;
  margin: 0 0 24px;
  animation: percoid-fadeUp 0.7s ease both;
}

.hero-subheading {
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  font-weight: var(--h2-weight);
  color: var(--color-blue);
  line-height: 1.7;
  margin: 0 0 40px;
  animation: percoid-fadeUp 0.7s 0.15s ease both;
}

/* ── Responsive ──────────────────────────────────────── */
@media (max-width: 992px) {
  .site-header {
    padding: 0 24px;
  }
}

@media (max-width: 768px) {
  .site-header {
    flex-wrap: wrap;
    height: auto;
    padding: 14px 18px;
    gap: 12px;
  }

  .main-navigation {
    order: 3;
    justify-content: end;
    padding: 0 15px;
  }

/* ── Active State ── */
.main-navigation.is-open .nav-links {
  opacity: 1;
  visibility: visible;
}

  .main-navigation .nav-links li {
    gap: 20px;
  }

  .main-navigation .nav-links a {
    display: block;
    font-size: 0.88rem;
  }

  .hero-section {
    min-height: 420px;
  }
}

img { display: block; max-width: 100%; height: auto; }

/* ── Container ─────────────────────────── */
.container {
  width: 100%;
  max-width: 1260px;
  margin-inline: auto;
  padding-inline: 24px;
}

.site-footer section {
  padding-block: 0;
}

.section-header {
  text-align: center;
  margin-inline: auto;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: var(--h1-below-size) !important;
  font-weight: var(--h1-below-weight) !important;
  color: var(--color-navy);
  line-height: var(--h1-below-line-height) !important;
  margin-bottom: 16px;
}

.section-header p {
  font-size: var(--p-size) !important;
  font-weight: var(--p-weight) !important;
  line-height: var(--p-line-height) !important;
  color: var(--color-text);
}

.section-header--color-light h2 { color: var(--color-white); }
.section-header--color-light p  { color: rgba(255,255,255,.75); }


.section-header--light h2 {
  color: var(--off-white) !important; 
}

.section-header--light p {
  color: var(--off-white) !important; 
}

/* ══════════════════════════════════════════
   4B. FIXED & RESPONSIVE TIMELINE STEPPER
══════════════════════════════════════════ */
.timeline-section {
  background-color: var(--color-navy);
  padding: 100px 0;
  overflow: hidden;
}

.timeline-container {
  position: relative;
  width: 100%;
  margin-top: 40px;
}

/* Base Horizontal Track Line */
.timeline-progress-bar {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-blue, #1a5fa8) 0%, var(--border, #e2e8f0) 100%);
  transform: translateY(-50%);
  z-index: 1;
  border-radius: 2px;
}

@media (min-width: 992px) {
  .timeline-stepper {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: minmax(180px, auto) 60px minmax(180px, auto);
    gap: 0 30px;
    position: relative;
    z-index: 2;
  }

  .timeline-step {
    display: contents; 
  }

  .timeline-step__node {
    grid-row: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
  }
  
  /* Distribute elements horizontally across columns 1 to 5 */
  .timeline-step:nth-child(1) .timeline-step__node, .timeline-step:nth-child(1) .timeline-step__card { grid-column: 1; }
  .timeline-step:nth-child(2) .timeline-step__node, .timeline-step:nth-child(2) .timeline-step__card { grid-column: 2; }
  .timeline-step:nth-child(3) .timeline-step__node, .timeline-step:nth-child(3) .timeline-step__card { grid-column: 3; }
  .timeline-step:nth-child(4) .timeline-step__node, .timeline-step:nth-child(4) .timeline-step__card { grid-column: 4; }
  .timeline-step:nth-child(5) .timeline-step__node, .timeline-step:nth-child(5) .timeline-step__card { grid-column: 5; }

  /* Odd Steps (1, 3, 5): Card on Top (Row 1), content aligned to bottom */
  .timeline-step.step-top .timeline-step__card {
    grid-row: 1;
    align-self: end;
    margin-bottom: 20px;
    margin-top: 0;
  }

  /* Even Steps (2, 4): Card on Bottom (Row 3), content aligned to top */
  .timeline-step.step-bottom .timeline-step__card {
    grid-row: 3;
    align-self: start;
    margin-top: 20px;
    margin-bottom: 0;
  }
}

/* Core Design Components */
.timeline-step__bubble {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-white, #ffffff);
  border: 4px solid var(--color-blue, #1a5fa8);
  color: var(--color-navy, #0f172a);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display), sans-serif;
  font-size: 0.95rem;
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
  transition: all 0.35s ease;
  z-index: 2;
}

.timeline-step__card {
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.06); 
  text-align: left;
  position: relative;
  transition: all 0.35s ease;
}

.timeline-step__meta {
  display: inline-block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
  color: var(--off-white, rgba(255, 255, 255, 0.75));
  margin-bottom: 8px;
}
.timeline-section .section-header h2 {
  color: var(--color-white);
}

.eyebrow {
  color: var(--color-white);
}

.timeline-step__card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-white);
  margin: 0 0 10px 0;
}

.timeline-step__card p {
  font-size: 0.9rem;
  color: var(--color-white);
  line-height: 1.6;
  margin: 0;
}

/* Hover Effects */
@media (min-width: 992px) {
  .timeline-step__card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px -15px rgba(15, 23, 42, 0.12);
    border-color: rgba(26, 95, 168, 0.2);
  }
}

.timeline-step__node:hover .timeline-step__bubble {
  background: var(--color-blue, #1a5fa8);
  color: var(--color-white, #ffffff);
  transform: scale(1.15);
  box-shadow: 0 0 0 6px rgba(26, 95, 168, 0.15);
}

/* ══════════════════════════════════════════
   MOBILE & TABLET ADAPTIVE RESPONSIVENESS
══════════════════════════════════════════ */
@media (max-width: 991px) {
  .timeline-container {
    padding-left: 24px;
    margin-top: 30px;
  }

  /* Vertical timeline line */
  .timeline-progress-bar {
    top: 0;
    bottom: 0;
    left: 22px; 
    width: 4px;
    height: 100%;
    transform: none;
    background: linear-gradient(180deg, var(--color-blue, #1a5fa8) 0%, var(--border, #e2e8f0) 100%);
  }

  .timeline-stepper {
    display: flex;
    flex-direction: column;
    gap: 32px;
    position: relative;
    z-index: 2;
  }

  .timeline-step {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
    gap: 20px;
  }

  .timeline-step__node {
    flex-shrink: 0;
    height: auto;
  }

  .timeline-step__bubble {
    width: 44px;
    height: 44px;
    font-size: 0.85rem;
  }

  .timeline-step__card {
    margin: 0 !important;
    flex: 1;
  }
}
/* ══════════════════════════════════════════
   5. SOCIAL PROOF
══════════════════════════════════════════ */
.proof-section {
  background: linear-gradient(160deg, #0d1b3e 0%, #1a2f5e 100%);
}

/* .testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  margin-bottom: 72px;
} */

.testimonial-card {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--transition), background var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  background: rgba(255,255,255,.11);
}

.testimonial-card__video-wrap {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
}

.testimonial-card__video-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.testimonial-card:hover .testimonial-card__video-wrap img {
  transform: scale(1.04);
}

.play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(13,27,62,.5);
  color: var(--color-white);
  font-size: 1.5rem;
  text-decoration: none;
  transition: background var(--transition);
}

.play-btn:hover { background: rgba(26,95,168,.7); }

.play-btn span {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--color-white);
  color: var(--color-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  padding-left: 4px; 
  box-shadow: 0 4px 20px rgba(0,0,0,.3);
  transition: transform var(--transition);
}

.play-btn:hover span { transform: scale(1.1); }

.testimonial-card__quote {
  padding: 24px;
}

.testimonial-card__quote p {
  font-size: 0.9rem;
  color: rgba(255,255,255,.8);
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 16px;
}

.testimonial-card__quote footer strong {
  display: block;
  font-size: 0.9rem;
  font-weight: var(--h4-weight);
  color: var(--color-white);
}

.testimonial-card__quote footer span {
  font-size: 0.75rem;
  color: var(--color-accent);
  font-weight: var(--h2-weight);
}

/* Logo grid */
.logos-wrap {
  text-align: center;
}

.logos-label {
  font-size: 0.78rem;
  font-weight: var(--h4-weight);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
  margin-bottom: 28px;
}

.logos-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.logo-placeholder {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-sm);
  padding: 14px 24px;
  transition: background var(--transition);
}

.logo-placeholder:hover { background: rgba(255,255,255,.14); }

.logo-placeholder span {
  font-size: 0.82rem;
  font-weight: var(--h4-weight);
  color: rgba(255,255,255,.6);
  white-space: nowrap;
}

/* ══════════════════════════════════════════
   LEAD MAGNET MODAL
══════════════════════════════════════════ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(13,27,62,.65);
  backdrop-filter: blur(6px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn 0.2s ease;
}

.modal-overlay[hidden] { display: none; }

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.modal-box {
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 44px 40px;
  max-width: 460px;
  width: 100%;
  position: relative;
  box-shadow: var(--shadow-lg);
  animation: scaleIn 0.25s ease;
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(.95); }
  to   { opacity: 1; transform: scale(1); }
}

.modal-close {
  position: absolute;
  top: 16px; right: 16px;
  background: var(--off-white);
  border: none;
  width: 32px; height: 32px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 0.85rem;
  color: var(--muted);
  transition: background var(--transition), color var(--transition);
  display: flex; align-items: center; justify-content: center;
}

.modal-close:hover { background: #fee2e2; color: #ef4444; }

.modal-icon {
  font-size: 2.5rem;
  margin-bottom: 14px;
  line-height: 1;
}

.modal-box h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-navy);
  margin-bottom: 10px;
  line-height: 1.2;
}

.modal-box > p {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 24px;
  line-height: 1.6;
}

.modal-disclaimer {
  font-size: 0.72rem;
  color: var(--muted);
  text-align: center;
  margin-top: 12px;
}

/* ══════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════ */
@media (max-width: 992px) {
  .hero-stat--top    { top: -12px; left: 10px; }
  .hero-stat--bottom { bottom: 10px; right: 10px; }

  .inquiry-wrap { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {

  .btn {  justify-content: center; }

  .timeline-stepper { flex-direction: column; align-items: flex-start; gap: 28px; }
  .timeline-step     { flex-direction: row; align-items: flex-start; min-width: unset; width: 100%; }
  .timeline-step__connector {
    display: none;
  }
  .timeline-step__body { text-align: left; margin-top: 0; padding: 4px 0 0 16px; }

  .msf-wrap { padding: 24px; }
  .modal-box { padding: 32px 24px; }
}


.sticky-header {
  position: fixed !important;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1002;
  box-sizing: border-box; 
}

/* Add top margin to #page when header is sticky */
body.has-sticky-header #page {
  margin-top: 72px; 
}

/* --- Branding/Logo Area --- */
.site-branding .custom-logo {
    max-width: 180px;
    height: auto;
    display: block;
}

/* --- Navigation Menu --- */
.main-navigation {
    display: flex;
}

.nav-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 30px;
}

.nav-links li a {
    text-decoration: none;
    font-family: var(--font-body);
    font-size: var(--p-size);
    font-weight: var(--h1-weight);
    color: var(--color-navy);
    /* text-transform: uppercase; */
    transition: color 0.3s ease;
}

.nav-links li a:hover,
.nav-links li.current-menu-item a {
    color: var(--color-blue); 
}


/* Ensure the active drawer forces itself to display */
@media (max-width: 1023px) {
    .main-navigation .nav-links.is-open {
        display: flex !important; 
        transform: translateX(0);
        box-shadow: -30px 0 50px rgb(0, 0, 0);
    }
}

/* ---------- Main Footer Wrapper ---------- */
.site-footer {
  background-color: var(--color-light);
  color: var(--color-text);
  font-weight: 500;
  line-height: 24px;
}

.wp-block-columns.is-layout-flex {
    gap: 1rem; 
}

.site-footer h1 {
  color: var(--color-navy);
  line-height:38px !important;
  font: var(--font-ui);
  padding: 0 !important;
  margin: 0 0 25px 0 !important;
}

.site-footer h2 {
  color: var(--color-blue);
}

.site-footer h3 {
  color: var(--color-text);
  font: var(--font-ui);
  padding: 0 !important;
  margin: 0 !important;
  font-size: 16px;
  line-height: 19px;
  font-weight: 700;
}

.site-footer p {
  padding:0 0 20px 0 !important;
  margin: 0 !important;
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
}

.main-footer {
  padding: 80px 0 80px 0;
}

.main-footer .container {
  max-width: 1260px !important;
  max-height: 368px !important;
  margin: 0 auto;
}

/* ---------- 4-Column Grid ---------- */
.main-footer__wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: flex-start;
}

.footer-group {
  flex: 1 1 200px;
  min-width: 80px;
}

/* Give column 1 (logo/address) a bit more space */
.footer-group:first-child {
  flex: 1.5 1 285px;
}

/* ---------- Widget Titles (h2 / .widget-title) ---------- */
.footer-group .widget-title,
.footer-group h2 {
  font-family: var(--font-ui);
  font-size: 24px;
  font-weight: 700;
  color: var(--color-navy); 
  margin: 0 0 18px 0;
  padding-bottom: 0;
  border: none;
  text-transform: none;
  letter-spacing: 0;
  line-height: 29px;
}
.footer-group .footer-block p {
  padding: 0 0 10px 0 !important;
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
}
.footer-group .widget .footerblock2 p {
  padding: 0 !important;
  font-size: 16px;
  /* margin: 0 0 10px 0 !important; */
  line-height: 24px;
  font-weight: 500;
}
.footer-group .widget .footerblock1 h2 {
  padding: 0 0 0 0 !important;
  font-family: var(--font-body);
  margin: 0 0 0 0 !important;
  font-size: 18px;
  line-height: 27px;
  font-weight: 700;
}

.footer-group .widget .wp-block-image img {
  height: auto;
  margin-bottom: 0px !important;

} 
.wp-block-columns{
  margin-bottom: 0px !important;
}

/* ---------- Social Icons ---------- */
.footer-group .wp-block-social-links,
.footer-group .social-links {
  display: flex;
  gap: 10px;
  margin-top: 20px;
  padding: 0;
  list-style: none;
}

.footer-group .wp-block-social-links li a,
.footer-group .social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--color-blue);
  color: var(--color-white);
  font-size: 16px;
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.footer-group .wp-block-social-links li a:hover,
.footer-group .social-links a:hover {
  background-color: var(--color-navy);
  transform: translateY(-2px);
}

/* ---------- Navigation / Menu Widgets ---------- */
.footer-group .menu,
.footer-group ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-group .menu li,
.footer-group ul li {
  margin-bottom: 10px;
  /* list-style: ; */
}

.footer-group .menu li a,
.footer-group ul li a {
  font-size: 14px;
  color: var(--color-text);
  text-decoration: none !important;
  transition: color 0.2s ease, padding-left 0.2s ease;
  display: inline-block;
  list-style: none;
}

.footer-group .menu li a:hover,
.footer-group ul li a:hover {
  color: var(--color-blue);
  padding-left: 4px;
}

/* ---------- CTA Column (last footer-group) ---------- */
.footer-group:last-child {
  font-family: var(--font-body);
}

.footer-group:last-child .widget-title,
.footer-group:last-child h2 {
  font-size: 26px;
  line-height: 1.25;
  color: var(--color-navy);
  margin-bottom: 24px;
}

/* CTA sub-headings (Innovate With Us / Join Our Team) */
.footer-group:last-child .textwidget strong,
.footer-group:last-child .textwidget b {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--color-navy);
  margin-top: 14px;
  margin-bottom: 2px;
}

.footer-group:last-child .textwidget a,
.footer-group:last-child .textwidget p {
  font-size: 14px;
  color: var(--color-text);
  text-decoration: none;
}

.footer-group:last-child .textwidget a:hover {
  color: var(--color-blue);
}

/* ---------- Footer Bottom Bar ---------- */
.footer-bottom__sep{
  padding:  0;
}

.footer-bottom , .footer-bottom a {
  background-color: var(--color-navy);
  font-family: var(--font-body);
  color: var(--color-white) !important;
  font-weight: 500;
  line-height: 24px;
  font-size: 16px;
  padding: 10px 0;
}

.footer-bottom .container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-bottom__wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-bottom__right {
  text-align: center;
}

.footer-bottom__right a {
  color: var(--color-white);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-bottom__right a:hover {
  color: var(--color-white);
}

/* em-dash separator */
.footer-bottom__right .sep {
  margin: 0 6px;
  opacity: 0.5;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .main-footer__wrapper {
    gap: 32px;
  }

  .footer-group:last-child {
    text-align: left;
  }

  .footer-group:last-child .widget-title,
  .footer-group:last-child h2 {
    font-size: 22px;
  }
}

@media (max-width: 768px) {
  .main-footer {
    padding: 40px 0 32px;
  }

  .main-footer__wrapper {
    flex-direction: column;
    gap: 32px;
  }

  .footer-group,
  .footer-group:first-child,
  .footer-group:last-child {
    flex: 1 1 100%;
    text-align: left;
  }
}

footer a, 
.site-footer a {
    color: var(--color-text); 
    text-decoration: none; 
}

/* ── Extra-Small  ≤ 479px ──────────────────────────────────── */
@media (max-width: 479px) {

  .main-footer {
    padding: 32px 16px 28px;
  }

  .main-footer .container {
    max-width: 100% !important;
    max-height: none !important;
    padding: 0;
  }

  .main-footer__wrapper {
    flex-direction: column;
    gap: 24px;
  }
  .footer-bottom__wrapper {
    line-height: 42px;
  }
  .footer-group,
  .footer-group:first-child,
  .footer-group:last-child {
    flex: 1 1 100%;
    min-width: 0;
    text-align: left;
  }

  /* Headings */
  .site-footer h1 {
    font-size: 20px;
    line-height: 28px;
    margin: 0 0 16px 0 !important;
  }


.footer-group .widget-title,
.footer-group h2 {
  font-size: 24px;
  line-height: 29px;
  font-weight: 700;
  margin: 0 0 12px 0;
}

  .site-footer h3 {
    font-family: var(--font-ui);
    line-height: 19px;
  }

  /* Body text */
  .site-footer p,
  .footer-group .footer-block p,
  .footer-group .widget .footerblock2 p {
    font-size: 16px;
    line-height: 24px;
    font-weight: 500;
  }

  .footer-group .widget .footerblock1 h2 {
    font-size: 16px;
    line-height: 24px;
    font-weight: 700;
  }

  /* Nav links */
  .footer-group .menu li a,
  .footer-group ul li a {
    font-size: 13px;
  }

  .footer-group .menu li,
  .footer-group ul li {
    margin-bottom: 8px;
  }

  /* CTA column */
  .footer-group:last-child .textwidget strong,
  .footer-group:last-child .textwidget b {
    font-size: 13px;
    margin-top: 10px;
  }

  .footer-group:last-child .textwidget a,
  .footer-group:last-child .textwidget p {
    font-size: 13px;
  }

  /* Social icons */
  .footer-group .wp-block-social-links,
  .footer-group .social-links {
    gap: 8px;
    margin-top: 14px;
  }

  .footer-group .wp-block-social-links li a,
  .footer-group .social-links a {
    width: 35px;
    height: 35px;
    font-size: 24px;
  }

  /* Bottom bar */
  .footer-bottom,
  .footer-bottom a {
    font-size: 16px;
    line-height: 24px;
    font-weight: 500;
  }

  .footer-bottom__wrapper {
    flex-direction: column;
    gap: 6px;
    text-align: center;
  }

  .footer-bottom .container {
    padding: 0 16px;
  }
}


/* ── Small  480px – 767px ──────────────────────────────────── */
@media (min-width: 480px) and (max-width: 767px) {

  .main-footer {
    padding: 40px 20px 36px;
  }

  .main-footer .container {
    max-width: 100% !important;
    max-height: none !important;
    padding: 0 20px;
  }

  .main-footer__wrapper {
    flex-direction: column;
    gap: 28px;
  }

  .footer-group,
  .footer-group:first-child,
  .footer-group:last-child {
    flex: 1 1 100%;
    min-width: 0;
    text-align: left;
  }

  /* Headings */
  .site-footer h1 {
    font-size: 22px;
    line-height: 30px;
    margin: 0 0 18px 0 !important;
  }

  .footer-group .widget-title,
  .footer-group h2 {
    font-size: 18px;
    line-height: 26px;
    margin: 0 0 14px 0;
  }

  .footer-group:last-child .widget-title,
  .footer-group:last-child h2 {
    font-size: 18px;
    line-height: 26px;
    margin-bottom: 16px;
  }

  .site-footer h3 {
    font-size: 14px;
    line-height: 22px;
  }

  /* Body text */
  .site-footer p,
  .footer-group .footer-block p,
  .footer-group .widget .footerblock2 p {
    font-size: 14px;
    line-height: 22px;
    padding: 0 0 12px 0 !important;
  }

    .footer-group .widget .footerblock1 h2 {
    font-size: 16px;
    line-height: 24px;
    font-weight: 700;
  }

  /* Nav links */
  .footer-group .menu li a,
  .footer-group ul li a {
    font-size: 14px;
  }

  .footer-group .menu li,
  .footer-group ul li {
    margin-bottom: 9px;
  }

  /* CTA column */
  .footer-group:last-child .textwidget strong,
  .footer-group:last-child .textwidget b {
    font-size: 14px;
    margin-top: 12px;
  }

  .footer-group:last-child .textwidget a,
  .footer-group:last-child .textwidget p {
    font-size: 14px;
  }

  /* Social icons */
  .footer-group .wp-block-social-links,
  .footer-group .social-links {
    gap: 9px;
    margin-top: 16px;
  }

  .footer-group .wp-block-social-links li a,
  .footer-group .social-links a {
    width: 32px;
    height: 32px;
    font-size: 14px;
  }

   /* Bottom bar */
  .footer-bottom,
  .footer-bottom a {
    font-size: 16px;
    line-height: 24px;
    font-weight: 500;
  }

  .footer-bottom__wrapper {
    flex-direction: column;
    gap: 6px;
    text-align: center;
  }

  .footer-bottom .container {
    padding:10px 0;

  }
}


/* ── Medium  768px – 1023px ────────────────────────────────── */
@media (min-width: 768px) and (max-width: 1023px) {

  .main-footer {
    padding: 60px 24px 56px;
  }

  .main-footer .container {
    max-width: 100% !important;
    max-height: none !important;
    padding: 0 24px;
  }

  .main-footer__wrapper {
    flex-wrap: wrap;
    gap: 28px;
  }

  .footer-group {
    flex: 1 1 calc(50% - 14px);
    min-width: 180px;
  }

  .footer-group:first-child {
    flex: 1 1 100%;
  }

  .footer-group:last-child {
    flex: 1 1 100%;
    text-align: left;
  }

  /* Headings */
  .site-footer h1 {
    font-size: 26px;
    line-height: 34px;
    margin: 0 0 20px 0 !important;
  }

  .footer-group .widget-title,
  .footer-group h2 {
    font-size: 20px;
    line-height: 28px;
    margin: 0 0 16px 0;
  }

  .footer-group:last-child .widget-title,
  .footer-group:last-child h2 {
    font-size: 20px;
    line-height: 28px;
    margin-bottom: 18px;
  }

  .site-footer h3 {
    font-size: 15px;
    line-height: 23px;
  }

  /* Body text */
  .site-footer p,
  .footer-group .footer-block p,
  .footer-group .widget .footerblock2 p {
    font-size: 15px;
    line-height: 23px;
  }

    .footer-group .widget .footerblock1 h2 {
    font-size: 16px;
    line-height: 24px;
    font-weight: 700;
  }

  /* Nav links */
  .footer-group .menu li a,
  .footer-group ul li a {
    font-size: 14px;
  }

  /* CTA column */
  .footer-group:last-child .textwidget strong,
  .footer-group:last-child .textwidget b {
    font-size: 14px;
  }

  .footer-group:last-child .textwidget a,
  .footer-group:last-child .textwidget p {
    font-size: 14px;
  }

  /* Social icons */
  .footer-group .wp-block-social-links li a,
  .footer-group .social-links a {
    width: 34px;
    height: 34px;
  }

  /* Bottom bar */
  .footer-bottom,
  .footer-bottom a {
    font-size: 16px;
    line-height: 24px;
    font-weight: 500;
    padding:10px 0;
  }

  .footer-bottom .container {
    padding: 0 24px;
  }
}

/* ── Large  1024px – 1279px ────────────────────────────────── */
@media (min-width: 1024px) and (max-width: 1279px) {

  .main-footer {
    padding: 80px 0 80px;
  }

  .main-footer .container {
    max-width: 980px !important;
    max-height: none !important;
  }

  .main-footer__wrapper {
    gap: 18px;
  }

  .footer-group {
    flex: 1 1 160px;
  }

  .footer-group:first-child {
    flex: 1.5 1 240px;
  }

  /* Headings */
  .site-footer h1 {
    font-size: 30px;
    line-height: 40px;
    margin: 0 0 22px 0 !important;
  }

  .footer-group .widget-title,
  .footer-group h2 {
    font-size: 21px;
    line-height: 27px;
    margin: 0 0 16px 0;
  }

  .footer-group:last-child .widget-title,
  .footer-group:last-child h2 {
    font-size: 22px;
    line-height: 28px;
  }

  .site-footer h3 {
    font-size: 15px;
    line-height: 23px;
  }

  /* Body text */
  .site-footer p,
  .footer-group .footer-block p,
  .footer-group .widget .footerblock2 p {
    font-size: 15px;
    line-height: 23px;
  }

    .footer-group .widget .footerblock1 h2 {
    font-size: 16px;
    line-height: 24px;
    font-weight: 700;
  }

  /* Nav links */
  .footer-group .menu li a,
  .footer-group ul li a {
    font-size: 14px;
  }

  /* CTA column */
  .footer-group:last-child .textwidget strong,
  .footer-group:last-child .textwidget b {
    font-size: 14px;
  }

  .footer-group:last-child .textwidget a,
  .footer-group:last-child .textwidget p {
    font-size: 14px;
  }

   /* Bottom bar */
  .footer-bottom,
  .footer-bottom a {
    font-size: 16px;
    line-height: 24px;
    font-weight: 500;
    padding:10px 0;
  }
}

@media (min-width: 1536px) {

  .main-footer .container {
    max-width: 1400px !important;
    max-height: none !important;
  }

  .main-footer__wrapper {
    gap: 14px;
  }

  .footer-group {
    flex: 1 1 220px;
  }

  /* Headings */
  .site-footer h1 {
    font-size: 40px;
    line-height: 52px;
    margin: 0 0 30px 0 !important;
  }

  .footer-group .widget-title,
  .footer-group h2 {
    font-size: 28px;
    line-height: 36px;
    margin: 0 0 22px 0;
  }

  .footer-group:last-child .widget-title,
  .footer-group:last-child h2 {
    font-size: 30px;
    line-height: 38px;
    margin-bottom: 22px;
  }

  .site-footer h3 {
    font-size: 18px;
    line-height: 26px;
  }

  /* Body text */
  .site-footer p,
  .footer-group .footer-block p,
  .footer-group .widget .footerblock2 p {
    font-size: 16px;
    line-height: 26px;
    padding: 0 0 14px 0 !important;
  }

  .footer-group .widget .footerblock1 h2 {
    font-size: 20px;
    line-height: 30px;
    font-weight: 700;
  }

  /* Nav links */
  .footer-group .menu li a,
  .footer-group ul li a {
    font-size: 16px;
  }

  .footer-group .menu li,
  .footer-group ul li {
    margin-bottom: 12px;
  }

  /* CTA column */
  .footer-group:last-child .textwidget strong,
  .footer-group:last-child .textwidget b {
    font-size: 17px;
    margin-top: 18px;
  }

  .footer-group:last-child .textwidget a,
  .footer-group:last-child .textwidget p {
    font-size: 16px;
  }

  /* Social icons */
  .footer-group .wp-block-social-links,
  .footer-group .social-links {
    gap: 12px;
    margin-top: 24px;
  }

  .footer-group .wp-block-social-links li a,
  .footer-group .social-links a {
    width: 42px;
    height: 42px;
    font-size: 18px;
  }

  /* Bottom bar */
  .footer-bottom,
  .footer-bottom a {
    font-size: 16px;
    line-height: 24px;
    font-weight: 500;
    padding:10px 0;
  }
 
  .footer-bottom .container {
    max-width: 1400px;
    padding: 0 32px;
  }
}

/* ── Print ──────────────────────────────────────────────────── */
@media print {

  .main-footer {
    padding: 24pt 0;
    background-color: #ffffff !important;
  }

  .site-footer,
  .footer-bottom {
    background-color: #ffffff !important;
    color: #000000 !important;
  }

  .footer-bottom,
  .footer-bottom a {
    background-color: #ffffff !important;
  }

  .main-footer__wrapper {
    flex-direction: column;
    gap: 16pt;
  }

  .footer-group,
  .footer-group:first-child,
  .footer-group:last-child {
    flex: 1 1 100%;
    text-align: left;
  }

  .site-footer h1 {
    font-size: 18pt;
    line-height: 26pt;
  }

  .footer-group .widget-title,
  .footer-group h2 {
    font-size: 14pt;
    line-height: 20pt;
  }

  .site-footer h3 {
    font-size: 11pt;
    line-height: 16pt;
  }

  .site-footer p,
  .footer-group .footer-block p {
    font-size: 10pt;
    line-height: 15pt;
  }

  .footer-group .menu li a,
  .footer-group ul li a {
    font-size: 10pt;
    color: #000000 !important;
  }

  .footer-group .wp-block-social-links,
  .footer-group .social-links {
    display: none;
  }
}

/* ==========================================================================
   Back to Top Styles (Default / Desktop)
   ========================================================================== */

#back-to-top {
  position: fixed;
  right: 60px; 
  bottom: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transform: translateX(10px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

/* Show when page is scrolled */
#back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

/* Circular arrow button */
#back-to-top .btt-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid #1a5fa8;
  background: transparent;
  color: #1a5fa8;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
  text-decoration: none;
}

/* SVG chevron arrow */
#back-to-top .btt-circle svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 2.5;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Vertical "BACK TO TOP" label */
#back-to-top .btt-label {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(360deg);
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  color: var(--color-blue);
  text-transform: uppercase;
  font-family: var(--font-display);
  cursor: pointer;
  user-select: none;
}

/* ==========================================================================
   Responsive Breakpoint (Tablets and Mobile Devices)
   ========================================================================== */

@media (max-width: 1023px) {
  #back-to-top {
    /* Bring the button closer to the screen edges so it doesn't block content */
    right: 20px; 
    bottom: 124px; 
  }

  #back-to-top .btt-label {
    /* Hide the text label on tablets and mobile */
    display: none; 
  }
}
.menu-toggle {
    display: none; /* hidden on desktop */
    align-items: center;
    gap: 8px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px 4px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 700;
    color: var(--color-text);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* The three lines icon */
.menu-toggle .hamburger-icon {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.hamburger-line {
    display: block;
    width: 14px;
    height: 2px;
    background: var(--color-navy);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-toggle.is-active .hamburger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.menu-toggle.is-active .hamburger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.menu-toggle.is-active .menu-toggle-label {
    display: none;
}

/* ==========================================================================
   RIGHT-SIDE DRAWER OVERLAY
   ========================================================================== */

/* Dark backdrop */
.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 998;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-overlay.is-visible {
    display: block;
    opacity: 1;
}
@media (max-width: 1023px) {

    /* Show hamburger */
    .menu-toggle {
        display: none;
    }

    .main-navigation .nav-links .current-menu-item > a {
        /* border-right: 4px solid #007bff; */
        color: #007bff; 
        font-weight: 600; 
    }

  @media (max-width: 767px) {
    .main-navigation .nav-links.is-open {
        display: flex !important;
        transform: translateX(0); 
    }
}
  
@media (max-width: 767px) {
    .main-navigation .nav-links {
      display: none;
      flex-direction: column;
      align-items: flex-start;
      gap: 0;
      position: fixed;
      top: -35px;
      right: 0;
      left: auto;
      bottom: 0;
      width: 300px;
      background: var(--color-white);
      z-index: 999;
      padding: 90px 15px 32px;
      transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);     
    }
}

@media (max-width: 767px) {
    .menu-toggle {
        display: flex;
    }
}
    .main-navigation .nav-links li {
        padding: 10px 0;
        
    }

    .main-navigation .nav-links li a {
        display: block;
        font-size: 14px;
        font-weight: 700;
        color: var(--color-navy);
        letter-spacing: 0.08em;
        text-transform: uppercase;
        transition: color 0.2s ease, background 0.2s ease;
    }

    .main-navigation .nav-links li a:hover {
        color: var(--color-blue);
        background: rgba(24, 95, 165, 0.04);
    }
}
    .main-navigation .nav-links .current-menu-item > a,
    .main-navigation .nav-links .current_page_item > a {
        color: var(--color-blue);
        
    }
    .main-navigation .nav-links a::after {
        display: none;
    }
    .logo-icon {
        width: 38px;
        height: 38px;
    }


@media (max-width: 480px) {
    .site-header {
        padding: 0 14px;
        height: 60px;
    }

    .logo-text .site-description {
        display: none;
    }

    .logo-text .site-title {
        font-size: 1.1rem;
    }

   .nav-drawer-close {
      right: auto !important; 
      left: 0px;
      top: 33px;
      display: flex;
      align-items: center;
      justify-content: center;
      position: absolute;
      width: 50px;
      height: 50px;
      border-radius:0 0 65px 0;
      padding: 5px 14px 14px 8px;
      background-color:var(--color-blue);
      color: #ffffff;
      border: none;
      font-size: 24px;
      line-height: 1;
      cursor: pointer;
      transition: background-color 0.2s ease;
      z-index: 1000;
    }
    
    .main-navigation .nav-links li.current-menu-item a::before {
        display: none;
    }
}  

@media (min-width: 768px) {
    .nav-drawer-close {
        display: none;
    }
}

@media (max-width: 1023px) {
    .nav-drawer-close {
      right: auto !important; 
      left: 0px;
      top: 33px;
      align-items: center;
      justify-content: center;
      position: absolute;
      width: 50px;
      height: 50px;
      border-radius:0 0 100px 0;
      padding: 5px 14px 14px 8px;
      background-color:var(--color-blue);
      color: #ffffff;
      border: none;
      font-size: 24px;
      line-height: 1;
      cursor: pointer;
      transition: background-color 0.2s ease;
      z-index: 1000;
    }
    .main-navigation .nav-links {
            padding-right: 60px;

        }
   
}
/* ── Large Desktop (1280px+) ──────────────────────────────────────────────── */
@media (min-width: 1280px) {
    .site-header {
        padding: 0 25px;
    }

    .main-navigation .nav-links {
        gap: 44px;
        font-family: var(--font-body);
        padding-right: 100px;
    }
}

/* ── Desktop (1024px – 1279px) ────────────────────────────────────────────── */
@media (min-width: 1024px) and (max-width: 1279px) {
    .site-header {
        padding: 0 32px;
    }
    .main-navigation .nav-links {
            padding-right: 60px;

        }
    .main-navigation .nav-links {
        gap: 28px;
    }

    .nav-links li a {
        font-size: 13px;
    }
}


/* ── Tablet (768px – 1023px) ──────────────────────────────────────────────── */
@media (min-width: 768px) and (max-width: 1023px) {
    .site-header {
        padding: 0 24px;
        height: 64px;
        position: sticky;
        top: 0;
        justify-content: space-between;
    }

    .main-navigation .nav-links a::after {
        display: none;
    }
    .site-header .btn--primary {
      display: none !important;
    }

    
}

@media (max-width: 767px) {
    .site-header {
        position: sticky;
        top: 0;
    }

    .main-navigation .nav-links li {
        width: 100%;
        padding: 0 !important;
        border-bottom: 0.5px solid rgba(13, 27, 62, 0.06) !important;
    }
    .main-navigation .nav-links a::after {
        display: none;
    }

    .main-navigation .nav-links .current-menu-item > a,
    .main-navigation .nav-links .current_page_item > a {
        border-bottom: 3px solid var(--color-blue);
        width: 100%;
    }

    /* Hide tagline next to logo */
    .logo-text .site-description {
        display: none;
    }
}


/* ── Mobile (481px – 767px) ───────────────────────────────────────────────── */
@media (min-width: 481px) and (max-width: 767px) {
    .site-header {
        padding: 0 16px;
        height: 60px;
    }

     .main-navigation .nav-links li a {
        padding: 14px 16px 14px 0;
        font-family: var(--font-body);
        color: var(--color-text);
    }    
}

/* ── Small Mobile (≤ 480px) ───────────────────────────────────────────────── */
@media (max-width: 480px) {
    .site-header {
        padding: 0 12px;
        height: 56px;
    }

    .main-navigation .nav-links {
      display: none;
      flex-direction: column;
      align-items: flex-start;
      gap: 0;
      position: fixed;
      top: -35px;
      right: 0;
      left: auto;
      bottom: 0;
      width: 300px;
      background: var(--color-white);
      z-index: 999;
      padding: 90px 15px 32px;
      transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);     
    }

    .main-navigation .nav-links li a {
        padding: 14px 16px 14px 0;
        font-family: var(--font-body);
        color: var(--color-text);
    }
    /* Logo sizing */
    .logo-text .site-title {
        font-size: 1.1rem;
    }

    .logo-icon {
        width: 36px;
        height: 36px;
    }

    .custom-logo-wrap img {
        max-height: 60px;
        padding-left: 10px;
    }
}
/* 404 Error Page */

/* ── Reset / scope ─────────────────────────────────────── */
.error-404-wrap *,
.error-404-wrap *::before,
.error-404-wrap *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* ── Full-viewport hero section ────────────────────────── */
.error-404-wrap {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 46px; 
}

/* Background image — replace the URL with your own photo */
.error-404-bg {
    position: absolute;
    inset: 0;
    background-image: url('/wp-content/themes/academy-percoidit/assets/images/404.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}


.error-404-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom, 
        rgba(3, 6, 12, 0.55) 0%, 
        rgba(3, 6, 12, 0.85) 50%,
        rgba(3, 6, 12, 0.98) 90%
    );
    pointer-events: none;
}

/* ── Centred content ───────────────────────────────────── */
.error-404-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: #ffffff;
    padding: 40px 24px;
    max-width: 950px;
    width: 100%;
}

.error-404-number {
    font-size: clamp(140px, 20vw, 200px);
    font-weight: 600;
    line-height: 1;
    letter-spacing: -4px;
    font-family: var(--font-ui);
    color: #ffffff;
    margin-bottom: 16px;
    display: block;
}

.error-404-title {
    font-size: clamp(20px, 3.5vw, 36px);
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 18px;
    font-family: var(--font-ui);
    color: #ffffff;
}

.error-404-description {
    font-size: clamp(14px, 1.8vw, 20px);
    font-weight: 500;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.90);
    /* max-width: 560px; */
    margin: 0 auto 36px;
    font-family: var(--font-body);
}

/* ── CTA Button ────────────────────────────────────────── */
.error-404-btn {
    display: inline-block;
    background-color: var(--color-navy);
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
    line-height: 24px;
    font-weight: 500;
    padding: 14px 36px;
    border-radius: 50px;
    font-family: var(--font-ui);
    transition: background-color 0.25s ease, transform 0.2s ease;
    letter-spacing: 0.02em;
}

.error-404-btn:hover,
.error-404-btn:focus {
    background-color: #ffffff;
    color:  #0d1b3e;
    transform: translateY(-2px);
    text-decoration: none;
    
}

/* ── Hide the default site main / page structure ───────── */
#primary.site-main {
    padding: 0;
    margin: 0;
}

/* ── Responsive ────────────────────────────────────────── */
@media (max-width: 600px) {
    .error-404-announcement {
        font-size: 12px;
        padding: 10px 40px 10px 16px;
        text-align: left;
    }

    .error-404-number {
        letter-spacing: -2px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .error-404-btn {
        transition: none;
    }
}


/* ---------- Single: hero ---------- */
.course-hero {
	max-width: 1160px;
	margin: 0 auto;
	padding: 28px 24px 0;
	display: grid;
	grid-template-columns: 1.35fr 0.9fr;
	gap: 48px;
	align-items: start;
}

.hero-left .badges {
	display: flex;
	gap: 10px;
	margin-bottom: 18px;
	flex-wrap: wrap;
}

.badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-family: var( --font-ui );
	font-size: 12px;
	font-weight: 600;
	padding: 6px 13px;
	border-radius: var( --radius-full );
}

.badge.popular {
	background: #fef3e0;
	color: #92620a;
}

.badge.level {
	background: var( --color-blue-light );
	color: var( --color-blue );
}

.badge.seats {
	background: #fdeaea;
	color: #c0392b;
}

.badge.seats::before {
	content: "";
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #e74c3c;
	display: inline-block;
}

.badge.seats-outline {
	background: var( --color-white );
	color: var( --color-navy );
	border: 1px solid var( --color-border );
}

.hero-left h1 {
	font-family: var( --font-heading );
	font-size: var( --h1-below-size );
	font-weight: var( --h1-below-weight );
	line-height: var( --h1-below-line-height );
	margin: 0 0 16px;
	color: var( --color-navy );
}

.hero-left .subhead {
	font-family: var( --font-body );
	font-size: var( --p-size );
	font-weight: var( --p-weight );
	line-height: var( --p-line-height );
	color: var( --color-muted );
	max-width: 560px;
	margin-bottom: 28px;
}

.quick-meta {
	display: grid;
	grid-template-columns: repeat( 4, 1fr );
	background: var( --color-white );
	border: 1px solid var( --color-border );
	border-radius: var( --radius-md );
	box-shadow: var( --shadow-sm );
	overflow: hidden;
}

.quick-meta .qm {
	padding: 18px 16px;
	border-right: 1px solid var( --color-border );
}

.quick-meta .qm:last-child {
	border-right: none;
}

.quick-meta .qm .ql {
	font-family: var( --font-ui );
	font-size: 10.5px;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var( --color-muted );
	font-weight: 600;
	margin-bottom: 5px;
}

.quick-meta .qm .qv {
	font-family: var( --font-ui );
	font-size: 14.5px;
	font-weight: 700;
	color: var( --color-navy );
}

/* ---------- Single: sticky enroll card ---------- */
.enroll-card {
	background: linear-gradient( 165deg, var( --color-navy ) 0%, var( --color-blue ) 180% );
	border-radius: var( --radius-lg );
	padding: 30px;
	color: var( --color-white );
	box-shadow: var( --shadow-lg );
	position: sticky;
	top: 28px;
	overflow: hidden;
}

.enroll-card::before {
	content: "";
	position: absolute;
	top: -40px;
	right: -40px;
	width: 160px;
	height: 160px;
	border-radius: 50%;
	background: radial-gradient( circle, rgba( 255, 204, 0, 0.22 ), transparent 70% );
}

.enroll-card .price-row {
	display: flex;
	align-items: baseline;
	gap: 8px;
	margin-bottom: 4px;
}

.enroll-card .price-row .amount {
	font-family: var( --font-heading );
	font-size: 32px;
	font-weight: 700;
}

.enroll-card .price-row .period {
	font-family: var( --font-ui );
	font-size: 13px;
	color: var( --color-blue-light );
}

.enroll-card .note {
	font-family: var( --font-ui );
	font-size: 12.5px;
	color: var( --color-blue-light );
	margin-bottom: 22px;
}

.enroll-list {
	list-style: none;
	padding: 0;
	margin: 0 0 22px;
	display: flex;
	flex-direction: column;
	gap: 11px;
}

.enroll-list li {
	display: flex;
	align-items: center;
	gap: 10px;
	font-family: var( --font-ui );
	font-size: 13.5px;
	color: var( --color-blue-light );
}

.enroll-list li svg {
	width: 15px;
	height: 15px;
	flex-shrink: 0;
	color: var( --color-accent );
}

.btn-block {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	background: var( --color-accent );
	color: var( --color-navy );
	font-family: var( --font-ui );
	font-size: 14.5px;
	font-weight: 700;
	padding: 14px;
	border-radius: var( --radius-full );
	margin-bottom: 10px;
	transition: background var( --transition );
	border: none;
}

.btn-block:hover,
.btn-block:focus {
	background: #ffd633;
	color: var( --color-navy );
}

.btn-outline {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	background: rgba( 255, 255, 255, 0.08 );
	border: 1px solid rgba( 255, 255, 255, 0.25 );
	color: var( --color-white );
	font-family: var( --font-ui );
	font-size: 13.5px;
	font-weight: 600;
	padding: 12px;
	border-radius: var( --radius-full );
}

.btn-outline:hover,
.btn-outline:focus {
	background: rgba( 255, 255, 255, 0.16 );
	color: var( --color-white );
}

.seats-note {
	text-align: center;
	font-family: var( --font-ui );
	font-size: 12px;
	color: var( --color-blue-light );
	margin-top: 14px;
}

/* ---------- Single: content body ---------- */
.content-wrap {
	max-width: 1160px;
	margin: 0 auto;
	padding: 64px 24px 110px;
	display: grid;
	grid-template-columns: 1.35fr 0.9fr;
	gap: 48px;
}

.content-main .block {
	margin-bottom: 44px;
}

.content-main h2 {
	font-family: var( --font-heading );
	font-size: var( --h4-size );
	font-weight: var( --h4-weight );
	line-height: var( --h4-line-height );
	margin: 0 0 16px;
	color: var( --color-navy );
}

.content-main p {
	font-family: var( --font-body );
	font-size: var( --p-sm-size );
	font-weight: var( --p-sm-weight );
	line-height: var( --p-sm-line-height );
	color: var( --color-text );
}

.content-main .lead {
	font-family: var( --font-body );
	font-size: var( --p-size );
	font-weight: var( --p-weight );
	line-height: var( --p-line-height );
	color: var( --color-text );
}

.outcome-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
	margin-top: 18px;
}

.outcome {
	display: flex;
	gap: 12px;
	background: var( --color-white );
	border: 1px solid var( --color-border );
	border-radius: var( --radius-md );
	padding: 16px 18px;
}

.outcome svg {
	width: 18px;
	height: 18px;
	color: var( --color-blue );
	flex-shrink: 0;
	margin-top: 1px;
}

.outcome .ot {
	font-family: var( --font-ui );
	font-size: 14px;
	font-weight: 600;
	color: var( --color-navy );
	margin-bottom: 3px;
}

.outcome .od {
	font-family: var( --font-ui );
	font-size: 12.5px;
	color: var( --color-muted );
	line-height: 1.5;
}

.content-side .side-card {
	background: var( --color-white );
	border: 1px solid var( --color-border );
	border-radius: var( --radius-md );
	padding: 22px;
	margin-bottom: 20px;
}

.content-side .side-card h3 {
	font-family: var( --font-heading );
	font-size: var( --h3-size );
	font-weight: var( --h3-weight );
	line-height: var( --h3-line-height );
	margin: 0 0 14px;
	color: var( --color-navy );
}

.content-side .side-card p {
	font-family: var( --font-body );
	font-size: 13px;
	color: var( --color-muted );
	line-height: 1.7;
}

.content-side .side-card strong {
	color: var( --color-navy );
}

/* ---------- Responsive ---------- */
@media ( max-width: 900px ) {
	.course-grid {
		grid-template-columns: 1fr;
	}

	.stat-strip {
		grid-template-columns: repeat( 2, 1fr );
		margin: -60px 20px 0;
	}

	.stat-strip .stat:nth-child( 2 ) {
		border-right: none;
	}

	.course-page-header h1 {
		font-size: 32px;
	}

	.cta-banner {
		flex-direction: column;
		text-align: center;
		padding: 40px 28px;
	}

	.course-hero,
	.content-wrap {
		grid-template-columns: 1fr;
	}

	.quick-meta {
		grid-template-columns: repeat( 2, 1fr );
	}

	.quick-meta .qm:nth-child( 2 ) {
		border-right: none;
	}

	.enroll-card {
		position: static;
	}

	.outcome-grid {
		grid-template-columns: 1fr;
	}

	.hero-left h1 {
		font-size: 30px;
	}
}

/* Respect reduced motion preference. */
@media ( prefers-reduced-motion: reduce ) {
	.course-card,
	.btn-arrow,
	.btn-block,
	.btn-outline {
		transition: none;
	}
}

/*  Cards Section */

.learning-industry-section {
  padding: 20px 0 80px 0;
  background: var(--off-white);
}

.section-header h2 {
  color: var(--color-navy);
  font-size: 2.5rem;
}

.section-header .subheading {
  max-width: 700px;
  color: var(--color-muted);
  line-height: 1.6;
  margin:0 auto;
  padding:0 0 30px 0;
}

.section-content-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 1140px;
  margin: 0 auto;
}


.featured-dark-card {
  background-color: var(--color-navy);
  border-radius: 16px;
  padding: 40px;
  color: var(--color-white); 
  position: relative;
  overflow: hidden;
  justify-self: center;
}
.featured-dark-card:hover {
  transform: translateY(-4px);
}

.featured-dark-card h3 {
  font-size: 1.8rem;
  margin: 15px 0;
  font-weight: 700;
}

.featured-dark-card p {
  color: #cbd5e1;
  max-width: 700px;
  margin-bottom: 25px;
  line-height: 1.6;
}

.badge-container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.badge {
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 0.85rem;
  color: #e2e8f0;
}

.supporting-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

/* .support-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  transition: transform 0.25s ease;
}

.support-card:hover {
  
  border-left: 3px solid var(--color-blue);
  transition: transform 0.25s ease;
} */
.support-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-left: 3px solid transparent; 
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1),
              border-color 0.3s ease,
              box-shadow 0.3s ease;
}

.support-card:hover {
  transform: translateY(-4px);
  border-left-color: var(--color-blue);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.08);
}


/* .support-card .icon {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color:red;
} */

.support-card h4 {
  color: var(--color-navy);
  font-size: 1.25rem;
  margin: 10px 0 0 0;
  font-weight: 700;
}

.support-card p {
  color: var(--color-muted);
  line-height: 1.6;
  margin: 5px 0;
}

@media (max-width: 768px) {
  .supporting-cards-grid {
    grid-template-columns: 1fr;
  }
}

.support-card .icon-wrap {
	display: inline-flex;
	align-items: center;
	justify-content: center;
  padding: 10px;
  background-color: var(--color-light);
  border-radius: 50%;
  transition: background-color 0.3s ease, transform 0.3s ease;
}
.support-card:hover .icon-wrap {
  background-color: var(--color-blue-light);
  transform: scale(1.05);
}

.support-card .icon-wrap img {
	width: 48px; 
	height: 48px;
	object-fit: contain;
	display: block;
}

/* Animations of the img  */

/* .support-card .icon-wrap img {
  width: 48px; 
  height: 48px;
  object-fit: contain;
  display: block;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.support-card:hover .icon-wrap  {
  transform: scale(1.1);
  filter: drop-shadow(0 6px 12px rgba(59, 131, 246, 0.078));
} */

.support-card .icon-wrap img {
  width: 48px; 
  height: 48px;
  object-fit: contain;
  display: block;
  /* Smooth transition for transform */
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.support-card:hover .icon-wrap  {
  transform: scale(1.1) translateY(0px);
}



/* Program Section */


/* ══════════════════════════════════════════
   4C. EXPLORE LEARNING PROGRAMS GRID
══════════════════════════════════════════ */
.programs-section {
  background-color: var(--color-white);
  padding: 10px 0 50px;
}



/* 2x2 Premium Grid Container */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin-top: 60px;
}

/* Learning Path Unique Large Card Setup */
.program-card {
  background: var(--color-blue-light);
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 20px;
  padding: 48px; 
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 420px;
  box-shadow: 0 10px 40px -15px rgba(15, 23, 42, 0.04);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

/* Decorative visual background gradient accent node */
.program-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: transparent;
  transition: background-color 0.3s ease;
}

.program-card__header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.program-card__icon {
  font-size: 2rem;
  line-height: 1;
}

.program-card__title {
  font-size: 1.625rem;
  font-weight: 700;
  color: var(--color-navy, #0f172a);
  margin: 0;
  letter-spacing: -0.02em;
}

.program-card__description {
  font-size: 1.05rem;
  color: var(--muted, #64748b);
  line-height: 1.65;
  margin: 0 0 32px 0;
}

/* Inline horizontal flex node tags layout */
.program-card__topics {
  border-top: 1px solid #f1f5f9;
  padding-top: 24px;
  margin-bottom: 32px;
}
/* Container for the bottom section action button */
.program-section {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 40px; /* Adjust spacing above the button as needed */
    width: 100%;
}

/* .program-section .btn--primary:hover {
  border: 1px solid var(--color-blue);
  background-color: var(--color-white);
  color: var(--color-blue);
}

.program-section .btn--primary:hover .cta-arrow svg
 {
  color: var(--color-blue) !important;
}

.program-section .btn--primary {
  background-color: var(--color-blue);
}


.testimonial-section__action .btn--primary:hover .cta-arrow svg,
.program-section .btn:hover .cta-arrow svg {
  stroke: var(--color-blue);
}
.testimonial-section__action .btn--primary:hover .cta-arrow svg,
.program-section .btn:hover .cta-arrow svg {
  stroke: var(--color-blue);

}


.apply-before__cta .btn--primary:hover .cta-arrow svg {
  stroke: var(--color-blue); 
} */

/* If your SVG path uses fill instead of stroke */
/* .program-section .btn--primary:hover .cta-arrow svg path,
.program-section .btn:hover .cta-arrow svg path {
  fill: var(--color-blue);
} */

/* start */

/* Ensure the card behaves like a block layout and doesn't inherit unwanted link styles */
.program-card--clickable {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit; 
    cursor: pointer;
    
    /* Hardware-accelerated transitions to completely bypass any flickering */
    transition: transform 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.25s ease;
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
}

/* Card Hover Styles */
.program-card--clickable:hover {
    transform: translate3d(0, -6px, 0);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

/* Make sure inner elements do not get underlined */
.program-card--clickable:hover * {
    text-decoration: none;
}

.topics-title {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
  color: var(--color-blue, #1a5fa8);
  margin-bottom: 14px;
}

.topics-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
}

.topics-list li {
  font-size: 0.9rem;
  color: var(--color-navy, #0f172a);
  background: #f1f5f9;
  padding: 6px 14px;
  border-radius: 100px;
  font-weight: 500;
  transition: all 0.3s ease;
}

/* Action Footer Button Layout */
.program-card__footer {
  margin-top: auto;
}

.program-card__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-blue, #1a5fa8);
  transition: color 0.3s ease;
}

.btn-arrow {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Interactive Hover States */
.program-card:hover {
  transform: translateY(-6px);
  border-color: rgba(26, 95, 168, 0.25);
  box-shadow: 0 30px 60px -20px rgba(15, 23, 42, 0.09);
}

.program-card:hover::before {
  background-color: var(--color-blue, #1a5fa8);
}

.program-card:hover .topics-list li {
  background: rgba(26, 95, 168, 0.06);
  color: var(--color-blue, #1a5fa8);
}

.program-card__btn:hover {
  color: var(--color-navy, #0f172a);
}

.program-card:hover .btn-arrow {
  transform: translateX(6px);
}

/* ══════════════════════════════════════════
   RESPONSIVE DESIGN BREAKPOINTS
══════════════════════════════════════════ */
@media (max-width: 1024px) {
  .program-card {
    padding: 36px;
    min-height: auto;
  }
  .program-card__title {
    font-size: 1.4rem;
  }
}

@media (max-width: 768px) {
  .programs-section, .testimonials-section , .timeline-section {
    padding: 30px 0 !important;
  }
  .testimonials-slider {
    padding: 0px 40px 40px !important;
  }
  .testimonials-slider-wrapper{
    margin: 0px !important;
  }
  .section-header-center {
    margin-bottom: 20px !important;
  }
  .programs-grid {
    grid-template-columns: 1fr; 
    gap: 24px !important;
    margin-top: 40px;
  }
  .academy-grid {
    gap: 24px !important;

  }

  .program-card , .mv-card{
    padding: 20px !important;
  }
}

/* Image Container Sizing and Layout Adjustments */
.program-card__icon-wrapper {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.program-card__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* Interactive Hover States */
/* .programs-cta-action .btn--primary:hover,
.hero-actions .btn--primary:hover,
.cta-buttons .btn--primary:hover,
.pa-hero__actions .btn--primary:hover,
.sp-cta-actions .btn--primary:hover {
  background-color: #ffffff !important;
  color: var(--color-blue);
  
} */

/* ══════════════════════════════════════════
   RESPONSIVE LAYOUT BREAKPOINTS
══════════════════════════════════════════ */
@media (max-width: 991px) {
  .programs-cta-box {
    padding: 48px;
    flex-direction: column;
    text-align: center;
    gap: 32px;
  }
  
  .programs-cta-content h2 {
    font-size: 1.85rem;
  }
}

@media (max-width: 576px) {
  .programs-cta-section {
    padding: 0 0 60px 0;
  }
  
  .programs-cta-box {
    padding: 36px 24px;
    border-radius: 20px;
  }

  /* .programs-cta-box .btn-primary {
    width: 100%;
    justify-content: center;
  } */
}

.top-button{
  padding-top: 50px;
}

.top-button .btn-third
{
  /* border: 1px solid var(--color-blue); */
  /* background-color: var(--color-white); */
  /* color: var(--color-blue); */
  margin-left: 10px;
  margin-top: 10px;
}

/* .testimonial-section__action .btn--primary{
  background-color: var(--color-blue);
}

.testimonial-section__action .btn--primary:hover{
  background-color: var(--color-white);
  color: var(--color-blue);
} */



/* Programs Page Template */
.prog-page {
	font-family: var(--font-body);
	color: var(--color-text);
	background: var(--color-white);
}

.prog-page * {
	box-sizing: border-box;
}

.prog-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 24px;
}


/* ---------- Buttons ---------- */
.prog-btn {
	font-family: var(--font-ui);
	font-size: var(--h3-btn-size);
	font-weight: var(--h3-btn-weight);
	line-height: var(--h3-btn-line-height);
	letter-spacing: 0.03em;
	text-transform: uppercase;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 14px 26px;
	border-radius: var(--radius-full);
	border: 2px solid transparent;
	cursor: pointer;
	transition: var(--transition);
	white-space: nowrap;
}

.prog-btn .prog-btn-arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	flex-shrink: 0;
	transition: var(--transition);
}

.prog-btn .prog-btn-arrow svg {
	width: 11px;
	height: 11px;
}

.prog-btn--primary {
	background: var(--color-blue);
	color: var(--color-white);
	box-shadow: var(--shadow-sm);
  margin: auto;
  align-self: flex-start;
}
.prog-btn--primary .prog-btn-arrow {
	background: rgba(255, 255, 255, 0.2);
}
.prog-btn--primary:hover {
	background: var(--color-navy);
	box-shadow: var(--shadow-md);
	/* transform: translateY(-2px); */
}

.prog-btn--outline {
	background: transparent;
	color: var(--color-blue);
	border-color: var(--color-blue);
  align-self: flex-start;
  justify-self: left;
}
/* Button  */

/* Base Layout for Minimal Design */


.prog-btn-minimal {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0px; 
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    color:var(--color-blue);
    background: transparent;
    border-bottom: 2px solid var(--off-white);
    width: max-content; 
    cursor: pointer;
    border-radius: 0;
}

.prog-btn-minimal::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: currentColor; 
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.prog-card:hover .prog-btn-minimal::after {
    transform: scaleX(1);
}

/* --- Card Hover Transitions --- */

/* 1. Unrolls the underline across the bottom when the parent card is hovered */
.program-card--clickable:hover .prog-btn-minimal::after {
    transform: scaleX(1);
}

/* .program-card--clickable .prog-btn-minimal {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0px; 
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    color:var(--color-blue);
    background: transparent;
    border-bottom: 2px solid var(--off-white);
    width: max-content; 
    cursor: pointer;
    border-radius: 0;
}

.program-card--clickable .prog-btn-minimal::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: currentColor; 
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.program-card--clickable:hover .prog-btn-minimal::after {
    transform: scaleX(1);
} */





@media (max-width: 767px) {
    .prog-btn-minimal {
        font-size: 15px;
        padding: 8px 0; 
        gap: 6px;
    }
}

.prog-btn--outline .prog-btn-arrow {
	background: var(--color-blue-light);
	color: var(--color-blue) !important;
  border-color: var(--color-blue);
  border: 1px solid var(--color-blue);
}
.prog-btn--outline:hover {
	border-color: var(--color-blue);
	color: var(--off-white);
	border-color: var(--color-border);
  background-color: var(--color-blue);
	transform: translateY(-2px);
}

.prog-btn--outline-light {
	background: transparent;
	color: var(--color-white);
	border-color: rgba(255, 255, 255, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.35) !important;
}
.prog-btn--outline-light .prog-btn-arrow {
	background: rgba(255, 255, 255, 0.15);
}
.prog-btn--outline-light:hover {
	border-color: var(--color-white);
	transform: translateY(-2px);
}

.prog-btn--block {
	width: 100%;
	justify-content: space-between;
}

/* ---------- HERO ---------- */
.prog-hero {
	padding: 100px 0 80px;
	background: linear-gradient(180deg, var(--off-white) 0%, var(--color-white) 100%);
	text-align: center;
}

.prog-hero-inner {
	max-width: 1140px;
	margin: 0 auto;
}

.prog-hero h1 {
	font-family: var(--font-heading);
	font-size: var(--h1-size);
	font-weight: var(--h1-weight);
	line-height: var(--h1-line-height);
	color: var(--color-white);
	
}

.prog-hero p {
	font-size: var(--p-size);
	font-weight: var(--p-weight);
	line-height: var(--p-line-height);
	color: var(--color-white);
	margin: 0 auto 36px;
	max-width: 680px;
}

.prog-pill {
	font-family: var(--font-ui);
	font-size: var(--p-sm-size);
	font-weight: 500;
	color: var(--color-blue);
	background: var(--color-blue-light);
	border-radius: var(--radius-full);
	padding: 8px 18px;
	white-space: nowrap;
}

.pa-search-form {
	position: relative;
	max-width: 480px;
	width: 100%;
  border-radius: 50%;
}

.pa-search-input-wrap {
	position: relative;
	display: flex;
	align-items: center;
	background: #fff;
	border-radius: 25px;
	border: 1px solid var(--color-blue-light);
  
}

.pa-search-field {
	flex: 1;
	border: none;
	outline: none;
	padding: 12px 40px 12px 16px;
	font-size: 0.95rem;
  font-family: var(--font-heading);
	background: transparent;
}

.pa-search-clear {
	position: absolute;
	right: 12px;
	border: none;
	background: transparent;
	font-size: 1.1rem;
	color: #999;
	cursor: pointer;
	display: none;
}

.pa-search-suggestions {
	display: none;
	position: absolute;
	top: calc(100% + 6px);
	left: 0;
	width: 100%;
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
	padding: 10px 0;
	z-index: 50;
	max-height: 320px;
	overflow-y: auto;
}

.pa-suggestion-item {
	display: block;
	padding: 10px 20px;
	color: #222;
	text-decoration: none;
	font-size: 0.9rem;
}

.pa-suggestion-item:hover {
	background: #f4f6f8;
}

.pa-suggestion-heading {
	padding: 10px 20px 4px;
	font-weight: 700;
	font-size: 0.85rem;
	color: #111;
}

.pa-suggestion-empty {
	padding: 10px 20px;
	color: #999;
	font-size: 0.9rem;
}

/* Hide clear button by default */
.pa-search-clear {
    display: none;
    cursor: pointer;
    background: transparent;
    border: none;
    font-size: 1.25rem;
}

/* Show it when the container has a specific state, or when text is typed */
.pa-search-input-wrap.has-text .pa-search-clear {
    display: block;
}

/* Container positioning */
.pa-search-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 500px; /* Adjust to match your design */
    margin: 0 auto;
}

/* Icon button styles */
.pa-search-submit {
    position: absolute;
    right: 14px;
    background: transparent;
    border: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #666;
    z-index: 2;
}

.pa-search-submit:hover {
    color: #000;
}

/* Input padding adjustment to accommodate the icon */
.pa-search-field {
    width: 100%;
    padding: 12px 40px 12px 44px; /* Extra padding-left for the icon */
    border: 1px solid #ffffff;
    border-radius: 50px;
    font-size: 15px;
    outline: none;
    background-color: #ffffff;
}

/* Clear button position */
.pa-search-clear {
    position: absolute;
    right: 14px;
    background: transparent;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: #999;
}


/* ---------- SECTION B — Premium Dark Blue Theme ---------- */
.prog-about {
  padding: 100px 0;
  background: var(--color-blue-light);   
}

.prog-about-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 64px;
}

.prog-about-head h2 {
  font-family: var(--font-heading);
  font-size: var(--h2-size);
  font-weight: var(--h2-weight);
  line-height: var(--h2-line-height);
  color: var(--color-navy);
  margin: 0 0 18px;
}

.prog-about-head p {
  font-size: var(--p-size);
  font-weight: var(--p-weight);
  line-height: var(--p-line-height);
  color:var(--color-muted);
  margin: 0;
}

.prog-about-head-buttom {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: center; 
}

/* ---- Left: Uncropped Image Container ---- */
.prog-about-image {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  background: #1e293b;
}

.prog-about-image .program-about-img {
  width: 100%;
  height: auto;  
  display: block;
  object-fit: contain; 
}

/* ---- Right: Minimalist Modern Content Grid ---- */
.prog-about-grid {
  display: grid;
  gap: 20px;
}

.prog-value-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 28px;
  background: var(--color-navy); 
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.prog-value-card:hover {
  border-color: #38bdf8; 
  transform: translateX(6px); 
}

.prog-icon-desc h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  color: var(--color-white);
  margin: 0;
}


.prog-icon-desc p {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  color: var(--color-white);
  margin: 0;
}

/* ---- Responsive Reset ---- */
@media (max-width: 1023px) {
  .prog-about-head-buttom {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* END */

/* ---------- SECTION C — Explore Programs ---------- */
.prog-programs {
	padding: 100px 0;
	background: var(--color-white);
}

.prog-programs-head {
	text-align: center;
	margin: 0 auto 56px;
}

.prog-programs-head h2 {
	font-family: var(--font-heading);
	font-size: var(--h2-size);
	font-weight: var(--h2-weight);
	line-height: var(--h2-line-height);
	color: var(--color-navy);
	margin: 0;
}

.prog-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 28px;
}

.prog-card {
	background: var(--color-blue-light);
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 20px;
  padding: 48px; 
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 420px;
  box-shadow: 0 10px 40px -15px rgba(15, 23, 42, 0.04);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.prog-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: transparent;
  transition: background-color 0.3s ease;
}

.prog-card:hover {
	  transform: translateY(-6px);
    border-color: rgba(26, 95, 168, 0.25);
    box-shadow: 0 30px 60px -20px rgba(15, 23, 42, 0.09);
}
.prog-card:hover::before {
  background-color: var(--color-blue, #1a5fa8);
}

.prog-card--wide {
	grid-column: 1 / -1;
}

.prog-card-head {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-bottom: 16px;
}

.prog-card-head .prog-icon-circle {
	margin-bottom: 0;
	flex-shrink: 0;
	background: var(--color-navy);
}
.prog-card-head .prog-icon-circle svg {
	stroke: var(--color-white);
}

.prog-card h3 {
	font-family: var(--font-heading);
	font-size: var(--h4-size);
	font-weight: var(--h4-weight);
	line-height: var(--h4-line-height);
	color: var(--color-navy);
	margin: 0;
}

.prog-card > p {
	font-size: var(--p-sm-size);
	font-weight: var(--p-sm-weight);
	line-height: var(--p-sm-line-height);
	color: var(--color-muted);
	margin: 0 0 22px;
}

.prog-topics-label {
	font-family: var(--font-ui);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--color-blue);
	margin: 0 0 12px;
}

.prog-topics {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 26px;
}

.prog-topics span {
	font-family: var(--font-ui);
	font-size: 13px;
	font-weight: 500;
	color: var(--color-navy);
	background: #f1f5f9;
	border-radius: 50px;
	padding: 6px 12px;
}

.prog-card:hover .prog-topics span {
  background: rgba(26, 95, 168, 0.06);
  color: var(--color-blue, #1a5fa8);
}

.prog-card .prog-btn {
	margin-top: auto;
	align-self: flex-start;
}

/* ---------- SECTION D — Need Help Choosing ---------- */
.prog-help {
	background: var(--color-light);
	padding: 90px 0;
	position: relative;
}

.prog-help-head {
	text-align: center;
	max-width: 680px;
	margin: 0 auto 56px;
}

.prog-help-head h2 {
	font-family: var(--font-heading);
	font-size: var(--h2-size);
	font-weight: var(--h2-weight);
	line-height: var(--h2-line-height);
	color: var(--color-navy);
	margin: 0 0 18px;
}

.prog-help-head p {
	font-size: var(--p-size);
	font-weight: var(--p-weight);
	line-height: var(--p-line-height);
	color: var(--color-navy);
	margin: 0;
}

.prog-help-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}

.prog-help-card {
	background: var(--color-white);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-lg);
	padding: 32px 28px;
	transition: var(--transition);
  box-shadow: var(--color-navy)
}
.prog-help-card:hover {
	background: var(--color-blue-light);
	transform: translateY(-4px);
	border: 1px solid var(--color-blue);

}

.prog-help-card .prog-help-tag {
	font-family: var(--font-ui);
	font-size: 12px;
	font-weight: 700;
	color: var(--color-blue);
  background: var(--color-blue-light);
  border-radius: var(--radius-full);
  padding: 8px 18px;
  white-space: nowrap;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	margin: 0 0 14px;
}

.prog-help-card h3 {
	font-family: var(--font-heading);
	font-size: var(--h3-size);
	font-weight: var(--h3-weight);
	line-height: var(--h3-line-height);
	color: var(--color-navy);
	margin: 0 0 10px;
}

.prog-help-card p {
	font-size: var(--p-sm-size);
	font-weight: var(--p-sm-weight);
	line-height: var(--p-sm-line-height);
	color: var(--color-navy);
	margin: 0;
}

/* ---------- FINAL CTA ---------- */
.prog-cta-wrap {
	padding: 0 0 100px;
	background: var(--color-white);
}

.prog-cta {
  margin: 80px 0 0 0;
	background: var(--color-blue);
	background: linear-gradient(120deg, var(--color-navy), var(--color-blue));
	border-radius: var(--radius-lg);
	padding: 56px 60px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
	flex-wrap: wrap;
	box-shadow: var(--shadow-lg);
}

.prog-cta-text h2 {
	font-family: var(--font-heading);
	font-size: var(--h2-size);
	font-weight: var(--h2-weight);
	line-height: 1.2;
	color: var(--color-white);
	margin: 0 0 12px;
}

.prog-cta-text p {
	font-size: var(--p-sm-size);
	font-weight: var(--p-sm-weight);
	line-height: var(--p-sm-line-height);
	color: rgba(255, 255, 255, 0.8);
	margin: 0;
	max-width: 480px;
}

.prog-cta .prog-btn--primary {
	background: var(--color-white);
	color: var(--color-navy);
}
.prog-cta .prog-btn--primary .prog-btn-arrow {
	background: var(--color-blue-light);
	color: var(--color-blue);
}


/* ---------- RESPONSIVE ---------- */
@media (max-width: 1023px) {
	.prog-about-grid {
		grid-template-columns: repeat(3, 1fr);
		gap: 20px;
	}
	.prog-grid {
		gap: 20px;
	}
}

@media (max-width: 767px) {
	.prog-hero {
		padding: 64px 0 48px;
	}
	.prog-about,
	.prog-programs,
	.prog-help,
  .prog-help-card {
		padding: 30px 20px;
	}
	.prog-about-grid {
		grid-template-columns: 1fr;
	}
	.prog-grid {
		grid-template-columns: 1fr;
	}
	.prog-help-grid {
		grid-template-columns: 1fr;
    align-self: center;
    justify-self: center;
	}
	.prog-cta {
		flex-direction: column;
		align-items: flex-start;
		padding: 40px 28px;
	}
	.prog-cta .prog-btn {
		width: 100%;
		justify-content: center;
	}
  .prog-programs-head , .prog-about-head , .prog-help-head{
    margin-bottom:20px ;
  }
  .btn-primary, .btn--primary{
    padding: 12px !important;
  }
  .apply-before{
    padding: 30px 0 !important;
  }
}

@media (max-width: 479px) {
	.prog-card,
	.prog-value-card {
		padding: 26px 22px;
	}
	.prog-cta {
		padding: 32px 22px;
	}
}




/* Contact Page Layout Wrappers */
.contact-page-wrapper {
    width: 100%;
}

.contact-map-section {
    width: 100%;
    line-height: 0;
}

.contact-map-section iframe {
    display: block;
    width: 100%;
    height: 450px;
}

.contact-content-section {
    background-color: #ffffff;
    padding: 80px 0;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.05);
    border-radius: 4px;
    overflow: hidden;
    min-height: 550px;
}

.contact-info-sidebar {
    position: relative;
    background-size: cover;
    background-position: center;
    color: #ffffff;
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end; 
    min-height: 550px; 
}

.sidebar-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 70%; 
    background: linear-gradient(to bottom, rgba(6, 12, 24, 0.175) 0%, rgba(6, 12, 24, 0.95) 100%);
    z-index: 1;
    pointer-events: none; 
}

.sidebar-content {
    position: relative;
    z-index: 2;
}

.contact-logo img {
    max-width: 180px;
    height: auto;
    margin-bottom: 40px;
}

.contact-details-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-detail-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
    font-size: 15px;
    line-height: 1.5;
}

.contact-detail-item .icon {
    margin-right: 15px;
    font-size: 18px;
    color: #ffffff;
    margin-top: 2px;
}

.contact-detail-item .details strong {
    display: block;
    font-weight: 600;
    margin-bottom: 4px;
}

.contact-detail-item a {
    color: #b0c4de;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-detail-item a:hover {
    color: #ffffff;
}

/* Right Form Styles */
.contact-form-container {
    background-color: #f4f7fa; 
    padding: 60px;
}

.contact-form-title {
    font-size: 32px;
    color: #111827;
    margin: 0 0 15px 0;
    font-weight: 700;
}

.contact-form-subtitle {
    font-size: 15px;
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 35px;
}

/* Custom Form Element Layouts */
.percoid-custom-form .form-group {
    margin-bottom: 20px;
}

.percoid-custom-form input[type="text"],
.percoid-custom-form input[type="email"],
.percoid-custom-form textarea {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid transparent;
    border-radius: 4px;
    background-color: #ffffff;
    font-size: 15px;
    color: #111827;
    outline: none;
    transition: border-color 0.3s ease;
}

.percoid-custom-form input:focus,
.percoid-custom-form textarea:focus {
    border-color: var(--color-blue, #1a5fa8);
}

.percoid-custom-form textarea {
    resize: vertical;
}

.percoid-custom-form .btn-submit {
    border-color: var(--color-blue, #1a5fa8);
    color: #ffffff;
    border: none;
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.percoid-custom-form .btn-submit:hover {
    background-color: #0a4d82;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .contact-form-container {
        padding: 40px 20px;
    }
    .contact-info-sidebar {
        padding: 40px 20px;
    }
}


/* About Page Styles */

/* ==========================================================================
   GLOBAL UTILITIES & CONTAINERS
   ========================================================================== */
.academy-about-page-wrapper {
    color: #1f2937;
    background-color: #ffffff;
    overflow-x: hidden;
}

.academy-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Grids */
.academy-grid {
    display: grid;
    gap: 40px;
}
.grid-2-col { grid-template-columns: repeat(2, 1fr); }
.grid-3-col { grid-template-columns: repeat(3, 1fr); }
.grid-4-col { grid-template-columns: repeat(4, 1fr); }

.align-center { align-items: center; }

/* Global components */
.img-responsive {
    display: block;
    width: 100%;
    height: auto;
}
.border-radius-lg {
    border-radius: 16px;
}
.section-tag {
    color: var(--color-navy);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 12px;
}
.section-title {
    font-size: 55px;
    color: var(--color-navy);
    font-weight: 700;
    line-height: 1.25;
    margin: 0 0 30px 0;
    padding: 30px 0 0 0;
}
.section-header-center {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px auto;
}
.section-subtitle {
    font-size: 16px;
    color: #4b5563;
    line-height: 1.6;
}

/* Buttons */
/* .btn {
    padding: 14px 28px;
    font-weight: 600;
    border-radius: 30px;
    text-decoration: none;
    transition: transform 0.2s, background-color 0.2s;
}
.btn:hover {
    transform: translateY(-2px);
}
.btn-primary-blue {
  background-color: var(--color-blue);
  color: #ffffff;
}
.btn-primary-blue:hover {
    background-color: var(--color-white);
    color:  var(--color-blue);
}
.btn-white {
    background-color: #ffffff;
    color: var(--color-blue);
} */

/* ==========================================================================
   SECTION SPECIFIC STYLES
   ========================================================================== */

/* Section A: Hero */
.academy-hero-section {
    background-color: var(--color-navy);  
    padding: 93px 0;
    color: #ffffff;
}
.academy-hero-section .hero-title {
    font-weight: 800;
    line-height: 1.15;
    color: #ffffff;
    margin-bottom: 24px;
}
.academy-hero-section .hero-description {
    font-size: 16px;
    line-height: 1.65;
    color: #cbd5e1;
    margin-bottom: 30px;
}

/* Section B: Story */
.academy-story-section {
    padding: 50px 0;
    background-color: #f8fafc;
}

.academy-mission-vision-section {
    padding: 60px 0 60px 0;
    background-color: var(--color-blue-light);
}
.mv-card {
    background: #ffffff;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 36%);
    border: 1px solid #f1f5f9;
    transition: border-color 0.3s, transform 0.3s;
}
.mv-card:hover {
    border-bottom: 2px solid;
    border-color: var(--color-blue);
    transform: translateY(-4px);
}
.mv-icon-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 18px;
}
.mv-symbol img {
    height: 48px;
    width: 48px;
}
.mv-card h3 {
    font-size: 22px;
    margin: 0;
    color: var(--color-navy);
}
.mv-card p {
    color: #4b5563;
    line-height: 1.6;
    margin: 0;
}

/* Section D: Why Academy */
.academy-why-section {
  padding:0 0 100px 0;
  background-color: #f8fafc;
}
.why-card {
  background: var(--color-blue-light);
  border: 2px solid var(--color-border);
  padding: 30px 24px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.02);
  border-radius: 16px 16px 8px 8px;
  transition: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform, box-shadow;
}
.why-card:hover {
  transform: translateY(-8px);
  background-color: #ffffff;
  box-shadow: 0 16px 32px -8px rgba(15, 30, 60, 0.12);
}

.why-card {
  position: relative;
  overflow: hidden;
}

.why-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: var(--color-blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.why-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.why-card:hover::before {
  transform: scaleX(1);
}

.why-bullet-num {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-blue);
  margin-bottom: 15px;
}
.why-card h4 {
  font-size: 18px;
  margin-bottom: 12px;
  color: var(--color-navy);
}

/* Section E: Values */
.academy-values-section {
  padding: 0 0 100px 0;
}

.value-card {
  background-color: #f8fafc;
  padding: 35px 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.02);
  border: 1px solid var(--color-border);
  border-left: 3px solid var(--color-border);
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1),
              border-color 0.3s ease,
              box-shadow 0.3s ease;
}

.value-icon img {
  height: 48px;
  width: 48px;
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1),
              border-color 0.3s ease,
              box-shadow 0.3s ease;
}

.value-card:hover img {
  transform: scale(1.1);
}

.value-card:hover {
  border-left-color: var(--color-blue);
  background-color: #ffffff;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}



.value-card h3 {
    font-size: 20px;
    color: var(--color-navy);
    margin-bottom: 12px;
}
.value-card p {
    font-size: 14px;
    color: #4b5563;
    line-height: 1.6;
    margin: 0;
}

/* Section F: Environment */
.academy-environment-section {
    padding: 50px 0;
}

 .hero-image-wrapper img {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    height: 550px;
    object-fit: cover;
}
 .story-image-wrapper img {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    object-fit: cover;
    filter: brightness(1.15) contrast(1.1) saturate(1.05);
}
.env-image-wrapper img {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    height: 500px;
    object-fit: cover;
    filter: brightness(1.15) contrast(1.1) saturate(1.05);
}


.cta-buttons .pa-btn {
    background: var(--color-blue);
    color: var(--color-white);
    padding: 14px 32px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.cta-buttons .pa-btn:hover {
    background: #1882c4; 
    transform: translateY(-1px);
}

/* ---------- RESPONSIVE OVERRIDE ---------- */
@media (max-width: 860px) {
    .cta-inner-box {
      flex-direction: column;
      text-align: center;
      padding: 48px 32px;
      gap: 28px;
    }
    
    .cta-inner-box > :not(.cta-buttons) {
        max-width: 100%;
    }
    
    .cta-buttons {
      width: 100%;
      justify-content: center;
    }
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1024px) {
    .grid-4-col { grid-template-columns: repeat(2, 1fr); }
    .grid-3-col { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .grid-2-col, .grid-3-col, .grid-4-col { grid-template-columns: 1fr; }
    .reverse-tablet { direction: rtl; }
    .reverse-tablet .story-text-content { direction: ltr; }
    .reverse-tablet .story-image-wrapper { direction: ltr; }
    .section-title { font-size: 28px; }
    .academy-hero-section, .academy-story-section, .academy-why-section, .academy-values-section, .academy-environment-section {
        padding: 30px 0;
    }
    .section-title{
      padding: 0px;
      margin: 0px;
    }
}

/* Contact Page Styles */
.pa-contact-page h1,
.pa-contact-page h2,
.pa-contact-page h3 {
  color: var(--color-white);
  margin: 0 auto;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.sp-cta h2 {
 color: var(--color-white);
}

.pa-wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding: 30px 24px;
}

/* .pa-section {
  padding: 80px 0;
} */

.pa-map-section{
  background-color: var(--color-light);
}

.pa-section-head {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 48px;
}

.pa-section-head h2 {
  font-size: var(--h2-size);
  line-height: var(--h2-line-height);
  color: var(--color-navy);
}

.pa-section-head p {
  margin-top: 12px;
  font-size: var(--p-sm-size);
  line-height: var(--p-sm-line-height);
  color: var(--color-muted);
}

/* ---------- SECTION A: HERO ---------- */

.pa-hero {
  background: linear-gradient(180deg, rgb( 0 45 97 / 57% ) 0%, rgba(0, 45, 97, 0.75) 100%);
  /* padding: 137px 0; */
  padding: 194px 0;
  text-align: center;
  /* border-bottom: 1px solid var(--color-border); */
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--color-white);
}

.pa-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgb( 0 45 97 / 57% ) 0%, rgba(0, 45, 97, 0.75) 100%);
  z-index: 0;
}
.pa-contact-page .pa-hero::before {
  background: linear-gradient(180deg, rgb(0 45 97 / 61%) 0%, rgb(0 45 97 / 88%) 100%);

}
.pa-contact-page .pa-hero {
  padding: 173px 0;

}

@media (max-width: 767px) {
  .pa-contact-page .pa-hero {
  padding: 50px 0;
}
  .pa-section{
    padding: 30px 0 !important;
  } 
  .pa-journey-card{
    padding: 20px 15px !important;
  }
  .pa-section-head{
    margin-bottom: 20px !important;
  }
  
}

.pa-hero .pa-wrap {
  position: relative;
  z-index: 1;
}

.pa-eyebrow {
  display: inline-block;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  color: var(--color-blue);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 20px;
  font-family: var(--font-ui);
}

.pa-hero__title {
  font-size: 55px;
  line-height: var(--h1-below-line-height);
  max-width: 720px;
  color: var(--color-white);
  margin: 0 auto;
}

/* .pa-hero__subtitle {
  max-width: 560px;
  margin: 18px auto 0;
  font-size: var(--p-size);
  line-height: var(--p-line-height);
  color: var(--color-white);
} */

.pa-hero__actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  margin-top: 32px;
  flex-wrap: wrap;
}

.pa-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: var(--h3-btn-weight);
  font-size: var(--h3-btn-size);
  line-height: var(--h3-btn-line-height);
  padding: 13px 26px;
  border-radius: var(--radius-full);
  transition: var(--transition);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  font-family: var(--font-ui);
}

.pa-btn--primary {
  background: var(--color-blue);
  color: var(--color-white);
  box-shadow: 0 6px 18px rgba(20, 112, 174, 0.28);
}

.pa-btn--primary:hover {
  background: var(--color-navy);
  color: var(--color-white);
}

.pa-btn--outline {
  background: var(--color-white);
  color: var(--color-text);
  border-color: var(--color-border);
}

.pa-btn--outline:hover {
  border-color: var(--color-blue);
  color: var(--color-blue);
}

.pa-btn--block {
  width: 100%;
  justify-content: center;
}

/* ---------- SECTION B: GET IN TOUCH ---------- */
.pa-get-in-touch__grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 32px;
  align-items: start;
}

#contact-form .pa-info-col {
  align-self: center;
  gap: 30px;
}

#enroll-form .pa-info-col {
  justify-self: center;
  align-self: center;
  display: grid;
  gap: 30px;
}

.pa-info-card {
  background: var(--off-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-bottom: 20px;
}

.pa-info-card:last-child {
  margin-bottom: 0;
}

.pa-info-card__icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--color-blue-light);
  color: var(--color-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 20px;
}

.pa-info-card h3 {
  font-size: var(--h3-size);
  line-height: var(--h3-line-height);
  margin-bottom: 6px;
  color: var(--color-navy);
}

.pa-info-card p {
  margin: 2px 0;
  font-size: var(--p-sm-size);
  line-height: var(--p-sm-line-height);
  color: var(--color-text);
}

.pa-info-card a {
  color: var(--color-blue);
  font-weight: 600;
  text-decoration: none;
}

.pa-form-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
}

.pa-form-card h2 {
  font-size: var(--h4-size);
  line-height: var(--h4-line-height);
  color: var(--color-navy);
}

.pa-form-card > p {
  margin: 8px 0 26px;
  font-size: var(--p-sm-size);
  color: var(--color-muted);
}

/* Generic field styling */
.pa-form-card input[type="text"],
.pa-form-card input[type="email"],
.pa-form-card input[type="tel"],
.pa-form-card select,
.pa-form-card textarea {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  font-size: var(--p-sm-size);
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-white);
  width: 100%;
  transition: var(--transition);
}

.pa-form-card input:focus,
.pa-form-card select:focus,
.pa-form-card textarea:focus {
  outline: none;
  border-color: var(--color-blue);
  box-shadow: 0 0 0 3px rgba(20, 112, 174, 0.15);
}

.pa-form-card textarea {
  resize: vertical;
  min-height: 110px;
}

/* ---------- SECTION C: ENROLLMENT JOURNEY ---------- */

.pa-journey {
  background: var(--off-white);
}

.pa-info-card__icon img {
  width: 24px;
  height: auto;
}

.pa-journey__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
}

.pa-journey__cards::before {
  content: "";
  position: absolute;
  top: 34px;
  left: 16.6%;
  right: 16.6%;
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--color-border) 0 8px, transparent 8px 16px);
  z-index: 0;
}

.pa-journey-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  text-align: center;
  position: relative;
  z-index: 1;
  transition: var(--transition);
}

.pa-journey-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.pa-journey-card__icon img {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}

.pa-journey-card h3 {
  font-size: var(--h3-size);
  line-height: var(--h3-line-height);
  margin-bottom: 8px;
}

.pa-journey-card p {
  font-size: var(--p-sm-size);
  line-height: var(--p-sm-line-height);
  color: var(--color-muted);
  margin: 0;
}

/* ---------- SECTION D: MAP ---------- */

.pa-map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
}

.pa-map-wrap iframe {
  width: 100%;
  height: 420px;
  border: 0; 
  display: block;
}
.pa-journey-card {
    display: block;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.pa-journey-card h3,
.pa-journey-card p {
    color: inherit; /* Keeps your current layout color structure */
}

/* ---------- RESPONSIVE ---------- */

@media (max-width: 860px) {
  .pa-get-in-touch__grid {
    grid-template-columns: 1fr;
  }

  .pa-journey__cards {
    grid-template-columns: 1fr;
  }

  .pa-journey__cards::before {
    display: none;
  }

  .pa-hero__title {
    font-size: var(--h2-size);
    line-height: var(--h2-line-height);
  }

  .pa-final-cta {
    margin: 0 12px;
    padding: 48px 24px;
  }
}

/* Apply Page Styles */

.apply-page {
	font-family: var(--font-body);
	color: var(--color-text);
	background: var(--off-white);
}

.apply-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 24px;
}

/* ---------------------------------------------------------
   Section A — Hero
--------------------------------------------------------- */
.apply-hero {
	position: relative;
	background-color: var(--color-navy);
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	padding: 147px 0;
	overflow: hidden;
}

.apply-hero__overlay {
	position: absolute;
	inset: 0;
	/* background: linear-gradient(180deg, rgba(0, 45, 97, 0.85) 0%, rgba(0, 45, 97, 0.75) 100%);*/
  background: linear-gradient(180deg, rgb(0 45 97 / 57% ) 0%, rgba(0, 45, 97, 0.75) 90%);
}

.apply-hero__inner {
	position: relative;
	z-index: 1;
	text-align: center;
	max-width: 760px;
}

.apply-hero__heading {
	font-family: var(--font-heading);
	font-size: var(--h1-size);
	font-weight: var(--h1-weight);
	line-height: var(--h1-line-height);
	color: var(--color-white);
}

.apply-hero__subheading {
	font-family: var(--font-body);
	font-size: var(--p-size);
	font-weight: var(--p-weight);
	line-height: var(--p-line-height);
	color: var(--color-blue-light);
	margin: 0;
}

/* ---------------------------------------------------------
   Shared section head
--------------------------------------------------------- */
.apply-section-head {
	text-align: center;
	max-width: 700px;
	margin: 0 auto 56px;
}

.apply-section-head__heading {
	font-family: var(--font-heading);
	font-size: var(--h2-size);
	font-weight: var(--h2-weight);
	line-height: var(--h2-line-height);
	color: var(--color-navy);
	margin: 0 0 16px;
}

.apply-section-head__subheading {
	font-family: var(--font-body);
	font-size: var(--p-size);
	font-weight: var(--p-weight);
	line-height: var(--p-line-height);
	color: var(--color-muted);
	margin: 0;
}

/* ---------------------------------------------------------
   Section B — Timeline
--------------------------------------------------------- */
.apply-next {
	padding: 50px 0;
}

.apply-timeline {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 32px;
	counter-reset: apply-step;
}

.apply-timeline__step {
	position: relative;
	text-align: center;
	padding-top: 8px;
}

.apply-timeline__marker {
	width: 54px;
	height: 54px;
	margin: 0 auto 20px;
	border-radius: var(--radius-full);
	background: var(--color-blue);
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: var(--shadow-sm);
	position: relative;
	z-index: 1;
}

.apply-timeline__number {
	font-family: var(--font-ui);
	font-size: var(--h3-size);
	font-weight: 700;
	color: var(--color-white);
}

.apply-timeline__title {
	font-family: var(--font-heading);
	font-size: var(--h3-size);
	font-weight: var(--h3-weight);
	line-height: var(--h3-line-height);
	color: var(--color-navy);
	margin: 0 0 8px;
}

.apply-timeline__desc {
	font-family: var(--font-body);
	font-size: var(--p-sm-size);
	font-weight: var(--p-sm-weight);
	line-height: var(--p-sm-line-height);
	color: var(--color-muted);
	margin: 0;
}

/* ---------------------------------------------------------
   Section C — Before You Apply
--------------------------------------------------------- */
.apply-before {
	padding: 50px 0;
	background: var(--color-light);
}

.apply-before__card {
	max-width: 620px;
	margin: 0 auto;
	background: var(--color-white);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-md);
	padding: 48px;
}

.apply-before__card-title {
	font-family: var(--font-heading);
	font-size: var(--h4-size);
	font-weight: var(--h4-weight);
	line-height: var(--h4-line-height);
	color: var(--color-navy);
	margin: 0 0 24px;
}

.apply-before__list {
	list-style: none;
	margin: 0 0 32px;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.apply-before__list-item {
	display: flex;
	align-items: center;
	gap: 14px;
	font-family: var(--font-body);
	font-size: var(--p-sm-size);
	font-weight: var(--p-sm-weight);
	line-height: var(--p-sm-line-height);
	color: var(--color-text);
}

.apply-before__check {
	flex: 0 0 auto;
	width: 24px;
	height: 24px;
	border-radius: var(--radius-full);
	background: var(--color-blue-light);
	color: var(--color-blue);
	font-size: 12px;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
}

.apply-before__cta {
	border-top: 1px solid var(--color-border);
	padding-top: 32px;
	display: flex;
	justify-content: center;
}

/* ---------------------------------------------------------
   Buttons
--------------------------------------------------------- */
/* .apply-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	font-family: var(--font-ui);
	font-size: var(--h3-btn-size);
	font-weight: var(--h3-btn-weight);
	line-height: var(--h3-btn-line-height);
	text-decoration: none;
	border-radius: var(--radius-full);
	padding: 14px 32px;
	transition: var(--transition);
	cursor: pointer;
}

.apply-btn--primary {
	background: var(--color-blue);
	color: var(--color-white);
	box-shadow: var(--shadow-sm);
}

.apply-btn--primary:hover {
	background: var(--color-navy);
	box-shadow: var(--shadow-md);
	color: var(--color-white);
}

.apply-btn__arrow {
	transition: var(--transition);
} */

/* ---------------------------------------------------------
   Section D — Need Assistance
--------------------------------------------------------- */
.apply-assist {
	padding: 64px 0;
	background: var(--color-navy);
	border-top: 1px solid var(--color-border);
}

.apply-assist__inner {
	text-align: center;
}

.apply-assist__heading {
	font-family: var(--font-heading);
	font-size: var(--h2-size);
	font-weight: 700;
	line-height: var(--h1-line-height);
	color: var(--off-white);
	margin: 0 0 8px;
}

.apply-assist__subheading {
	font-family: var(--font-body);
	font-size: var(--p-sm-size);
	font-weight: var(--p-sm-weight);
	line-height: var(--p-sm-line-height);
	color: var(--off-white);
	margin: 0 0 24px;
}

.apply-assist__contacts {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 32px;
}

.apply-assist__contact {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-family: var(--font-ui);
	font-size: var(--p-sm-size);
	font-weight: 500;
	color: var(--off-white);
	text-decoration: none;
	transition: var(--transition);
}
.apply-assist__contact a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-family: var(--font-ui);
	font-size: var(--p-sm-size);
	font-weight: 500;
	color: var(--off-white);
	text-decoration: none;
	transition: var(--transition);
}


.apply-assist__contact:hover {
	color: var(--off-white);
}

.apply-assist__icon {
	color: var(--off-white);
}

/* ---------------------------------------------------------
   Responsive — mirrors the theme's existing breakpoints
--------------------------------------------------------- */
@media (max-width: 1023px) {
	.apply-timeline {
		grid-template-columns: repeat(2, 1fr);
		row-gap: 48px;
	}

	.apply-timeline__step:not(:last-child)::after {
		display: none;
	}
}

@media (max-width: 767px) {
	.apply-hero {
		padding: 64px 0;
	}

	.apply-next,
	.apply-before {
		padding: 64px 0;
	}

	.apply-before__card {
		padding: 32px 24px;
	}

	.apply-timeline {
		grid-template-columns: 1fr;
		row-gap: 32px;
	}
}

@media (max-width: 479px) {
	.apply-hero {
		padding: 48px 0;
	}

	.apply-next,
	.apply-before {
		padding: 48px 0;
	}

	.apply-section-head {
		margin-bottom: 32px;
	}

	.apply-assist__contacts {
		flex-direction: column;
		gap: 16px;
	}
}

 /* program details page styles */

.sp-page {
	font-family: var(--font-body);
	color: var(--color-text);
	background: var(--color-white);
}

.sp-container {
	max-width: 1200px;
	margin: 0 auto;
	/* padding: 0 24px; */
}
.sp-container-narrow {
	max-width: 1200px;
}

.sp-section {
	padding: 24px 0;
}

.sp-section-alt {
	background: var(--color-light);
  padding: 40px;
}

.sp-section-head {
	max-width: 1200px;
	text-align: left;
  /* padding: 30px 0 30px 0; */
	margin: 0 auto;

}

.sp-block {
	margin-bottom: 0;
}

/* -------------------------------- A. Hero --------------------------------- */
.sp-hero {
	background: linear-gradient(180deg, var(--color-blue-light) 0%, var(--color-white) 100%);
	padding: 64px 0 56px;
}

.sp-hero-grid {
	display: grid;
	grid-template-columns: 1.2fr 1fr;
	gap: 48px;
}

.sp-h1 {
	font-family: var(--font-heading);
	font-size: var(--h1-below-size);
	font-weight: var(--h1-below-weight);
	line-height: var(--h1-below-line-height);
	color: var(--color-navy);
	margin: 0 0 16px;
}

.sp-lead {
	font-family: var(--font-body);
	font-size: var(--p-size);
	font-weight: var(--p-weight);
	line-height: var(--p-line-height);
	/* color: var(--color-muted); */
	/* margin: 0; */
	/* max-width: 60ch; */
}
/* .sp-lead-center {
	margin: 12px auto 0;
} */

.sp-hero-media {
	position: relative;
}
.sp-hero-img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-md);
}


.sp-hero-collage {
	position: relative;
	padding: 24px 28px 28px 0;
}
.sp-hero-collage-main {
	border-radius: var(--radius-lg);
	overflow: hidden;
	box-shadow: var(--shadow-lg);
}
.sp-hero-collage-img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: var(--radius-lg);
}
.sp-hero-collage-sub {
	position: absolute;
	width: 45%;
	border-radius: var(--radius-md);
	overflow: hidden;
	box-shadow: var(--shadow-md);
	border: 4px solid var(--color-white);
}
.sp-hero-collage-sub .sp-hero-collage-img {
	border-radius: calc(var(--radius-md) - 2px);
}
.sp-hero-collage-sub-1 {
	left: -100px;
	bottom: -50px;
}
.sp-hero-collage-sub-2 {
	right: -100px;
	top: -25px;
}

/* ------------------------------ B. Prose ------------------------------- */
.sp-h2 {
	font-family: var(--font-heading);
	font-size: var(--h2-size);
	font-weight: var(--h2-weight);
	line-height: var(--h2-line-height);
	color: var(--color-navy);
	margin: 0 0 24px;
}

.sp-h3 {
	font-family: var(--font-heading);
	font-size: var(--h3-size);
	font-weight: var(--h3-weight);
	line-height: var(--h3-line-height);
	color: var(--color-navy);
	margin: 0 0 8px;
}

.sp-p, .sp-prose p {
	font-family: var(--font-body);
	font-size: var(--p-size);
	font-weight: var(--p-weight);
	line-height: var(--p-line-height);
	color: var(--color-text);
	margin: 0 0 16px;
}
.sp-prose p:last-child {
	margin-bottom: 0;
}

.sp-p-sm {
	font-family: var(--font-body);
	font-size: var(--p-sm-size);
	font-weight: var(--p-sm-weight);
	line-height: var(--p-sm-line-height);
	color: var(--color-muted);
	margin: 0;
}

/* alternative styles */
.sp-journey {
	display: flex;
	justify-content: center;
	align-items: stretch;
	gap: 0;
	/* padding-block: 30px 10px; */
	max-width: 1200px;
	margin-inline: auto;
}

.sp-journey-step {
	flex: 1 1 0;
	position: relative;
	padding: 20px 10px 10px;
	border-left: 1px solid var(--color-border);
	overflow: hidden;
	transition: border-color var(--transition);
}

.sp-journey-step:first-child {
	border-left: none;
}

/* Oversized faded number sitting behind the content */
.sp-journey-num {
  padding: 10px 0 0 0;
	position: absolute;
	top: -6px;
	right: 10px;
	font-family: var(--font-heading);
	font-size: 72px;
	font-weight: 800;
	line-height: 1;
	color: transparent;
	-webkit-text-stroke: 1.5px color-mix(in srgb, var(--color-muted) 50%, transparent);
	background: none;
	width: auto;
	height: auto;
	border-radius: 0;
	display: block;
	pointer-events: none;
	z-index: 0;
	transition: -webkit-text-stroke-color var(--transition), transform var(--transition);
}

.sp-journey-step:hover .sp-journey-num {
	-webkit-text-stroke-color: var(--color-blue);
}

.sp-journey-content {
	position: relative;
	z-index: 1;
}

.sp-journey-content .sp-h3 {
	font-family: var(--font-heading);
	font-size: var(--h3-size);
	font-weight: var(--h3-weight);
	line-height: var(--h3-line-height);
	color: var(--color-navy);
	margin-bottom: 10px;
	padding-top: 34px;
	position: relative;
}

/* Small accent tick above the title */
.sp-journey-content .sp-h3::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 26px;
	height: 3px;
	border-radius: var(--radius-sm);
	background: var(--color-blue);
}

.sp-journey-content .sp-p-sm {
	font-family: var(--font-body);
	font-size: var(--p-sm-size);
	font-weight: var(--p-sm-weight);
	line-height: var(--p-sm-line-height);
	color: var(--color-muted);
	margin: 0;
	max-width: 200px;
}

/* Responsive: 3-up grid on tablet, horizontal scroll strip on mobile */
@media (max-width: 1024px) and (min-width: 641px) {
	.sp-journey {
		flex-wrap: wrap;
	}
	.sp-journey-step {
		flex: 1 1 33.333%;
		border-left: 1px solid var(--color-blue);
	}
	.sp-journey-step:nth-child(3n+1) {
		border-left: none;
	}
	.sp-journey-step:nth-child(n+4) {
		border-top: 1px solid var(--color-blue);
		padding-top: 28px;
	}
}

@media (max-width: 640px) {
	.sp-journey {
		overflow-x: auto;
		flex-wrap: nowrap;
		justify-content: flex-start;
		scroll-snap-type: x mandatory;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
		padding-inline: 16px;
	}
	.sp-journey::-webkit-scrollbar { display: none; }
  .sp-h2{
    margin-bottom: 20px;
    margin-top: 20px;
  }
  .top-button{
    display: inline;
    gap: 20px !important;
  }

	.sp-journey-step {
		flex: 0 0 220px;
		scroll-snap-align: start;
		border-left: 1px solid var(--color-border) !important;
	}

	.sp-journey-num {
		font-size: 56px;
	}
  /* .sp-hero, .sp-section, .sp-section-alt, .sp-related, .sp-cta {
    padding: 20px 20px !important;
  } */
}

/* Mobile devices */
@media (max-width: 640px) {
    .sp-hero, .sp-section, .sp-section-alt, .sp-related, .sp-cta,
    .sp-tab, .sp-tabs, .sp-tab-content {
        padding: 15px !important;
    }
}

/* Tablets */
@media (min-width: 641px) and (max-width: 1250px) {
    .sp-hero, .sp-section, .sp-section-alt, .sp-related, .sp-cta,
    .sp-tab, .sp-tabs, .sp-tab-content {
        padding: 20px !important;
    }
}
/* End */

/* --------------------- D. Skills You'll Develop (pills) ------------------ */
.sp-pill-group {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}
.sp-pill {
	display: inline-block;
	font-family: var(--font-ui);
	font-size: var(--p-sm-size);
	font-weight: 500;
	color: var(--color-blue);
	background: var(--color-blue-light);
	border-radius: var(--radius-full);
	padding: 8px 18px;
}

/* --------------------- E. Who Is This Program For ------------------------ */
.sp-who-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 24px;
}
.sp-who-card {
	background: var(--color-white);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-lg);
	padding: 28px;
	box-shadow: var(--shadow-sm);
	transition: var(--transition);
}
.sp-who-card:hover {
	box-shadow: var(--shadow-md);
	border-color: var(--color-blue);
}
.sp-who-custom-img {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	margin-bottom: 16px;
	font-size: 22px;
}

/* Update / replace these specific classes */

.sp-inner-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0; /* Merge them together */
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 25px -5px rgb(0 0 0 / 46%);
}
/* Responsive styles for mobile and tablet screens */
@media (max-width: 768px) {
  .sp-inner-container {
    grid-template-columns: 1fr;
  }
}
.sp-inner-img {
  border-radius: 0; 
  box-shadow: none;
  height: 100%;
}

.sp-inner-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sp-inner-list {
  padding: 48px; 
  display: flex;
  align-items: center;
}

.sp-check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 18px;
}

.sp-check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  line-height: 1.5;
}

/* ------------------------ G. Explore Other Programs ------------------------ */
.sp-related {
	background: var(--color-light);
	padding: 64px 0;
}
.sp-related-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}
.sp-related-card {
	display: block;
	background: var(--color-white);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-lg);
	padding: 24px;
	text-decoration: none;
	box-shadow: var(--shadow-sm);
	transition: var(--transition);
}
.sp-related-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow-md);
	border-color: var(--color-blue);
}
.sp-related-card-img {
	border-radius: var(--radius-md);
	overflow: hidden;
	margin-bottom: 16px;
}
.sp-related-card-img img {
	display: block;
	width: 100%;
	height: 215px;
	object-fit: cover;
}
.sp-related-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-family: var(--font-ui);
	font-size: var(--p-sm-size);
	font-weight: 600;
	color: var(--color-blue);
	margin-top: 12px;
}

/* --------------------------------- H. Final CTA ----------------------------- */
.sp-cta {
	background: var(--color-navy);
	padding: 64px 0;
}

.sp-cta-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
	flex-wrap: wrap;
}

.sp-cta-title {
	color: var(--color-white);
	margin-bottom: 12px;
}

.sp-cta-text {
	color: var(--color-blue-light);
	max-width: 60ch;
	margin: 0;
}

.sp-cta-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	flex-shrink: 0;
}

/* --------------------------------- Responsive ------------------------------ */
@media (max-width: 1023px) {
	.sp-hero-grid {
		grid-template-columns: 1fr;
	}
	.sp-hero-collage {
		padding: 20px 16px 20px 16px;
	}
	.sp-hero-collage-sub-1 {
		left: 0;
	}
	.sp-hero-collage-sub-2 {
		right: 0;
	}
	.sp-related-grid {
		grid-template-columns: 1fr 1fr;
	}
	.sp-check-list {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 767px) {
	.sp-hero {
		padding: 40px 0;
	}
	.sp-section {
		padding: 40px 0;
	}
	.sp-related {
		padding: 40px 0;
	}
	.sp-related-grid {
		grid-template-columns: 1fr;
	}
	.sp-cta {
		padding: 34px 25px;
	}
	.sp-cta-inner {
		flex-direction: column;
		align-items: flex-start;
	}
	.sp-journey-step {
		gap: 16px;
	}
	.sp-journey-num {
		width: 40px;
		height: 40px;
		font-size: var(--p-sm-size);
	}
}



/* New Button styles */


.btn-primary, .btn--primary{
  display: inline-block;
  background-color: var(--color-blue); 
  color: #FFFFFF;
  font-size: 16px;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 16px; 
  border: 1px solid var(--color-muted);
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 3px 6px rgba(20, 112, 174, 0.15);
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1),
              border-color 0.3s ease,
              box-shadow 0.3s ease;
  will-change: transform;
  /* align-self: center; */
  /* justify-content: center; */
}
     
.btn-primary:hover, .btn--primary:hover {
  transform: translateY(-4px);
  background-color: var(--color-navy);
  border: 1px solid var(--color-muted);
  box-shadow: 0 12px 24px rgba(20, 112, 174, 0.3); 
}


.btn-primary:active, .btn--primary:active {
  transform: translateY(-1px); 
  box-shadow: 0 4px 8px rgba(20, 112, 174, 0.2);
}

/* SECONDARY BUTTON */
.btn-secondary, .btn--ghost {
  background-color: transparent;
  color: var(--color-border);
  font-size: 16px;
  font-weight: 600;
  padding: 12px 28px;
  border: 1px solid var(--color-muted);
  border-radius: 16px;
  cursor: pointer;
  display: inline-block;
  text-decoration: none; 
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1),
              border-color 0.3s ease,
              box-shadow 0.3s ease;
  will-change: transform;
  /* align-self: center; */
  /* justify-content: center; */
}


.btn-secondary:hover, .btn--ghost:hover {
  transform: translateY(-4px); 
  background-color: var(--color-blue);
  border: 1px solid var(--color-muted);
  box-shadow: 0 12px 24px rgba(20, 112, 174, 0.3);  
  color: #FFFFFF;
 }

.btn-secondary:active, .btn--ghost:active {
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(9, 107, 172, 0.627);
}


/* SECONDARY BUTTON */
.btn-third {
  background-color: transparent;
  color: var(--color-blue);
  font-size: 16px;
  font-weight: 600;
  padding: 12px 28px;
  border: 1px solid var(--color-blue);
  border-radius: 16px;
  cursor: pointer;
  display: inline-block;
  text-decoration: none; 
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1),
              border-color 0.3s ease,
              box-shadow 0.3s ease;
  will-change: transform;
}


.btn-third:hover{
  transform: translateY(-4px); 
  background-color: var(--color-blue);
  border: 1px solid var(--color-blue);
  box-shadow: 0 12px 24px rgba(20, 112, 174, 0.3);  
  color: #FFFFFF;
 }

.btn-third:active {
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(9, 107, 172, 0.627);
}



/* Privacy policy styles */


/* Privacy Policy Page Specific Styles */
.pa-privacy-container {
    max-width: 960px;
    margin: 0 auto;
    padding: 60px 20px;
}

.pa-privacy-meta {
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 15px;
    margin-bottom: 30px;
    color: #64748b;
    font-size: 0.95rem;
}

.pa-entry-content h2 {
    font-size: 1.75rem;
    margin-top: 40px;
    margin-bottom: 16px;
    color: #0f172a;
}

.pa-entry-content h3 {
    font-size: 1.25rem;
    margin-top: 24px;
    margin-bottom: 12px;
    color: #1e293b;
}

.pa-entry-content p, 
.pa-entry-content ul {
    font-size: 1rem;
    line-height: 1.7;
    color: #334155;
    margin-bottom: 20px;
}

.pa-entry-content ul {
    padding-left: 20px;
}

.pa-entry-content ul li {
    margin-bottom: 8px;
}

.pa-contact-details {
    font-style: normal;
    background-color: #f8fafc;
    padding: 20px;
    border-left: 4px solid #0284c7;
    border-radius: 4px;
    margin-top: 20px;
}



@media (max-width: 1024px) {
  header#masthead a[href*="/enroll-now/"] {
    display: none !important;
  }
}