@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300..700&display=swap');

:root {
    --primary-blue: #1e3a5f;
    --secondary-gold: #d4af37;
    --light-blue: #3d6b99;
    --dark-blue: #0f1f2e;
    --white: #ffffff;
    --light-gray: #f5f7fa;
    --gradient-primary: linear-gradient(135deg, #1e3a5f 0%, #3d6b99 50%, #2c4f6f 100%);
    --gradient-gold: linear-gradient(135deg, #d4af37 0%, #f4d03f 50%, #e8c547 100%);
    --gradient-hero: linear-gradient(135deg, rgba(30, 58, 95, 0.95) 0%, rgba(61, 107, 153, 0.9) 100%);
    --shadow-sm: 0 2px 8px rgba(30, 58, 95, 0.08);
    --shadow-md: 0 8px 24px rgba(30, 58, 95, 0.12);
    --shadow-lg: 0 16px 48px rgba(30, 58, 95, 0.16);
    --shadow-xl: 0 24px 64px rgba(30, 58, 95, 0.2);

    /* Text Colors - Modern & Professional */
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --text-muted: #94a3b8;
    --text-light: rgba(255, 255, 255, 0.95);
    --text-white: #ffffff;
    --text-accent: #d4af37;

    /* Typography Scale */
    --font-size-xs: 0.75rem;
    /* 12px */
    --font-size-sm: 0.875rem;
    /* 14px */
    --font-size-base: 1rem;
    /* 16px */
    --font-size-lg: 1.125rem;
    /* 18px */
    --font-size-xl: 1.25rem;
    /* 20px */
    --font-size-2xl: 1.5rem;
    /* 24px */
    --font-size-3xl: 1.875rem;
    /* 30px */
    --font-size-4xl: 2.25rem;
    /* 36px */
    --font-size-5xl: 3rem;
    /* 48px */
    --font-size-6xl: 3.5rem;
    /* 56px */

    /* Font Weights */
    --font-weight-light: 300;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;

    /* Line Heights */
    --line-height-tight: 1.2;
    --line-height-normal: 1.5;
    --line-height-relaxed: 1.75;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Quicksand", sans-serif;
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-normal);
    line-height: var(--line-height-normal);
    overflow-x: hidden;
    color: var(--text-primary);
    scroll-behavior: smooth;
    background: #ffffff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography Base Styles */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Quicksand", sans-serif;
    font-weight: var(--font-weight-bold);
    line-height: var(--line-height-tight);
    color: var(--text-primary);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

h1 {
    font-size: var(--font-size-6xl);
    font-weight: var(--font-weight-bold);
}

h2 {
    font-size: var(--font-size-4xl);
    font-weight: var(--font-weight-bold);
}

h3 {
    font-size: var(--font-size-3xl);
    font-weight: var(--font-weight-bold);
}

h4 {
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-semibold);
}

h5 {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-semibold);
}

h6 {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-semibold);
}

p {
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-normal);
    line-height: var(--line-height-relaxed);
    margin-bottom: 1rem;
    color: var(--text-primary);
}

a {
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-medium);
}

small {
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-normal);
}

strong,
b {
    font-weight: var(--font-weight-bold);
}

/* Smooth scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-blue);
}

/* Navbar Styles */
.navbar {
    background: var(--white);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: box-shadow 0.3s ease;
    min-height: 80px;
    display: flex;
    align-items: center;
}

.navbar-scrolled {
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.15);
}

.navbar .container {
    display: flex;
    align-items: center;
    width: 100%;
}

.navbar-brand {
    display: flex;
    align-items: center;
    height: 60px;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.navbar-scrolled .navbar-brand {
    transform: scale(0.9);
    transform-origin: left center;
}

.navbar-brand img {
    height: auto;
    width: 100px;
    max-height: 60px;
    transition: transform 0.3s ease;
    object-fit: contain;
    display: block;
}

.navbar-scrolled .navbar-brand img {
    transform: scale(0.9);
}

.navbar-nav .nav-link {
    color: var(--primary-blue) !important;
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-semibold);
    line-height: var(--line-height-normal);
    margin: 0 10px;
    position: relative;
    transition: all 0.3s ease;
    padding: 8px 15px !important;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--secondary-gold) !important;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--secondary-gold);
    transition: all 0.3s ease;
    transform: translateX(-50%);
    border-radius: 2px;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 80%;
}

