/* Premium UI Upgrade - Safe Overrides */

/* 1. Modern Typography */
body, p, span, div, a, li, input, textarea, button {
    font-family: 'Inter', sans-serif !important;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif !important;
    font-weight: 600;
}

/* 2. Glassmorphism & Popup Styling */
.popup-overlay, .modal {
    backdrop-filter: blur(8px);
    background: rgba(0, 0, 0, 0.4) !important;
}

.popup-content, .modal-content, .card, .panel {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1), 0 1px 8px rgba(0, 0, 0, 0.06) !important;
    border: 1px solid rgba(255,255,255,0.4);
    border-radius: 12px !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* 3. Micro-Animations for Cards */
.card:hover, .course-box:hover, .service-box:hover, .panel:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12), 0 4px 12px rgba(0, 0, 0, 0.08) !important;
}

/* 4. Modern Buttons - GREEN THEME */
.btn, button, input[type="submit"] {
    border-radius: 8px !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    font-weight: 600 !important;
    letter-spacing: 0.3px;
    border: none;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.btn:hover, button:hover, input[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 127, 50, 0.2);
    filter: brightness(1.1);
}

.btn:active, button:active, input[type="submit"]:active {
    transform: translateY(0);
}

/* 5. Modern Forms & Inputs - GREEN THEME */
input.form-control, textarea.form-control, select.form-control {
    border-radius: 8px !important;
    border: 1px solid #e0e0e0 !important;
    background-color: #f9fafb !important;
    padding: 12px 15px !important;
    transition: all 0.3s ease !important;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.02);
}

input.form-control:focus, textarea.form-control:focus, select.form-control:focus {
    background-color: #ffffff !important;
    border-color: #007f32 !important;
    box-shadow: 0 0 0 4px rgba(0, 127, 50, 0.1) !important;
    outline: none !important;
}

/* Subtle Link Animations */
a {
    transition: color 0.2s ease, opacity 0.2s ease !important;
}

a:hover {
    opacity: 0.8;
}

