/* Style for Happy Career Services Portal - Premium, Modern, and Responsive CSS */

:root {
    --primary-color: #0b3c5d;
    --primary-dark: #072a42;
    --accent-color: #d9b310;
    --accent-dark: #b8970c;
    --secondary-color: #328cc1;
    --dark-color: #0f172a;
    --text-muted: #64748b;
    --light-bg: #f8fafc;
    --white: #ffffff;
    --danger-color: #ef4444;
    --success-color: #10b981;
    --whatsapp-color: #25d366;
    
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
    --shadow-md: 0 8px 20px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 16px 40px rgba(15, 23, 42, 0.12);
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.2);
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: var(--font-body);
    background-color: var(--light-bg);
    color: var(--dark-color);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--primary-color);
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* Custom Container */
.custom-container {
    width: 100%;
    padding-right: 20px;
    padding-left: 20px;
    margin-right: auto;
    margin-left: auto;
    max-width: 1240px;
}

/* 1. Header Styles */
.main-header {
    background: var(--white);
    position: relative;
    z-index: 1000;
}

.announcement-bar {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 500;
    padding: 8px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.ann-left {
    display: flex;
    align-items: center;
    font-weight: 700;
    color: var(--accent-color);
    flex-shrink: 0;
}

.ann-center {
    flex-grow: 1;
    overflow: hidden;
}

.ann-center marquee {
    vertical-align: middle;
}

.ann-right {
    flex-shrink: 0;
    background: rgba(255,255,255,0.15);
    padding: 2px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.header-mid {
    padding: 15px 0;
    border-bottom: 1px solid #f1f5f9;
}

.header-mid .custom-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

/* Logo */
.logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.logo-title {
    display: block;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.4rem;
    color: var(--primary-color);
    letter-spacing: -0.5px;
    line-height: 1.1;
}

.logo-subtitle {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Contact Blocks */
.header-contact-group {
    display: flex;
    align-items: center;
    gap: 25px;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--white);
}

.contact-icon.phone { background-color: var(--primary-color); }
.contact-icon.whatsapp { background-color: var(--whatsapp-color); }
.contact-icon.mail { background-color: var(--secondary-color); }

.contact-info .label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
}

.contact-info .val {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--dark-color);
}

