/* ================================================================
   AMBE STRUCTURES — Premium Section Styles
   ================================================================ */

/* ---- Global Utilities ---- */
:root {
    --ambe-primary: #0d6efd;
    --ambe-primary-dark: #084298;
    --ambe-gradient: linear-gradient(135deg, #0d6efd 0%, #084298 100%);
    --ambe-gradient-dark: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    --ambe-gold: #f0a500;
    --ambe-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    --ambe-shadow-hover: 0 20px 60px rgba(13, 110, 253, 0.15);
    --ambe-radius: 12px;
    --ambe-transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---- Global Typography ---- */
body {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    line-height: 1.7;
    color: #2d2d3a;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5 {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.2;
    color: #1a1a2e;
}

h6 {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    color: #1a1a2e;
}

.eyebrow,
.text-uppercase {
    font-family: 'Inter', sans-serif;
    letter-spacing: 2px;
}

section,
.container-xxl,
.container-fluid {
    scroll-margin-top: 80px;
}

/* ================================================================
   1. HERO HEADER
   ================================================================ */
.hero-header {
    position: relative;
    overflow: hidden;
}

.hero-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.5) 0%, rgba(8, 66, 152, 0.7) 100%);
    z-index: 1;
}

.hero-header>.container {
    position: relative;
    z-index: 2;
}

.hero-header h1 {
    font-weight: 800;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.5px;
}

.hero-header .breadcrumb-item a {
    text-decoration: none;
    opacity: 0.85;
    transition: opacity 0.3s;
}

.hero-header .breadcrumb-item a:hover {
    opacity: 1;
}

/* Diagonal accent at bottom of hero */
.hero-header::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 80px;
    background: #fff;
    clip-path: polygon(0 100%, 100% 100%, 100% 0);
    z-index: 2;
}

/* ================================================================
   2. SECTION TEXT — Intro/Overview blocks
   ================================================================ */
.section-intro {
    position: relative;
}

.section-intro .section-subtitle {
    color: var(--ambe-primary);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 700;
    font-size: 0.85rem;
    display: inline-block;
    margin-bottom: 0.75rem;
    position: relative;
}

.section-intro .section-subtitle::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--ambe-gradient);
    margin: 10px auto 0;
    border-radius: 2px;
}

.section-intro .section-body {
    font-size: 1.15rem;
    color: #555;
    line-height: 1.8;
    max-width: 850px;
    margin: 0 auto;
}

/* ================================================================
   3. IMAGE + TEXT — Split content sections
   ================================================================ */
.img-text-section {
    position: relative;
    overflow: hidden;
}

.img-text-section .img-wrapper {
    position: relative;
    border-radius: var(--ambe-radius);
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12);
}

.img-text-section .img-wrapper img {
    transition: transform 0.6s ease;
    width: 100%;
}

.img-text-section .img-wrapper:hover img {
    transform: scale(1.05);
}

/* Decorative accent corner */
.img-text-section .img-wrapper::before {
    content: '';
    position: absolute;
    top: -8px;
    left: -8px;
    width: 80px;
    height: 80px;
    border-top: 4px solid var(--ambe-primary);
    border-left: 4px solid var(--ambe-primary);
    border-radius: 4px 0 0 0;
    z-index: 2;
    opacity: 0.8;
}

.img-text-section .img-wrapper::after {
    content: '';
    position: absolute;
    bottom: -8px;
    right: -8px;
    width: 80px;
    height: 80px;
    border-bottom: 4px solid var(--ambe-gold);
    border-right: 4px solid var(--ambe-gold);
    border-radius: 0 0 4px 0;
    z-index: 2;
    opacity: 0.8;
}

.img-text-section .content-side h6 {
    color: var(--ambe-primary);
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 0.85rem;
}

.img-text-section .content-side h2 {
    font-weight: 800;
    font-size: 2.2rem;
    color: #1a1a2e;
    margin-bottom: 1.25rem;
    line-height: 1.25;
}

.img-text-section .content-side p {
    color: #555;
    font-size: 1.05rem;
    line-height: 1.85;
}

.img-text-section .content-side .accent-line {
    width: 50px;
    height: 4px;
    background: var(--ambe-gradient);
    border-radius: 2px;
    margin-bottom: 1.5rem;
}

/* ================================================================
   4. FEATURE CARDS — Icon grid sections
   ================================================================ */
.features-section {
    position: relative;
}

.features-section .section-tagline {
    color: var(--ambe-primary);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.features-section .section-tagline::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--ambe-gradient);
    margin: 10px auto 0;
    border-radius: 2px;
}

.feature-hover-card {
    transition: var(--ambe-transition);
    border: none;
    height: 100%;
    background: #fff;
    padding: 2.5rem 2rem;
    border-radius: var(--ambe-radius);
    box-shadow: var(--ambe-shadow);
    position: relative;
    overflow: hidden;
    text-align: center;
}

/* Top colored border accent */
.feature-hover-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--ambe-gradient);
    transform: scaleX(0);
    transition: transform 0.4s ease;
    transform-origin: left;
}

.feature-hover-card:hover::before {
    transform: scaleX(1);
}

.feature-hover-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--ambe-shadow-hover);
}

/* Icon circle with gradient background */
.feature-hover-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--ambe-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.8rem;
    color: #fff;
    box-shadow: 0 8px 25px rgba(13, 110, 253, 0.25);
    transition: var(--ambe-transition);
}

.feature-hover-card:hover .feature-hover-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 35px rgba(13, 110, 253, 0.35);
}

.feature-hover-card h5 {
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 0.75rem;
}

.feature-hover-card p {
    color: #777;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ================================================================
   5. STATISTICS COUNTERS
   ================================================================ */
.stats-section {
    background: var(--ambe-gradient-dark);
    position: relative;
    overflow: visible;
    padding: 80px 0 !important;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 50%, rgba(13, 110, 253, 0.15) 0%, transparent 50%);
    animation: statsPulse 8s ease-in-out infinite;
}

@keyframes statsPulse {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(5%, 3%);
    }
}

.stat-modern {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2.5rem 1.5rem;
    text-align: center;
    transition: var(--ambe-transition);
    position: relative;
}