/* Enhancing header if it has a sticky class */
header.sticky, .header {
    backdrop-filter: blur(12px);
    background: rgba(255, 255, 255, 0.95) !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

/* 6. Header Top Bar Redesign - GREEN THEME */
.header-top {
    background: linear-gradient(90deg, #006025 0%, #007f32 100%) !important;
    padding: 3px 0 !important;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.header-top::before, .header-top::after {
    display: none !important;
}

.header-top-social {
    display: flex;
    align-items: center;
}

.header-top-social span {
    color: #e2e8f0 !important;
    font-size: 13px;
    font-weight: 500;
    margin-right: 10px;
    white-space: nowrap;
}

.header-top-social a {
    background: rgba(255,255,255,0.15) !important;
    color: #ffffff !important;
    width: 26px !important;
    height: 26px !important;
    line-height: 26px !important;
    border-radius: 6px !important;
    margin-right: 8px !important;
    font-size: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease !important;
}

.header-top-social a:hover {
    background: #ffffff !important;
    color: #007f32 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(255,255,255,0.2);
}

.header-top-contact ul {
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
}

.header-top-contact ul li {
    border-right: 1px solid rgba(255,255,255,0.2) !important;
    padding-right: 15px !important;
    margin-right: 15px !important;
    list-style: none;
    display: flex;
    align-items: center;
}

.header-top-contact ul li:last-child {
    border-right: none !important;
    padding-right: 0 !important;
    margin-right: 0 !important;
}

.header-top-contact ul li a {
    color: #f8fafc !important;
    font-size: 13px;
    font-weight: 500;
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: color 0.3s ease !important;
    white-space: nowrap;
}

.header-top-contact ul li a i {
    color: #facc15 !important; /* Premium yellow/gold accent for icons on green bg */
    margin-right: 8px !important;
    font-size: 15px;
}

.header-top-contact ul li a:hover {
    color: #facc15 !important;
}

/* 7. Responsive Logo & Navbar Brand */
.navbar-brand {
    padding: 10px 0;
    gap: 15px;
    text-decoration: none !important;
}

.logo-img {
    height: 60px; /* Base height for mobile */
    width: auto;
    object-fit: contain;
    transition: all 0.3s ease;
}

.logo-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.college-name {
    color: #007f32;
    background: linear-gradient(135deg, #007f32 0%, #005a23 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: 0.4px;
    white-space: nowrap;
}

.affiliated-text {
    color: #475569;
    font-size: 12px;
    font-weight: 700;
    margin-top: 2px;
    letter-spacing: 0.2px;
    white-space: nowrap;
}

/* Desktop sizing */
@media (min-width: 992px) {
    .navbar-brand {
        margin-right: 25px !important;
        padding-top: 2px !important;
        padding-bottom: 2px !important;
    }
    
    .logo-img {
        height: 58px !important;
    }
    
    .college-name {
        font-size: 19.5px !important; /* Increased font size for vivid highlighting */
        letter-spacing: 0.5px !important;
    }
    
    .affiliated-text {
        font-size: 12.5px !important;
    }
}

/* Mobile specifically */
@media (max-width: 576px) {
    .logo-img {
        height: 50px !important;
    }
    
    .navbar-brand {
        gap: 10px;
    }
    
    .college-name {
        font-size: 13px;
    }
    
    .affiliated-text {
        font-size: 9px;
    }
}

/* Fix flexbox breaking due to <br> in logo */
.logo-text br {
    display: none !important;
}

/* 8. Fix Navbar Z-Index for Mobile */
.header {
    position: relative;
    z-index: 1040 !important;
}

@media (max-width: 991px) {
    .navbar {
        z-index: 1050 !important;
        background: #ffffff !important;
        box-shadow: 0 4px 15px rgba(0,0,0,0.05) !important;
        padding: 5px 0 !important;
    }
    .main-navigation {
        z-index: 1050 !important;
    }
    .mobile-menu-right {
        display: flex !important;
        align-items: center !important;
        gap: 15px !important;
    }
    .mobile-menu-right .search-btn button {
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        padding: 0 !important;
        width: auto !important;
        height: auto !important;
        font-size: 20px !important;
    }
    .navbar-toggler {
        padding: 0 !important;
        border: none !important;
        box-shadow: none !important;
        margin: 0 !important;
    }
}

/* 9. Desktop Navbar 10x Upgrade */
@media (min-width: 992px) {
    .navbar {
        padding: 2px 0 !important; /* Reduced padding for slim compact navbar */
        min-height: 68px !important;
        background: #ffffff !important;
        box-shadow: 0 4px 20px rgba(0,0,0,0.04) !important;
        border-bottom: 1px solid rgba(0,0,0,0.03);
    }

    .navbar-brand {
        padding-left: 10px !important;
        display: flex !important;
        align-items: center !important;
        white-space: nowrap !important;
    }

    .navbar-collapse {
        justify-content: flex-end;
    }

    .navbar .nav-item .nav-link {
        font-family: 'Inter', sans-serif !important;
        font-weight: 600 !important;
        font-size: 14px !important;
        color: #334155 !important;
        padding: 5px 12px !important;
        margin: 0 2px !important;
        border-radius: 6px;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
        letter-spacing: 0.2px;
        white-space: nowrap !important;
    }

    .navbar .nav-item .nav-link:hover,
    .navbar .nav-item .nav-link.active {
        color: #007f32 !important;
        background: rgba(0, 127, 50, 0.06) !important;
        transform: translateY(-2px);
    }

    .nav-right {
        display: flex !important;
        align-items: center !important;
        gap: 15px !important;
        padding-right: 15px !important;
    }

    .nav-right-btn.mt-2 {
        margin-top: 0 !important;
    }

    .nav-right-btn .theme-btn {
        background: linear-gradient(135deg, #00933a 0%, #006025 100%) !important;
        color: #ffffff !important;
        font-family: 'Inter', sans-serif !important;
        font-weight: 700 !important;
        border-radius: 50px !important; /* Fully rounded pill shape */
        padding: 12px 28px !important;
        border: 2px solid transparent !important;
        box-shadow: 0 8px 20px rgba(0, 127, 50, 0.25) !important;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
        letter-spacing: 0.5px;
        display: inline-flex !important;
        align-items: center !important;
        gap: 10px !important;
        white-space: nowrap !important;
        text-transform: uppercase;
        font-size: 14px;
        position: relative;
        overflow: hidden;
    }
    
    .nav-right-btn .theme-btn::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
        transition: all 0.5s ease;
        display: block !important;
    }

    .nav-right-btn .theme-btn:hover {
        transform: translateY(-3px) !important;
        box-shadow: 0 10px 25px rgba(0, 127, 50, 0.35) !important;
        border-color: rgba(255,255,255,0.5) !important;
    }
    
    .nav-right-btn .theme-btn:hover::before {
        left: 100%;
    }

    .search-btn button {
        background: #f8fafc !important;
        width: 42px !important;
        height: 42px !important;
        line-height: 42px !important;
        border-radius: 50% !important;
        color: #64748b !important;
        transition: all 0.3s ease !important;
        border: 1px solid #e2e8f0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .search-btn button:hover {
        background: #007f32 !important;
        color: #ffffff !important;
        border-color: #007f32 !important;
        transform: rotate(90deg);
        box-shadow: 0 4px 10px rgba(0, 127, 50, 0.2);
    }
}
/* 10. Premium Modern Popup Styles */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    display: none; /* Hidden initially */
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.premium-modern-popup {
    background: #ffffff;
    padding: 40px 35px;
    border-radius: 8px;
    width: 90%;
    max-width: 550px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    position: relative;
    transform: translateY(0) scale(1);
    animation: slideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border-top: 5px solid #00933a;
}

@keyframes slideUp {
    from { transform: translateY(20px) scale(0.95); opacity: 0; }
    to { transform: translateY(0) scale(1); opacity: 1; }
}

.premium-modern-popup .close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    color: #94a3b8;
    background: transparent;
    border: none;
    transition: all 0.2s ease;
    padding: 0;
    line-height: 1;
}

.premium-modern-popup .close-btn:hover {
    color: #ef4444;
    transform: scale(1.1) rotate(90deg);
}

.popup-header {
    text-align: center;
    margin-bottom: 30px;
}

.premium-modern-popup h2 {
    margin: 0;
    font-size: 28px;
    color: #1e293b;
    font-family: 'Inter', sans-serif;
    font-weight: 800;
}

.modern-form .form-group-modern {
    margin-bottom: 22px;
    text-align: left;
}

.modern-form label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.modern-form input,
.modern-form textarea,
.modern-form select {
    width: 100%;
    padding: 10px 0;
    border: none;
    border-bottom: 1px solid #e2e8f0;
    background: transparent;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    color: #1e293b;
    transition: all 0.3s ease;
}

.modern-form input:focus,
.modern-form textarea:focus,
.modern-form select:focus {
    outline: none;
    border-bottom-color: #00933a;
    box-shadow: 0 1px 0 0 #00933a;
}

.modern-form input::placeholder,
.modern-form textarea::placeholder {
    color: #cbd5e1;
}

.modern-form textarea {
    resize: none;
    padding-bottom: 5px;
}

.select-wrapper {
    position: relative;
}

.modern-submit-btn {
    background: linear-gradient(135deg, #00933a 0%, #006025 100%);
    color: #ffffff;
    border: none;
    cursor: pointer;
    width: 100%;
    padding: 15px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.5px;
    box-shadow: 0 8px 20px rgba(0, 127, 50, 0.25);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    text-transform: uppercase;
}

.modern-submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 127, 50, 0.35);
}
/* 11. Premium Soft-Lift Feature Cards */
.feature-area .feature-item {
    background: #ffffff !important;
    border-radius: 20px !important;
    padding: 35px 25px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03) !important;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
    border: 1px solid rgba(0, 147, 58, 0.05) !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 1;
}

.feature-area .feature-item:hover {
    transform: translateY(-12px) !important;
    box-shadow: 0 20px 40px rgba(0, 147, 58, 0.15) !important;
    border-color: rgba(0, 147, 58, 0.2) !important;
}

.feature-area .feature-item .count {
    position: absolute !important;
    right: 5px !important;
    bottom: -15px !important;
    top: auto !important;
    left: auto !important;
    font-size: 110px !important;
    font-weight: 900 !important;
    color: #00933a !important;
    opacity: 0.04 !important;
    -webkit-text-stroke: 0px !important;
    line-height: 1 !important;
    z-index: -1 !important;
    transition: all 0.5s ease !important;
    border: none !important;
    width: auto !important;
    height: auto !important;
    background: transparent !important;
}

.feature-area .feature-item:hover .count {
    opacity: 0.08 !important;
    transform: scale(1.1) translateY(-5px) !important;
}

.feature-area .feature-item .feature-icon {
    width: 80px !important;
    height: 80px !important;
    background: #00933a !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-bottom: 25px !important;
    transition: all 0.4s ease !important;
    border: none !important;
    box-shadow: 0 5px 15px rgba(0, 147, 58, 0.2) !important;
}

.feature-area .feature-item .feature-icon img {
    width: 40px !important;
    height: 40px !important;
    transition: all 0.4s ease !important;
    filter: brightness(0) invert(1) !important; /* Forces icon to be pure white */
}

.feature-area .feature-item:hover .feature-icon {
    transform: scale(1.1) translateY(-5px) !important;
    box-shadow: 0 10px 25px rgba(0, 147, 58, 0.4) !important;
    background: #1e293b !important; /* Changes to dark slate on hover for a premium effect */
}

.feature-area .feature-item:hover .feature-icon img {
    filter: brightness(0) invert(1) !important; /* Keeps icon pure white */
}

.feature-area .feature-item .feature-title {
    font-size: 20px !important;
    font-weight: 700 !important;
    color: #1e293b !important;
    margin-bottom: 0 !important;
    font-family: 'Outfit', sans-serif !important;
    transition: all 0.3s ease !important;
}

.feature-area .feature-item:hover .feature-title {
    color: #00933a !important;
}
/* 12. Premium Footer Redesign */
.premium-footer {
    background: #042a19 !important;
    position: relative;
    color: #e2e8f0 !important;
    border-top: 4px solid #00933a;
}

.premium-footer .footer-widget-box.about-us {
    text-align: center;
}

.premium-footer .footer-widget-box.about-us .navbar-brand {
    display: block !important;
    text-align: center;
    margin-bottom: 15px;
}

.premium-footer .footer-logo-img {
    width: 220px !important;
    max-width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
    margin: 0 auto 20px auto !important;
    display: block !important;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.3));
}