.navbar-toggler {
    border-color: var(--primary-blue);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(44, 79, 111, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(44, 79, 111, 0.25);
}

/* Dropdown Styles */
.dropdown-menu {
    background: var(--white);
    border: 2px solid var(--primary-blue);
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    padding: 10px 0;
}

.dropdown-item {
    color: var(--primary-blue);
    font-weight: 500;
    padding: 10px 25px;
    transition: all 0.3s ease;
}

.dropdown-item:hover,
.dropdown-item:focus {
    background: var(--secondary-gold);
    color: var(--white);
}

.dropdown-item.active {
    background: var(--secondary-gold);
    color: var(--white);
}

.dropdown-toggle::after {
    color: var(--primary-blue);
}

.nav-item.dropdown:hover .dropdown-menu {
    display: block;
}

/* Authentication Icons */
.navbar-nav .nav-link i.fa-lg {
    font-size: 1.2rem;
    transition: transform 0.3s ease, color 0.3s ease;
}

.navbar-nav .nav-link:hover i.fa-lg {
    transform: scale(1.15);
}

.navbar-nav .nav-link button.btn-link {
    padding: 0;
    margin: 0;
    color: var(--primary-blue) !important;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link button.btn-link:hover {
    color: var(--secondary-gold) !important;
}

.navbar-nav .nav-link button.btn-link i {
    transition: transform 0.3s ease;
}

.navbar-nav .nav-link button.btn-link:hover i {
    transform: scale(1.15);
}

/* Dropdown wrapper for clickable parent link */
.nav-item.dropdown {
    position: static;
}

.dropdown-wrapper {
    display: flex;
    align-items: center;
    position: static;
}

.dropdown-wrapper .nav-link {
    margin-right: 0;
    padding-right: 5px !important;
}

.dropdown-toggle-btn {
    background: none;
    border: none;
    color: var(--primary-blue);
    padding: 8px 5px 8px 0;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
}

.dropdown-toggle-btn:hover {
    color: var(--secondary-gold);
}

.dropdown-toggle-btn:focus {
    outline: none;
    box-shadow: none;
}

.nav-item.dropdown:hover .dropdown-toggle-btn {
    color: var(--secondary-gold);
}

/* Ensure dropdown works on hover */
.nav-item.dropdown:hover .dropdown-menu,
.dropdown-wrapper:hover .dropdown-menu {
    display: block !important;
}

/* Position dropdown properly below parent nav item */
.nav-item.dropdown {
    position: relative;
}

.nav-item.dropdown .dropdown-menu {
    position: absolute !important;
    top: calc(100% + 8px) !important;
    left: 0 !important;
    margin-top: 0 !important;
    min-width: 220px;
    transform: translateY(0) !important;
    z-index: 1050;
}

/* Hero Slider */
.hero-slider {
    position: relative;
    height: 90vh;
    overflow: hidden;
}

/* Override Bootstrap carousel opacity - MUST be after Bootstrap CSS */
.carousel-item {
    opacity: 1 !important;
}

.carousel-item:not(.active) {
    opacity: 1 !important;
    display: none;
}

.carousel-item.active {
    opacity: 1 !important;
    display: block;
}

/* Force visibility on all carousel content */
#heroCarousel .carousel-item .hero-content,
#heroCarousel .carousel-item.active .hero-content,
#heroCarousel .hero-content,
#heroCarousel .hero-content h1,
#heroCarousel .hero-content p,
#heroCarousel .hero-content div,
#heroCarousel .hero-content a {
    opacity: 1 !important;
    visibility: visible !important;
    color: var(--text-white) !important;
}

#heroCarousel .hero-content a:hover {
    color: var(--primary-blue) !important;
}