.stat-modern:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-8px);
    border-color: rgba(13, 110, 253, 0.3);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 900;
    color: #fff;
    display: block;
    line-height: 1;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 30px rgba(13, 110, 253, 0.5);
}

.stat-number::after {
    content: '+';
    font-size: 2rem;
    opacity: 0.7;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
}

.stat-icon {
    font-size: 1.5rem;
    color: var(--ambe-gold);
    margin-bottom: 1rem;
    display: block;
}

/* ================================================================
   6. PARALLAX SECTIONS
   ================================================================ */
.parallax-section {
    background-attachment: fixed !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
    position: relative;
    z-index: 1;
}

/* Dark gradient overlay */
.parallax-section .parallax-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.75) 0%, rgba(8, 66, 152, 0.7) 100%);
    z-index: 1;
}

.parallax-section .parallax-content {
    position: relative;
    z-index: 2;
}

.parallax-section .parallax-content h2 {
    font-size: 2.8rem;
    font-weight: 800;
    color: #fff;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    margin-bottom: 1rem;
}

.parallax-section .parallax-content p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

.parallax-section .parallax-content .accent-bar {
    width: 60px;
    height: 4px;
    background: var(--ambe-gold);
    margin: 1.5rem auto 0;
    border-radius: 2px;
}

/* ================================================================
   7. TIMELINE
   ================================================================ */
.timeline-section .timeline-title {
    font-weight: 800;
    color: #1a1a2e;
    margin-bottom: 0.5rem;
}

.timeline-section .timeline-title-accent {
    width: 60px;
    height: 4px;
    background: var(--ambe-gradient);
    margin: 0 auto 3rem;
    border-radius: 2px;
}

.timeline {
    position: relative;
    padding: 0;
    list-style: none;
    max-width: 900px;
    margin: 0 auto;
}

/* Center vertical line */
.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 3px;
    margin-left: -1.5px;
    background: linear-gradient(to bottom, var(--ambe-primary), var(--ambe-gold));
    border-radius: 3px;
}

.timeline>li {
    position: relative;
    margin-bottom: 60px;
    min-height: 80px;
}

.timeline>li::after {
    content: '';
    display: table;
    clear: both;
}

/* Circle on the center line */
.timeline>li .timeline-image {
    position: absolute;
    z-index: 100;
    left: 50%;
    width: 70px;
    height: 70px;
    margin-left: -35px;
    border-radius: 50%;
    background: var(--ambe-gradient);
    border: 4px solid #fff;
    box-shadow: 0 5px 20px rgba(13, 110, 253, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.3rem;
    transition: var(--ambe-transition);
}

.timeline>li:hover .timeline-image {
    transform: scale(1.15);
    box-shadow: 0 8px 30px rgba(13, 110, 253, 0.4);
}

/* Panel positioning — alternating */
.timeline>li .timeline-panel {
    position: relative;
    width: 42%;
    float: left;
    padding: 1.5rem 2rem;
    background: #fff;
    border-radius: var(--ambe-radius);
    box-shadow: var(--ambe-shadow);
    text-align: right;
    transition: var(--ambe-transition);
}

.timeline>li .timeline-panel:hover {
    box-shadow: var(--ambe-shadow-hover);
    transform: translateY(-4px);
}

/* Arrow pointing to center */
.timeline>li .timeline-panel::after {
    content: '';
    position: absolute;
    top: 22px;
    right: -12px;
    border-width: 12px 0 12px 12px;
    border-style: solid;
    border-color: transparent transparent transparent #fff;
}

/* Right side panels (inverted) */
.timeline>li.timeline-inverted .timeline-panel {
    float: right;
    text-align: left;
}

.timeline>li.timeline-inverted .timeline-panel::after {
    right: auto;
    left: -12px;
    border-width: 12px 12px 12px 0;
    border-color: transparent #fff transparent transparent;
}

.timeline-heading h4 {
    font-weight: 800;
    color: var(--ambe-primary);
    margin-bottom: 0.25rem;
    font-size: 1rem;
}

.timeline-heading .subheading {
    font-weight: 700;
    color: #1a1a2e;
    font-size: 1.15rem;
}

.timeline-body p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Mobile: single column */
@media (max-width: 768px) {
    .timeline::before {
        left: 35px;
    }

    .timeline>li .timeline-image {
        left: 35px;
        margin-left: -35px;
    }

    .timeline>li .timeline-panel {
        width: calc(100% - 90px);
        float: right;
        text-align: left;
    }

    .timeline>li .timeline-panel::after {
        right: auto;
        left: -12px;
        border-width: 12px 12px 12px 0;
        border-color: transparent #fff transparent transparent;
    }

    .timeline>li.timeline-inverted .timeline-panel {
        float: right;
    }

    .timeline>li.timeline-inverted .timeline-panel::after {
        right: auto;
        left: -12px;
        border-width: 12px 12px 12px 0;
        border-color: transparent #fff transparent transparent;
    }
}

/* ================================================================
   8. CTA SECTION
   ================================================================ */
.cta-section {
    position: relative;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.cta-section .cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(8, 66, 152, 0.9) 0%, rgba(13, 110, 253, 0.85) 100%);
}

.cta-section .cta-content {
    position: relative;
    z-index: 2;
}

.cta-section h2 {
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.2);
}

.cta-section .cta-btn {
    display: inline-block;
    padding: 16px 40px;
    background: #fff;
    color: var(--ambe-primary-dark);
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    transition: var(--ambe-transition);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.cta-section .cta-btn:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25);
    background: var(--ambe-gold);
    color: #fff;
}

/* ================================================================
   9. FAQ / ACCORDION
   ================================================================ */
.faq-section .faq-heading {
    font-weight: 800;
    color: #1a1a2e;
}

.faq-section .faq-heading-accent {
    width: 60px;
    height: 4px;
    background: var(--ambe-gradient);
    margin: 0 auto 2rem;
    border-radius: 2px;
}

.accordion-item {
    border: none;
    margin-bottom: 12px;
    border-radius: var(--ambe-radius) !important;
    overflow: hidden;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.06);
    transition: var(--ambe-transition);
}