.premium-footer .footer-widget-box p {
    color: #cbd5e1 !important;
    line-height: 1.8;
}

.premium-footer .footer-widget-title {
    color: #ffffff !important;
    font-family: 'Outfit', sans-serif !important;
    font-weight: 700;
    position: relative;
    padding-bottom: 12px;
    margin-bottom: 25px;
}

.premium-footer .footer-widget-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background: #00933a;
    border-radius: 2px;
}

.premium-footer .footer-list li a {
    color: #cbd5e1 !important;
    transition: all 0.3s ease !important;
    display: inline-block;
}

.premium-footer .footer-list li a i {
    color: #00933a !important;
    margin-right: 8px;
    transition: all 0.3s ease !important;
}

.premium-footer .footer-list li a:hover {
    color: #00933a !important;
    transform: translateX(8px);
}

.premium-footer .footer-contact li {
    margin-bottom: 15px !important;
    color: #cbd5e1 !important;
    line-height: 1.6;
    display: flex !important;
    align-items: flex-start !important;
}

.premium-footer .footer-contact li a {
    display: flex !important;
    align-items: flex-start !important;
    color: #cbd5e1 !important;
    transition: all 0.3s ease !important;
    word-break: break-all;
}

.premium-footer .footer-contact li i,
.premium-footer .footer-contact li a i {
    color: #00933a !important;
    font-size: 18px !important;
    margin-right: 15px !important;
    margin-top: 4px !important;
    background: transparent !important;
    width: auto !important;
    height: auto !important;
    line-height: normal !important;
    border-radius: 0 !important;
    min-width: 20px;
    text-align: center;
}