.contact-info .val:hover {
    color: var(--secondary-color);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.btn-action {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    color: var(--white);
    padding: 10px 24px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 4px 12px rgba(50, 140, 193, 0.25);
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.btn-action:hover {
    background: linear-gradient(135deg, #4da3d4 0%, var(--primary-dark) 100%);
    color: var(--white);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 6px 16px rgba(50, 140, 193, 0.35);
}

.mobile-nav-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer;
}

/* Navigation Row */
.main-navigation {
    background: var(--primary-color);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.main-navigation .custom-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-menu {
    display: flex;
    align-items: center;
}

.nav-menu > li {
    position: relative;
}

.nav-menu > li > a {
    display: block;
    padding: 15px 20px;
    font-weight: 600;
    font-size: 0.95rem;
    color: rgba(255,255,255,0.85);
    border-bottom: 3px solid transparent;
}

.nav-menu > li > a:hover,
.nav-menu > li > a.active {
    color: var(--accent-color);
    border-bottom-color: var(--accent-color);
}

/* Dropdown Menu */
.has-dropdown:hover .dropdown-submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-submenu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 260px;
    border-radius: 0 0 8px 8px;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    padding: 10px 0;
    z-index: 100;
}

.dropdown-submenu li a {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    font-weight: 500;
    font-size: 0.88rem;
    color: var(--dark-color);
}

.dropdown-submenu li a:hover {
    background: var(--light-bg);
    color: var(--primary-color);
    padding-left: 24px;
}

.nav-youtube {
    flex-shrink: 0;
}

.yt-link {
    background: #ff0000;
    color: var(--white);
    padding: 6px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
}

.yt-link:hover {
    background: #cc0000;
    transform: scale(1.05);
}

/* Mobile Sidebar Drawer */
.mobile-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.6);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.mobile-drawer-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-drawer {
    position: fixed;
    top: 0;
    right: -320px;
    width: 320px;
    height: 100%;
    background: var(--primary-dark);
    z-index: 2001;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.mobile-drawer.active {
    right: 0;
}

.drawer-header {
    padding: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.drawer-logo {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--white);
    display: flex;
    align-items: center;
}

.drawer-close {
    font-size: 1.5rem;
    color: var(--white);
    cursor: pointer;
}

.drawer-body {
    padding: 20px;
    overflow-y: auto;
    flex-grow: 1;
}

.drawer-menu li a {
    display: block;
    padding: 12px 0;
    color: rgba(255,255,255,0.85);
    font-weight: 600;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.drawer-menu li a:hover {
    color: var(--accent-color);
}

.drawer-has-submenu .submenu-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    cursor: pointer;
}

.drawer-has-submenu .submenu-toggle a {
    border-bottom: none;
    padding: 0;
}

.drawer-submenu-list {
    padding-left: 15px;
    display: none;
}

.drawer-submenu-list.active {
    display: block;
}

.drawer-submenu-list li a {
    font-size: 0.85rem;
    font-weight: 500;
    padding: 10px 0;
}

/* 2. Hero Section */
.hero-video-section {
    position: relative;
    height: 600px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(11, 60, 93, 0.9) 0%, rgba(11, 60, 93, 0.5) 100%);
    z-index: 2;
}

.hero-content-wrapper {
    position: relative;
    z-index: 10;
}

.hero-text {
    max-width: 650px;
    color: var(--white);
}

.hero-tagline {
    background: var(--accent-color);
    color: var(--primary-dark);
    padding: 6px 16px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
}

.hero-heading {
    font-size: 3.2rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 15px;
}

.hero-subtext {
    font-size: 1.15rem;
    opacity: 0.9;
    margin-bottom: 30px;
}

.hero-btns {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-btn {
    padding: 14px 32px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.hero-btn-primary {
    background: linear-gradient(135deg, #f5d742 0%, var(--accent-color) 100%);
    color: var(--primary-dark);
    border: none;
    box-shadow: 0 4px 18px rgba(219, 179, 16, 0.35);
}

.hero-btn-primary:hover {
    background: linear-gradient(135deg, #ffd700 0%, var(--accent-dark) 100%);
    color: var(--primary-dark);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 25px rgba(219, 179, 16, 0.5);
}

.hero-btn-secondary {
    background-color: rgba(255, 255, 255, 0.12);
    color: var(--white);
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.hero-btn-secondary:hover {
    background-color: var(--white);
    color: var(--primary-color);
    border-color: var(--white);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 22px rgba(255, 255, 255, 0.25);
}

/* Hero Shapes */
.hero-shapes {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 20;
    line-height: 0;
}

.hero-wave {
    display: block;
    width: 100%;
    height: 60px;
}

/* 3. Section Styles */
.section {
    padding: 80px 0;
}

.section-title-wrapper {
    text-align: center;
    margin-bottom: 50px;
}

.section-subtitle {
    color: var(--secondary-color);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
    display: block;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 800;
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--accent-color);
    border-radius: 2px;
}

/* Hover Lift Cards */
.hover-lift {
    transition: var(--transition);
}

.hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg) !important;
}

/* Premium Card */
.premium-card {
    background: var(--white);
    border-radius: 16px;
    border: 1px solid #f1f5f9;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.premium-card:hover {
    border-color: rgba(50, 140, 193, 0.2);
}

/* Feature Icon */
.icon-box-premium {
    width: 60px;
    height: 60px;
    background: rgba(50, 140, 193, 0.1);
    color: var(--secondary-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 20px;
}

/* 4. Business Wings specific designs */

/* Admissions Wing */
.program-pill-btn {
    border: 1px solid #e2e8f0;
    background: var(--white);
    color: var(--dark-color);
    font-weight: 600;
    padding: 8px 22px;
    border-radius: 30px;
    transition: var(--transition);
}

.program-pill-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.05);
}

.program-pill-btn.active {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%) !important;
    border-color: transparent !important;
    color: var(--white) !important;
    box-shadow: 0 4px 12px rgba(11, 60, 93, 0.2) !important;
}

.country-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    height: 280px;
    box-shadow: var(--shadow-md);
}

.country-card img.country-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.country-card:hover img.country-img {
    transform: scale(1.1);
}

.country-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.3) 100%);
    padding: 25px 20px;
    color: var(--white);
}

.country-flag {
    width: 35px;
    height: 25px;
    object-fit: cover;
    border-radius: 3px;
    margin-bottom: 10px;
}

