/* Custom Header Styling Fix */
.top-bar-wrapper {
    background: #ffffff;
    border-bottom: 1px solid #eaeaea;
}

.logo {
    max-width: 300px;
    width: 100%;
    height: auto;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.75)),
                url('../images/main-banner.webp') center center/cover no-repeat;
    padding: 90px 0;
    color: #fff;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 15px;
}

.hero-badge {
    display: inline-block;
    background: #ffcc00;
    color: #000;
    padding: 8px 22px;
    border-radius: 30px;
    font-weight: 600;
    margin-bottom: 20px;
    transition: all 0.3s ease-in-out;
}

.hero-badge:hover {
    transform: scale(1.05);
    background: #fff;
    color: #c40000;
}

/* Enquiry Form Structure & Micro-interactions */
.enquiry-form {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
    transition: transform 0.3s ease;
}

.enquiry-form:hover {
    transform: translateY(-3px);
}

.enquiry-form h3 {
    font-weight: 700;
    margin-bottom: 20px;
    color: #000;
}

.enquiry-form .form-control,
.enquiry-form .form-select {
    height: 48px;
    margin-bottom: 15px;
    border: 1px solid #cccccc;
    transition: all 0.3s ease;
}

.enquiry-form .form-control:focus,
.enquiry-form .form-select:focus {
    border-color: #c40000;
    box-shadow: 0 0 0 0.2rem rgba(196, 0, 0, 0.15);
}

.btn-red {
    background: #c40000;
    color: #fff;
    border: none;
    height: 50px;
    font-weight: 600;
    border-radius: 5px;
    transition: all 0.3s ease-in-out;
}

.btn-red:hover {
    background: #9e0000 !important;
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(196, 0, 0, 0.3);
}

/* Section Controls */
.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2 {
    font-weight: 700;
    color: #111;
    position: relative;
    padding-bottom: 15px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background: #c40000;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

/* Course Highlight Boxes */
.course-box {
    background: #fff;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    height: 100%;
    border-top: 4px solid #c40000;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.course-box:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.12);
}

.course-box h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #c40000;
    font-weight: 700;
}

.course-box h4 {
    font-size: 16px;
    margin-bottom: 12px;
    font-weight: 700;
}

.course-box ul {
    padding-left: 20px;
}

.course-box ul li {
    margin-bottom: 8px;
    color: #444;
}

/* Team Component Styles */
.team-section {
    background: #f9f9f9;
}

.team-card {
    background: #fff;
    text-align: center;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    height: 100%;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.team-card img {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #f0f0f0;
    transition: transform 0.5s ease;
}

.team-card:hover img {
    transform: scale(1.05);
}

/* Infrastructure Interactive Laying Component */
.infrastructure-box {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.infrastructure-box img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.infrastructure-box:hover img {
    transform: scale(1.1);
}

.infrastructure-box .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.85));
    color: #fff;
    padding: 30px 20px 15px;
    font-weight: 600;
    font-size: 18px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

footer {
    background: #111;
    color: #ccc;
    text-align: center;
}

/* Responsive Structural Media Queries */
@media(max-width: 991px) {
    .hero-section {
        padding: 50px 0;
        text-align: center;
    }
    .hero-content h1 {
        font-size: 36px;
    }
}

@media(max-width: 768px) {
    .logo {
        max-width: 240px;
    }
}

/* Mobile Sticky Action Bar System Fixes */
.mobile-call-action-container {
    display: none;
}

@media(max-width: 575px) {
    body {
        padding-bottom: 60px; /* Space wrapper to prevent overlapping footer link info */
    }
    
    .hero-section {
        padding: 40px 0;
    }

    .mobile-call-action-container {
        position: fixed;
        left: 0;
        bottom: 0;
        width: 100%;
        display: flex;
        background-color: #c40000;
        box-shadow: 0 -4px 10px rgba(0,0,0,0.15);
        z-index: 9999;
    }

    .mob-action-btn-box {
        flex: 1;
        border-right: 1px solid rgba(255, 255, 255, 0.2);
    }

    .mob-action-btn-box:last-child {
        border-right: none;
    }

    .mob-action-btn-box a {
        color: white;
        text-decoration: none;
        display: block;
        padding: 14px 0;
        font-weight: 600;
        font-size: 15px;
    }

    .mob-action-btn-box img {
        height: 20px !important;
        margin-right: 6px;
        vertical-align: middle;
    }
}