.hero-slide {
    height: 90vh;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--light-blue) 100%);
    display: flex;
    align-items: center;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-slide-1 {
    background-image: linear-gradient(135deg, rgba(44, 79, 111, 0.85) 0%, rgba(74, 111, 143, 0.85) 100%), url('https://images.unsplash.com/photo-1523240795612-9a054b0db644?w=1920');
}

.hero-slide-2 {
    background-image: linear-gradient(135deg, rgba(44, 79, 111, 0.85) 0%, rgba(74, 111, 143, 0.85) 100%), url('https://images.unsplash.com/photo-1522202176988-66273c2fd55f?w=1920');
}

.hero-slide-3 {
    background-image: linear-gradient(135deg, rgba(44, 79, 111, 0.85) 0%, rgba(74, 111, 143, 0.85) 100%), url('https://images.unsplash.com/photo-1524178232363-1fb2b075b655?w=1920');
}

.hero-slide-4 {
    background-image: linear-gradient(135deg, rgba(44, 79, 111, 0.85) 0%, rgba(74, 111, 143, 0.85) 100%), url('https://images.unsplash.com/photo-1427504494785-3a9ca7044f45?w=1920');
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c9a961' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.3;
}

.hero-content {
    z-index: 2;
    color: var(--text-white);
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
}

.hero-content * {
    opacity: 1 !important;
    visibility: visible !important;
    color: var(--text-white) !important;
}

.hero-content h1,
.hero-content p,
.hero-content div,
.hero-content a {
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
    animation: none !important;
}

.hero-content a {
    display: inline-block !important;
}

.carousel-item .hero-content,
.carousel-item.active .hero-content,
.carousel-item:not(.active) .hero-content,
.carousel-item.active .hero-content *,
.carousel-item .hero-content * {
    opacity: 1 !important;
    visibility: visible !important;
}

.carousel-item .hero-content h1,
.carousel-item .hero-content p,
.carousel-item .hero-content div,
.carousel-item.active .hero-content h1,
.carousel-item.active .hero-content p,
.carousel-item.active .hero-content div {
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
    animation: none !important;
}

.hero-content h1 {
    font-size: var(--font-size-6xl);
    font-weight: var(--font-weight-bold);
    line-height: var(--line-height-tight);
    margin-bottom: 1.5rem;
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
    animation: none !important;
}

.hero-content p {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-normal);
    line-height: var(--line-height-relaxed);
    margin-bottom: 2rem;
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
    animation: none !important;
}

.btn-primary-custom {
    background: var(--gradient-gold);
    border: none;
    padding: 16px 40px;
    font-size: var(--font-size-base);
    border-radius: 50px;
    color: var(--text-white);
    font-weight: var(--font-weight-semibold);
    line-height: var(--line-height-normal);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    margin: 0 10px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(212, 175, 55, 0.35);
    opacity: 1 !important;
    visibility: visible !important;
    display: inline-block !important;
    animation: none !important;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.btn-primary-custom::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary-custom:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary-custom:hover {
    background: var(--white);
    color: var(--primary-blue) !important;
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 12px 32px rgba(212, 175, 55, 0.45);
    border: 2px solid var(--secondary-gold);
}

.btn-primary-custom:active {
    transform: translateY(-2px) scale(1.02);
}

.btn-outline-custom {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 16px 40px;
    font-size: var(--font-size-base);
    border-radius: 50px;
    color: var(--text-white);
    font-weight: var(--font-weight-semibold);
    line-height: var(--line-height-normal);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    margin: 0 10px;
    position: relative;
    overflow: hidden;
    opacity: 1 !important;
    visibility: visible !important;
    display: inline-block !important;
    animation: none !important;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 0.9rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.btn-outline-custom::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--white);
    transition: left 0.4s ease;
    z-index: -1;
}

.btn-outline-custom:hover::before {
    left: 0;
}

.btn-outline-custom:hover {
    background: var(--white);
    color: var(--primary-blue) !important;
    border-color: var(--white);
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 12px 32px rgba(255, 255, 255, 0.4);
}