/* Medical Student Kit Wing */
.kit-showcase-card {
    background: radial-gradient(circle at 10% 20%, rgb(255, 255, 255) 0%, rgb(240, 245, 249) 100%);
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.price-tag-badge {
    background: var(--danger-color);
    color: var(--white);
    padding: 8px 20px;
    font-size: 1.15rem;
    font-weight: 800;
    border-radius: 30px;
    display: inline-block;
    box-shadow: 0 4px 10px rgba(239, 68, 68, 0.3);
}

.kit-items-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px dashed #e2e8f0;
}

.kit-items-list li:last-child {
    border-bottom: none;
}

.kit-check-icon {
    color: var(--success-color);
    font-size: 1.1rem;
}

/* Faculty Recruitment Wing */
.job-card {
    background: var(--white);
    border-radius: 12px;
    border-left: 5px solid var(--accent-color);
    padding: 20px;
    box-shadow: var(--shadow-sm);
}

/* Labs Wing */
.lab-card {
    border-top: 4px solid var(--primary-color);
    border-radius: 12px;
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

/* Form Styling */
.form-glass {
    background: var(--white);
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 30px;
    box-shadow: var(--shadow-md);
}

.form-control-custom {
    display: block;
    width: 100%;
    padding: 12px 18px;
    font-size: 0.92rem;
    font-weight: 400;
    line-height: 1.5;
    color: var(--dark-color);
    background-color: var(--white);
    background-clip: padding-box;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    transition: var(--transition);
}

.form-control-custom:focus {
    color: var(--dark-color);
    background-color: var(--white);
    border-color: var(--secondary-color);
    outline: 0;
    box-shadow: 0 0 0 4px rgba(50, 140, 193, 0.15);
}

/* Floating WhatsApp Widget */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: var(--whatsapp-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2.2rem;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3);
    z-index: 999;
}

.floating-whatsapp:hover {
    color: var(--white);
    transform: scale(1.1);
}

.pulse-ring {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 3px solid var(--whatsapp-color);
    animation: ringPulse 1.8s infinite ease-out;
}

@keyframes ringPulse {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(1.4); opacity: 0; }
}

/* 5. Footer Styles */
.main-footer-section {
    background-color: var(--dark-color);
    color: #94a3b8;
    padding-top: 80px;
}

.main-footer-section p {
    color: #94a3b8;
    font-size: 0.9rem;
    line-height: 1.65;
}

.main-footer-section .text-muted {
    color: #cbd5e1 !important; /* Lighter light-gray for readability on dark background */
}

.widget-links li a strong {
    color: var(--white);
    transition: var(--transition);
}

.widget-links li a:hover strong {
    color: var(--accent-color);
}

.footer-top {
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.f-logo {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.6rem;
    color: var(--white);
    display: flex;
    align-items: center;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.1rem;
    background-color: rgba(255,255,255,0.06);
}

.social-btn:hover {
    color: var(--white);
    transform: translateY(-3px);
}

.social-btn.youtube:hover { background-color: #ff0000; }
.social-btn.whatsapp:hover { background-color: var(--whatsapp-color); }
.social-btn.phone:hover { background-color: var(--secondary-color); }

.widget-title {
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 8px;
}

.widget-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 2px;
    background-color: var(--accent-color);
}

.widget-links li {
    margin-bottom: 12px;
}

.widget-links li a {
    color: #94a3b8;
    font-size: 0.9rem;
}

.widget-links li a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer-contact-info li {
    display: flex;
    gap: 15px;
    margin-bottom: 18px;
    font-size: 0.9rem;
}

.footer-contact-info li i {
    color: var(--accent-color);
    font-size: 1.1rem;
}

.footer-contact-info li a {
    color: #94a3b8;
}

.footer-contact-info li a:hover {
    color: var(--white);
}

.footer-bottom {
    padding: 25px 0;
    font-size: 0.85rem;
}

.bottom-links a {
    color: #64748b;
}

.bottom-links a:hover {
    color: var(--white);
}

/* Responsive Overrides */
@media (max-width: 991px) {
    .header-mid .custom-container {
        justify-content: space-between;
        flex-wrap: nowrap !important;
    }
    .main-navigation {
        display: none;
    }
    .mobile-nav-toggle {
        display: block;
    }
    .header-contact-group {
        display: none;
    }
    .header-actions .btn-action {
        display: none !important;
    }
    .ann-right {
        display: none !important;
    }
    .hero-heading {
        font-size: 2.3rem;
    }
    .hero-slider {
        height: 480px;
    }
    /* Make CTA buttons smaller on mobile */
    .hero-btn, 
    .btn-primary, 
    .btn-success, 
    .btn-outline-primary,
    .btn-action {
        padding: 10px 20px !important;
        font-size: 0.85rem !important;
    }
}

@media (max-width: 575px) {
    .hero-heading {
        font-size: 1.85rem;
    }
    .hero-slider {
        height: 420px;
    }
    .logo-title {
        font-size: 1.15rem;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Scroll Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}
.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}
.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}
.reveal.active,
.reveal-left.active,
.reveal-right.active {
    opacity: 1;
    transform: translate(0);
}

