:root {
            --primary-red: #c51e3a;
            --dark-red: #9b142c;
            --charcoal: #1A1A1A;
            --soft-gray: #F8F9FA;
            --border-color: #E5E7EB;
        }

        body {
            font-family: 'Inter', sans-serif;
            color: var(--charcoal);
            background-color: #FFFFFF;
            overflow-x: hidden;
        }

        h1, h2, h3, h4, h5, h6, .navbar-brand {
            font-family: 'Plus Jakarta Sans', sans-serif;
            font-weight: 700;
        }

        /* Dynamic Transparent to Solid Navigation Bar */
        .navbar {
            background-color: transparent;
            transition: all 0.4s ease;
            padding: 20px 0;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            z-index: 1000;
        }

        .navbar.scrolled {
            background-color: rgba(255, 255, 255, 0.98);
            backdrop-filter: blur(10px);
            box-shadow: 0 4px 20px rgba(0,0,0,0.06);
            padding: 15px 0;
        }

        .navbar .container-fluid {
            max-width: 96%;
        }

        /* Nav Links styling changes on scroll via CSS variables or class */
        .nav-link {
            font-family: 'Plus Jakarta Sans', sans-serif;
            font-size: 0.85rem;
            text-transform: uppercase;
            letter-spacing: 1px;
            font-weight: 700;
            color: #FFFFFF !important;
            margin: 0 12px;
            transition: color 0.3s ease;
        }

        .navbar.scrolled .nav-link {
            color: var(--charcoal) !important;
        }

        .nav-link:hover, .navbar.scrolled .nav-link:hover {
            color: var(--primary-red) !important;
        }

        /* Hero Section with Zooming Background Carousel */
        .hero-section {
            position: relative;
            height: 90vh;
            display: flex;
            align-items: center;
            overflow: hidden;
            background-color: var(--charcoal);
        }

        .hero-slideshow {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 1;
        }

        .hero-slide {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-size: cover;
            background-position: center;
            opacity: 0;
            transform: scale(1);
            animation: kenBurns 18s infinite;
        }

        .hero-slide:nth-child(1) {
            background-image: url('images/bg.jpg');
        }
        .hero-slide:nth-child(2) {
            background-image: url('images/hero-2.png');
            animation-delay: 6s;
        }
        .hero-slide:nth-child(3) {
            background-image: url('images/bg.jpg');
            animation-delay: 12s;
        }

        @keyframes kenBurns {
            0% { opacity: 0; transform: scale(1); }
            5% { opacity: 1; }
            33% { opacity: 1; transform: scale(1.08); }
            38% { opacity: 0; transform: scale(1.1); }
            100% { opacity: 0; transform: scale(1); }
        }

        .hero-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, rgba(26,26,26,0.59) 0%, rgba(26,26,26,0.65) 100%);
            z-index: 2;
        }

        .hero-content {
            position: relative;
            z-index: 3;
        }

        /* Buttons */
        .btn-primary-custom {
            background-color: var(--primary-red);
            border: 2px solid var(--primary-red);
            color: #fff;
            padding: 10px 24px;
            font-weight: 600;
            border-radius: 4px;
            transition: all 0.3s;
        }

        .btn-primary-custom:hover {
            background-color: var(--dark-red);
            border-color: var(--dark-red);
            color: #fff;
        }

        .btn-outline-custom {
            background-color: transparent;
            border: 2px solid #fff;
            color: #fff;
            padding: 10px 24px;
            font-weight: 600;
            border-radius: 4px;
            transition: all 0.3s;
        }

        .btn-outline-custom:hover {
            background-color: #fff;
            color: var(--charcoal);
        }

        /* Sections General Styling */
        section {
            padding: 100px 0;
        }

        .bg-soft {
            background-color: var(--soft-gray);
        }

        .section-title {
            position: relative;
            margin-bottom: 50px;
        }

        .section-title h2 {
            font-size: 2.3rem;
            letter-spacing: -0.5px;
        }

        .section-title::after {
            content: '';
            position: absolute;
            left: 0;
            bottom: -15px;
            width: 50px;
            height: 3px;
            background-color: var(--primary-red);
        }

        .text-center.section-title::after {
            left: 50%;
            transform: translateX(-50%);
        }

        /* Pop-Card Elements */
        .pop-card {
            background: #fff;
            border: 1px solid var(--border-color);
            border-radius: 8px;
            transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
            box-shadow: 0 4px 6px rgba(0,0,0,0.02);
        }

        .pop-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 20px 40px rgba(197, 30, 58, 0.08);
            border-color: rgba(197, 30, 58, 0.3);
        }

        /* Tables */
        .table-custom th {
            background-color: var(--charcoal);
            color: #fff;
            font-weight: 600;
            border: none;
            padding: 15px;
        }

        .table-custom td {
            padding: 15px;
            vertical-align: middle;
            border-color: var(--border-color);
        }

        /* Footer */
        footer {
            /*background-color: var(--charcoal);*/
            color: #9CA3AF;
            padding: 80px 0 30px;
        }

        footer h5 {
            color: #fff;
            margin-bottom: 25px;
        }

        footer ul li {
            margin-bottom: 12px;
        }

        footer ul li a {
            color: #9CA3AF;
            text-decoration: none;
            transition: color 0.2s;
        }

        footer ul li a:hover {
            color: var(--primary-red);
        }



        /* Custom Professional Form Styling */
.form-control-custom, .form-select-custom {
    padding: 12px 16px;
    font-size: 0.95rem;
    border: 1px solid #D1D5DB;
    border-radius: 6px;
    background-color: #FFFFFF;
    transition: all 0.25s ease-in-out;
}

.form-control-custom:focus, .form-select-custom:focus {
    border-color: var(--primary-red);
    box-shadow: 0 0 0 3px rgba(197, 30, 58, 0.12);
    outline: none;
}

.form-label-custom {
    font-size: 0.8rem;
    letter-spacing: 0.5px;
    font-weight: 700;
    color: #4B5563;
    margin-bottom: 6px;
}

.object-fit-cover {
        object-fit: cover;
    }
    .transition-scale {
        transition: transform 0.5s ease;
    }
    .pop-card:hover .transition-scale {
        transform: scale(1.05);
    }

    .team-img-wrapper {
        height: 320px; /* Increased height to give head room */
        background-color: #f8f9fa; /* Optional background fallback */
    }
    .object-fit-contain {
        object-fit: contain; /* Ensures the entire image including the head is visible */
        object-position: center bottom; /* Aligns image properly inside container */
    }
    .transition-scale {
        transition: transform 0.5s ease;
    }
    .pop-card:hover .transition-scale {
        transform: scale(1.03);
    }
   
   
    .social-icon-btn:hover {
        background-color: var(--primary-red) !important;
        color: #ffffff !important;
    }


    .footer-link:hover {
        color: #ffffff !important;
        transition: color 0.2s ease-in-out;
    }
    .social-icon-btn:hover {
        background-color: var(--primary-red) !important;
        color: #ffffff !important;
    }



   
    .transition-card {
        transition: all 0.2s ease-in-out;
    }
    .transition-card:hover {
        transform: translateY(-2px);
        border-color: var(--primary-red) !important;
        background-color: #fff !important;
    }


    .stat-card {
        border-left: 4px solid var(--primary-red, #dc3545);
        transition: transform 0.3s ease, box-shadow 0.3s ease, border-left-width 0.3s ease;
    }
    
    .stat-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.08) !important;
        border-left-width: 6px;
    }

    