/* header {
    background:#111;;
    width:100%;
    height:100px;
} */

/* Header Fixed Positioning */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
}

header .navbar {
    background: rgba(255, 255, 255, 0.95) !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 0.5rem 0;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

/* Transparent Header State (in Hero, no hover) */
header .navbar.header-transparent {
    background: transparent !important;
    box-shadow: none;
}

/* Solid Header State (hovering or scrolled) */
header .navbar.header-solid {
    background: rgba(255, 255, 255, 0.95) !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Body padding to prevent content from hiding under fixed header */
/* Only apply to non-hero sections */
body {
    margin: 0;
    padding: 0;
}

/* Make page-wrap (other pages) have padding to account for fixed header */
.page-wrap {
    padding-top: 70px;
    /* Adjust based on your header height */
    padding-bottom: 2rem;
}

/* 
header .top-bar {
    list-style-type:none;
    margin:0;
    padding:0;
    display:flex;
}

header .container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

header .top-bar li a { 
    padding: .25rem 1rem;
    color:#fff;
    
} 
*/

/* New Bootstrap Overrides */
header .navbar-nav .nav-link {
    color: #000 !important;
    /* Black text on white background */
    padding: 0.5rem 1rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

/* White text in transparent state */
header .navbar.header-transparent .navbar-nav .nav-link {
    color: #fff !important;
}

/* Logo styling */
.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: #000 !important;
    transition: color 0.3s ease;
}

/* White logo in transparent state */
header .navbar.header-transparent .navbar-brand {
    color: #fff !important;
}

/* Logo image filter for transparent state */
header .navbar.header-transparent .navbar-brand img {
    filter: brightness(0) invert(1);
}

/* Three-column layout for desktop */
@media (min-width: 992px) {
    header .navbar .container {
        display: flex;
        align-items: center;
    }

    .navbar-nav-wrapper {
        flex-grow: 1;
        display: flex;
        justify-content: center;
    }

    .navbar-cta {
        margin-left: auto;
    }
}

/* CTA Button Styling - Yellow background with black text */
.navbar-cta .cta-button {
    background: var(--yellow-accent);
    color: #000 !important;
    padding: 0.5rem 1.5rem;
    text-decoration: none;
    display: inline-block;
    font-weight: 600;
    transition: background-color 0.3s ease, color 0.3s ease, border 0.3s ease;
    border: 2px solid transparent;
}

.navbar-cta .cta-button:hover {
    background: rgba(254, 237, 59, 1);
    color: #000 !important;
}

/* Transparent CTA button in transparent state - alpha 0 background */
header .navbar.header-transparent .navbar-cta .cta-button {
    background: rgba(0, 0, 0, 0) !important;
    color: #fff !important;
    border: none;
}

header .navbar.header-transparent .navbar-cta .cta-button:hover {
    background: rgba(255, 255, 255, 0.15) !important;
    color: #fff !important;
    border: none;
}

/* Submenu Support */
.navbar-nav .sub-menu {
    list-style: none;
    /* Remove bullets */
    padding-left: 0;
    margin: 0;
}

/* Desktop: Dropdown behavior */
@media (min-width: 992px) {
    .navbar-nav .menu-item-has-children {
        position: relative;
    }

    .navbar-nav .sub-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        min-width: 200px;
        background: #fff;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }

    .navbar-nav .menu-item-has-children:hover>.sub-menu,
    .navbar-nav .menu-item-has-children:focus-within>.sub-menu {
        display: block;
    }

    .navbar-nav .sub-menu a.nav-link {
        color: #333 !important;
        /* Dark text on white dropdown */
        padding: 0.5rem 1rem;
    }

    .navbar-nav .sub-menu a.nav-link:hover {
        background-color: #f8f9fa;
        color: #000 !important;
    }
}

/* Mobile: Expanded behavior */
@media (max-width: 991.98px) {

    /* Mobile header styling */
    header .navbar {
        background: rgba(255, 255, 255, 0.95) !important;
        padding-left: 0;
        padding-right: 0;
    }

    /* Mobile navbar container - logo left, hamburger right at edges */
    header .navbar .container {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        padding-left: 15px;
        padding-right: 15px;
        max-width: 100%;
        width: 100%;
    }

    /* Ensure logo stays on the far left */
    header .navbar .navbar-brand {
        margin-right: auto;
        margin-left: 0;
        padding-left: 0;
        order: 1;
    }

    /* Hamburger on the far right */
    header .navbar .navbar-toggler {
        order: 2;
        margin-right: 0;
        padding-right: 0;
    }

    /* Navigation collapse takes full width below */
    header .navbar .navbar-collapse {
        order: 3;
        flex-basis: 100%;
    }

    /* Mobile toggler styling - NO BORDER */
    .navbar-toggler {
        border: none !important;
        padding: 0.25rem 0.5rem;
        box-shadow: none;
        outline: none;
    }

    .navbar-toggler:focus {
        box-shadow: none;
        outline: none;
    }

    .navbar-toggler-icon {
        /* Make hamburger icon black for white background */
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(0, 0, 0, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
        transition: background-image 0.3s ease;
    }

    /* White hamburger icon for transparent state */
    header .navbar.header-transparent .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    }

    /* Full-screen white background when mobile menu is expanded */
    header .navbar-collapse.show,
    header .navbar-collapse.collapsing {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100vw;
        height: 100vh;
        background: #fff !important;
        z-index: 9998;
        padding: 80px 20px 20px 20px;
        overflow-y: auto;
    }

    /* Keep header elements above the fullscreen menu */
    header .navbar .navbar-brand,
    header .navbar .navbar-toggler {
        position: relative;
        z-index: 9999;
    }

    /* Black text for mobile nav links in expanded menu */
    header .navbar-collapse.show .navbar-nav .nav-link,
    header .navbar-collapse.collapsing .navbar-nav .nav-link {
        color: #000 !important;
        font-size: 1.2rem;
        padding: 1rem 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    }

    /* Black text for mobile nav links */
    header .navbar-nav .nav-link {
        color: #000 !important;
    }

    /* Mobile submenu styling */
    .navbar-nav .sub-menu {
        position: static;
        background: transparent;
        padding-left: 1.5rem;
        /* Hide submenus by default on mobile */
        display: none;
    }

    /* Show submenu when parent has 'submenu-open' class */
    .navbar-nav .menu-item-has-children.submenu-open>.sub-menu {
        display: block;
    }

    /* Add dropdown arrow indicator for parent items with children */
    .navbar-nav .menu-item-has-children>a.nav-link::after {
        content: ' ▼';
        font-size: 0.7em;
        transition: transform 0.3s ease;
        display: inline-block;
    }

    /* Rotate arrow when submenu is open */
    .navbar-nav .menu-item-has-children.submenu-open>a.nav-link::after {
        transform: rotate(180deg);
    }

    .navbar-nav .sub-menu a.nav-link {
        color: rgba(0, 0, 0, 0.8) !important;
    }

    /* Position CTA at bottom-right of expanded menu */
    .navbar-cta {
        display: flex;
        justify-content: flex-end;
        margin-top: 1rem;
        padding-right: 0.5rem;
    }
}


/* 
header .top-bar li {
    position: relative;
}

header .top-bar li:first-child a {
    padding-left:0;
}

header .top-bar li:last-child a {
    padding-right:0;
} 
*/

header .top-bar li .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.1);
    margin: 0;
    padding: 0;
    list-style-type: none;
    width: 200px;
}


