/**
 * Bumble Bee Academy - Main Stylesheet
 * Theme: Black & Yellow
 */

:root {
    --primary-yellow: #FFE135;
    --secondary-yellow: #FFC107;
    --dark-yellow: #DAA520;
    --primary-black: #1A1A1A;
    --dark-gray: #333333;
    --medium-gray: #666666;
    --light-gray: #F5F5F5;
    --white: #FFFFFF;
    --success-green: #28A745;
    --danger-red: #DC3545;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--dark-gray);
    background-color: var(--white);
    line-height: 1.6;
}

/* Navigation */
.navbar-dark {
    background-color: var(--primary-black) !important;
}

.navbar-brand .bee-logo {
    font-size: 1.5rem;
}

/* --- Expanded header (default: at top of page) --- */
.navbar-brand .brand-text {
    font-weight: 700;
    color: var(--primary-yellow);
    font-size: 1.4rem;
    line-height: 1.2;
    transition: font-size 0.35s ease, font-weight 0.35s ease;
}

.navbar-brand .brand-info {
    display: flex;
    flex-direction: column;
}

.navbar-brand .brand-tagline {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 400;
    letter-spacing: 0.2px;
    transition: font-size 0.35s ease;
}

.navbar-logo {
    height: 80px;
    border-radius: 50%;
    background: transparent;
    filter: drop-shadow(0 0 1px rgba(0,0,0,0.5));
    object-fit: contain;
    transition: height 0.35s ease;
}

.navbar {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    transition: padding 0.35s ease;
}

/* Widen navbar container for better spacing on large screens */
.navbar > .container {
    max-width: 1400px;
}

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.85) !important;
    font-weight: 600;
    font-size: 1.05rem;
    padding: 0.5rem 1.15rem !important;
    transition: color 0.3s ease, font-size 0.35s ease, font-weight 0.35s ease, padding 0.35s ease;
    white-space: nowrap;
}

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

/* --- Compact header (scrolled: after user scrolls down) --- */
.navbar.navbar-scrolled {
    padding-top: 0.35rem;
    padding-bottom: 0.35rem;
}

.navbar.navbar-scrolled .navbar-logo {
    height: 45px;
}

.navbar.navbar-scrolled .navbar-brand .brand-text {
    font-size: 1.1rem;
    font-weight: 600;
}

.navbar.navbar-scrolled .navbar-brand .brand-tagline {
    font-size: 0.65rem;
}

.navbar.navbar-scrolled .navbar-nav .nav-link {
    font-size: 0.95rem;
    font-weight: 500;
}

/* ============================================
   PROMOTIONAL BANNER (between header and hero)
   ============================================ */
.promo-banner {
    position: relative;
    display: block;
    text-decoration: none;
    color: var(--white);
    text-align: center;
    padding: 12px 45px 12px 20px;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
    overflow: hidden;
    max-height: 60px;
    transition: max-height 0.4s ease, padding 0.4s ease, opacity 0.3s ease;
    /* Animated gradient background */
    background: linear-gradient(
        270deg,
        #FFE135, #FF6B6B, #C471F5, #12C2E9, #F7971E, #FFE135
    );
    background-size: 400% 100%;
    animation: promoGradientShift 8s ease infinite;
}

.promo-banner:hover {
    color: var(--white);
    text-decoration: none;
    filter: brightness(1.1);
}

.promo-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.15) 25%,
        rgba(255, 255, 255, 0.3) 50%,
        rgba(255, 255, 255, 0.15) 75%,
        transparent 100%
    );
    animation: promoShimmer 3s ease-in-out infinite;
    pointer-events: none;
}

.promo-banner-text {
    position: relative;
    z-index: 1;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.promo-banner-close {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.25);
    border: none;
    color: var(--white);
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    cursor: pointer;
    z-index: 2;
    transition: background 0.2s ease, transform 0.2s ease;
    line-height: 1;
}

.promo-banner-close:hover {
    background: rgba(0, 0, 0, 0.5);
    transform: translateY(-50%) scale(1.1);
}

/* Collapsed state (when closed) */
.promo-banner.promo-banner-hidden {
    max-height: 0;
    padding-top: 0;
    padding-bottom: 0;
    opacity: 0;
    pointer-events: none;
}

@keyframes promoGradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes promoShimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Responsive promo banner */
@media (max-width: 768px) {
    .promo-banner {
        font-size: 0.82rem;
        padding: 10px 40px 10px 15px;
    }
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-black) 0%, #2d2d2d 100%);
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    padding: 80px 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.1;
}

.min-vh-75 {
    min-height: 60vh;
}

.hero-section .btn-warning {
    background-color: var(--primary-yellow);
    border-color: var(--primary-yellow);
    color: var(--primary-black);
    font-weight: 600;
}