/* Glassmorphism Cards & Glow Effects */
.glass-card {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
}
.hover-glow {
    transition: var(--transition);
}
.hover-glow:hover {
    border-color: var(--secondary-color) !important;
    box-shadow: 0 12px 35px rgba(50, 140, 193, 0.18) !important;
}

/* Button & Icon micro-interactions */
.btn-primary, .btn-success, .btn-outline-primary {
    border-radius: 30px !important;
    padding: 12px 28px !important;
    font-weight: 600 !important;
    font-family: var(--font-body) !important;
    transition: var(--transition) !important;
}

.btn-primary {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%) !important;
    border: none !important;
    color: var(--white) !important;
    box-shadow: 0 4px 15px rgba(50, 140, 193, 0.25) !important;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #4da3d4 0%, var(--primary-dark) 100%) !important;
    color: var(--white) !important;
    transform: translateY(-2px) scale(1.02) !important;
    box-shadow: 0 8px 22px rgba(50, 140, 193, 0.4) !important;
}

.btn-success {
    background: linear-gradient(135deg, #2ae773 0%, var(--whatsapp-color) 100%) !important;
    border: none !important;
    color: var(--white) !important;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3) !important;
}

.btn-success:hover {
    background: linear-gradient(135deg, #32e06b 0%, #1ebd57) !important;
    color: var(--white) !important;
    transform: translateY(-2px) scale(1.02) !important;
    box-shadow: 0 8px 22px rgba(37, 211, 102, 0.45) !important;
}

.btn-outline-primary {
    border: 2px solid var(--primary-color) !important;
    color: var(--primary-color) !important;
    background: transparent !important;
}

.btn-outline-primary:hover {
    background: var(--primary-color) !important;
    color: var(--white) !important;
    transform: translateY(-2px) scale(1.02) !important;
    box-shadow: 0 6px 18px rgba(11, 60, 93, 0.2) !important;
}

.btn-action i, .btn-primary i, .btn-success i, .btn-outline-primary i {
    transition: transform 0.3s ease;
}
.btn-action:hover i, .btn-primary:hover i, .btn-success:hover i, .btn-outline-primary:hover i {
    transform: translateX(4px);
}

/* Card hover icons shifting */
.premium-card {
    position: relative;
    overflow: hidden;
}
.premium-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}
.premium-card:hover::before {
    transform: scaleX(1);
}
.premium-card:hover .icon-box-premium {
    background: var(--primary-color);
    color: var(--white);
    transform: scale(1.1) rotate(5deg);
}
.icon-box-premium {
    transition: var(--transition);
}

/* Text Gradients */
.text-gradient {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

/* Floating Background Blur Orbs */
.blur-orb {
    position: fixed;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.06;
    z-index: -1;
    pointer-events: none;
    animation: orbFloat 30s infinite alternate ease-in-out;
}
.orb-1 {
    background-color: var(--secondary-color);
    top: 15%;
    left: -150px;
}
.orb-2 {
    background-color: var(--accent-color);
    bottom: 20%;
    right: -150px;
    animation-delay: -8s;
}
@keyframes orbFloat {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(60px, 90px) scale(1.15); }
    100% { transform: translate(-40px, 50px) scale(0.85); }
}

/* Form Input focus enhancements */
.form-control-custom {
    transition: var(--transition);
}
.form-control-custom:focus {
    transform: scale(1.01) translateY(-1px);
    box-shadow: 0 12px 24px rgba(50, 140, 193, 0.12) !important;
}

/* -------------------------------------------------------------
   MODERN PREMIUM ADDITIONS: HERO VIDEO & IMAGE COURSE CARDS
   ------------------------------------------------------------- */