header .top-bar li .sub-menu a {
    color: black;
    padding: 25rem;
    text-align: center;
    display: block;
    text-decoration: none;
}

header .top-bar li .sub-menu a:hover {
    background: black;
}

header .top-bar .menu-item-has-children:hover .sub-menu {
    display: block;
}

header .top-bar .sub-menu li .sub-menu {
    top: 0;
    left: 100%;
}

/* ========================================
   FRONT PAGE STYLES
   ======================================== */

/* Global - Roboto Font */
/* Using TTF files from assets/fonts/Roboto/ */
@font-face {
    font-family: 'Roboto';
    src: url('../fonts/Roboto/Roboto-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Roboto';
    src: url('../fonts/Roboto/Roboto-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

body {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Yellow Accent Color Variable */
:root {
    --yellow-accent: rgba(254, 237, 59, .9);
    --dark-bg: #1a1a1a;
    --light-bg: #f8f9fa;
}

/* ======================================== */
/* Unified Hero Banner System */
/* ======================================== */
/* Base hero banner styles - applies to all hero banners */
.hero-banner {
    position: relative;
    width: 100%;
    min-height: 100vh;
    overflow: hidden;
}

/* Carousel-specific hero banner */
.hero-banner--carousel .carousel,
.hero-banner--carousel .carousel-inner,
.hero-banner--carousel .carousel-item {
    height: 100vh;
}

/* Static hero banner background */
.hero-banner--static {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Hero slide (for carousel items) */
.hero-banner .hero-slide {
    position: relative;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Hero overlay (darkens background for better text readability) */
.hero-banner .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

/* Hero content container */
.hero-banner .hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    padding: 2rem;
    opacity: 1;
    transition: opacity 0.6s ease;
}

/* Hero headline (h1) */
.hero-banner .hero-headline,
.hero-banner .hero-title {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Hero subtitle */
.hero-banner .hero-subtitle {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 1.5rem;
    margin-bottom: 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Hero Background Zoom Animation (for carousel) */
@keyframes heroZoom {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.1);
    }
}

/* Apply zoom to active carousel slide */
.hero-banner--carousel .carousel-item.active .hero-slide {
    animation: heroZoom 2s ease-out forwards;
}

/* Carousel Controls */
.hero-banner .carousel-control-prev,
.hero-banner .carousel-control-next {
    width: 44px;
    height: 44px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 1;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.hero-banner .carousel-control-prev {
    left: 30px;
}

.hero-banner .carousel-control-next {
    right: 30px;
}

.hero-banner .carousel-control-prev:hover,
.hero-banner .carousel-control-next:hover {
    background-color: var(--yellow-accent);
    transform: translateY(-50%) scale(1.1);
}

.hero-banner .carousel-control-prev-icon,
.hero-banner .carousel-control-next-icon {
    width: 16px;
    height: 16px;
    background-size: 100% 100%;
    filter: brightness(0);
}

/* Carousel Indicators */
.hero-banner .carousel-indicators {
    bottom: 30px;
    z-index: 3;
}

.hero-banner .carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    opacity: 0.5;
    background-color: var(--yellow-accent);
}

.hero-banner .carousel-indicators button.active {
    opacity: 1;
}

/* Responsive */
@media (max-width: 768px) {

    .hero-banner .hero-headline,
    .hero-banner .hero-title {
        font-size: 2rem;
    }

    .hero-banner .hero-subtitle {
        font-size: 1.1rem;
    }

    /* Force hero banner and carousel to fill viewport on tablet/mobile */
    .hero-banner {
        height: 100vh;
        min-height: 100vh;
    }

    .hero-banner--carousel .carousel,
    .hero-banner--carousel .carousel-inner,
    .hero-banner--carousel .carousel-item,
    .hero-banner--carousel .hero-slide {
        height: 100vh !important;
    }

    /* Hide carousel arrows on mobile/tablet */
    .hero-banner .carousel-control-prev,
    .hero-banner .carousel-control-next {
        display: none;
    }
}

/* ======================================== */
/* Section 2: Stats & Metrics Overview */
/* ======================================== */
.front-stats {
    padding: 60px 0;
    background: var(--light-bg);
    position: relative;
}

.front-stats .stats-wrapper {
    display: flex;
    align-items: center;
    gap: 40px;
}

/* Left: Description */
.front-stats .stats-description {
    width: 40%;
    flex-shrink: 0;
}

.front-stats .stats-title {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 1.75rem;
    color: #333;
    line-height: 1.4;
    margin: 0;
}

/* Right: Stats Numbers */
.front-stats .stats-numbers {
    width: 60%;
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.front-stats .stat-item {
    text-align: left;
    flex: 1;
}

.front-stats .stat-number-row {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.front-stats .stat-number {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 2.5rem;
    color: var(--yellow-accent);
    line-height: 1;
}

.front-stats .stat-suffix {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 0.9rem;
    color: #e67e22;
}

.front-stats .stat-label {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 0.85rem;
    color: #666;
    margin-top: 5px;
    line-height: 1.3;
}

/* Stats Responsive */
@media (max-width: 991px) {
    .front-stats .stats-wrapper {
        flex-direction: column;
        text-align: center;
    }

    .front-stats .stats-description,
    .front-stats .stats-numbers {
        width: 100%;
    }

    .front-stats .stats-description {
        margin-bottom: 30px;
    }

    .front-stats .stat-item {
        text-align: center;
    }

    .front-stats .stat-number-row {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .front-stats {
        padding: 40px 0;
    }

    .front-stats .stat-number {
        font-size: 2rem;
    }

    .front-stats .stats-numbers {
        flex-wrap: wrap;
    }

    .front-stats .stat-item {
        width: 50%;
        margin-bottom: 20px;
    }
}

/* ======================================== */
/* Vertical Scroll Progress Bar */
/* ======================================== */
.scroll-progress-bar {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 6px;
    height: 120px;
    background: rgba(0, 0, 0, 0.1);
    z-index: 1000;
    border-radius: 3px;
    overflow: hidden;
}

.scroll-progress-fill {
    width: 100%;
    height: 0%;
    background: var(--yellow-accent);
    transition: height 0.1s ease;
    transform-origin: bottom;
}

/* ======================================== */
/* Section 2: Featured Content (with Stats) */
/* ======================================== */
.front-featured {
    padding: 0;
    background: #F8F8F8;
}

/* Stats inside Featured Section */
.front-featured .featured-stats-wrapper {
    padding: 60px 0;
    background: #F8F8F8;
}

.front-featured .featured-stats-wrapper .container {
    max-width: 80%;
    margin: 0 auto;
}

/* Stats Flexbox Layout */
.front-featured .stats-wrapper {
    display: flex;
    align-items: center;
    gap: 40px;
}

/* Left: Description */
.front-featured .stats-description {
    width: 40%;
    flex-shrink: 0;
}

.front-featured .stats-title {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 1.75rem;
    color: #333;
    line-height: 1.4;
    margin: 0;
}

/* Right: Stats Numbers */
.front-featured .stats-numbers {
    width: 60%;
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.front-featured .stat-item {
    text-align: left;
    flex: 1;
}

.front-featured .stat-number-row {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.front-featured .stat-number {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 2.5rem;
    color: var(--yellow-accent);
    line-height: 1;
}

.front-featured .stat-suffix {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 0.9rem;
    color: #e67e22;
}

.front-featured .stat-label {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 0.85rem;
    color: #666;
    margin-top: 5px;
    line-height: 1.3;
}

.front-featured .carousel-inner {
    background: #F8F8F8;
}

/* Container to limit width */
.front-featured .container-fluid {
    max-width: 80%;
    /* Limit width of picture and textbox in feature section*/
    margin: 0 auto;
    padding: 0;
}

.front-featured .carousel-item {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10vh 0;
    /* Gap between textbox and bottom of feature section edge*/
}

/* Flexbox Container for 65-35 Split */
.front-featured .featured-flex-container {
    display: flex;
    flex-wrap: nowrap;
    min-height: 63vh;
    /* 90% of 70vh - creates 10% gap (5% top + 5% bottom) */
    height: 90%;
    gap: 20px;
    /* Gap between picture and text box in feature section*/
}

/* Image Section - 65% width */
.front-featured .featured-image-section {
    width: 65%;
    flex-shrink: 0;
    position: relative;
}

.front-featured .featured-image-wrapper {
    position: relative;
    overflow: hidden;
    height: 100%;
    min-height: auto;
}

.front-featured .featured-image {
    width: 100%;
    height: 100%;
    min-height: 70vh;
    object-fit: cover;
    display: block;
}

.front-featured .featured-image-placeholder {
    width: 100%;
    height: 70vh;
    background: #ddd;
}

.front-featured .featured-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--yellow-accent);
    color: #333;
    padding: 0.5rem 1.5rem;
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 2;
}

/* Text/Content Section - 35% width */
.front-featured .featured-content-section {
    width: 35%;
    flex-shrink: 0;
    background: #fff;
    position: relative;
}

.front-featured .featured-content {
    padding: 3rem 2.5rem;
    padding-bottom: 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 70vh;
    position: relative;
}

.front-featured .featured-title {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 2rem;
    color: #333;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.front-featured .featured-description {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 1rem;
    color: #666;
    line-height: 1.8;
    margin-bottom: 2rem;
}

/* Carousel Controls inside Text Section */
.front-featured .featured-carousel-controls {
    display: flex;
    gap: 10px;
    position: absolute;
    bottom: 30px;
    left: 2.5rem;
}

.front-featured .featured-control-prev,
.front-featured .featured-control-next {
    width: 44px;
    height: 44px;
    background-color: #F8F8F8;
    border: 1px solid #ddd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
    padding: 0;
}

.front-featured .featured-control-prev:hover,
.front-featured .featured-control-next:hover {
    background-color: var(--yellow-accent);
    border-color: var(--yellow-accent);
    transform: scale(1.1);
}

.front-featured .featured-control-prev .carousel-control-prev-icon,
.front-featured .featured-control-next .carousel-control-next-icon {
    width: 16px;
    height: 16px;
    background-size: 100% 100%;
    filter: brightness(0);
}

/* Featured Carousel Indicators - Hidden */
.front-featured .carousel-indicators {
    display: none;
    /* Removed yellow indicator dots */
}

.front-featured .carousel-indicators button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    opacity: 0.5;
    background-color: var(--yellow-accent);
    border: none;
}

.front-featured .carousel-indicators button.active {
    opacity: 1;
}

/* Featured Responsive */
@media (max-width: 991px) {

    /* Match stats width with feature carousel width in tablet*/
    .front-featured .featured-stats-wrapper .container {
        max-width: 92%;
    }

    /* Stats mobile layout - title on top, numbers below */
    .front-featured .stats-wrapper {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 30px;
    }

    .front-featured .stats-description {
        width: 100%;
        text-align: center;
    }

    .front-featured .stats-title {
        font-size: 1.5rem;
    }

    .front-featured .stats-numbers {
        width: 100%;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .front-featured .stat-item {
        width: 45%;
        text-align: center;
    }

    .front-featured .stat-number-row {
        justify-content: center;
    }

    .front-featured .stat-number {
        font-size: 2rem;
    }

    .front-featured .stat-suffix {
        font-size: 0.8rem;
    }

    .front-featured .stat-label {
        font-size: 0.75rem;
    }

    .front-featured .container-fluid {
        max-width: 92%;
        /* Limit width of textbox and picture in feature section in tablet*/
        margin: 0 auto;
    }

    .front-featured .featured-flex-container {
        flex-wrap: wrap;
        min-height: auto;
    }

    .front-featured .featured-image-section,
    .front-featured .featured-content-section {
        width: 100%;
    }

    .front-featured .carousel-item {
        min-height: auto;
    }

    .front-featured .featured-image-wrapper {
        min-height: 350px;
    }

    .front-featured .featured-image {
        min-height: 350px;
    }

    .front-featured .featured-content {
        padding: 2.5rem 2rem;
        padding-bottom: 80px;
        min-height: auto;
    }

    .front-featured .featured-title {
        font-size: 1.75rem;
    }

    .front-featured .featured-carousel-controls {
        position: static;
        margin-top: 1.5rem;
    }
}

@media (max-width: 768px) {
    .front-featured .featured-content {
        padding: 2rem 1rem;
    }

    .front-featured .featured-title {
        font-size: 1.75rem;
    }
}

/* ======================================== */
/* Section 4: Partner Logos - Manual Navigation */
/* ======================================== */
.front-logos {
    padding: 60px 0;
    background: #fff;
}

.front-logos .container-fluid {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

/* Navigation Buttons */
.logo-nav-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #F8F8F8;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: background-color 0.3s ease;
    color: #000;
}

.logo-nav-btn:hover {
    background-color: var(--yellow-accent);
}

.logo-nav-btn svg {
    width: 16px;
    height: 16px;
}

/* Logos Container */
.logos-scroll-wrapper {
    flex: 1;
    overflow: hidden;
    max-width: 800px;
    position: relative;
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logos-scroll {
    display: flex;
    gap: 60px;
    /* Centered horizontally and vertically */
    justify-content: center;
    align-items: center;
    position: relative;
    width: 100%;
    height: 100%;
}

.logo-item {
    position: absolute;
    width: 150px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

/* Only show active logo */
.logo-item.active {
    opacity: 1;
    visibility: visible;
}

.logo-item img {
    max-width: 100%;
    max-height: 80px;
    object-fit: contain;
    /* Active logo shows in color, no grayscale */
    filter: grayscale(0%);
    opacity: 1;
}

.logo-placeholder {
    background: #e0e0e0;
    width: 120px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 0.8rem;
}

/* Logos Responsive */
@media (max-width: 768px) {
    .front-logos .container-fluid {
        gap: 20px;
    }

    .logos-scroll {
        gap: 40px;
    }

    .logo-item {
        width: 100px;
        height: 60px;
    }

    .logo-item img {
        max-height: 60px;
    }

    .logo-nav-btn {
        width: 36px;
        height: 36px;
    }

    .logo-nav-btn svg {
        width: 12px;
        height: 12px;
    }
}

/* ======================================== */
/* Section 5: Why Choose Us */
/* ======================================== */
.front-why-choose {
    padding: 100px 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

.front-why-choose .why-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    z-index: 1;
}

.front-why-choose .container {
    position: relative;
    z-index: 2;
}

.front-why-choose .why-title {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 3rem;
    color: #fff;
    margin-bottom: 4rem;
}

.front-why-choose .value-props-row {
    margin-top: 2rem;
}

.front-why-choose .value-prop-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 2.5rem 2rem;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.front-why-choose .value-prop-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.front-why-choose .value-prop-icon {
    font-size: 3rem;
    color: var(--yellow-accent);
    margin-bottom: 1.5rem;
    text-align: center;
    filter: drop-shadow(2px 2px 4px rgba(254, 237, 59, 0.3));
}

.front-why-choose .value-prop-title {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 1rem;
    text-align: center;
}

.front-why-choose .value-prop-desc {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    text-align: center;
}

/* Why Choose Responsive */
@media (max-width: 768px) {
    .front-why-choose {
        padding: 60px 0;
    }

    .front-why-choose .why-title {
        font-size: 2rem;
    }

    .front-why-choose .value-prop-card {
        margin-bottom: 2rem;
    }
}

/* ======================================== */
/* Section 6: CTA Footer */
/* ======================================== */
.front-cta {
    padding: 100px 0;
    background: var(--dark-bg);
}

.front-cta .cta-heading {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 3rem;
    color: #fff;
    margin-bottom: 2.5rem;
}

.front-cta .cta-button {
    display: inline-block;
    background: var(--yellow-accent);
    color: #333;
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 1rem 3rem;
    text-decoration: none;
    border-radius: 0;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.front-cta .cta-button:hover {
    background: rgba(254, 237, 59, 1);
    color: #000;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
    transform: translateY(-2px);
}

/* CTA Responsive */
@media (max-width: 768px) {
    .front-cta {
        padding: 60px 20px;
    }

    .front-cta .cta-heading {
        font-size: 2rem;
    }

    .front-cta .cta-button {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }
}

/* ======================================== */
/* Update Header "Get a Quote" Button to Yellow */
/* ======================================== */
.navbar-cta .cta-button {
    background: var(--yellow-accent) !important;
    color: #333 !important;
    padding: 0.5rem 1.5rem;
    text-decoration: none;
    display: inline-block;
    font-weight: 600;
    transition: background 0.3s ease;
}

.navbar-cta .cta-button:hover {
    background: rgba(254, 237, 59, 1) !important;
    color: #000 !important;
}

/* END FRONT PAGE STYLES */

/* ======================================== */
/* Capabilities Page - Zigzag Services      */
/* ======================================== */
.capabilities-services {
    padding: 80px 0;
    background: #fff;
}

.capabilities-services .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Individual zigzag item */
.zigzag-item {
    display: flex;
    align-items: center;
    gap: 60px;
    padding: 60px 0;
    border-bottom: 1px solid #eee;
}

.zigzag-item:last-child {
    border-bottom: none;
}

/* Left layout: text left, image right */
.zigzag-item.zigzag-left {
    flex-direction: row;
}

/* Right layout: image left, text right */
.zigzag-item.zigzag-right {
    flex-direction: row-reverse;
}

/* Text column */
.zigzag-text {
    flex: 1;
    min-width: 0;
}

.zigzag-title {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 1.75rem;
    color: #222;
    margin-bottom: 1.25rem;
    line-height: 1.3;
    position: relative;
}

.zigzag-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--yellow-accent);
}

.zigzag-desc {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 1rem;
    color: #555;
    line-height: 1.8;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

.zigzag-link {
    display: inline-block;
    font-family: 'Roboto', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    color: #222;
    text-decoration: none;
    border-bottom: 2px solid var(--yellow-accent);
    padding-bottom: 2px;
    transition: color 0.3s ease, border-color 0.3s ease;
}

.zigzag-link:hover {
    color: #000;
    border-color: #000;
}

/* Image column */
.zigzag-image {
    flex: 1;
    min-width: 0;
}

.zigzag-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 400px;
}

/* Placeholder for missing images */
.zigzag-image-placeholder {
    width: 100%;
    height: 300px;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-family: 'Roboto', sans-serif;
    font-size: 0.9rem;
    font-style: italic;
}

/* Capabilities Responsive - Tablet */
@media (max-width: 991px) {
    .capabilities-services {
        padding: 60px 0;
    }

    .zigzag-item {
        gap: 40px;
        padding: 40px 0;
    }

    .zigzag-title {
        font-size: 1.5rem;
    }
}

/* Capabilities Responsive - Mobile */
@media (max-width: 768px) {
    .capabilities-services {
        padding: 40px 0;
    }

    .zigzag-item {
        flex-direction: column !important;
        gap: 25px;
        padding: 35px 0;
    }

    .zigzag-text {
        order: 2;
    }

    .zigzag-image {
        order: 1;
    }

    .zigzag-title {
        font-size: 1.35rem;
    }

    .zigzag-desc {
        font-size: 0.95rem;
    }

    .zigzag-image img {
        max-height: 280px;
    }

    .zigzag-image-placeholder {
        height: 220px;
    }
}

/* ======================================== */
/* Quality / Certificates Page              */
/* ======================================== */

.certificates-section {
    padding: 80px 0;
    background: #fff;
}

/* Header: title + navigation arrows */
.certificates-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 50px;
}

.certificates-title {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 2rem;
    color: #222;
    margin: 0;
    position: relative;
}

.certificates-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--yellow-accent);
    margin-top: 12px;
}

/* Navigation buttons */
.certificates-controls {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Progress bar */
.cert-progress {
    width: 120px;
    height: 3px;
    background: #e0e0e0;
    border-radius: 2px;
    overflow: hidden;
}

.cert-progress-fill {
    height: 100%;
    background: var(--yellow-accent);
    border-radius: 2px;
    transition: width 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    width: 0%;
}

.certificates-nav {
    display: flex;
    gap: 12px;
}

.cert-nav-btn {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px;
    min-height: 44px;
    max-width: 44px;
    max-height: 44px;
    border-radius: 50%;
    border: none;
    background: #f0f0f0;
    color: #333;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
    padding: 0;
}

.cert-nav-btn svg {
    width: 16px !important;
    height: 16px !important;
    min-width: 16px;
    min-height: 16px;
    flex-shrink: 0;
}

.cert-nav-btn:hover {
    background: var(--yellow-accent);
    color: #000;
    transform: scale(1.08);
}

.cert-nav-btn.disabled {
    opacity: 0.4;
    cursor: default;
    pointer-events: none;
}

/* Carousel container */
.certificates-carousel {
    overflow: hidden;
    position: relative;
}

/* Sliding track */
.certificates-track {
    display: flex;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Individual certificate card */
.cert-card {
    flex: 0 0 calc(25% - 22.5px);
    margin-right: 30px;
    text-align: center;
}

.cert-card:last-child {
    margin-right: 0;
}

.cert-image-wrap {
    background: #fafafa;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.cert-image-wrap:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
}

.cert-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 15px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.cert-img:hover {
    transform: scale(1.05);
}

/* Placeholder for missing cert images */
.cert-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #bbb;
    font-family: 'Roboto', sans-serif;
    font-size: 0.9rem;
    font-style: italic;
    padding: 20px;
    text-align: center;
}

/* Certificate subtitle */
.cert-subtitle {
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    font-size: 0.95rem;
    color: #444;
    margin: 16px 0 0;
    line-height: 1.4;
}

/* ======================================== */
/* Certificate Lightbox                     */
/* ======================================== */
.cert-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.cert-lightbox.active {
    opacity: 1;
    visibility: visible;
}

.cert-lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    background: none;
    border: none;
    color: #fff;
    font-size: 2.5rem;
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s ease, transform 0.2s ease;
    z-index: 2;
}

.cert-lightbox-close:hover {
    color: var(--yellow-accent);
    transform: scale(1.2);
}

.cert-lightbox-img {
    max-width: 85%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.cert-lightbox.active .cert-lightbox-img {
    transform: scale(1);
}

/* ======================================== */
/* Certificates Responsive                  */
/* ======================================== */

/* Tablet */
@media (max-width: 991px) {
    .certificates-section {
        padding: 60px 0;
    }

    .cert-card {
        flex: 0 0 calc(33.333% - 20px);
        margin-right: 30px;
    }

    .certificates-header {
        margin-bottom: 35px;
    }
}

/* Small Tablet / Large Phone */
@media (max-width: 768px) {
    .certificates-section {
        padding: 50px 0;
    }

    .certificates-title {
        font-size: 1.6rem;
    }

    .cert-card {
        flex: 0 0 calc(50% - 15px);
        margin-right: 30px;
    }

    .certificates-header {
        margin-bottom: 30px;
    }

    .cert-lightbox-img {
        max-width: 95%;
        max-height: 80vh;
    }
}

/* Phone */
@media (max-width: 576px) {
    .certificates-section {
        padding: 40px 0;
    }

    .certificates-title {
        font-size: 1.4rem;
    }

    .cert-card {
        flex: 0 0 100%;
        margin-right: 30px;
    }

    .cert-nav-btn {
        width: 38px;
        height: 38px;
    }
}