.premium-footer .footer-contact li a:hover {
    color: #ffffff !important;
}

/* Premium Social Icons */
.premium-footer .copyright {
    background: #021a0f !important;
    border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
    padding: 20px 0 !important;
}

.premium-footer .footer-social li {
    display: inline-block;
    margin-left: 10px;
}

.premium-footer .footer-social li a {
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    background: rgba(255,255,255,0.05) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #ffffff !important;
    font-size: 16px !important;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
    border: 1px solid rgba(255,255,255,0.1) !important;
}

.premium-footer .footer-social li a:hover {
    background: #00933a !important;
    color: #ffffff !important;
    transform: translateY(-5px) !important;
    box-shadow: 0 10px 20px rgba(0, 147, 58, 0.4) !important;
    border-color: #00933a !important;
}

/* Modern Scroll Top Button */
#scroll-top {
    width: 50px !important;
    height: 50px !important;
    background: #00933a !important;
    color: #ffffff !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 20px !important;
    box-shadow: 0 10px 30px rgba(0, 147, 58, 0.4) !important;
    transition: all 0.4s ease !important;
    border: 2px solid transparent !important;
}

#scroll-top:hover {
    background: #ffffff !important;
    color: #00933a !important;
    border-color: #00933a !important;
    transform: translateY(-5px) scale(1.05) !important;
}