.accordion-item:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.accordion-button {
    font-weight: 600;
    font-size: 1.05rem;
    padding: 1.25rem 1.5rem;
    color: #1a1a2e;
    border-radius: var(--ambe-radius) !important;
}

.accordion-button:not(.collapsed) {
    color: var(--ambe-primary);
    background-color: rgba(13, 110, 253, 0.04);
    box-shadow: none;
    border-bottom: 2px solid var(--ambe-primary);
}

.accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

.accordion-button::after {
    background-size: 1.1rem;
}

.accordion-body {
    padding: 1.25rem 1.5rem;
    color: #555;
    line-height: 1.8;
    font-size: 1rem;
}

/* ================================================================
   10. SECTION HEADER UTILITIES
   ================================================================ */
.section-header-center {
    text-align: center;
    margin-bottom: 3rem;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
}

.section-subtitle {
    color: var(--ambe-primary);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 700;
    font-size: 0.85rem;
    display: inline-block;
    margin-bottom: 0.5rem;
}

/* ================================================================
   11. ALTERNATING SECTION BACKGROUNDS
   ================================================================ */
.bg-section-light {
    background: #f8f9fc;
}

.bg-section-white {
    background: #fff;
}

/* ================================================================
   12. IMAGE GALLERY
   ================================================================ */
.gallery-img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: var(--ambe-radius);
    transition: transform 0.5s ease;
}

.gallery-item {
    overflow: hidden;
    border-radius: var(--ambe-radius);
    box-shadow: var(--ambe-shadow);
}

.gallery-item:hover .gallery-img {
    transform: scale(1.08);
}

/* ================================================================
   13. DOWNLOAD LIST
   ================================================================ */
.download-list-group .list-group-item {
    border: none;
    margin-bottom: 10px;
    background: #f8f9fc;
    border-radius: var(--ambe-radius) !important;
    transition: var(--ambe-transition);
    padding: 1.25rem 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.download-list-group .list-group-item:hover {
    background: var(--ambe-gradient);
    color: white;
    transform: translateX(6px);
    box-shadow: 0 5px 15px rgba(13, 110, 253, 0.2);
}

.download-list-group .list-group-item a {
    color: inherit;
    text-decoration: none;
    display: block;
    width: 100%;
}

/* ================================================================
   14. JOB LISTING CARDS
   ================================================================ */
.job-card {
    background: #fff;
    border-radius: var(--ambe-radius);
    padding: 1.75rem 2rem;
    box-shadow: var(--ambe-shadow);
    transition: var(--ambe-transition);
    border-left: 4px solid var(--ambe-primary);
    margin-bottom: 1rem;
}

.job-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--ambe-shadow-hover);
    border-left-color: var(--ambe-gold);
}

.job-card h5 {
    font-weight: 700;
    color: #1a1a2e;
}

.job-card small {
    color: #888;
}

.job-card .badge {
    background: var(--ambe-gradient) !important;
    font-weight: 600;
    padding: 8px 18px;
    font-size: 0.8rem;
}

/* ================================================================
   15. BOARD OF DIRECTORS (New)
   ================================================================ */
.board-card {
    background: #fff;
    border-radius: var(--ambe-radius);
    overflow: hidden;
    box-shadow: var(--ambe-shadow);
    transition: var(--ambe-transition);
    height: 100%;
    border-top: 5px solid transparent;
}

.board-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--ambe-shadow-hover);
    border-top-color: var(--ambe-primary);
}

.board-img-wrapper {
    position: relative;
    padding-top: 30px;
    text-align: center;
    background: linear-gradient(to bottom, #f8f9fc 50%, #fff 50%);
}

.board-img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin: 0 auto;
    transition: var(--ambe-transition);
}

.board-card:hover .board-img {
    transform: scale(1.05);
    border-color: var(--ambe-primary);
}

.board-content {
    padding: 2rem;
    text-align: center;
}

.board-role {
    color: var(--ambe-gold);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    display: block;
}

.board-name {
    font-size: 1.35rem;
    font-weight: 800;
    color: #1a1a2e;
    margin-bottom: 1rem;
}

.board-bio {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 0;
}

/* ================================================================
   16. EXPLORE VENTURES (New)
   ================================================================ */
.ventures-section {
    position: relative;
}

.venture-card {
    position: relative;
    height: 400px;
    border-radius: var(--ambe-radius);
    overflow: hidden;
    box-shadow: var(--ambe-shadow);
    transition: var(--ambe-transition);
    background: #000;
}

.venture-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
    opacity: 0.7;
}

.venture-card:hover .venture-card-img {
    transform: scale(1.1);
    opacity: 0.5;
}

.venture-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.7) 60%, transparent 100%);
    color: #fff;
    transition: var(--ambe-transition);
}

.venture-subtitle {
    font-size: 0.85rem;
    opacity: 0.8;
    margin-bottom: 0.5rem;
    display: block;
    color: #ccc;
}

.venture-title {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-transform: uppercase;
    color: #fff;
}

.venture-desc {
    font-size: 0.95rem;
    opacity: 0.9;
    margin-bottom: 1.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: #ddd;
    line-height: 1.6;
}

.venture-btn {
    text-transform: uppercase;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--ambe-gold);
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: 0.3s;
    margin-bottom: 5px;
}

.venture-btn:hover {
    color: #fff;
    border-bottom-color: #fff;
}

.venture-logo {
    max-height: 40px;
    width: auto;
    display: block;
    margin-bottom: 20px;
}

/* ================================================================
   17. CERTIFICATIONS CAROUSEL (New)
   ================================================================ */
.cert-section {
    overflow: hidden;
    position: relative;
}

.cert-item {
    background: #fff;
    padding: 2rem 1.5rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
    margin: 1rem;
    transition: var(--ambe-transition);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cert-item:hover {
    box-shadow: var(--ambe-shadow-hover);
    transform: translateY(-5px);
    border-color: var(--ambe-primary);
}

.cert-img-wrapper {
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    padding: 1rem;
    border: 1px solid #f0f0f0;
    border-radius: 4px;
}

.cert-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.cert-title {
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.cert-desc {
    font-size: 0.9rem;
    color: #777;
    margin-bottom: 0;
}

.cert-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--ambe-gradient);
    transform: scaleY(0);
    transition: transform 0.4s ease;
    transform-origin: bottom;
}

