:root {
    --navy: #000b40;
    --royal: #0056b3;
}

body { font-family: 'Plus Jakarta Sans', sans-serif; overflow-x: hidden; }

/* Hero Section Styles */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 700px;
}

.carousel-item {
    height: 100vh;
    background-size: cover;
    background-position: center;
    filter: brightness(40%);
}

.hero-content-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    display: flex;
    align-items: center;
    z-index: 10;
}

/* Glass Inquiry Form */
.glass-form {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
}

.glass-form .form-control, .glass-form .form-select {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    border: none;
    padding: 12px;
}
/* Styling for Course Images */
.course-img-wrapper {
    overflow: hidden;
    height: 200px;
}
.course-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.course-card:hover .course-img-wrapper img {
    transform: scale(1.1);
}

/* Why Section Icon Boxes */
.why-icon {
    width: 60px;
    height: 60px;
    min-width: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.bg-primary-light { background: #e7f1ff; }
.bg-success-light { background: #e6f9ed; }
.bg-warning-light { background: #fff9e6; }

/* Text Tracking and Navy color */
.tracking-widest { letter-spacing: 0.15rem; }
.text-navy { color: #000b40; }

.heading-line {
    width: 80px;
    height: 3px;
    background: #007bff;
    margin-top: 15px;
}
/* Courses Card */
.course-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    transition: 0.3s ease-in-out;
}

.course-card:hover {
    transform: translateY(-10px);
}

/* Why Global Icon Box */
.icon-box {
    width: 60px; height: 60px;
    background: var(--royal);
    color: white;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

/* Partner Logo Marquee */
.logo-marquee {
    overflow: hidden;
    white-space: nowrap;
}

.marquee-content {
    display: inline-block;
    animation: scroll 25s linear infinite;
}

.marquee-content img {
    height: 50px;
    margin: 0 50px;
    filter: grayscale(1);
    opacity: 0.5;
}

@keyframes scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* Advanced Footer */
.footer-custom {
    background-color: var(--navy);
    color: white;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    line-height: 2.2;
    transition: 0.3s;
}

.footer-links a:hover {
    color: #ffc107;
    padding-left: 8px;
}

.social-btn {
    width: 40px; height: 40px;
    background: rgba(255,255,255,0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: white;
    margin-right: 10px;
}

.social-btn:hover { background: #ffc107; color: #000; }

/* Contact Header Section */
.contact-header {
    height: 40vh;
    min-height: 300px;
    background: linear-gradient(rgba(0, 11, 64, 0.8), rgba(0, 11, 64, 0.8)), 
                url('contact-bg.jpg') center/cover no-repeat;
    padding-top: 100px; /* Accounts for floating navbar */
}

/* Form Styling */
.form-control:focus, .form-select:focus {
    background-color: #fff !important;
    border: 1px solid var(--royal) !important;
    box-shadow: none;
    outline: 0;
}

/* Contact Info Icon Customization */
.text-warning {
    color: #ffc107 !important;
}

/* Active Link in Navbar */
.nav-link.active {
    color: var(--royal) !important;
    border-bottom: 2px solid var(--royal);
}

/* Footer Links hover Fix */
.footer-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: 0.3s;
}

.footer-links a:hover {
    color: #ffc107;
}

/* Media Page Header */
.media-header {
    height: 45vh;
    background: linear-gradient(rgba(0, 11, 64, 0.7), rgba(0, 11, 64, 0.7)), 
                url('media-bg.jpg') center/cover no-repeat;
    padding-top: 100px;
}

/* Gallery Card Styles */
.gallery-card {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.4s ease;
}

.gallery-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-overlay {
    position: absolute;
    bottom: 0; left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    opacity: 0;
    transition: 0.4s;
    text-align: center;
    font-weight: 600;
}

.gallery-card:hover .gallery-overlay { opacity: 1; }
.gallery-card:hover img { transform: scale(1.15); }

/* Filter Buttons */
.filter-button-group .btn {
    border-width: 2px;
    font-weight: 600;
    margin-bottom: 5px;
    transition: 0.3s;
}

.filter-button-group .btn.active, .filter-button-group .btn:hover {
    background-color: var(--royal);
    color: white !important;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

/* Gallery Transition effect */
.gallery-item {
    transition: opacity 0.4s ease, transform 0.4s ease;
}

/* Placement Header */
.placement-header {
    height: 45vh;
    background: linear-gradient(rgba(0, 11, 64, 0.8), rgba(0, 11, 64, 0.8)), 
                url('placement-banner.jpg') center/cover no-repeat;
    padding-top: 100px;
}

/* Director Section */
.director-frame {
    position: relative;
    padding: 10px;
}

.director-label {
    position: absolute;
    bottom: -20px;
    left: 20px;
    right: 20px;
    background: #007bff;
    color: white;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* Roadmap Styles */
.step-num {
    font-size: 2.5rem;
    font-weight: 800;
    color: rgba(0, 11, 64, 0.1);
    line-height: 1;
}

.roadmap-card {
    transition: transform 0.3s ease;
    height: 100%;
}

.roadmap-card:hover {
    transform: translateY(-10px);
}

/* Partner Grid Styles */
.partner-box {
    background: #fff;
    border: 1px solid #eee;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100px;
    border-radius: 12px;
    transition: 0.3s;
}

.partner-box:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-color: #007bff;
}

.partner-box img {
    max-height: 60px;
    filter: grayscale(1);
    opacity: 0.7;
    transition: 0.3s;
}

.partner-box:hover img {
    filter: grayscale(0);
    opacity: 1;
}

/* About Hero Header */
.about-hero {
    height: 45vh;
    background: linear-gradient(rgba(0, 11, 64, 0.8), rgba(0, 11, 64, 0.8)), 
                url('about-banner.jpg') center/cover no-repeat;
    padding-top: 100px;
}

/* Floating Info Card on Image */
.floating-info-card {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: white;
    padding: 20px;
    border-radius: 15px;
    width: 200px;
}

/* Mission/Vision Styles */
.icon-circle {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    border-radius: 50%;
}

.bg-primary-light { background: #e7f1ff; }
.bg-warning-light { background: #fff9e6; }

.mv-card {
    transition: transform 0.3s ease;
}

.mv-card:hover {
    transform: translateY(-10px);
}

/* Why GIBHM Advantage Items */
.adv-icon {
    width: 80px;
    height: 80px;
    background: white;
    color: var(--royal);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    border-radius: 20px;
    margin: 0 auto;
    transition: 0.3s;
}

.advantage-item:hover .adv-icon {
    background: var(--royal);
    color: white;
    transform: rotateY(180deg);
}

/* Header Background */
.management-header {
    height: 40vh;
    background: linear-gradient(rgba(0, 11, 64, 0.8), rgba(0, 11, 64, 0.8)), 
                url('management-banner.jpg') center/cover no-repeat;
    padding-top: 100px;
}

/* Leader Image Wrapper */
.leader-image-wrapper {
    max-width: 320px;
    margin: 0 auto;
    transition: transform 0.4s ease;
}

.leader-image-wrapper img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

.leader-image-wrapper:hover {
    transform: scale(1.03);
}

/* Section Spacing and Text */
.lh-lg {
    line-height: 1.8;
}

.border-bottom {
    border-color: #dee2e6 !important;
}

/* Course Hero Customization */
.course-hero {
    height: 40vh;
    padding-top: 100px;
}

/* Job Cards Shadow & Icon Style */
.job-card {
    transition: all 0.3s ease;
    background: #fff;
    height: 100%;
}

.job-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1) !important;
    border-color: var(--royal) !important;
}

.job-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.5rem;
}

.bg-light-primary { background-color: #e7f1ff; color: #0d6efd; }
.bg-light-success { background-color: #e6f9ed; color: #198754; }
.bg-light-warning { background-color: #fff9e6; color: #ffc107; }
.bg-light-info { background-color: #e7faff; color: #0dcaf0; }

/* Qualifications Box */
.shadow-hover {
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
}

/* Navy Theme for BHM */
.bg-navy {
    background-color: #000b40 !important;
}

.text-navy {
    color: #000b40 !important;
}

/* Badge Customization */
.badge.bg-info {
    background-color: #0dcaf0 !important;
    font-weight: 700;
}

/* List Group Enhancements */
.list-group-item {
    transition: 0.3s;
}

.list-group-item:hover {
    background-color: #f8f9fa !important;
    padding-left: 10px !important;
}

/* Navy Theme */
.bg-navy {
    background-color: #000b40 !important;
}

.text-navy {
    color: #000b40 !important;
}

/* Table Styling for Course Info */
.table.text-white td {
    padding: 12px 0;
    border: none;
}

/* Vertical Divider for Stats */
.vr {
    width: 2px;
    background-color: #dee2e6;
    height: 60px;
    align-self: center;
}

/* Skill Card Customization */
.skill-icon {
    width: 60px;
    height: 60px;
    background-color: #007bff;
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto;
}

.skill-card {
    transition: 0.3s ease;
}

.skill-card:hover {
    transform: translateY(-8px);
    border: 1px solid #007bff;
}

/* Eligibility List Fix */
.text-warning {
    color: #ffc107 !important;
}

/* Custom Navy Utility */
.bg-navy {
    background-color: #000b40 !important;
}

/* Food Production Custom Accents */
.text-navy { color: #000b40 !important; }
.bg-navy { background-color: #000b40 !important; }

/* Career Dot Detail */
.career-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    min-width: 12px;
}

/* Culinary Card Animation */
.culinary-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.culinary-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(220, 53, 69, 0.1) !important; /* Slight red shadow */
    border-top: 3px solid #dc3545 !important;
}

/* Vertical Divider for Stats */
.vr {
    width: 2px;
    background-color: #dee2e6;
    height: 50px;
    align-self: center;
}

/* F&B Specific Theme Colors */
.bg-royal { background-color: #007bff !important; }
.bg-navy { background-color: #000b40 !important; }
.text-navy { color: #000b40 !important; }

/* Service Card Transitions */
.service-card {
    transition: all 0.3s ease;
    border-top: 4px solid transparent !important;
}

.service-card:hover {
    transform: translateY(-8px);
    border-top: 4px solid #007bff !important;
    box-shadow: 0 10px 25px rgba(0, 123, 255, 0.1) !important;
}

/* Career Box Styling */
.career-box {
    transition: 0.3s;
    cursor: default;
}

.career-box:hover {
    background-color: #007bff !important;
}

.career-box:hover h6, .career-box:hover p {
    color: white !important;
}

/* Bakery Custom Accents */
:root {
    --chocolate: #bb3103; /* Rich warm brown for Bakery theme */
}

.text-chocolate { color: var(--chocolate) !important; }
.bg-chocolate { background-color: var(--chocolate) !important; }
.border-chocolate { border-color: var(--chocolate) !important; }

/* Bakery Icon Style */
.icon-box-bakery {
    width: 60px;
    height: 60px;
    background-color: var(--chocolate);
    color: white;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto;
}

/* Card Transitions */
.bakery-card {
    transition: all 0.3s ease;
    border: 1px solid #f1f1f1;
}

.bakery-card:hover {
    transform: translateY(-8px);
    border-color: var(--chocolate);
    box-shadow: 0 10px 20px rgba(109, 76, 65, 0.1) !important;
}

/* Career Stat Box */
.career-stat-box {
    transition: 0.3s;
}

.career-stat-box:hover {
    background-color: var(--chocolate) !important;
}

.career-stat-box:hover h6, .career-stat-box:hover p {
    color: white !important;
}

/* WhatsApp Floating Button Styling */
.whatsapp-float {
    position: fixed;
    width: auto;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 15px rgba(0,0,0,0.2);
    z-index: 9999;
    display: flex;
    align-items: center;
    padding: 0 20px;
    text-decoration: none;
    transition: all 0.3s ease;
    animation: pulse-green 2s infinite;
}

.whatsapp-float:hover {
    background-color: #128c7e;
    color: #fff;
    transform: scale(1.05);
    box-shadow: 2px 5px 20px rgba(0,0,0,0.3);
}

.my-float {
    font-size: 35px;
}

.float-text {
    font-size: 16px;
    font-weight: 600;
    margin-left: 10px;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

/* Pulse Animation */
@keyframes pulse-green {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        padding: 0 15px;
        height: 50px;
    }
    .float-text {
        display: none; /* Only show icon on mobile to save space */
    }
    .my-float {
        font-size: 30px;
    }
}