/* Override default hero-section styles */
    .hero-section {
        background: none !important;
        padding: 0;
        position: relative;
        overflow: hidden;
        min-height: 100vh;
    }

    /* Full background carousel */
    .hero-carousel-bg {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 1;
    }

    .hero-carousel-bg .carousel-inner,
    .hero-carousel-bg .carousel-item {
        height: 100vh;
    }

    .carousel-bg-image {
        width: 100%;
        height: 100%;
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }

    /* Dark overlay for better text readability *
    .hero-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(135deg, 
            rgba(26, 54, 93, 0.85) 0%, 
            rgba(43, 119, 230, 0.75) 50%,
            rgba(0, 212, 255, 0.65) 100%);
        z-index: 2;
    }
        */
    .hero-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(135deg, 
            rgba(26, 54, 93, 0.5) 0%,     /* Updated to 0.5 */
            rgba(43, 119, 230, 0.45) 50%, /* Updated to 0.45 */
            rgba(0, 212, 255, 0.4) 100%); /* Updated to 0.4 */
           /* rgba(26, 54, 93, 0.3) 0%,     /* Reduced from 0.85 to 0.3 */
           /* rgba(43, 119, 230, 0.25) 50%, /* Reduced from 0.75 to 0.25 */
           /* rgba(0, 212, 255, 0.2) 100%); /* Reduced from 0.65 to 0.2 */
        z-index: 2;
    }

    /* Content wrapper */
    .hero-content-wrapper {
        position: relative;
        z-index: 3;
        min-height: 100vh;
        display: flex;
        align-items: center;
        padding-top: 80px; /* Account for fixed navbar */
    }

    /* Update hero content styles for better contrast */
    .hero-content {
        position: relative;
        z-index: 2;
    }

    .hero-title {
        font-size: 3.5rem;
        font-weight: 700;
        margin-bottom: 1.5rem;
        line-height: 1.2;
        color: white;
        /*text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);*/
        text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7); /* Increased shadow */
    }

    .hero-subtitle {
        font-size: 1.8rem; /*1.3rem;*/
        margin-bottom: 2rem;
        opacity: 0.95;
        color: white;
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
/*
        background: rgba(255, 255, 255, 0.15);
        backdrop-filter: blur(10px);
        border-left: 4px solid var(--secondary-color);
        padding: 1.5rem;
        margin: 1.5rem 0;
        border-radius: 10px;*/
    }

    .highlight-box2 {
        background: rgba(255, 255, 255, 0.15);
        backdrop-filter: blur(10px);
        border-left: 4px solid var(--accent-color);
        padding: 1.5rem;
        margin: 1.5rem 0;
        border-radius: 10px;
        color: white;
        text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.7); /* Increased shadow */
    }

    /* Carousel indicators styling */
    .hero-carousel-bg .carousel-indicators {
        bottom: 40px;
        z-index: 4;
    }

    .hero-carousel-bg .carousel-indicators [data-bs-target] {
        width: 60px;
        height: 4px;
        border-radius: 2px;
        background-color: #718096;/*rgba(255, 255, 255, 0.5);*/
        border: none;
        margin: 0 5px;
    }

    .hero-carousel-bg .carousel-indicators .active {
        background-color: #2d3748; /*var(--accent-color);*/
    }

    /* Remove carousel controls for cleaner look */
    .hero-carousel-bg .carousel-control-prev,
    .hero-carousel-bg .carousel-control-next {
        display: none;
    }

    /* Animations */
    .carousel-item {
        transition: opacity 1s ease-in-out;
    }

    .carousel-item-start,
    .carousel-item-end {
        transition: opacity 1s ease-in-out;
    }

    /* Ken Burns effect for images */
    @keyframes kenBurns {
        0% {
            transform: scale(1) translateX(0);
        }
        100% {
            transform: scale(1.1) translateX(-2%);
        }
    }

    .carousel-item.active .carousel-bg-image {
        animation: kenBurns 20s ease-out;
    }

    /* Responsive adjustments */
    @media (max-width: 1200px) {
        .hero-title {
            font-size: 3rem;
        }
        
        .hero-subtitle {
            font-size: 1.2rem;
        }
    }

    @media (max-width: 768px) {
        .hero-title {
            font-size: 2.5rem;
        }
        
        .hero-subtitle {
            font-size: 1.1rem;
        }
        
        .hero-content-wrapper {
            padding-top: 100px;
            padding-bottom: 40px;
        }
        
        .hero-carousel-bg .carousel-indicators {
            bottom: 20px;
        }
        
        .hero-carousel-bg .carousel-indicators [data-bs-target] {
            width: 40px;
            height: 3px;
        }
    }

    /* Ensure smooth transitions */
    .carousel-fade .carousel-item {
        opacity: 0;
        transition-property: opacity;
        transform: none;
    }

    .carousel-fade .carousel-item.active,
    .carousel-fade .carousel-item-next.carousel-item-start,
    .carousel-fade .carousel-item-prev.carousel-item-end {
        z-index: 1;
        opacity: 1;
    }

    .carousel-fade .carousel-item-start,
    .carousel-fade .carousel-item-end {
        z-index: 0;
        opacity: 0;
        transition: opacity 0.6s ease-in-out;
    }

    /* Enhanced carousel indicators for better clickability */
    .hero-carousel-bg .carousel-indicators {
        bottom: 40px;
        z-index: 4;
        margin-bottom: 0;
        padding: 10px 0; /* Add padding for easier clicking */
    }

    .hero-carousel-bg .carousel-indicators [data-bs-target] {
        width: 60px;
        height: 6px; /* Increased height for easier clicking */
        border-radius: 3px;
        background-color: /*rgba(255, 255, 255, 0.5);*/ #718096;
        border: none;
        margin: 0 8px; /* Increased margin for better spacing */
        cursor: pointer;
        transition: all 0.3s ease;
        opacity: 0.7;
    }

    .hero-carousel-bg .carousel-indicators [data-bs-target]:hover {
        background-color: /*rgba(255, 255, 255, 0.8);*/ #a0aec0;
        opacity: 1;
        transform: scaleY(1.2); /* Slight scale on hover */
    }

    .hero-carousel-bg .carousel-indicators .active {
        background-color: #2d3748; /*var(--accent-color);*/
        opacity: 1;
        transform: scaleY(1.3); /* Active indicator slightly larger */
    }

    /* Create a larger clickable area around indicators */
    .hero-carousel-bg .carousel-indicators::before {
        content: '';
        position: absolute;
        top: -20px;
        bottom: -20px;
        left: 0;
        right: 0;
        z-index: -1;
    }

    /* Mobile responsive adjustments */
    @media (max-width: 768px) {
        .hero-carousel-bg .carousel-indicators {
            bottom: 20px;
            padding: 15px 0; /* Even more padding on mobile */
        }
        
        .hero-carousel-bg .carousel-indicators [data-bs-target] {
            width: 50px;
            height: 5px;
            margin: 0 6px;
        }
    }

    /* Make sure overlay doesn't block clicks */
    .hero-overlay {
        pointer-events: none !important;
    }

    .hero-content-wrapper {
        pointer-events: none !important;
    }

    .hero-content {
        pointer-events: auto !important;
    }

    /* Force indicators to be clickable */
    .hero-carousel-bg .carousel-indicators {
        z-index: 15 !important;
        pointer-events: auto !important;
    }

    .hero-carousel-bg .carousel-indicators button {
        pointer-events: auto !important;
        cursor: pointer !important;
    }