.cert-item:hover::before {
    transform: scaleY(1);
}

/* ================================================================
   15. GENERIC FORM COMPONENT
   ================================================================ */
.form-section {
    position: relative;
    background: #f8f9fc;
}

.form-wrapper {
    background: #fff;
    border-radius: var(--ambe-radius);
    padding: 3.5rem;
    box-shadow: var(--ambe-shadow);
    position: relative;
    overflow: hidden;
}

.form-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: var(--ambe-gradient);
}

.form-title-group h2 {
    font-weight: 800;
    color: #1a1a2e;
    margin-bottom: 0.5rem;
}

.form-title-group p {
    color: #777;
    margin-bottom: 2.5rem;
}

.form-control-modern {
    border: 2px solid #eee;
    padding: 0.85rem 1.25rem;
    border-radius: 8px;
    transition: var(--ambe-transition);
    background: #fafafa;
    display: block;
    width: 100%;
}

.form-control-modern:focus {
    border-color: var(--ambe-primary);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(13, 110, 253, 0.1);
    outline: none;
}

.form-label-modern {
    font-weight: 700;
    color: #333;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    display: block;
}

.btn-form-submit {
    padding: 1rem 2.5rem;
    background: var(--ambe-gradient);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-weight: 700;
    transition: var(--ambe-transition);
    box-shadow: 0 8px 25px rgba(13, 110, 253, 0.2);
}

.btn-form-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(13, 110, 253, 0.35);
    color: #fff;
}

/* ================================================================
   16. HEADER & NAVBAR FIXES
   ================================================================ */
/* Modern Underline for Active/Hover */
.navbar-light .navbar-nav .nav-link {
    position: relative;
    padding: 25px 0 !important;
}

/* Disable old style indicators from style.css */
.navbar-light .navbar-nav .nav-item::before,
.navbar-light .navbar-nav .nav-item::after {
    display: none !important;
}

.navbar-light .navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 15px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--ambe-gold);
    transition: width 0.3s ease;
    border: none !important;
}

.navbar-light .navbar-nav .nav-link.active::after,
.navbar-light .navbar-nav .nav-link:hover::after {
    width: 100%;
}

/* Header Action Section gap fix */
.header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-phone-box {
    border-right: 1px solid rgba(0, 0, 0, 0.1);
    padding-right: 1.5rem;
    line-height: 1.2;
}

@media (max-width: 991.98px) {
    .nav-phone-box {
        border-right: none;
        padding-right: 0;
        margin-bottom: 1rem;
    }
}

/* ================================================================
   18. PREMIUM INNER PAGE REDESIGN OVERRIDES
   ================================================================ */

/* --- Core Pillars (.service-item) --- */
.service-item {
    background: #fff !important;
    border-radius: var(--ambe-radius) !important;
    padding: 2.5rem 2rem;
    box-shadow: var(--ambe-shadow);
    transition: var(--ambe-transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: none !important;
}

.service-item::after {
    display: none !important;
    /* Disable old style.css hover effect */
}

.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--ambe-gradient);
    transform: scaleX(0);
    transition: transform 0.4s ease;
    transform-origin: left;
    z-index: 2;
}

.service-item:hover::before {
    transform: scaleX(1);
}

.service-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--ambe-shadow-hover);
}

.service-item .p-4 {
    padding: 0 !important;
    position: relative;
    z-index: 3;
}

.service-item i {
    width: 80px;
    height: 80px;
    line-height: 80px;
    border-radius: 50%;
    background: rgba(13, 110, 253, 0.05);
    color: var(--ambe-primary) !important;
    transition: var(--ambe-transition);
    margin-bottom: 1.5rem;
    display: inline-block;
}

/* Fix for Tiny Icons in Circular Containers, Lists, and Text */
.service-item .d-inline-flex i,
.btn-square i,
.btn-md-square i,
.btn-lg-square i,
.service-item li i,
.service-item p i,
.service-item a i,
.service-item h1 i,
.service-item h2 i,
.service-item h3 i,
.service-item h4 i,
.service-item h5 i,
.service-item h6 i {
    width: auto !important;
    height: auto !important;
    line-height: inherit !important;
    background: transparent !important;
    margin-bottom: 0 !important;
    display: inline-block !important;
    border-radius: 0 !important;
    color: inherit !important;
}

.service-item:hover i {
    background: var(--ambe-gradient);
    color: #fff !important;
    transform: rotateY(180deg);
}

.service-item:hover .d-inline-flex i,
.service-item:hover li i,
.service-item:hover p i,
.service-item:hover a i,
.service-item:hover h1 i,
.service-item:hover h2 i,
.service-item:hover h3 i,
.service-item:hover h4 i,
.service-item:hover h5 i,
.service-item:hover h6 i {
    background: transparent !important;
    color: inherit !important;
    transform: none !important;
}

.service-item .d-inline-flex {
    transition: var(--ambe-transition);
}

.service-item:hover .d-inline-flex {
    background: var(--ambe-gradient) !important;
}

.service-item h5 {
    font-weight: 800;
    color: #1a1a2e !important;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.service-item p {
    color: #666 !important;
    line-height: 1.7;
    margin-bottom: 0;
}

/* --- Service 2 Item (.service-2-item from industries.html) --- */
.service-2-item {
    border-radius: var(--ambe-radius);
    box-shadow: var(--ambe-shadow);
    transition: var(--ambe-transition);
    overflow: hidden;
    position: relative;
    z-index: 1;
    border: none !important;
}

.service-2-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--ambe-gradient);
    opacity: 0;
    transition: var(--ambe-transition);
    z-index: -1;
}

.service-2-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--ambe-shadow-hover);
}

.service-2-item:hover::after {
    opacity: 0.95;
}

.service-2-item>* {
    transition: var(--ambe-transition);
}

.service-2-item:hover>i,
.service-2-item:hover>h4,
.service-2-item:hover>p {
    color: #fff !important;
}