@keyframes fadeInUp {
    from {
        opacity: 1;
        transform: translateY(0);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section {
    padding: 100px 0;
    margin: 0;
}

.section .container {
    padding-top: 0;
    padding-bottom: 0;
}

/* Ensure batch announcement section has proper spacing */
#batch-announcement {
    padding-top: 100px;
    padding-bottom: 100px;
}

#batch-announcement .container {
    padding-top: 0;
    padding-bottom: 0;
}

/* Ensure consistent spacing between sections */
.section+.section {
    margin-top: 0;
}

/* Remove any conflicting margins from rows inside sections */
.section .row.mt-5,
.section .row.mb-5,
.section .row.mt-2,
.section .row.mt-4 {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

#courses {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 50%, #ffffff 100%);
    position: relative;
    padding: 100px 0 !important;
}

#courses::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(30, 58, 95, 0.1), transparent);
}

.section-title {
    text-align: center;
    margin-top: 0;
    margin-bottom: 60px;
    padding-top: 0;
    padding-bottom: 0;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Remove any extra margins from section titles */
.section .section-title:first-child {
    margin-top: 0;
}

.section .section-title:last-child {
    margin-bottom: 0;
}

/* Add spacing for section titles that are not first child */
.section .section-title:not(:first-child) {
    margin-top: 80px;
    margin-bottom: 60px;
}

/* Ensure proper spacing for "Why Choose Vidya Lift?" section */
#courses .section-title:not(:first-child) {
    margin-top: 80px;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: var(--font-size-4xl);
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
    line-height: var(--line-height-tight);
    margin-top: 0;
    margin-bottom: 15px;
    padding-top: 0;
    position: relative;
    display: inline-block;
    opacity: 1 !important;
    visibility: visible !important;
    animation: none !important;
    letter-spacing: -0.03em;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-gold);
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(201, 169, 97, 0.4);
}

.section-title p {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-medium);
    color: var(--text-secondary);
    line-height: var(--line-height-relaxed);
    margin-top: 25px;
    margin-bottom: 0;
    padding-top: 0;
    padding-bottom: 0;
    opacity: 1 !important;
    visibility: visible !important;
    animation: none !important;
    letter-spacing: 0.01em;
}

/* Override colors for dark sections */
.video-section .section-title h2,
.cta-section .section-title h2 {
    color: var(--text-white) !important;
}

.video-section .section-title p,
.cta-section .section-title p {
    color: var(--text-light) !important;
}

.about-section {
    background: linear-gradient(180deg, #ffffff 0%, var(--light-gray) 50%, #ffffff 100%);
    position: relative;
    padding: 100px 0 !important;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(30, 58, 95, 0.1), transparent);
}

.about-card {
    background: var(--white);
    padding: 45px 40px;
    border-radius: 24px;
    box-shadow: var(--shadow-md);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(30, 58, 95, 0.08);
    backdrop-filter: blur(10px);
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0.05;
    transition: left 0.5s ease;
    z-index: 0;
}

.about-card:hover::before {
    left: 0;
}

.about-card:hover {
    transform: translateY(-12px) scale(1.01);
    box-shadow: var(--shadow-xl);
    border-color: var(--secondary-gold);
    background: linear-gradient(135deg, #ffffff 0%, #fafbfc 100%);
}

.about-card>* {
    position: relative;
    z-index: 1;
}

.about-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: var(--white);
    font-size: 2rem;
    box-shadow: 0 8px 20px rgba(44, 79, 111, 0.3);
    transition: all 0.5s ease;
}

.about-card:hover .about-icon {
    transform: rotate(360deg) scale(1.1);
    box-shadow: 0 12px 30px rgba(44, 79, 111, 0.4);
}

.video-section {
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--primary-blue) 100%);
    color: var(--white);
    padding: 100px 0 !important;
}

.video-section .section-title h2 {
    color: var(--text-white) !important;
}

.video-section .section-title p {
    color: rgba(255, 255, 255, 0.9) !important;
}

.video-section p,
.video-section * {
    color: var(--text-white);
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Modern Course Cards Design */
.course-card {
    background: var(--white);
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(30, 58, 95, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    position: relative;
    border: 1px solid rgba(30, 58, 95, 0.06);
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(10px);
}

.course-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2;
}

.course-card:hover::before {
    transform: scaleX(1);
}

.course-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(30, 58, 95, 0.15);
    border-color: rgba(212, 175, 55, 0.2);
}

