.hero-section {
    min-height: 100vh;
    width: 100%;
    position: relative;
    
    /* Stationary Background (Parallax Effect) */
    background-image: 
        linear-gradient(rgba(15, 23, 42, 0.75), rgba(15, 23, 42, 0.85)), 
        url('../../img/students.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed; /* <-- Makes background stationary on scroll */
}

/* Typography & Custom Colors */
.text-danger-custom {
    color: #dc3545; /* NAGS Accent Red */
}

.fw-extrabold {
    font-weight: 800;
}

.leading-tight {
    line-height: 1.15;
}

.tracking-wide {
    letter-spacing: 1px;
}

/* Glassmorphic backdrop effect for badge and button */
.backdrop-blur {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

/* Mobile Optimizations */
@media (max-width: 768px) {
    .hero-section {
        min-height: 85vh; /* Slightly shorter on mobile screens for better UX */
        /* Fallback: Mobile Safari occasionally stutters with background-attachment: fixed */
        background-attachment: scroll; 
    }
    
    .hero-section h1 {
        font-size: 2.25rem;
    }
}

/* Responsive Image Styling for Carousel */
.about-carousel-img {
    height: 480px;
    object-fit: cover;
    filter: brightness(0.85);
    transition: filter 0.3s ease;
}

.about-carousel-img:hover {
    filter: brightness(0.95);
}

/* Controls Custom Styling */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-size: 50% 50%;
}

@media (max-width: 991px) {
    .about-carousel-img {
        height: 350px; /* Compact height on tablets and phones */
    }
}

/* Modern Horizontal Embla Carousel Styles */
    .embla-horizontal-wrapper {
        position: relative;
        width: 100%;
        margin: 0 auto;
    }

    .embla__viewport {
        overflow: hidden;
        border-radius: 1rem;
        padding: 0.5rem 0; /* Prevents shadow clipping on card hover */
    }

    .embla__container {
        display: flex;
        flex-direction: row;
        touch-action: pan-y pinch-zoom;
        gap: 1.25rem;
    }

    /* Slide Widths for Horizontal Layout */
    .embla__slide {
        flex: 0 0 100%; /* Default 1 card on mobile */
        min-width: 0;
        transform: translate3d(0, 0, 0);
    }

    @media (min-width: 768px) {
        .embla__slide {
            flex: 0 0 calc(50% - 0.625rem); /* 2 cards on tablet */
        }
    }

    @media (min-width: 1200px) {
        .embla__slide {
            flex: 0 0 calc(33.333% - 0.833rem); /* 3 cards on desktop */
        }
    }

    /* Stakeholder Card & Avatar Styling */
    .stakeholder-card {
        background-color: #f8f9fa;
        border: 1px solid #e9ecef;
        border-left: 4px solid #dc3545;
        border-radius: 0.75rem;
        transition: transform 0.2s ease, box-shadow 0.2s ease;
        height: 100%;
    }

    .stakeholder-card:hover {
        box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.08) !important;
    }

    .stakeholder-avatar {
        width: 120px !important;
        height: 120px !important;
        min-width: 120px; /* Prevents flex compression */
        object-fit: cover;
        background-position: 50% 0% !important;
    }

    /* Navigation Buttons */
    .embla-nav-btn {
        width: 42px;
        height: 42px;
        border-radius: 50%;
        background-color: #ffffff;
        border: 1px solid #dee2e6;
        color: #212529;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.2s ease;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    }

    .embla-nav-btn:hover:not(:disabled) {
        background-color: #dc3545;
        color: #ffffff;
        border-color: #dc3545;
    }

    .embla-nav-btn:disabled {
        opacity: 0.4;
        cursor: not-allowed;
    }