/* --- Cert Card (.cert-card) --- */
.cert-card {
    background: #fff !important;
    border: none !important;
    border-radius: var(--ambe-radius) !important;
    box-shadow: var(--ambe-shadow);
    transition: var(--ambe-transition);
    position: relative;
    overflow: hidden;
}

.cert-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--ambe-gradient);
}

.cert-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--ambe-shadow-hover);
}

.cert-card i {
    color: var(--ambe-gold) !important;
    transition: var(--ambe-transition);
}

.cert-card:hover i {
    transform: scale(1.15);
}

.cert-card h5 {
    font-weight: 800;
    color: #1a1a2e;
}

/* --- Partner Item (.partner-item) --- */
.partner-item {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    border-radius: var(--ambe-radius);
    transition: var(--ambe-transition);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.02);
}

.partner-item img {
    filter: grayscale(100%) opacity(0.6);
    transition: var(--ambe-transition);
}

.partner-item:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transform: translateY(-5px);
    border-color: rgba(13, 110, 253, 0.2) !important;
}

.partner-item:hover img {
    filter: grayscale(0%) opacity(1);
}

/* --- Team Item / Product Showcase (.team-item) --- */
.team-item {
    background: #fff !important;
    border: none !important;
    border-radius: var(--ambe-radius) !important;
    box-shadow: var(--ambe-shadow) !important;
    transition: var(--ambe-transition);
    overflow: hidden;
}

.team-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--ambe-shadow-hover) !important;
}

.team-item img {
    border: none !important;
    padding: 0 !important;
    margin-top: 1.5rem;
    transition: transform 0.6s ease;
}

.team-item:hover img {
    transform: scale(1.1);
}

.team-item .team-text {
    background: #f8f9fc;
    padding: 1.5rem;
    border-radius: 0 0 var(--ambe-radius) var(--ambe-radius);
    position: relative;
    z-index: 2;
}

.team-item .team-title h5 {
    font-weight: 800;
    color: #1a1a2e;
    margin-bottom: 0.25rem;
}

.team-item .team-title span {
    color: var(--ambe-primary);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- Video Item / Visual Tour (.video-item) --- */
.video-item {
    border-radius: var(--ambe-radius) !important;
    box-shadow: var(--ambe-shadow) !important;
}

.video-item img {
    transition: transform 0.8s ease;
}

.video-item:hover img {
    transform: scale(1.05);
}

/* --- Section Title Override --- */
.section-title.bg-white {
    color: var(--ambe-primary) !important;
    text-transform: uppercase !important;
    letter-spacing: 3px !important;
    font-weight: 700 !important;
    font-size: 0.85rem !important;
    display: inline-block !important;
    border-radius: 50px !important;
    padding: 8px 20px !important;
    background: rgba(13, 110, 253, 0.05) !important;
    margin-bottom: 1rem !important;
}

.section-title::before,
.section-title::after {
    display: none !important;
}

/* --- Stats Section Override --- */
.stats-section {
    background: var(--ambe-gradient-dark) !important;
    position: relative;
    overflow: hidden;
}

.stats-section .text-center {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    transition: var(--ambe-transition);
}

.stats-section .text-center:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-8px);
    border-color: rgba(13, 110, 253, 0.3);
}

.stats-section h1 {
    font-size: 3.5rem !important;
    font-weight: 900 !important;
    color: #fff !important;
    text-shadow: 0 0 30px rgba(13, 110, 253, 0.5) !important;
}

.stats-section p {
    font-size: 0.9rem !important;
    color: rgba(255, 255, 255, 0.7) !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    font-weight: 600 !important;
}

/* ================================================================
   19. HOMEPAGE PRODUCT SHOWCASE (Premium Cards)
   ================================================================ */
.product-card-premium {
    background: #fff;
    border-radius: var(--ambe-radius);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
    transition: var(--ambe-transition);
    overflow: hidden;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card-premium:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.product-card-premium .product-img-wrap {
    width: 100%;
    height: 250px;
    overflow: hidden;
    position: relative;
    background: #f8f9fc;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.product-card-premium .product-img-wrap img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card-premium:hover .product-img-wrap img {
    transform: scale(1.15);
}

.product-card-premium .product-text {
    padding: 2rem 1.5rem;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-card-premium .product-text h5 {
    font-weight: 800;
    color: #1a1a2e;
    font-size: 1.35rem;
    margin-bottom: 0.5rem;
}

.product-card-premium .product-text span {
    color: var(--ambe-primary);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 1.5rem;
}

.product-btn-inline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: var(--ambe-gradient);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin: 0 auto;
    transition: all 0.4s ease;
    text-decoration: none;
    overflow: hidden;
}

.product-card-premium:hover .product-btn-inline {
    width: 150px;
    border-radius: 50px;
    box-shadow: 0 5px 15px rgba(13, 110, 253, 0.3);
}

.product-btn-inline i {
    transition: transform 0.4s;
}

.product-btn-inline span.btn-text {
    max-width: 0;
    opacity: 0;
    overflow: hidden;
    white-space: nowrap;
    transition: all 0.4s ease;
    font-weight: 700;
    font-size: 0.9rem;
}

.product-card-premium:hover .product-btn-inline span.btn-text {
    max-width: 100px;
    opacity: 1;
    margin-right: 8px;
}

/* ================================================================
   PREMIUM PRODUCTS SHOWCASE SECTION
   ================================================================ */
.products-showcase-section {
    background: #f5f7fa;
    padding: 80px 0;
}

.products-eyebrow {
    display: inline-block;
    color: var(--ambe-primary);
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
    position: relative;
}

.products-headline {
    font-size: 2.8rem;
    font-weight: 800;
    color: #1a1a2e;
    margin-bottom: 1rem;
    line-height: 1.15;
}

.products-subline {
    font-size: 1.05rem;
    color: #666;
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Product Card */
.pcard {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    height: 300px;
    cursor: pointer;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
    transition: box-shadow 0.4s ease, transform 0.4s ease;
    background: #111;
}

.pcard-large {
    height: 300px;
}

.pcard:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(13, 110, 253, 0.2);
}

.pcard-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease, filter 0.6s ease;
    filter: brightness(0.4);
}