/* 18. Vertical Timeline for Achievements */
.timeline {
    position: relative;
    padding: 20px 0;
}
.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: #007f32;
    transform: translateX(-50%);
}
.timeline-item {
    position: relative;
    margin-bottom: 40px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}
.timeline-dot {
    position: absolute;
    left: 50%;
    top: 230px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #facc15;
    border: 3px solid #007f32;
    transform: translateX(-50%);
    z-index: 1;
}
.timeline-date {
    width: 45%;
    text-align: right;
    font-size: 24px;
    font-weight: 700;
    color: #007f32;
    padding: 0 30px;
}
.timeline-item:nth-child(even) .timeline-date {
    text-align: left;
}
.timeline-content {
    width: 45%;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    position: relative;
    text-align: left;
}
.timeline-item:nth-child(even) .timeline-content {
    text-align: right;
}
.timeline-content::before {
    content: '';
    position: absolute;
    top: 228px;
    width: 0;
    height: 0;
    border-style: solid;
}
.timeline-item:nth-child(odd) .timeline-content::before {
    left: -15px;
    border-width: 10px 15px 10px 0;
    border-color: transparent #fff transparent transparent;
}
.timeline-item:nth-child(even) .timeline-content::before {
    right: -15px;
    border-width: 10px 0 10px 15px;
    border-color: transparent transparent transparent #fff;
}
.timeline-content .icon {
    font-size: 30px;
    color: #007f32;
    margin-bottom: 15px;
}
.timeline-content h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
}
.timeline-content p {
    margin-bottom: 0;
    color: #666;
}

/* Responsive adjustments for timeline */
@media (max-width: 768px) {
    .timeline::before {
        left: 30px;
    }
    .timeline-dot {
        left: 30px;
    }
    .timeline-item, .timeline-item:nth-child(even) {
        flex-direction: column !important;
        align-items: flex-start;
        padding-left: 70px;
    }
    .timeline-date, .timeline-item:nth-child(even) .timeline-date {
        width: 100%;
        text-align: left !important;
        padding: 0 0 10px 0;
        font-size: 20px;
    }
    .timeline-content, .timeline-item:nth-child(even) .timeline-content {
        width: 100%;
        text-align: left !important;
    }
    .timeline-item:nth-child(odd) .timeline-content::before,
    .timeline-item:nth-child(even) .timeline-content::before {
        left: -15px;
        right: auto;
        border-width: 10px 15px 10px 0;
        border-color: transparent #fff transparent transparent;
    }
}
/* Course Sidebar Premium Styles */
.course-sidebar {
    background: #ffffff;
    padding: 10px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.06);
    margin-bottom: 30px;
    border: 1px solid rgba(0,127,50,0.05);
}
.widget {
    margin-bottom: 35px;
}
.widget:last-child {
    margin-bottom: 0;
}
.widget-title {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 25px;
    color: #111;
    position: relative;
    padding-bottom: 12px;
    display: inline-block;
}
.widget-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50%;
    height: 4px;
    background: linear-gradient(90deg, #007f32, #facc15);
    border-radius: 4px;
}
.search-widget form {
    position: relative;
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
.search-widget input {
    width: 100%;
    padding: 16px 25px;
    padding-right: 60px;
    border: 1px solid transparent;
    background: #f8f9fa;
    transition: all 0.4s ease;
    font-size: 15px;
    color: #333;
}
.search-widget input:focus {
    background: #fff;
    border: 1px solid rgba(0, 127, 50, 0.3);
    outline: none;
    box-shadow: 0 0 20px rgba(0, 127, 50, 0.1);
}
.search-widget button {
    position: absolute;
    right: 5px;
    top: 5px;
    bottom: 5px;
    width: 45px;
    background: #007f32;
    border: none;
    color: #fff;
    border-radius: 50px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
}
.search-widget button:hover {
    background: #facc15;
    color: #111;
}
.category-widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.category-widget ul li {
    margin-bottom: 12px;
}
.category-widget ul li:last-child {
    margin-bottom: 0;
}
.category-widget ul li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #555;
    padding: 14px 20px;
    background: #fff;
    border: 1px solid #f1f1f1;
    border-radius: 12px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    z-index: 1;
}
.category-widget ul li a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 0%;
    height: 100%;
    background: #007f32;
    z-index: -1;
    transition: all 0.4s ease;
}
.category-widget ul li a:hover,
.category-widget ul li a.active {
    color: #fff;
    border-color: #007f32;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 127, 50, 0.2);
}
.category-widget ul li a:hover::before,
.category-widget ul li a.active::before {
    width: 100%;
}
.category-widget ul li a span {
    font-size: 13px;
    background: #f1f1f1;
    color: #555;
    padding: 3px 10px;
    border-radius: 20px;
    font-weight: 700;
    transition: all 0.4s ease;
}
.category-widget ul li a:hover span,
.category-widget ul li a.active span {
    background: #facc15;
    color: #111;
}