/* Hero Video Background */
.hero-video-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 1;
}

@media (max-width: 768px) {
    .hero-video-bg {
        display: none; /* Hide video on mobile to save data and rely on static background image */
    }
}

/* Course Cards Container (Redesigned Course Cards) */
.course-cards-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    margin-top: 40px;
}

.course-card {
    position: relative;
    width: calc(20% - 20px); /* 5 cards in a row on large screens */
    min-width: 220px;
    height: 380px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background-color: var(--primary-color);
}

@media (max-width: 1200px) {
    .course-card {
        width: calc(33.333% - 16px); /* 3 cards in a row */
    }
}

@media (max-width: 768px) {
    .course-card {
        width: calc(50% - 12px); /* 2 cards in a row */
    }
}

@media (max-width: 576px) {
    .course-card {
        width: 100%; /* Full width */
    }
}

.course-card-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: var(--transition);
    z-index: 1;
}

.course-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(11, 60, 93, 0.1) 0%, rgba(11, 60, 93, 0.7) 50%, rgba(7, 42, 66, 0.95) 100%);
    transition: var(--transition);
    z-index: 2;
}

.course-card-content {
    position: relative;
    z-index: 3;
    padding: 24px;
    color: var(--white);
    transition: var(--transition);
}

.course-card-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--accent-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 15px;
    transition: var(--transition);
}

.course-card-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 8px;
    line-height: 1.2;
}

.course-card-text {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 16px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.course-card-link {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent-color);
    display: inline-flex;
    align-items: center;
    transition: var(--transition);
}

.course-card-link i {
    transition: transform 0.3s ease;
}

/* Hover effects */
.course-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.course-card:hover .course-card-img {
    transform: scale(1.1);
}

.course-card:hover .course-card-overlay {
    background: linear-gradient(180deg, rgba(11, 60, 93, 0.05) 0%, rgba(11, 60, 93, 0.6) 40%, rgba(7, 42, 66, 0.98) 100%);
}

.course-card:hover .course-card-icon {
    background: var(--accent-color);
    color: var(--primary-dark);
    border-color: var(--accent-color);
    transform: rotate(6deg) scale(1.05);
}

.course-card:hover .course-card-link {
    color: var(--white);
}

.course-card:hover .course-card-link i {
    transform: translateX(4px);
}

/* Admissions Section Layout & Images */
.admissions-section-img-wrapper {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 4px solid var(--white);
}

.admissions-section-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
    display: block;
}

.admissions-section-img-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(11, 60, 93, 0) 50%, rgba(11, 60, 93, 0.4) 100%);
    pointer-events: none;
}

.admissions-section-img-wrapper:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(50, 140, 193, 0.2);
}

.admissions-section-img-wrapper:hover .admissions-section-img {
    transform: scale(1.06);
}

/* Laboratories Page Styles & Components */
.hover-lift {
    transition: var(--transition);
}
.hover-lift:hover {
    transform: translateY(-5px);
}

.hover-glow {
    transition: var(--transition);
}
.hover-glow:hover {
    box-shadow: 0 10px 25px rgba(50, 140, 193, 0.15);
    border-color: var(--secondary-color) !important;
}

.accreditation-card {
    background: var(--white);
    border: 1px solid rgba(11, 60, 93, 0.08);
    border-radius: 16px;
    transition: var(--transition);
}

.accreditation-card:hover {
    box-shadow: var(--shadow-md);
    border-color: rgba(50, 140, 193, 0.3);
}

.acc-icon-box {
    width: 48px;
    height: 48px;
    background: rgba(11, 60, 93, 0.05);
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.25rem;
    transition: var(--transition);
}

.accreditation-card:hover .acc-icon-box {
    background: var(--primary-color);
    color: var(--white);
    transform: scale(1.05);
}

/* Timeline Pipeline */
.timeline-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    position: relative;
}