.pcard:hover .pcard-img {
    transform: scale(1.07);
    filter: brightness(0.85);
}

/* Always-visible card label at bottom */
.pcard::after {
    content: attr(data-name);
}

/* Bottom gradient strip visible always */
.pcard::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
    z-index: 1;
    transition: opacity 0.4s ease;
}

.pcard:hover::before {
    opacity: 0;
}

/* Overlay content (visible by default) */
.pcard-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 2rem;
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.4s ease, transform 0.4s ease;
    z-index: 2;
}

.pcard:hover .pcard-overlay {
    opacity: 0;
    transform: translateY(15px);
}

.pcard-badge {
    display: inline-block;
    background: var(--ambe-gold);
    color: #1a1a2e;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 50px;
    margin-bottom: 0.75rem;
}

.pcard-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.pcard-desc {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.pcard-btn {
    display: inline-flex;
    align-items: center;
    background: #fff;
    color: var(--ambe-primary);
    font-weight: 700;
    font-size: 0.88rem;
    padding: 10px 22px;
    border-radius: 50px;
    text-decoration: none;
    transition: background 0.3s, color 0.3s, transform 0.3s;
}

.pcard-btn:hover {
    background: var(--ambe-gold);
    color: #fff;
    transform: translateX(4px);
}

/* Permanent title bar at bottom of card (visible always) */
.pcard .pcard-static {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem 1.5rem;
    z-index: 2;
    transition: opacity 0.3s ease;
}

.pcard:hover .pcard-static {
    opacity: 0;
}

/* CTA Button */
.products-cta-btn {
    display: inline-flex;
    align-items: center;
    background: var(--ambe-gradient);
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    padding: 16px 40px;
    border-radius: 50px;
    text-decoration: none;
    transition: var(--ambe-transition);
    box-shadow: 0 8px 25px rgba(13, 110, 253, 0.3);
    letter-spacing: 0.5px;
}

.products-cta-btn:hover {
    background: linear-gradient(135deg, var(--ambe-gold) 0%, #e09000 100%);
    box-shadow: 0 12px 35px rgba(240, 165, 0, 0.4);
    transform: translateY(-3px) scale(1.03);
    color: #fff;
}

/* ================================================================
   SHARED SECTION TYPOGRAPHY UTILITIES
   ================================================================ */
.section-eyebrow {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--ambe-primary);
    margin-bottom: 0.75rem;
}

.section-eyebrow.light {
    color: var(--ambe-gold);
}

.section-title-main {
    font-size: 2.6rem;
    font-weight: 400;
    color: #1a1a2e;
    margin-bottom: 1rem;
}

.section-subtext {
    font-size: 1rem;
    color: #666;
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.75;
}

/* ================================================================
   BOARD OF DIRECTORS SECTION
   ================================================================ */
.board-section {
    background: #fff;
}

.director-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.07);
    transition: var(--ambe-transition);
    text-align: center;
    padding-bottom: 1.75rem;
}

.director-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(13, 110, 253, 0.15);
}

.director-photo-wrap {
    width: 100%;
    height: 280px;
    overflow: hidden;
    position: relative;
}

.director-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 15%;
    transition: transform 0.5s ease;
}

.director-card:hover .director-photo {
    transform: scale(1.05);
}

.director-info {
    padding: 1.25rem 1rem 0;
}

.director-rule {
    width: 40px;
    height: 3px;
    background: var(--ambe-gold);
    border-radius: 2px;
    margin: 0 auto 1rem;
}

.director-name {
    font-family: 'Inter', sans-serif;
    font-size: 1.2rem;
    color: #1a1a2e;
    margin-bottom: 0.35rem;
}

.director-role {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--ambe-primary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.btn-outline-dark-pill {
    display: inline-flex;
    align-items: center;
    border: 2px solid #1a1a2e;
    color: #1a1a2e;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 12px 32px;
    border-radius: 50px;
    text-decoration: none;
    transition: var(--ambe-transition);
}

.btn-outline-dark-pill:hover {
    background: #1a1a2e;
    color: #fff;
    transform: translateY(-2px);
}

/* ================================================================
   CERTIFICATIONS SECTION
   ================================================================ */
.certs-section {
    background: var(--ambe-gradient-dark);
    padding: 80px 0;
    position: relative;
}

.cert-badge {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.5rem 1rem;
    text-align: center;
    transition: var(--ambe-transition);
}

.cert-badge:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-4px);
    border-color: var(--ambe-gold);
}

.cert-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(240, 165, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.85rem;
    font-size: 1.4rem;
    color: var(--ambe-gold);
}

.cert-name {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.25rem;
    letter-spacing: 0;
}

.cert-desc {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 0;
    line-height: 1.4;
}

/* ================================================================
   INDUSTRIES WE SERVE SECTION
   ================================================================ */
.industries-section {
    background: #f5f7fa;
}

.industry-card {
    background: #fff;
    border-radius: 16px;
    padding: 2rem 1.75rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: var(--ambe-transition);
    border-left: 4px solid transparent;
    height: 100%;
}

.industry-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(13, 110, 253, 0.12);
    border-left-color: var(--ambe-gold);
}

.industry-icon-wrap {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.1) 0%, rgba(8, 66, 152, 0.15) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--ambe-primary);
    margin-bottom: 1.25rem;
    transition: var(--ambe-transition);
}

.industry-card:hover .industry-icon-wrap {
    background: var(--ambe-gradient);
    color: #fff;
    transform: rotate(-5deg) scale(1.1);
}

.industry-name {
    font-family: 'Inter', sans-serif;
    font-size: 1.2rem;
    color: #1a1a2e;
    margin-bottom: 0.65rem;
}

.industry-desc {
    font-size: 0.88rem;
    color: #666;
    line-height: 1.65;
    margin-bottom: 0;
}

/* ================================================================
   FOOTER COLOR CONTRAST FIXES
   ================================================================ */
.footer,
.copyright {
    color: rgba(255, 255, 255, 0.7) !important;
}

.footer .text-body,
.copyright .text-body {
    color: rgba(255, 255, 255, 0.7) !important;
}