.related-courses-slider .owl-stage { transition-timing-function: linear !important; }
/* =========================================
   8. Premium Blog Section Overrides
   ========================================= */
.blog-item {
    padding: 0 !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    background: #ffffff !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06) !important;
    transition: all 0.3s ease !important;
    border: 1px solid rgba(0,0,0,0.03) !important;
    margin-bottom: 30px !important;
}

.blog-item:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1) !important;
}

.blog-item-img {
    border-radius: 0 !important;
    width: 100%;
}

.blog-item-img img {
    border-radius: 0 !important;
    width: 100% !important;
    height: 240px !important;
    object-fit: cover !important;
    transition: transform 0.5s ease !important;
}

.blog-item:hover .blog-item-img img {
    transform: scale(1.05) !important;
}

.blog-date {
    position: absolute !important;
    top: 15px !important;
    right: 15px !important;
    background: rgba(255, 255, 255, 0.95) !important;
    color: #007f32 !important;
    padding: 6px 14px !important;
    border-radius: 8px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1) !important;
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    backdrop-filter: blur(4px);
}
.blog-date i {
    color: #facc15 !important;
}

.blog-item-info {
    padding: 25px !important;
}

.blog-item-meta ul {
    border-bottom: none !important;
    margin-bottom: 10px !important;
    padding-bottom: 0 !important;
    display: none !important; /* Hide empty ul */
}

.blog-title {
    font-size: 20px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    margin-bottom: 20px !important;
}

.blog-title a {
    color: #1e293b !important;
    transition: color 0.3s ease !important;
    text-decoration: none !important;
}

.blog-title a:hover {
    color: #007f32 !important;
}

.blog-item-info .theme-btn {
    background: transparent !important;
    color: #007f32 !important;
    padding: 0 !important;
    border: none !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    box-shadow: none !important;
}

.blog-item-info .theme-btn::before {
    display: none !important;
}

.blog-item-info .theme-btn i {
    transition: transform 0.3s ease !important;
}

.blog-item-info .theme-btn:hover {
    color: #facc15 !important;
}

.blog-item-info .theme-btn:hover i {
    transform: translateX(5px) !important;
}

/* =========================================
   9. Global Breadcrumb / Hero Section Fix
   ========================================= */
.site-breadcrumb {
    padding-top: 280px !important;
    padding-bottom: 280px !important;
    background-position: center center !important; /* Ensure faces are visible */
}

@media(max-width:991px) {
    .site-breadcrumb {
        padding-top: 280px !important;
        padding-bottom: 250px !important;
    }
}

.site-breadcrumb::before {
    opacity: 0.3 !important; /* Remove dark overlay (kala parda) */
}

.site-breadcrumb .breadcrumb-menu {
    display: none !important; /* Hide home button & breadcrumb links */
}