@media (max-width: 991px) {
    .timeline-steps {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575px) {
    .timeline-steps {
        grid-template-columns: 1fr;
    }
}

.step-card {
    position: relative;
    background: var(--light-bg);
    border: 1px solid rgba(11, 60, 93, 0.08);
    border-radius: 16px;
    transition: var(--transition);
    padding: 24px 16px !important;
}

.step-card:hover {
    background: var(--white);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.step-number {
    position: absolute;
    top: 12px;
    right: 16px;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: rgba(11, 60, 93, 0.15);
    line-height: 1;
    transition: var(--transition);
}

.step-card:hover .step-number {
    color: rgba(50, 140, 193, 0.25);
}

.step-icon {
    width: 52px;
    height: 52px;
    background: var(--white);
    border-radius: 50%;
    box-shadow: var(--shadow-sm);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
    border: 1px solid rgba(11, 60, 93, 0.05);
    transition: var(--transition);
}

.step-card:hover .step-icon {
    background: var(--secondary-color);
    color: var(--white);
    transform: scale(1.1);
}

/* Category Filter Tabs */
.lab-tabs-container {
    display: inline-flex;
    background: #f1f5f9;
    padding: 4px;
    border-radius: 30px;
    border: 1px solid rgba(11, 60, 93, 0.05);
}

.lab-tab-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 8px 18px;
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition);
}

.lab-tab-btn:hover {
    color: var(--primary-color);
}

.lab-tab-btn.active {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    box-shadow: 0 4px 10px rgba(11, 60, 93, 0.2);
}

.package-card-wrapper {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Form Glassmorphism */
.form-glass {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: var(--shadow-lg);
    border-radius: 20px;
    padding: 30px;
}

.form-control-custom {
    display: block;
    width: 100%;
    padding: 12px 16px;
    font-size: 0.95rem;
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.5;
    color: var(--dark-color);
    background-color: var(--white);
    background-clip: padding-box;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    transition: var(--transition);
}

.form-control-custom:focus {
    color: var(--dark-color);
    background-color: var(--white);
    border-color: var(--secondary-color);
    outline: 0;
    box-shadow: 0 0 0 4px rgba(50, 140, 193, 0.15);
}

/* FAQ Accordion Overrides */
.custom-accordion .accordion-item {
    border: 1px solid rgba(11, 60, 93, 0.08);
    border-radius: 12px !important;
    margin-bottom: 12px;
    overflow: hidden;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.custom-accordion .accordion-item:hover {
    box-shadow: var(--shadow-md);
    border-color: rgba(50, 140, 193, 0.2);
}

.custom-accordion .accordion-header {
    margin-bottom: 0;
}

.custom-accordion .accordion-button {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--primary-color);
    background: var(--white);
    padding: 18px 24px;
    box-shadow: none;
    border: none;
    transition: var(--transition);
}

.custom-accordion .accordion-button:not(.collapsed) {
    color: var(--white);
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.custom-accordion .accordion-button::after {
    filter: grayscale(1) brightness(0.2);
    transition: var(--transition);
}

.custom-accordion .accordion-button:not(.collapsed)::after {
    filter: brightness(0) invert(1);
}

.custom-accordion .accordion-body {
    padding: 20px 24px;
    background: var(--light-bg);
    border-top: 1px solid rgba(11, 60, 93, 0.05);
}

/* Animations */
@keyframes pulseGlow {
    0% {
        box-shadow: 0 0 0 0 rgba(50, 140, 193, 0.4);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 0 0 15px rgba(50, 140, 193, 0);
        transform: scale(1.02);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(50, 140, 193, 0);
        transform: scale(1);
    }
}

/* Testimonials Styling */
.testimonial-card {
    background: var(--white);
    border: 1px solid rgba(11, 60, 93, 0.08) !important;
    border-radius: 16px !important;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.testimonial-card:hover {
    border-color: rgba(50, 140, 193, 0.3) !important;
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

.testimonial-card .avatar {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)) !important;
    box-shadow: var(--shadow-sm);
}

.testimonial-card .rating-stars i {
    font-size: 0.85rem;
    margin-right: 2px;
}

/* Swiper pagination customization */
.testimonialSwiper .swiper-pagination-bullet-active {
    background: var(--primary-color) !important;
    width: 24px;
    border-radius: 4px;
    transition: width 0.3s ease;
}

/* Animated Price Badge */
.animated-price-badge {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%) !important;
    color: var(--white) !important;
    padding: 10px 26px !important;
    font-size: 1.15rem !important;
    font-weight: 800 !important;
    border-radius: 30px !important;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(50, 140, 193, 0.25);
    border: none;
    animation: badgePulse 2s infinite ease-in-out;
    letter-spacing: 0.5px;
}

@keyframes badgePulse {
    0% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(50, 140, 193, 0.25);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 8px 25px rgba(50, 140, 193, 0.45);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(50, 140, 193, 0.25);
    }
}