/* First card special styling - Gold header */
#courses .row>div:first-child .course-header {
    background: linear-gradient(135deg, #d4af37 0%, #f4d03f 50%, #e8c547 100%);
}

/* Alternative selector for first card */
.row.g-4>div:first-child .course-card .course-header {
    background: linear-gradient(135deg, #d4af37 0%, #f4d03f 50%, #e8c547 100%);
}

.course-header {
    background: var(--gradient-primary);
    color: var(--text-white);
    padding: 40px 30px 35px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.course-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 0;
    }

    50% {
        opacity: 0.1;
    }
}

.course-card:hover .course-header::before {
    opacity: 0.2;
    animation: none;
}

.course-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
}

.course-header i {
    font-size: 3.5rem;
    margin-bottom: 20px;
    display: inline-block;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
    position: relative;
    z-index: 1;
}

.course-card:hover .course-header i {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.3));
}

.course-header h4 {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-bold);
    line-height: var(--line-height-tight);
    color: var(--text-white);
    margin: 0;
    letter-spacing: -0.02em;
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.course-body {
    padding: 35px 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    background: linear-gradient(180deg, #ffffff 0%, #fafbfc 100%);
}

.course-body p {
    color: var(--text-secondary);
    line-height: var(--line-height-relaxed);
    font-size: var(--font-size-base);
    margin-bottom: 24px;
    flex-grow: 1;
}

.course-body ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.course-body ul li {
    color: var(--text-primary);
    line-height: var(--line-height-normal);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    position: relative;
    padding-left: 24px;
    transition: all 0.3s ease;
}

.course-body ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--secondary-gold);
    font-weight: var(--font-weight-bold);
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(212, 175, 55, 0.12);
    border-radius: 50%;
    font-size: 0.7rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(212, 175, 55, 0.2);
}

.course-card:hover .course-body ul li {
    transform: translateX(4px);
    color: var(--text-primary);
}

.course-card:hover .course-body ul li::before {
    background: var(--secondary-gold);
    color: var(--white);
    transform: scale(1.1);
}

/* Modern Feature Cards Design */
.feature-card {
    background: var(--white);
    border-radius: 20px;
    padding: 35px 30px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border: 1px solid rgba(30, 58, 95, 0.08);
    box-shadow: 0 4px 20px rgba(30, 58, 95, 0.06);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.05) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feature-card:hover::after {
    opacity: 1;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(30, 58, 95, 0.12);
    border-color: rgba(212, 175, 55, 0.2);
    background: linear-gradient(180deg, #ffffff 0%, #fafbfc 100%);
}

.feature-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(212, 175, 55, 0.15) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
}

.feature-icon i {
    font-size: 2rem;
    color: var(--secondary-gold);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 2px 4px rgba(212, 175, 55, 0.3));
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.2) 0%, rgba(212, 175, 55, 0.25) 100%);
    box-shadow: 0 8px 24px rgba(212, 175, 55, 0.25);
}

.feature-card:hover .feature-icon i {
    transform: scale(1.1);
    filter: drop-shadow(0 4px 8px rgba(212, 175, 55, 0.4));
}

.feature-card h5 {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
    margin-bottom: 12px;
    letter-spacing: -0.01em;
    position: relative;
    z-index: 1;
}

.feature-card p {
    font-size: var(--font-size-base);
    color: var(--text-secondary);
    line-height: var(--line-height-relaxed);
    margin: 0;
    position: relative;
    z-index: 1;
}


/* Modern Batch Announcement Design */
.batch-announcement {
    background: var(--white);
    padding: 60px 40px;
    border-radius: 28px;
    margin-top: 0;
    margin-bottom: 0;
    box-shadow: 0 8px 32px rgba(30, 58, 95, 0.1);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(30, 58, 95, 0.08);
}

.batch-announcement::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-gold);
}