.hero-section .btn-warning:hover {
    background-color: var(--secondary-yellow);
    border-color: var(--secondary-yellow);
}

/* Hero IIM Logo + Tagline */
.hero-tagline-row {
    gap: 0;
}

.hero-tagline-row .lead {
    font-size: 1.8rem;
    font-weight: 500;
    line-height: 1.4;
}

.hero-iim-logo-circle {
    width: 72px;
    height: 72px;
    min-width: 72px;
    border-radius: 0;
    background: var(--white);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    box-shadow: none;
}

.hero-iim-logo-circle img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Stats Section */
.stats-section {
    background-color: var(--primary-yellow);
}

.stat-item {
    color: var(--primary-black);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
}

/* Section Titles */
.section-title {
    font-weight: 700;
    color: var(--primary-black);
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--primary-yellow);
    border-radius: 2px;
}

/* Course Cards */
.course-card {
    background: var(--white);
    border: 2px solid #eee;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.course-card:hover {
    border-color: var(--primary-yellow);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.course-icon {
    width: 125px;
    height: 125px;
    background: var(--primary-yellow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.course-icon i {
    font-size: 2rem;
    color: var(--primary-black);
}

.course-icon-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 20px;
    display: block;
    border: 3px solid var(--primary-yellow);
    background: var(--light-gray);
}

/* Course Logo Circle — round logo display (like the Bumble Bee Academy logo) */
.course-logo-circle {
    width: 125px;
    height: 125px;
    border-radius: 50%;
    background: var(--white);
    border: 3px solid var(--primary-yellow);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    padding: 14px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.course-card:hover .course-logo-circle {
    box-shadow: 0 6px 20px rgba(255, 225, 53, 0.25);
    transform: scale(1.05);
}

.course-logo-circle img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 0;
}

/* Course Hero Page — logo circle (larger, for dark background) */
.course-hero-logo-circle {
    width: 110px;
    height: 110px;
    min-width: 70px;
    border-radius: 50%;
    background: var(--white);
    border: 3px solid var(--primary-yellow);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    box-shadow: 0 4px 20px rgba(255, 225, 53, 0.3);
}

.course-hero-logo-circle img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Course Hero Page — Font Awesome icon circle fallback */
.course-hero-icon-circle {
    width: 70px;
    height: 70px;
    min-width: 70px;
    border-radius: 50%;
    background: var(--primary-yellow);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(255, 225, 53, 0.3);
}

.course-hero-icon-circle i {
    font-size: 1.8rem;
    color: var(--primary-black);
}

.course-title {
    font-weight: 600;
    color: var(--primary-black);
    margin-bottom: 10px;
}

.course-desc {
    color: var(--medium-gray);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.btn-outline-warning {
    color: var(--dark-yellow);
    border-color: var(--dark-yellow);
}

.btn-outline-warning:hover {
    background-color: var(--primary-yellow);
    border-color: var(--primary-yellow);
    color: var(--primary-black);
}

/* Wall of Fame */
.fame-card {
    background: var(--white);
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.fame-photo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto 15px;
    overflow: hidden;
    border: 3px solid var(--primary-yellow);
}

.fame-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fame-placeholder {
    width: 100%;
    height: 100%;
    background: var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--medium-gray);
}

/* Reviews */
.google-rating {
    margin-top: 10px;
}

.google-rating .stars {
    color: var(--primary-yellow);
    font-size: 1.5rem;
}

.google-rating .rating-text {
    color: var(--medium-gray);
    margin-left: 10px;
}

.review-card {
    background: var(--white);
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    height: 100%;
}

.review-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.reviewer-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-yellow);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: var(--primary-black);
    font-size: 1.2rem;
    margin-right: 15px;
}

.stars-small {
    color: var(--primary-yellow);
    font-size: 0.9rem;
}

.review-text {
    color: var(--medium-gray);
    font-style: italic;
    font-size: 0.95rem;
}

/* Sticky Form Bar */
.sticky-form-close {
    position: absolute;
    top: 6px;
    right: 10px;
    background: none;
    border: none;
    color: rgba(255,255,255,0.6);
    font-size: 1.4rem;
    cursor: pointer;
    z-index: 10;
    line-height: 1;
    padding: 2px 6px;
    border-radius: 50%;
    transition: all 0.2s;
}
.sticky-form-close:hover {
    color: #fff;
    background: rgba(255,255,255,0.15);
}

.sticky-form-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--primary-black);
    padding: 12px 0;
    z-index: 1030;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.2);
}

.sticky-form-bar .form-label-text {
    color: var(--primary-yellow);
    font-weight: 600;
    white-space: nowrap;
}

.sticky-form-bar .form-control,
.sticky-form-bar .form-select {
    border-radius: 5px;
}