/* Ensure title remains clearly visible with reduced overlay */
.site-breadcrumb .breadcrumb-title {
    text-shadow: 2px 2px 8px rgba(0,0,0,0.8) !important; 
    font-size: 50px !important;
}

@media(max-width:576px) {
    .site-breadcrumb .breadcrumb-title {
        font-size: 35px !important;
    }
}

/* =========================================
   10. Placement Assistance Section
   ========================================= */
.placement-area {
    position: relative;
    overflow: hidden;
}

.placement-stat-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 10px;
    text-align: center;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.placement-stat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border-color: var(--theme-color);
}

.placement-stat-card h3 {
    font-size: 40px;
    font-weight: 800;
    color: var(--theme-color);
    margin-bottom: 10px;
    font-family: 'Outfit', sans-serif;
}

.placement-stat-card p {
    font-weight: 600;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
    margin: 0;
}

/* Infinite Marquee */
.marquee-container {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    padding: 20px 0;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.marquee-container::before,
.marquee-container::after {
    position: absolute;
    top: 0;
    width: 250px;
    height: 100%;
    content: "";
    z-index: 2;
}
.marquee-container::before {
    left: 0;
    background: linear-gradient(to right, #f8fafc 0%, transparent 100%);
}
.marquee-container::after {
    right: 0;
    background: linear-gradient(to left, #f8fafc 0%, transparent 100%);
}

.marquee-content {
    display: flex;
    white-space: nowrap;
    width: max-content;
    animation: marquee 30s linear infinite;
}

.marquee-content:hover {
    animation-play-state: paused;
}

.marquee-item {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    height: 80px;
    width: max-content;
    padding: 0 30px;
    margin: 0 15px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    font-weight: 700;
    color: #334155;
    font-size: 16px;
    border: 1px solid #f1f5f9;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.marquee-item:hover {
    transform: scale(1.05);
    color: var(--theme-color);
    border-color: var(--theme-color);
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@media (max-width: 768px) {
    .marquee-container::before,
    .marquee-container::after {
        width: 50px;
    }
}

/* =========================================
   11. Why Choose Us Premium Redesign
   ========================================= */
.premium-choose-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 15px;
    padding: 25px;
    transition: all 0.4s ease;
    height: 100%;
}

.premium-choose-card:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.premium-choose-card .icon-box {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--theme-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.4s ease;
}

.premium-choose-card:hover .icon-box {
    transform: scale(1.1) rotate(5deg);
    background: var(--theme-color2);
    color: white;
}

.premium-choose-card h4 {
    color: white;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
}

.premium-choose-card p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    margin-bottom: 0;
    line-height: 1.6;
}

/* Image styling */
.premium-choose-img-wrapper {
    padding: 20px;
}

.premium-choose-img-wrapper .img-box {
    animation: float 6s ease-in-out infinite;
    max-width: 100% !important;
    width: 100%;
    position: relative;
}

.premium-choose-img-wrapper .main-img {
    border-radius: 30px;
    border: 5px solid rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 2;
}

.floating-badge {
    position: absolute;
    top: -20px;
    left: -20px;
    background: var(--theme-color2);
    padding: 20px;
    border-radius: 50%;
    width: 120px;
    height: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 3;
    animation: pulse 2s infinite;
}

.floating-badge h3 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 0;
}

.floating-badge span {
    font-size: 13px;
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    text-align: center;
    line-height: 1.2;
}

.img-bg-shape {
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    z-index: 1;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(245, 158, 11, 0); }
    100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0); }
}

@media (max-width: 991px) {
    .floating-badge {
        width: 100px;
        height: 100px;
        top: -10px;
        left: -10px;
    }
    .floating-badge h3 { font-size: 22px; }
    .floating-badge span { font-size: 9px; }
}

/* =========================================
   12. Leadership / Faculty Section
   ========================================= */
.leadership-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    position: relative;
    transition: all 0.4s ease;
    border-top: 5px solid var(--theme-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: 100%;
}

.leadership-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1) !important;
}

.leadership-img-wrapper {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    margin-bottom: 30px;
    position: relative;
    padding: 10px;
    background: linear-gradient(135deg, var(--theme-color) 0%, var(--theme-color2) 100%);
    transition: all 0.4s ease;
}

.leadership-card:hover .leadership-img-wrapper {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 127, 50, 0.3);
}