.footer p,
.footer span,
.copyright span {
    color: rgba(255, 255, 255, 0.8) !important;
}

.footer a,
.copyright a {
    color: rgba(255, 255, 255, 0.9) !important;
    transition: var(--ambe-transition);
}

.footer a:hover,
.copyright a:hover {
    color: var(--ambe-gold) !important;
}

.footer .text-muted {
    color: rgba(255, 255, 255, 0.6) !important;
}

.footer i {
    color: var(--ambe-gold);
}

/* ================================================================
   RESPONSIVENESS & OPTIMIZATION FIXES
   ================================================================ */

/* General Overflow Fix */
html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

/* Fix Owl Carousel Horizontal Scroll */
.owl-carousel {
    max-width: 100vw !important;
}

.carousel-header,
.carousel-inner {
    overflow: hidden !important;
}

/* Staff login hub */
.staff-portal-shell {
    background: linear-gradient(180deg, #f7fbff 0%, #eef5fb 100%);
    border: 1px solid rgba(13, 110, 253, 0.08);
    border-radius: 24px;
    box-shadow: 0 18px 50px rgba(15, 52, 96, 0.08);
    padding: 2rem;
}

.staff-portal-toolbar {
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    align-items: end;
    margin-bottom: 1.5rem;
}

.staff-portal-tag {
    display: inline-block;
    background: rgba(13, 110, 253, 0.1);
    color: var(--ambe-primary);
    border-radius: 999px;
    padding: 0.45rem 0.9rem;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 0.9rem;
}

.staff-portal-title {
    margin-bottom: 0.6rem;
}

.staff-portal-text {
    color: #5a6777;
}

.staff-portal-search {
    min-width: 320px;
    max-width: 360px;
    position: relative;
}

.staff-portal-search i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #75839a;
}

.staff-portal-search input {
    width: 100%;
    border: 1px solid rgba(13, 110, 253, 0.12);
    border-radius: 999px;
    padding: 0.95rem 1rem 0.95rem 2.9rem;
    background: #fff;
    outline: none;
}

.staff-portal-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.staff-filter {
    border: none;
    border-radius: 999px;
    background: #fff;
    color: #334155;
    padding: 0.8rem 1.1rem;
    font-weight: 600;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.06);
}

.staff-filter.active {
    background: var(--ambe-primary);
    color: #fff;
}

.staff-portal-notice {
    display: flex;
    gap: 1rem;
    align-items: start;
    background: #fff7e8;
    border: 1px solid rgba(240, 165, 0, 0.18);
    border-radius: 18px;
    padding: 1rem 1.1rem;
    margin-bottom: 1.75rem;
}

.staff-portal-notice h5 {
    margin-bottom: 0.35rem;
}

.staff-portal-notice p {
    margin-bottom: 0;
    color: #725b1d;
}

.staff-portal-notice-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(135deg, #ffca5f 0%, #f0a500 100%);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.staff-account-card {
    height: 100%;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.08);
    border: 1px solid rgba(148, 163, 184, 0.14);
    padding: 1.35rem;
}

.staff-account-top h4 {
    font-size: 1.2rem;
    margin-bottom: 0.35rem;
}

.staff-account-top p {
    color: #607086;
    margin-bottom: 1rem;
}

.staff-account-badge {
    display: inline-block;
    margin-bottom: 0.9rem;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
}

.staff-account-badge.cpanel {
    background: rgba(13, 110, 253, 0.12);
    color: var(--ambe-primary);
}

.staff-account-badge.gmail {
    background: rgba(25, 135, 84, 0.12);
    color: #198754;
}

.staff-account-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.staff-portal-empty {
    text-align: center;
    padding: 3rem 1rem 1rem;
    color: #607086;
}

.staff-portal-empty i {
    font-size: 2rem;
    color: var(--ambe-primary);
    margin-bottom: 0.9rem;
}

@media (max-width: 991.98px) {
    .staff-portal-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .staff-portal-search {
        min-width: 0;
        max-width: none;
    }
}

.hero-slide-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 22px;
    border-radius: 999px;
    background: rgba(13, 110, 253, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.24);
    color: #fff;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    backdrop-filter: blur(4px);
}

.hero-slide-badge-light {
    background: rgba(255, 255, 255, 0.15);
}

.hero-slide-logo-shell {
    width: 74px;
    height: 74px;
    border-radius: 50%;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 74px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
}

.hero-slide-logo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.08);
}

.hero-slide-badge-text {
    display: inline-block;
    max-width: 240px;
    line-height: 1.3;
}

.hero-slide-railway .carousel-caption-2-content,
.hero-slide-quality .carousel-caption-1-content {
    max-width: 760px !important;
}

/* Mobile Targeted Adjustments */
@media (max-width: 576px) {

    .hero-slide-badge {
        padding: 8px 14px;
        gap: 8px;
        font-size: 0.72rem;
        letter-spacing: 0.03em;
        margin-bottom: 1rem !important;
    }

    .hero-slide-logo-shell {
        width: 52px;
        height: 52px;
        flex-basis: 52px;
    }

    .hero-slide-logo {
        transform: scale(1.06);
    }

    .hero-slide-badge-text {
        max-width: 140px;
        line-height: 1.25;
    }

    /* Reduce Hero Font Sizes */
    .carousel-item h1 {
        font-size: 2rem !important;
        line-height: 1.2 !important;
    }

    .carousel-item p {
        font-size: 1rem !important;
        line-height: 1.5 !important;
        margin-bottom: 2rem !important;
    }

    .hero-slide-railway h1,
    .hero-slide-quality h1 {
        font-size: 1.7rem !important;
    }

    .hero-slide-railway h4,
    .hero-slide-quality h4 {
        font-size: 0.85rem !important;
        margin-bottom: 0.75rem !important;
    }

    .hero-slide-railway p,
    .hero-slide-quality p {
        font-size: 0.95rem !important;
        margin-bottom: 1.25rem !important;
    }

    /* Stack Hero Buttons */
    .carousel-caption-1-content-btn,
    .carousel-caption-2-content-btn {
        display: flex;
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }

    .carousel-caption-1-content-btn .btn,
    .carousel-caption-2-content-btn .btn {
        width: 100%;
        max-width: 250px;
        margin: 0 !important;
    }

    /* Live Ticker Mobile Fix */
    .container-fluid.bg-dark marquee {
        max-width: 70vw !important;
        font-size: 0.85rem;
    }

    /* Navbar Brand Shrink */
    .navbar-brand img {
        height: 40px !important;
    }
}