/* Student Login Link in Navbar */
.student-login-link {
    font-size: 0.8rem !important;
    opacity: 0.75;
    padding: 0.3rem 0.6rem !important;
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 20px;
    transition: all 0.3s ease;
}
.student-login-link:hover {
    opacity: 1;
    border-color: var(--primary-yellow);
    background: rgba(255, 215, 0, 0.1);
}
.student-login-link i {
    color: var(--primary-yellow);
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 80px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    z-index: 1025;
    transition: transform 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: white;
}

/* Footer */
footer {
    background: var(--primary-black);
}

footer h5.text-warning {
    color: var(--primary-yellow) !important;
}

.footer-logo {
    filter: drop-shadow(0 0 2px rgba(0,0,0,0.3));
}

/* Footer Text Styles */
.footer-tagline {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.7);
    display: block;
}

.footer-slogan {
    color: rgba(255, 255, 255, 0.85);
    font-style: italic;
}

.footer-address {
    color: rgba(255, 255, 255, 0.8);
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links li a {
    color: rgba(255, 255, 255, 0.85);
    transition: color 0.3s ease;
}

.footer-links li a:hover {
    color: var(--primary-yellow);
}

.footer-contact {
    color: rgba(255, 255, 255, 0.85);
}

/* Footer Social Links */
.footer-social-link {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-social-link:hover {
    color: var(--primary-yellow);
    text-decoration: none;
}

.footer-social-handle {
    color: rgba(255, 255, 255, 0.85);
    transition: color 0.3s ease;
}

.footer-social-link:hover .footer-social-handle {
    color: var(--primary-yellow);
}

/* Footer Map Link */
.footer-map-link {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    display: inline-block;
    margin-top: 10px;
    transition: color 0.3s ease;
}

.footer-map-link:hover {
    color: var(--primary-yellow);
    text-decoration: none;
}

.footer-map-link i {
    color: var(--primary-yellow);
}

/* Footer Small Map */
.footer-map-small {
    border-radius: 8px;
    overflow: hidden;
    max-width: 100%;
}

.footer-map-small iframe {
    width: 100%;
    height: 180px;
    border: none;
    border-radius: 8px;
}

.map-container {
    border-radius: 10px;
    overflow: hidden;
}

.map-container iframe {
    width: 100%;
    height: 300px;
    border: none;
}

/* Contact Page Styles */
.contact-info-text {
    color: rgba(255, 255, 255, 0.85);
}

.contact-map-container {
    border-radius: 10px;
    overflow: hidden;
}

.contact-map-container iframe {
    width: 100%;
    height: 350px;
    border: none;
    display: block;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-black) 0%, #2d2d2d 100%);
}

/* Responsive - Navigation on extra-large screens (fill the gap with more spacing) */
@media (min-width: 1400px) {
    /* Expanded state (at top) */
    .navbar-nav .nav-link {
        font-size: 1.1rem;
        padding: 0.5rem 1.4rem !important;
    }
    
    /* Scrolled/compact state */
    .navbar.navbar-scrolled .navbar-nav .nav-link {
        font-size: 1rem;
    }
}

/* Responsive - Navigation on medium-large screens (expanded navbar but limited space) */
@media (min-width: 992px) and (max-width: 1399px) {
    .navbar-nav.ms-auto {
        margin-left: 2rem !important;
    }
    
    /* Expanded state (at top) — proportionally bigger than old compact */
    .navbar-logo {
        height: 60px !important;
    }
    
    .navbar-brand .brand-text {
        font-size: 1.15rem;
    }
    
    .navbar-brand .brand-tagline {
        font-size: 0.7rem;
    }
    
    .navbar-nav .nav-link {
        font-size: 0.95rem;
        padding: 0.5rem 0.55rem !important;
    }
    
    /* Scrolled/compact state — original small sizes for this breakpoint */
    .navbar.navbar-scrolled .navbar-logo {
        height: 38px !important;
    }
    
    .navbar.navbar-scrolled .navbar-brand .brand-text {
        font-size: 0.95rem;
    }
    
    .navbar.navbar-scrolled .navbar-brand .brand-tagline {
        font-size: 0.6rem;
    }
    
    .navbar.navbar-scrolled .navbar-nav .nav-link {
        font-size: 0.85rem;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section {
        min-height: 60vh;
        padding: 60px 0;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .sticky-form-bar {
        padding: 10px;
    }
    
    .sticky-form-bar .form-label-text {
        display: none;
    }
    
    .whatsapp-float {
        bottom: 100px;
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
}

/* Utilities */
.text-warning {
    color: var(--primary-yellow) !important;
}

.bg-warning {
    background-color: var(--primary-yellow) !important;
}

.btn-warning {
    background-color: var(--primary-yellow);
    border-color: var(--primary-yellow);
    color: var(--primary-black);
    font-weight: 600;
}

.btn-warning:hover {
    background-color: var(--secondary-yellow);
    border-color: var(--secondary-yellow);
    color: var(--primary-black);
}