/* Blurred Header Section */
.batch-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 30px;
    background: rgba(30, 58, 95, 0.03);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(30, 58, 95, 0.08);
    position: relative;
}

.batch-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.05) 0%, transparent 100%);
    border-radius: 20px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.batch-header:hover::before {
    opacity: 1;
}

.batch-header i {
    font-size: 2.5rem;
    color: var(--secondary-gold);
    margin-bottom: 15px;
    display: block;
    filter: drop-shadow(0 2px 4px rgba(212, 175, 55, 0.3));
}

.batch-header h3 {
    font-size: var(--font-size-3xl);
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
    margin-bottom: 12px;
    letter-spacing: -0.02em;
    position: relative;
    z-index: 1;
}

.batch-header p {
    font-size: var(--font-size-lg);
    color: var(--text-secondary);
    margin: 0;
    position: relative;
    z-index: 1;
}

.batch-header p strong {
    color: var(--primary-blue);
    font-weight: var(--font-weight-bold);
}

/* Batch Cards */
.batch-card {
    background: var(--white);
    padding: 35px 25px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(30, 58, 95, 0.1);
    box-shadow: 0 4px 16px rgba(30, 58, 95, 0.06);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.batch-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.batch-card:hover::before {
    transform: scaleX(1);
}

.batch-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(30, 58, 95, 0.12);
    border-color: var(--secondary-gold);
}

.batch-card-icon {
    width: 70px;
    height: 70px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(30, 58, 95, 0.08) 0%, rgba(30, 58, 95, 0.12) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.batch-card-icon i {
    font-size: 1.75rem;
    color: var(--primary-blue);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.batch-card:hover .batch-card-icon {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.15) 0%, rgba(212, 175, 55, 0.2) 100%);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.2);
}

.batch-card:hover .batch-card-icon i {
    color: var(--secondary-gold);
    transform: scale(1.1);
}

.batch-card h5 {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}

.batch-card p {
    font-size: var(--font-size-base);
    color: var(--text-secondary);
    margin: 0;
    line-height: var(--line-height-relaxed);
}

/* Batch Footer */
.batch-footer {
    text-align: center;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(30, 58, 95, 0.1);
}

.batch-notice {
    font-size: var(--font-size-lg);
    color: var(--text-secondary);
    margin-bottom: 25px;
}

.batch-notice strong {
    color: var(--primary-blue);
    font-weight: var(--font-weight-bold);
}

.testimonial-card {
    background: var(--white);
    padding: 45px 40px;
    border-radius: 24px;
    box-shadow: var(--shadow-md);
    margin: 15px;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    border: 1px solid rgba(212, 175, 55, 0.15);
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 20px;
    font-size: 120px;
    color: var(--secondary-gold);
    opacity: 0.1;
    font-family: Georgia, serif;
    line-height: 1;
    transition: all 0.5s ease;
}

.testimonial-card:hover::before {
    opacity: 0.2;
    transform: scale(1.1);
}

.testimonial-card:hover {
    transform: translateY(-10px) scale(1.01);
    box-shadow: var(--shadow-xl);
    border-color: var(--secondary-gold);
    background: linear-gradient(135deg, #ffffff 0%, #fefefe 100%);
}

.testimonial-card p {
    color: var(--text-primary);
    line-height: var(--line-height-relaxed);
    font-size: var(--font-size-lg);
    margin-bottom: 0;
}

.testimonial-author {
    margin-top: 25px;
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-semibold);
    line-height: var(--line-height-normal);
    color: var(--text-primary);
}

.testimonial-author strong {
    color: var(--text-primary);
    font-weight: var(--font-weight-bold);
}

.testimonial-author small {
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    color: var(--text-accent);
}

.cta-section {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    color: var(--white);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    margin: 0;
}

.cta-section .section-title {
    margin-top: 0;
    margin-bottom: 60px;
}

.cta-section .section-title h2 {
    color: var(--text-white) !important;
}

.cta-section .section-title p,
.cta-section p,
.cta-section .lead,
.cta-section * {
    color: var(--text-white) !important;
}

.cta-content h2 {
    color: var(--text-white) !important;
}