.leadership-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 5px solid white;
}

.leadership-content {
    width: 100%;
}

.leadership-content h3 {
    font-size: 28px;
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
}

.leadership-content .quote-box {
    background: #f8fafc;
    padding: 25px;
    border-radius: 15px;
    position: relative;
    margin-top: 20px;
    border: 1px solid #e2e8f0;
}

/* =========================================
   12. Horizontal Leadership / Faculty Section
   ========================================= */
.horizontal-leader-card {
    background: #ffffff;
    border-radius: 20px;
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
    overflow: hidden;
}

.horizontal-leader-card:hover {
    box-shadow: 0 15px 35px rgba(0,0,0,0.08) !important;
    border-color: var(--theme-color);
}

.horizontal-leader-img {
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    border: 4px solid #fff;
}

.horizontal-leader-img img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    transition: transform 0.5s ease;
}

.horizontal-leader-card:hover .horizontal-leader-img img {
    transform: scale(1.02);
}

.horizontal-leader-content .leader-name {
    font-family: 'Playfair Display', serif;
    font-weight: 800;
    font-size: 40px;
    color: var(--theme-color);
    margin-bottom: 5px;
}

.horizontal-leader-content .leader-title {
    color: var(--theme-color2);
    font-weight: 600;
    font-size: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.leader-meta .meta-label {
    font-weight: 700;
    color: #334155;
    width: 120px;
    display: inline-block;
    font-size: 16px;
}

.leader-meta .meta-value {
    color: #475569;
    font-size: 16px;
}

.qualification-badge {
    border: 2px solid var(--theme-color2);
    color: var(--theme-color);
    padding: 5px 15px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 15px;
    background: rgba(245, 158, 11, 0.05);
}

.leader-desc {
    font-size: 16px;
    line-height: 1.8;
    color: #64748b;
    border-left: 4px solid var(--theme-color);
    padding-left: 20px;
    margin-top: 15px;
    background: #f8fafc;
    padding-top: 15px;
    padding-bottom: 15px;
    border-radius: 0 10px 10px 0;
}

/* Leader Highlights & Social */
.leader-highlights ul li {
    font-size: 15px;
    color: #475569;
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
}

.leader-highlights ul li i {
    margin-top: 4px;
    margin-right: 12px;
    font-size: 16px;
}

.leader-social a {
    display: inline-block;
    width: 35px;
    height: 35px;
    line-height: 35px;
    text-align: center;
    border-radius: 50%;
    background: #f1f5f9;
    color: var(--theme-color);
    margin-right: 10px;
    transition: all 0.3s ease;
}

.leader-social a:hover {
    background: var(--theme-color);
    color: #ffffff;
    transform: translateY(-3px);
}

/* =========================================
   13. Modern About Us Section
   ========================================= */

.about-img-modern {
    padding: 10px;
    z-index: 1;
}

.img-wrapper-main img {
    width: 100%;
    max-width: 550px;
    border-radius: 20px;
    position: relative;
    z-index: 2;
}

.glass-experience-badge {
    background: rgba(0, 127, 50, 0.85);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 20px 30px;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    z-index: 5;
    animation: float 4s ease-in-out infinite;
}

.feature-card-modern {
    background: #ffffff;
    border: 1px solid #f1f5f9;
    transition: all 0.4s ease;
    border-radius: 15px;
}

.feature-card-modern:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08) !important;
    border-color: rgba(0, 127, 50, 0.3);
}

.quick-stats-block {
    border-left: 5px solid var(--theme-color);
}

.premium-hover-btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.premium-hover-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 127, 50, 0.3);
}

/* Floating Animations */
@keyframes float {
    0% { transform: translate(-50%, 0px); }
    50% { transform: translate(-50%, -15px); }
    100% { transform: translate(-50%, 0px); }
}

@keyframes float-img {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

@keyframes float-img-reverse {
    0% { transform: translateY(0px); }
    50% { transform: translateY(10px); }
    100% { transform: translateY(0px); }
}

.float-anim-1 {
    animation: float-img 6s ease-in-out infinite;
}

.float-anim-2 {
    animation: float-img-reverse 5s ease-in-out infinite;
    z-index: 3;
}

.float-anim-3 {
    animation: float-img 7s ease-in-out infinite;
    z-index: 4;
}