/* Tablet Adjustments */
@media (min-width: 577px) and (max-width: 991px) {
    .carousel-item h1 {
        font-size: 3rem !important;
    }

    .hero-slide-railway h1,
    .hero-slide-quality h1 {
        font-size: 2.5rem !important;
    }
}

/* ================================================================
   ACCREDITATIONS CAROUSEL
   ================================================================ */
.cert-section {
    position: relative;
    overflow: hidden;
}

.cert-item {
    background: #fff;
    border-radius: var(--ambe-radius);
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: var(--ambe-transition);
    border-bottom: 3px solid transparent;
}

.cert-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(13, 110, 253, 0.1);
    border-bottom-color: var(--ambe-primary);
}

.cert-img-wrapper {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 15px;
    border: 1px solid #eee;
}

.cert-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.cert-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 0.5rem;
    font-family: 'Inter', sans-serif;
}

.cert-desc {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0;
    line-height: 1.5;
}

/* ================================================================
   19. ACCREDITATIONS CARDS (New)
   ================================================================ */
.accreditation-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 2.5rem 1.5rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid rgba(0, 0, 0, 0.03);
    position: relative;
    z-index: 10;
}

.accreditation-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

.accreditation-img-wrap {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    background: #f8f9fc;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #ebecee;
    overflow: hidden;
}

.accreditation-img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

#certModal .modal-content {
    background: rgba(0, 0, 0, 0.8) !important;
}


/* ================================================================
   HOMEPAGE OPERATIONAL STRENGTH ICONS
   ================================================================ */
.service-icon {
    width: 92px;
    height: 92px;
    border-radius: 50%;
    background: #eef4ff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--ambe-primary);
    flex: 0 0 92px;
    margin: 0 0 1.5rem;
}

.service-icon i {
    font-size: 2rem;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* ================================================================
   CARD EQUAL-HEIGHT STRETCH FIXES
   ================================================================ */

/* Industries section — force full-height flex cards */
.industries-section .row {
    align-items: stretch;
}
.industry-card {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
}

/* Ambe Advantage section — force full-height flex cards */
.container-xxl .row.g-4 .bg-white.text-center.h-100 {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
}

/* ================================================================
   TOPBAR
   ================================================================ */
.topbar {
    font-size: 0.82rem;
    letter-spacing: 0.02em;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.topbar a:hover {
    color: var(--bs-primary) !important;
    text-decoration: none;
}
.topbar .btn-outline-light {
    font-size: 0.78rem;
    padding: 3px 14px;
    border-color: rgba(255,255,255,0.35);
    transition: all 0.2s;
}
.topbar .btn-outline-light:hover {
    background: var(--ambe-primary);
    border-color: var(--ambe-primary);
    color: #fff !important;
}

/* Shipyard Gallery Carousel */
.shipyard-carousel .shipyard-slide {
    padding: 0 8px;
}
.shipyard-carousel .shipyard-slide img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    object-position: center;
    border-radius: 10px;
}
.shipyard-carousel .owl-nav .owl-prev,
.shipyard-carousel .owl-nav .owl-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--bs-primary) !important;
    color: #fff !important;
    width: 44px;
    height: 44px;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}
.shipyard-carousel .owl-nav .owl-prev { left: -22px; }
.shipyard-carousel .owl-nav .owl-next { right: -22px; }
.shipyard-carousel .owl-dots {
    text-align: center;
    margin-top: 20px;
}
.shipyard-carousel .owl-dots .owl-dot span {
    background: #ccc;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
    margin: 0 4px;
}
.shipyard-carousel .owl-dots .owl-dot.active span {
    background: var(--bs-primary);
}

/* ================================================================
   NAVBAR TOPBAR OFFSET FIX
   The navbar's position:absolute is relative to .position-relative
   wrapper which already starts below the topbar — no top offset needed.
   ================================================================ */
@media (min-width: 992px) {
    .navbar-light:not(.sticky-top) {
        top: 0 !important;
    }
}

/* ================================================================
   CAROUSEL IMAGE FIX — override img-fluid height:auto conflict
   ================================================================ */
.carousel .carousel-inner .carousel-item img.img-fluid {
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
}


/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    width: 50px;
    height: 50px;
    bottom: 30px;
    left: 30px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 24px;
    box-shadow: 2px 2px 3px #999;
    z-index: 100;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}
.whatsapp-float:hover {
    color: white;
    background-color: #128c7e;
    transform: scale(1.1);
}

/* ================================================================
   NAVBAR — PERMANENT SOLID HEADER OVERRIDES
   Ensures navbar always has white background (never transparent),
   topbar always visible on desktop, and logo always shows.
   ================================================================ */

/* Force navbar to always be solid white — not absolute/transparent */
@media (min-width: 992px) {
    .navbar-light {
        position: relative !important;
        background: #ffffff !important;
        border-bottom: 1px solid rgba(0,0,0,0.08) !important;
    }

    .sticky-top.navbar-light {
        position: sticky !important;
        top: 0 !important;
        background: #ffffff !important;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1) !important;
    }
}

/* Topbar — force visible on desktop regardless of scroll */
.topbar {
    display: block !important;
}

@media (max-width: 991.98px) {
    .topbar {
        display: none !important;
    }
}

/* Logo visibility — always show logo-dark (dark-colored logo for light bg) */
img.logo-dark {
    display: block !important;
}

img.logo-light {
    display: none !important;
}

/* Nav links always dark on light background */
@media (min-width: 992px) {
    .navbar-light .navbar-nav .nav-link {
        color: #1a1a2e !important;
        padding: 20px 0 !important;
    }

    .navbar-light .navbar-nav .nav-link:hover,
    .navbar-light .navbar-nav .nav-link.active {
        color: #0d6efd !important;
    }
}