.cta-content p {
    color: var(--text-light) !important;
}

.footer {
    background: var(--dark-blue);
    color: var(--text-white);
    padding: 60px 0 20px;
}

.footer * {
    color: var(--text-white);
}

.footer h5 {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-semibold);
    line-height: var(--line-height-tight);
    color: var(--secondary-gold) !important;
    margin-bottom: 25px;
}

.footer ul {
    list-style: none;
    padding: 0;
}

.footer ul li {
    margin-bottom: 12px;
}

.footer ul li a {
    color: var(--text-white) !important;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer ul li a:hover {
    color: var(--secondary-gold) !important;
    padding-left: 5px;
}

.social-icons a {
    display: inline-block;
    width: 45px;
    height: 45px;
    background: var(--primary-blue);
    border-radius: 50%;
    text-align: center;
    line-height: 45px;
    margin-right: 10px;
    color: var(--white);
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background: var(--secondary-gold);
    transform: translateY(-5px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 40px;
    padding-top: 30px;
    text-align: center;
}

.stats-box {
    text-align: center;
    padding: 35px 25px;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid rgba(30, 58, 95, 0.08);
    border-radius: 20px;
    transition: all 0.4s ease;
}

.stats-box:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--secondary-gold);
}

.stats-box i {
    font-size: 3rem;
    color: var(--secondary-gold);
    margin-bottom: 15px;
    filter: drop-shadow(0 2px 4px rgba(212, 175, 55, 0.3));
}

.stats-box h3 {
    font-size: var(--font-size-4xl);
    font-weight: var(--font-weight-bold);
    line-height: var(--line-height-tight);
    color: var(--text-primary);
    margin-bottom: 10px;
}

.stats-box p {
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-medium);
    line-height: var(--line-height-normal);
    margin-bottom: 0;
    color: var(--text-secondary);
}

.highlight-box {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 25px;
    border-radius: 16px;
    margin: 15px 0;
    border-left: 4px solid var(--secondary-gold);
    transition: all 0.3s ease;
}

.highlight-box:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(4px);
}

.highlight-box h5 {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-bold);
    line-height: var(--line-height-tight);
    margin-bottom: 0.5rem;
    color: var(--text-white);
}

.highlight-box p {
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-normal);
    line-height: var(--line-height-normal);
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.95);
}

@media (max-width: 768px) {

    /* Authentication icons in mobile view */
    .navbar-nav .nav-link i.fa-lg {
        font-size: 1.3rem;
    }

    .navbar-nav .nav-item .nav-link {
        padding: 0.5rem 1rem;
    }

    .navbar-nav .nav-link button.btn-link {
        padding: 0.5rem 1rem;
    }

    .hero-content h1,
    #heroCarousel .hero-content h1 {
        font-size: var(--font-size-4xl);
        opacity: 1 !important;
        visibility: visible !important;
    }

    .hero-content p,
    #heroCarousel .hero-content p {
        font-size: var(--font-size-lg);
        opacity: 1 !important;
        visibility: visible !important;
    }

    .section-title h2 {
        font-size: var(--font-size-3xl);
    }

    h1 {
        font-size: var(--font-size-5xl);
    }

    h2 {
        font-size: var(--font-size-3xl);
    }

    h3 {
        font-size: var(--font-size-2xl);
    }

    h4 {
        font-size: var(--font-size-xl);
    }

    h5 {
        font-size: var(--font-size-lg);
    }

    h6 {
        font-size: var(--font-size-base);
    }

    .btn-primary-custom,
    .btn-outline-custom {
        padding: 12px 25px;
        font-size: var(--font-size-sm);
        margin: 5px;
    }

    .stats-box h3 {
        font-size: var(--font-size-3xl);
    }

    .batch-header h3 {
        font-size: var(--font-size-2xl);
    }

    .batch-header {
        padding: 25px 20px;
    }

    .batch-card {
        padding: 30px 20px;
    }

    .batch-announcement {
        padding: 40px 25px;
    }
}

section#testimonials {
    padding: 0 !important;
}

.statsec {
    margin-top: 80px;
}