/* UPLERN LMS Custom Styles - New Vibrant Design */

:root {
    /* New Vibrant Color Palette */
    --primary-blue: #4318FF;
    --primary-purple: #9747FF;
    --accent-peach: #F4B860;
    --accent-pink: #EC4899;
    --accent-coral: #F4A582;
    --accent-magenta: #D946EF;
    --accent-light-purple: #A855F7;
    --accent-rose: #F59E9E;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #4318FF 0%, #9747FF 100%);
    --gradient-secondary: linear-gradient(135deg, #EC4899 0%, #D946EF 100%);
    --gradient-warm: linear-gradient(135deg, #F4B860 0%, #F4A582 100%);
    --gradient-vibrant: linear-gradient(135deg, #4318FF 0%, #9747FF 50%, #EC4899 100%);
    --gradient-hero: linear-gradient(135deg, #4318FF 0%, #9747FF 25%, #D946EF 75%, #EC4899 100%);

    /* Semantic Colors */
    --success-color: #10b981;
    --warning-color: #F4B860;
    --danger-color: #ef4444;
    --info-color: #3b82f6;

    /* Neutral Colors */
    --light-bg: #f8f9fa;
    --dark-text: #1f2937;
    --gray-text: #6b7280;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(67, 24, 255, 0.1);
    --shadow: 0 8px 20px rgba(67, 24, 255, 0.15);
    --shadow-lg: 0 15px 40px rgba(67, 24, 255, 0.2);
    --shadow-colored: 0 10px 30px rgba(151, 71, 255, 0.3);

    /* Border Radius */
    --border-radius: 20px;
    --border-radius-sm: 12px;
    --border-radius-lg: 30px;
}

body {
    font-family: 'Manrope', sans-serif !important;
    font-weight: 300;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Manrope', sans-serif !important;
}

/* ========================================
   NEW VIBRANT DESIGN SYSTEM
   ======================================== */

/* Buttons */
.btn-primary {
    background: var(--gradient-primary) !important;
    border: none !important;
    color: white !important;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(67, 24, 255, 0.3);
}

.btn-primary:hover {
    background: #F4320B !important;
    box-shadow: 0 6px 20px rgba(244, 50, 11, 0.4);
    color: white !important;
}

.btn-warning {
    background: var(--gradient-warm) !important;
    border: none !important;
    color: #1f2937 !important;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(244, 184, 96, 0.3);
}

.btn-warning:hover {
    background: linear-gradient(135deg, #F4A582 0%, #EC4899 100%) !important;
    box-shadow: 0 6px 20px rgba(236, 72, 153, 0.4);
    color: white !important;
}

.btn-outline-primary {
    border: 2px solid var(--primary-blue) !important;
    color: var(--primary-blue) !important;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background: #F4320B !important;
    border-color: transparent !important;
    color: white !important;
}

/* Cards */
.card {
    border: 1px solid rgba(67, 24, 255, 0.1);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.card:hover {
    box-shadow: var(--shadow-colored);
    border-color: rgba(151, 71, 255, 0.3);
}

.card-header {
    background: var(--gradient-primary);
    color: white;
    border-bottom: none;
    font-weight: 600;
}

/* Links */
a {
    color: var(--primary-blue);
    transition: all 0.3s ease;
}

a:hover {
    color: var(--primary-purple);
}

.text-primary {
    color: var(--primary-blue) !important;
}

/* Badges */
.badge.bg-primary {
    background: var(--gradient-primary) !important;
}

.badge.bg-warning {
    background: var(--gradient-warm) !important;
    color: #1f2937 !important;
}

/* Offering Cards */
.offering-card {
    border: 2px solid transparent;
    background: white;
    transition: all 0.4s ease;
}

.offering-card:hover {
    border-color: var(--primary-purple);
    box-shadow: 0 10px 30px rgba(151, 71, 255, 0.2);
}

.offering-card .bi {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Course Cards */
.course-card {
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: all 0.4s ease;
    border: 2px solid transparent;
}

.course-card:hover {
    box-shadow: 0 15px 40px rgba(67, 24, 255, 0.25);
    border-color: var(--accent-pink);
}

/* Pricing Cards */
.pricing-card {
    border-radius: var(--border-radius);
    border: 2px solid rgba(67, 24, 255, 0.1);
    transition: all 0.4s ease;
}

.pricing-card:hover {
    border-color: var(--primary-purple);
    box-shadow: 0 15px 40px rgba(151, 71, 255, 0.3);
}

.pricing-card.featured {
    border-color: var(--accent-pink);
    background: linear-gradient(135deg, rgba(67, 24, 255, 0.05), rgba(236, 72, 153, 0.05));
}

/* Testimonial Cards */
.testimonial-card {
    border-radius: var(--border-radius);
    border: 2px solid rgba(151, 71, 255, 0.1);
    background: white;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    border-color: var(--accent-magenta);
    box-shadow: 0 10px 30px rgba(217, 70, 239, 0.2);
}


/* Performance-friendly overrides for small screens and low-power devices */
@media (max-width: 768px) {

    /* Soften heavy shadows on cards/buttons for smoother scrolling */
    .card,
    .pricing-card,
    .testimonial-card,
    .offering-card {
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18) !important;
    }

    /* Reduce transform distance on hover to avoid jank on touch devices */
    .card-animate:hover,
    .pricing-card:hover,
    .testimonial-card:hover,
    .course-card:hover,
    .offering-card:hover {
        transform: translateY(-4px) !important;
    }

    /* Disable complex parallax / floating effects on mobile */
    .hero-section-modern::before,
    .hero-section-modern::after,
    .bg-circle,
    .floating-elements,
    .vac-floating-elements,
    .vac-bg-elements {
        animation: none !important;
    }
}

body {
    font-family: 'Nunito', sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Professional Breadcrumb Styling */
.custom-breadcrumb {
    background: none;
    padding: 0;
    margin: 0;
    font-size: 14px;
}

.custom-breadcrumb .breadcrumb-item+.breadcrumb-item::before {
    content: "›";
    color: #6c757d;
    font-weight: 600;
}

.custom-breadcrumb .breadcrumb-item a {
    color: #6c757d !important;
    text-decoration: none;
    transition: color 0.2s ease;
}

.custom-breadcrumb .breadcrumb-item a:hover {
    color: #495057 !important;
}

.custom-breadcrumb .breadcrumb-item.active {
    color: #212529 !important;
}

/* Profile Dropdown - Below Modals */
.navbar .dropdown-menu {
    z-index: 1000 !important;
    position: absolute !important;
}

.navbar {
    z-index: 1000 !important;
}

/* Transparent Navbar for Home Page */
.navbar-transparent {
    background: transparent !important;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000 !important;
    width: 100%;
    transition: all 0.3s ease;
}

.navbar-transparent .navbar-brand img {
    filter: brightness(0) invert(1);
    /* Makes logo white */
}

.navbar .nav-link {
    font-family: 'Outfit', sans-serif !important;
    text-transform: none;
    letter-spacing: 0.05em;
    font-size: 0.9rem !important;
    font-weight: 400;
    /* Normal weight */
}

.navbar-transparent .nav-link {
    color: white !important;
}

.login-text-nav {
    font-weight: 800 !important;
}

.navbar .nav-link:hover,
.navbar-transparent .nav-link:hover,
.navbar-transparent .navbar-rod .nav-link:hover {
    color: #6366f1 !important;
    text-decoration: none;
}

.navbar-transparent .btn-outline-primary {
    border-color: white;
    color: white;
}

.navbar-transparent .btn-outline-primary:hover {
    background-color: white;
    color: var(--primary-color);
}

.navbar-transparent .btn-primary {
    background-color: #ffc107;
    border-color: #ffc107;
    color: #000;
}

.navbar-transparent .btn-primary:hover {
    background-color: #e0a800;
    border-color: #e0a800;
}

.navbar-transparent .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.3);
}

.navbar-transparent .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%28255, 255, 255, 0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Scrolled navbar effect */
.navbar-transparent.scrolled {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.navbar-transparent.scrolled .navbar-brand img {
    filter: none;
    /* Restore original logo */
}

.navbar-transparent.scrolled .nav-link {
    color: var(--dark-color) !important;
}

.navbar-transparent.scrolled .nav-link:hover {
    color: #6366f1 !important;
}

.navbar-transparent.scrolled .btn-outline-primary {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.navbar-transparent.scrolled .btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: white;
}

.navbar-transparent.scrolled .btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.navbar-transparent.scrolled .navbar-toggler {
    border-color: rgba(0, 0, 0, 0.1);
}

.navbar-transparent.scrolled .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%2833, 37, 41, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Mobile Menu Visibility Fix */
@media (max-width: 991.98px) {
    .navbar-transparent .navbar-collapse {
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        padding: 1.5rem;
        margin-top: 1rem;
        border-radius: 15px;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    }

    .navbar-transparent .nav-link {
        color: #2d1b69 !important;
        padding: 0.75rem 1rem !important;
        border-radius: 8px;
        transition: all 0.3s ease;
    }

    .navbar-transparent .nav-link:hover {
        background: transparent;
        color: #6366f1 !important;
    }

    .navbar-transparent .btn-outline-primary,
    .navbar-transparent .btn-primary {
        color: #2d1b69 !important;
        border-color: #8b5cf6 !important;
        margin-top: 0.5rem;
    }

    .navbar-transparent .btn-primary {
        background: linear-gradient(135deg, #8b5cf6, #a855f7) !important;
        color: white !important;
    }

    .navbar-transparent .btn-outline-primary:hover {
        background: #8b5cf6 !important;
        color: white !important;
    }

    /* Also fix for scrolled state */
    .navbar-transparent.scrolled .navbar-collapse {
        background: white;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    }
}

/* Modern Hero Section with New Vibrant Gradient */
.hero-section-modern {
    background: linear-gradient(135deg, #4318FF 0%, #9747FF 25%, #D946EF 75%, #EC4899 100%);
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    padding-top: 120px;
    /* Increased padding to account for navbar */
    padding-bottom: 4rem;
    display: flex;
    align-items: center;
}

/* Mobile hero section adjustments */
@media (max-width: 991.98px) {
    .hero-section-modern {
        min-height: 100vh;
        padding-top: 120px;
        padding-bottom: 2rem;
        align-items: flex-start;
    }

    .hero-section-modern .container {
        padding-top: 4rem;
    }
}

/* Tablet specific adjustments */
@media (max-width: 768px) {
    .hero-section-modern {
        padding-top: 140px;
    }

    .hero-section-modern .container {
        padding-top: 5rem;
    }
}

/* Phone specific adjustments */
@media (max-width: 576px) {
    .hero-section-modern {
        padding-top: 160px;
    }

    .hero-section-modern .container {
        padding-top: 6rem;
    }
}

/* Professional Background Pattern */
.hero-section-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(255, 255, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
    background-size: 400px 400px, 600px 600px, 800px 800px;
    animation: subtleFloat 30s ease-in-out infinite;
    opacity: 0.6;
    z-index: 1;
}

/* Subtle geometric overlay */
.hero-section-modern::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(45deg, transparent 49%, rgba(255, 255, 255, 0.02) 50%, transparent 51%),
        linear-gradient(-45deg, transparent 49%, rgba(255, 255, 255, 0.02) 50%, transparent 51%);
    background-size: 60px 60px;
    opacity: 0.3;
    z-index: 2;
}

/* Subtle floating animation */
@keyframes subtleFloat {

    0%,
    100% {
        transform: translateY(0px) scale(1);
    }

    50% {
        transform: translateY(-20px) scale(1.02);
    }
}

.hero-section-modern .container {
    height: 100%;
    display: flex;
    align-items: center;
}

.hero-section-modern .row {
    width: 100%;
}

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

.hero-content {
    z-index: 10;
    position: relative;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: 1.1rem;
    line-height: 1.6;
    opacity: 0.9;
    max-width: 500px;
}

.text-light-purple {
    color: #e6e6fa !important;
}

/* Hero Background Elements */
.hero-bg-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.bg-circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    animation: float 6s ease-in-out infinite;
}

.bg-circle-1 {
    width: 200px;
    height: 200px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.bg-circle-2 {
    width: 150px;
    height: 150px;
    top: 60%;
    left: 5%;
    animation-delay: 2s;
}

.bg-circle-3 {
    width: 100px;
    height: 100px;
    top: 30%;
    right: 10%;
    animation-delay: 4s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

@keyframes gentle-float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

.floating-animation {
    animation: gentle-float 4s ease-in-out infinite;
}

/* Background Gradients */
.bg-gradient-primary {
    background: var(--gradient-primary) !important;
}

.bg-gradient-secondary {
    background: var(--gradient-secondary) !important;
}

.bg-gradient-purple {
    background: var(--gradient-purple) !important;
}

/* Astronaut Illustration */
.hero-image-container {
    position: relative;
    z-index: 5;
}

.astronaut-container {
    position: relative;
    width: 300px;
    height: 300px;
    margin: 0 auto;
    animation: floatAstronaut 4s ease-in-out infinite;
}

/* Mobile adjustments for astronaut */
@media (max-width: 991.98px) {
    .astronaut-container {
        width: 200px;
        height: 200px;
        margin: 20px auto 0;
    }

    .hero-image-container {
        margin-top: 20px;
    }
}

.astronaut-figure {
    position: relative;
    width: 200px;
    height: 250px;
    margin: 50px auto;
}

/* Mobile astronaut figure adjustments */
@media (max-width: 991.98px) {
    .astronaut-figure {
        width: 120px;
        height: 150px;
        margin: 20px auto;
        transform: scale(0.8);
    }
}

/* Astronaut Parts */
.helmet {
    width: 80px;
    height: 80px;
    background: linear-gradient(145deg, #f0f0f0, #d0d0d0);
    border-radius: 50%;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    border: 3px solid #fff;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.1);
}

.helmet::before {
    content: '';
    position: absolute;
    width: 60px;
    height: 60px;
    background: linear-gradient(145deg, #87ceeb, #4682b4);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.8;
}

.body {
    width: 60px;
    height: 80px;
    background: linear-gradient(145deg, #f5f5f5, #e0e0e0);
    border-radius: 15px;
    position: absolute;
    top: 70px;
    left: 50%;
    transform: translateX(-50%);
    border: 2px solid #fff;
}

.body::before {
    content: '';
    position: absolute;
    width: 30px;
    height: 40px;
    background: linear-gradient(145deg, #ff6b6b, #ee5a52);
    border-radius: 8px;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
}

.arm-left,
.arm-right {
    width: 25px;
    height: 50px;
    background: linear-gradient(145deg, #f5f5f5, #e0e0e0);
    border-radius: 12px;
    position: absolute;
    top: 80px;
    border: 2px solid #fff;
}

.arm-left {
    left: 15px;
    transform: rotate(-20deg);
    animation: waveLeft 3s ease-in-out infinite;
}

.arm-right {
    right: 15px;
    transform: rotate(20deg);
}

.leg-left,
.leg-right {
    width: 25px;
    height: 60px;
    background: linear-gradient(145deg, #f5f5f5, #e0e0e0);
    border-radius: 12px;
    position: absolute;
    top: 140px;
    border: 2px solid #fff;
}

.leg-left {
    left: 55px;
    transform: rotate(10deg);
}

.leg-right {
    right: 55px;
    transform: rotate(-10deg);
}

.floating-elements .star {
    position: absolute;
    color: rgba(255, 255, 255, 0.7);
    font-size: 18px;
}

.floating-elements .star-1 {
    top: 20px;
    left: -10px;
}

.floating-elements .star-2 {
    top: 60px;
    right: -10px;
}

.floating-elements .star-3 {
    bottom: 20px;
    left: 10px;
}

.floating-elements .planet {
    position: absolute;
    bottom: -10px;
    right: -20px;
    width: 80px;
    height: 80px;
    background: radial-gradient(circle at 30% 30%, #ffd700, #ff8c00);
    border-radius: 50%;
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.6);
}

/* Floating Elements */
.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.star {
    position: absolute;
    font-size: 20px;
    color: #ffd700;
    animation: twinkle 2s ease-in-out infinite;
}

.star-1 {
    top: 20%;
    left: 20%;
    animation-delay: 0s;
}

.star-2 {
    top: 30%;
    right: 20%;
    animation-delay: 1s;
}

.star-3 {
    bottom: 30%;
    left: 30%;
    animation-delay: 0.5s;
}

.planet {
    position: absolute;
    width: 40px;
    height: 40px;
    background: linear-gradient(145deg, #ff7f50, #ff6347);
    border-radius: 50%;
    bottom: 20%;
    right: 30%;
    animation: orbit 8s linear infinite;
}

.planet::before {
    content: '';
    position: absolute;
    width: 60px;
    height: 2px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Animations */
@keyframes floatAstronaut {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }
}

@keyframes waveLeft {

    0%,
    100% {
        transform: rotate(-20deg);
    }

    50% {
        transform: rotate(-40deg);
    }
}

@keyframes waveRight {

    0%,
    100% {
        transform: rotate(20deg);
    }

    50% {
        transform: rotate(40deg);
    }
}

@keyframes twinkle {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
}

@keyframes orbit {
    0% {
        transform: rotate(0deg) translateX(30px) rotate(0deg);
    }

    100% {
        transform: rotate(360deg) translateX(30px) rotate(-360deg);
    }
}

/* Offering Section Styles */
.offering-card {
    transition: all 0.3s ease;
    border: none;
    background: white;
}

.offering-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 123, 255, 0.1) !important;
}

.offering-icon {
    transition: transform 0.3s ease;
}

.offering-card:hover .offering-icon {
    transform: scale(1.1);
}

.offering-card .card-body {
    padding: 2rem 1.5rem;
}

.offering-card .card-title {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.offering-card .card-text {
    color: #6c757d;
    line-height: 1.6;
}

/* VAC Section - simplified, professional */
.vac-section {
    background: #f8fafc;
}

.vac-card {
    border-radius: 16px;
    border: 1px solid #e2e8f0;
}

.vac-highlight {
    color: #7c3aed;
}

.vac-feature-item {
    display: flex;
    align-items: center;
    font-size: 0.95rem;
    color: #4b5563;
}

.vac-launch-box {
    background: #f1f5f9;
    border-radius: 12px;
    border: 1px dashed #cbd5f5;
}

@media (max-width: 576px) {
    .vac-card {
        border-radius: 12px;
    }
}

.vac-badge .badge {
    font-size: 1rem;
    font-weight: 600;
    border-radius: 30px;
    padding: 12px 24px;
    background: linear-gradient(45deg, #6366f1, #8b5cf6, #a855f7, #c084fc);
    background-size: 300% 300%;
    animation: gradientShift 3s ease infinite, pulse 2s infinite;
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.bg-gradient-purple {
    background: var(--gradient-purple) !important;
}

.vac-section h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 2rem;
    color: #2d1b69;
}

.vac-section .lead {
    font-size: 1.3rem;
    font-weight: 400;
    color: #4c1d95;
    line-height: 1.6;
}

.vac-feature {
    font-weight: 600;
    color: #2d1b69;
    padding: 0.8rem 0;
    font-size: 1.1rem;
}

.vac-feature i {
    font-size: 1.2rem;
    color: #6366f1;
}

.vac-launch-info {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    padding: 3rem;
    backdrop-filter: blur(10px);
    border: 2px solid transparent;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    position: relative;
    background-clip: padding-box;
}

.vac-launch-info::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #6366f1, #8b5cf6, #a855f7, #c084fc);
    border-radius: 22px;
    z-index: -1;
    animation: gradientShift 4s ease infinite;
}

.vac-launch-info h4 {
    color: #2d1b69;
}

.vac-launch-info p {
    color: #4c1d95;
}

.vac-launch-info .btn:disabled {
    background: linear-gradient(45deg, #6366f1, #8b5cf6);
    border: none;
    color: white;
    font-weight: 600;
    padding: 15px 30px;
    font-size: 1.1rem;
    cursor: not-allowed;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(99, 102, 241, 0.3);
}

.vac-launch-info .btn:disabled:hover {
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.4);
}

/* Enhanced animations */
@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes backgroundShift {

    0%,
    100% {
        transform: translateX(0) translateY(0);
        opacity: 0.3;
    }

    25% {
        transform: translateX(10px) translateY(-5px);
        opacity: 0.5;
    }

    50% {
        transform: translateX(-5px) translateY(10px);
        opacity: 0.4;
    }

    75% {
        transform: translateX(-10px) translateY(-10px);
        opacity: 0.6;
    }
}

@keyframes floatUpDown {

    0%,
    100% {
        transform: translateY(0px) scale(1);
    }

    25% {
        transform: translateY(-20px) scale(1.1);
    }

    50% {
        transform: translateY(10px) scale(0.9);
    }

    75% {
        transform: translateY(-10px) scale(1.05);
    }
}

@keyframes rotateFloat {
    0% {
        transform: rotate(0deg) translateY(0px);
        opacity: 0.3;
    }

    25% {
        transform: rotate(90deg) translateY(-10px);
        opacity: 0.6;
    }

    50% {
        transform: rotate(180deg) translateY(5px);
        opacity: 0.4;
    }

    75% {
        transform: rotate(270deg) translateY(-5px);
        opacity: 0.5;
    }

    100% {
        transform: rotate(360deg) translateY(0px);
        opacity: 0.3;
    }
}

.vac-highlight {
    background: linear-gradient(45deg, #feca57, #ff9ff3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

/* VAC Background Elements */
.vac-bg-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.vac-circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(0, 123, 255, 0.05);
    animation: floatSlow 8s ease-in-out infinite;
}

.vac-circle-1 {
    width: 300px;
    height: 300px;
    top: -150px;
    right: -150px;
    animation-delay: 0s;
}

.vac-circle-2 {
    width: 200px;
    height: 200px;
    bottom: -100px;
    left: -100px;
    animation-delay: 4s;
}

@keyframes floatSlow {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-30px) rotate(180deg);
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

/* Pricing Section Styles - Subtle & Professional */
.pricing-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
}

.pricing-card {
    border: 2px solid #e9ecef;
    border-radius: 20px;
    transition: all 0.3s ease;
    position: relative;
    background: #ffffff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.pricing-card:hover {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
    border-color: #007bff;
}

.pricing-popular {
    border-color: #ffc107;
    position: relative;
    z-index: 2;
}

.pricing-popular:hover {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.popular-badge .badge {
    font-size: 0.85rem;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 600;
    background: #ffc107;
    color: #000;
    border: 2px solid white;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}

.pricing-header {
    padding: 2rem 1.5rem 1.5rem;
    border-bottom: none;
    border-radius: 20px 20px 0 0 !important;
}

.pricing-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.pricing-price {
    margin-bottom: 0.5rem;
}

.pricing-price .currency {
    font-size: 1.2rem;
    font-weight: 600;
    vertical-align: top;
    color: #495057;
}

.pricing-price .amount {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
    color: #2c3e50;
}

.pricing-period {
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 0;
}

.pricing-features {
    padding: 1rem 0;
}

.pricing-features li {
    font-size: 1rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    padding: 0.5rem 0;
}

.pricing-features .bi-check-circle-fill {
    font-size: 1.1rem;
    flex-shrink: 0;
    color: #28a745;
    margin-right: 0.5rem;
}

.pricing-features .bi-x-circle {
    font-size: 1.1rem;
    flex-shrink: 0;
    color: #dc3545;
    margin-right: 0.5rem;
}

.pricing-card .card-footer {
    padding: 1.5rem;
    border-top: none;
    background: transparent;
}

.pricing-card .btn {
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 15px;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.pricing-card .btn:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Card Specific Styles - Subtle */
.pricing-card:nth-child(1) .pricing-header {
    background: #f8f9fa;
}

.pricing-card:nth-child(1) .btn {
    background: #007bff;
    border: none;
    color: white;
}

.pricing-card:nth-child(2) .pricing-header {
    background: #fff3cd;
}

.pricing-card:nth-child(2) .btn {
    background: #ffc107;
    border: none;
    color: #000;
}

.pricing-card:nth-child(3) .pricing-header {
    background: #d1ecf1;
}

.pricing-card:nth-child(3) .btn {
    background: #17a2b8;
    border: none;
    color: white;
}

/* Responsive Pricing */
@media (max-width: 768px) {
    .pricing-popular {
        transform: scale(1);
        margin-top: 2rem;
    }

    .pricing-popular:hover {
        transform: translateY(-10px);
    }

    .pricing-price .amount {
        font-size: 3rem;
    }

    .pricing-card {
        margin-bottom: 2rem;
    }

    .pricing-header {
        padding: 2rem 1.5rem 1.5rem;
    }

    .pricing-title {
        font-size: 1.5rem;
    }

    .pricing-card .btn {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }

    .pricing-section {
        background-size: 200% 200%;
    }
}

/* Testimonials Section Styles */
.testimonials-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

/* Horizontal Scroll Container */
.testimonials-scroll-container {
    position: relative;
    overflow: hidden;
}

.testimonials-scroll {
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #8b5cf6 #e5e7eb;
    padding-bottom: 1rem;
}

.testimonials-scroll::-webkit-scrollbar {
    height: 8px;
}

.testimonials-scroll::-webkit-scrollbar-track {
    background: #e5e7eb;
    border-radius: 10px;
}

.testimonials-scroll::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #8b5cf6, #a855f7);
    border-radius: 10px;
}

.testimonials-scroll::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #7c3aed, #8b5cf6);
}

/* Testimonial Item */
.testimonial-item {
    width: 380px;
    min-width: 380px;
}

.testimonial-card {
    border: none;
    border-radius: 20px;
    transition: all 0.4s ease;
    position: relative;
    background: white;
    overflow: hidden;
    border: 2px solid transparent;
    height: 100%;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(139, 92, 246, 0.2) !important;
    border-color: #8b5cf6;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #8b5cf6, #fbbf24, #10b981);
    border-radius: 20px 20px 0 0;
}

.testimonial-card .card-body {
    padding: 2rem 1.5rem;
}

.testimonial-avatar {
    position: relative;
}

.testimonial-avatar img {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border: 4px solid #8b5cf6;
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.3);
    transition: all 0.3s ease;
}

.testimonial-card:hover .testimonial-avatar img {
    transform: scale(1.1);
}

.testimonial-stars {
    font-size: 1.1rem;
}

.testimonial-stars i {
    margin: 0 2px;
    animation: starTwinkle 2s ease-in-out infinite;
    animation-delay: calc(var(--i) * 0.1s);
}

.testimonial-text {
    font-style: italic;
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    position: relative;
}

.testimonial-text::before {
    content: '"';
    font-size: 3.5rem;
    color: #8b5cf6;
    position: absolute;
    top: -25px;
    left: -15px;
    opacity: 0.15;
    font-family: Georgia, serif;
    font-weight: 700;
}

.testimonial-text::after {
    content: '"';
    font-size: 3.5rem;
    color: #8b5cf6;
    position: absolute;
    bottom: -35px;
    right: -15px;
    opacity: 0.15;
    font-family: Georgia, serif;
    font-weight: 700;
}

.testimonial-author h6 {
    color: #2c3e50;
    font-weight: 600;
}

.testimonial-author small {
    color: #6c757d;
    font-weight: 500;
}

.testimonial-stats {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 15px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-top: 2rem;
}

.stat-item {
    padding: 1rem;
}

.stat-item h4 {
    font-weight: 700;
    font-size: 2rem;
}

/* Testimonial Animations */
@keyframes starTwinkle {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.7;
        transform: scale(1.1);
    }
}

/* Responsive Testimonials */
@media (max-width: 768px) {
    .testimonial-item {
        width: 320px;
        min-width: 320px;
    }

    .testimonial-avatar img {
        width: 70px;
        height: 70px;
    }

    .testimonial-text {
        font-size: 0.9rem;
    }

    .testimonial-card .card-body {
        padding: 1.5rem 1rem;
    }

    .testimonial-stats {
        padding: 1.5rem;
    }
}

@media (max-width: 576px) {
    .testimonial-item {
        width: 280px;
        min-width: 280px;
    }

    .testimonial-avatar img {
        width: 60px;
        height: 60px;
        border-width: 3px;
    }

    .testimonial-text {
        font-size: 0.85rem;
    }

    .stat-item h4 {
        font-size: 1.5rem;
    }
}

/* Modern Footer Styles */
.modern-footer {
    background: linear-gradient(135deg, #2d1b69 0%, #1e1b4b 100%) !important;
    border-top: 3px solid #8b5cf6;
    color: white;
}

.footer-brand {
    padding-right: 2rem;
}

.footer-logo {
    display: inline-block;
}

.footer-logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.footer-description {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    max-width: 300px;
}

.footer-social {
    margin-top: 1rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(139, 92, 246, 0.3);
    border-radius: 10px;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.social-link:hover {
    background: linear-gradient(135deg, #8b5cf6, #a855f7);
    color: white;
    border-color: #8b5cf6;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.4);
}

.footer-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
}

.footer-links {
    margin: 0;
    padding: 0;
}

.footer-link {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
    display: inline-block;
    padding: 4px 0;
}

.footer-link:hover {
    color: #fbbf24;
    text-decoration: none;
    padding-left: 5px;
}

.contact-info {
    font-size: 0.9rem;
}

.contact-item {
    display: flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.8);
}

.contact-item i {
    font-size: 1rem;
    width: 20px;
    flex-shrink: 0;
    color: #fbbf24;
}

.contact-item span {
    color: rgba(255, 255, 255, 0.8);
}

.footer-bottom {
    border-top: 1px solid rgba(139, 92, 246, 0.3) !important;
    margin-top: 2rem;
    padding-top: 1.5rem;
}

.copyright-text {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Responsive Footer */
@media (max-width: 768px) {
    .modern-footer {
        padding: 3rem 0 2rem;
    }

    .footer-brand {
        padding-right: 0;
        margin-bottom: 2rem;
        text-align: center;
    }

    .footer-description {
        max-width: 100%;
        text-align: center;
        margin: 0 auto;
    }

    .footer-section {
        margin-bottom: 2rem;
        text-align: center;
    }

    .footer-social {
        justify-content: center;
        display: flex;
        gap: 15px;
    }

    .social-link {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }

    .footer-links {
        text-align: center;
    }

    .footer-links li {
        margin-bottom: 0.8rem;
    }

    .contact-info {
        text-align: center;
    }

    .contact-item {
        justify-content: center;
        margin-bottom: 0.8rem;
    }

    .footer-bottom {
        text-align: center;
        margin-top: 2rem;
        padding-top: 1.5rem;
    }

    .copyright-text {
        font-size: 0.9rem;
    }
}

/* Extra small phones */
@media (max-width: 576px) {
    .modern-footer {
        padding: 2.5rem 0 1.5rem;
    }

    .footer-brand {
        margin-bottom: 1.5rem;
    }

    .footer-section {
        margin-bottom: 1.5rem;
    }

    .footer-title {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }

    .footer-description {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    .footer-links li {
        margin-bottom: 0.6rem;
    }

    .footer-link {
        font-size: 0.95rem;
    }

    .contact-item {
        font-size: 0.9rem;
        margin-bottom: 0.6rem;
    }

    .social-link {
        width: 42px;
        height: 42px;
        font-size: 1.1rem;
    }

    .footer-social {
        gap: 12px;
        margin-top: 1rem;
    }
}

/* Authentication Modals - Dark Purple Theme */
.modal-content {
    border: none;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(45, 27, 105, 0.3);
    background: linear-gradient(135deg, #ffffff 0%, #f8f9ff 100%);
    overflow: hidden;
}

.modal-header {
    background: linear-gradient(135deg, #2d1b69 0%, #4c1d95 100%);
    color: white;
    border: none;
    padding: 2rem 2rem 1.5rem;
    border-radius: 20px 20px 0 0;
    position: relative;
    z-index: 1;
}

.modal-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.1) 0%, transparent 100%);
    pointer-events: none;
    z-index: 1;
}

.modal-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    position: relative;
    z-index: 2;
}

.btn-close,
.btn-close-white {
    filter: brightness(0) invert(1);
    opacity: 1 !important;
    width: 2rem !important;
    height: 2rem !important;
    background-size: 1.2rem !important;
    position: relative;
    z-index: 9999;
    transition: all 0.3s ease;
    cursor: pointer;
    padding: 0.5rem;
    background-color: rgba(255, 255, 255, 0.2) !important;
    border-radius: 50%;
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.btn-close:hover,
.btn-close-white:hover {
    opacity: 1 !important;
    transform: scale(1.15);
    background-color: rgba(255, 255, 255, 0.3) !important;
    border-radius: 50%;
}

.btn-close:focus,
.btn-close-white:focus {
    box-shadow: 0 0 0 0.25rem rgba(255, 255, 255, 0.5) !important;
    outline: none;
    opacity: 1 !important;
}

.btn-close:active,
.btn-close-white:active {
    transform: scale(0.95);
    background-color: rgba(255, 255, 255, 0.4) !important;
}

.modal-body {
    padding: 2rem;
    background: white;
}

/* Form Styling */
.form-label {
    color: #2d1b69;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-control {
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f9fafb;
}

.form-control:focus {
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
    background: white;
    outline: none;
}

.form-control:hover {
    border-color: #8b5cf6;
    background: white;
}

/* Auth Buttons */
.modal-body .btn-primary {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    border: none;
    border-radius: 12px;
    padding: 0.875rem 2rem;
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.modal-body .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
    background: linear-gradient(135deg, #5b5bf6 0%, #7c3aed 100%);
}

.modal-body .btn-primary:active {
    transform: translateY(0);
}

/* Message Styling */
#loginMessage,
#signupMessage {
    border-radius: 10px;
    padding: 0.75rem 1rem;
    font-weight: 500;
    margin-top: 1rem;
}

.alert-success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border: none;
}

.alert-danger {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    border: none;
}

/* Modal Backdrop */
.modal-backdrop {
    background-color: rgba(45, 27, 105, 0.75) !important;
    backdrop-filter: blur(8px);
}

.modal-backdrop.show {
    opacity: 1 !important;
}

/* Ensure modal appears above backdrop */
.modal {
    z-index: 1055 !important;
}

.modal-backdrop {
    z-index: 1050 !important;
}

/* Center modal vertically in viewport */
.modal-dialog {
    display: flex;
    align-items: center;
    min-height: calc(100vh - 1rem);
    margin: 0.5rem auto;
}

@media (min-width: 576px) {
    .modal-dialog {
        min-height: calc(100vh - 3.5rem);
        margin: 1.75rem auto;
    }
}

/* Row spacing for signup form */
.modal-body .row .col-md-6 {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

/* Input icons (optional enhancement) */
.input-group {
    position: relative;
}

.input-group .form-control {
    padding-left: 2.5rem;
}

.input-group-text {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #6366f1;
    z-index: 5;
    pointer-events: none;
}

/* Responsive modal */
@media (max-width: 576px) {
    .modal-dialog {
        margin: 1rem;
    }

    .modal-header {
        padding: 1.5rem 1.5rem 1rem;
    }

    .modal-body {
        padding: 1.5rem;
    }

    .modal-title {
        font-size: 1.3rem;
    }

    .modal-body .row .col-md-6 {
        padding-left: 0;
        padding-right: 0;
        margin-bottom: 1rem;
    }
}

/* Home Page Animations */
.animate-on-scroll {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.8s ease-out;
}

.animate-on-scroll.will-animate {
    opacity: 0;
    transform: translateY(30px);
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

.animate-fade-in {
    opacity: 0;
    animation: fadeIn 1s ease-out forwards;
}

.animate-slide-up {
    opacity: 0;
    transform: translateY(50px);
    animation: slideUp 0.8s ease-out forwards;
}

.animate-slide-left {
    opacity: 0;
    transform: translateX(-50px);
    animation: slideLeft 0.8s ease-out forwards;
}

.animate-slide-right {
    opacity: 0;
    transform: translateX(50px);
    animation: slideRight 0.8s ease-out forwards;
}

.animate-scale-in {
    opacity: 0;
    transform: scale(0.8);
    animation: scaleIn 0.8s ease-out forwards;
}

.animate-bounce-in {
    opacity: 0;
    transform: scale(0.3);
    animation: bounceIn 1s ease-out forwards;
}

.animate-rotate-in {
    opacity: 0;
    transform: rotate(-180deg) scale(0.5);
    animation: rotateIn 1s ease-out forwards;
}

/* Staggered animations */
.animate-stagger-1 {
    animation-delay: 0.1s;
}

.animate-stagger-2 {
    animation-delay: 0.2s;
}

.animate-stagger-3 {
    animation-delay: 0.3s;
}

.animate-stagger-4 {
    animation-delay: 0.4s;
}

.animate-stagger-5 {
    animation-delay: 0.5s;
}

.animate-stagger-6 {
    animation-delay: 0.6s;
}

/* Keyframe Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }

    50% {
        opacity: 1;
        transform: scale(1.05);
    }

    70% {
        transform: scale(0.9);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes rotateIn {
    from {
        opacity: 0;
        transform: rotate(-180deg) scale(0.5);
    }

    to {
        opacity: 1;
        transform: rotate(0deg) scale(1);
    }
}

/* Enhanced existing animations */
.hero-title {
    animation: slideLeft 1s ease-out 0.3s both;
}

.hero-subtitle {
    animation: slideLeft 1s ease-out 0.6s both;
}

.hero-description {
    animation: slideLeft 1s ease-out 0.9s both;
}

.hero-actions {
    animation: slideLeft 1s ease-out 1.2s both;
}

.astronaut-container {
    animation: slideRight 1.2s ease-out 0.5s both;
}

/* Section animations */
.section-animate {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.8s ease-out;
}

.section-animate.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Card hover animations */
.card-animate {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-animate:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Button animations */
.btn-animate {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn-animate::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: left 0.5s;
}

.btn-animate:hover::before {
    left: 100%;
}

.btn-animate:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Pulse animation for important elements */
.pulse-animation {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 193, 7, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(255, 193, 7, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 193, 7, 0);
    }
}

/* Loading animations */
.loading-dots {
    display: inline-block;
}

.loading-dots::after {
    content: '';
    animation: dots 1.5s steps(5, end) infinite;
}

@keyframes dots {

    0%,
    20% {
        color: rgba(0, 0, 0, 0);
        text-shadow: .25em 0 0 rgba(0, 0, 0, 0), .5em 0 0 rgba(0, 0, 0, 0);
    }

    40% {
        color: black;
        text-shadow: .25em 0 0 rgba(0, 0, 0, 0), .5em 0 0 rgba(0, 0, 0, 0);
    }

    60% {
        text-shadow: .25em 0 0 black, .5em 0 0 rgba(0, 0, 0, 0);
    }

    80%,
    100% {
        text-shadow: .25em 0 0 black, .5em 0 0 black;
    }
}

/* Ripple Effect */
.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    transform: scale(0);
    pointer-events: none;
}

.ripple-effect {
    animation: ripple 0.6s linear;
}

@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Enhanced animations for mobile */
@media (max-width: 768px) {
    .animate-on-scroll {
        transform: translateY(20px);
    }

    .hero-title {
        animation-duration: 0.8s;
    }

    .hero-subtitle {
        animation-duration: 0.8s;
    }

    .hero-description {
        animation-duration: 0.8s;
    }

    .hero-actions {
        animation-duration: 0.8s;
    }

    .astronaut-container {
        animation-duration: 1s;
    }

    .hero-section-modern {
        min-height: 100vh;
        padding-top: 100px;
        padding-bottom: 2rem;
    }
}

/* Ensure all sections are visible */
section {
    position: relative;
    z-index: 1;
}

.section-animate,
.animate-on-scroll {
    visibility: visible !important;
}

/* Cards */
.card {
    border: none;
    border-radius: 0.75rem;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.course-card {
    overflow: hidden;
}

.course-card .card-img-top {
    transition: transform 0.3s ease;
}

.course-card:hover .card-img-top {
    transform: scale(1.05);
}

/* Buttons */
.btn {
    border-radius: 0.5rem;
    font-weight: 500;
    padding: 0.5rem 1.5rem;
    transition: all 0.3s ease;
}

.btn-lg {
    padding: 0.75rem 2rem;
    font-size: 1.1rem;
}

.btn-primary {
    background: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: 0 0.25rem 0.5rem rgba(0, 123, 255, 0.25);
}

.btn-primary:hover {
    background: #0056b3;
    border-color: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 0.5rem 1rem rgba(0, 123, 255, 0.3);
}

.btn-warning {
    background: var(--warning-color);
    border-color: var(--warning-color);
    color: #212529;
    box-shadow: 0 0.25rem 0.5rem rgba(255, 193, 7, 0.25);
}

.btn-warning:hover {
    background: #e0a800;
    border-color: #d39e00;
    color: #212529;
    transform: translateY(-2px);
    box-shadow: 0 0.5rem 1rem rgba(255, 193, 7, 0.3);
}

/* Navigation */
.navbar {
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
}

.nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: #F4320B !important;
}

/* Modals */
.modal-content {
    border: none;
    border-radius: 1rem;
    box-shadow: var(--shadow-lg);
}

.modal-header {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
}

.modal-body {
    padding: 1.5rem;
}

.modal-footer {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
}

/* Forms */
.form-control {
    border-radius: 0.5rem;
    border: 1px solid #e3e6f0;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.form-label {
    font-weight: 600;
    color: #5a5c69;
    margin-bottom: 0.5rem;
}

/* Badges */
.badge {
    font-weight: 500;
    padding: 0.5rem 0.75rem;
    border-radius: 0.5rem;
}

/* Stats Cards */
.stat-card {
    text-align: center;
    padding: 2rem;
    border-radius: 1rem;
    background: white;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

/* Accordion */
.accordion-button {
    font-weight: 600;
    padding: 1.25rem;
    border-radius: 0.5rem !important;
}

.accordion-button:not(.collapsed) {
    background-color: rgba(0, 123, 255, 0.1);
    color: var(--primary-color);
}

.accordion-body {
    padding: 1.5rem;
}

/* Footer */
footer {
    margin-top: auto;
}

footer a {
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--primary-color) !important;
}

/* Utilities */
.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.shadow-custom {
    box-shadow: 0 0.5rem 2rem rgba(0, 0, 0, 0.1) !important;
}

/* Enhanced Mobile Responsiveness */
@media (max-width: 576px) {

    /* Extra small devices (phones) */
    .hero-title {
        font-size: 3rem !important;
        line-height: 1.5;
    }

    .hero-subtitle {
        font-size: 0.9rem !important;
        line-height: 1.5;
    }

    .hero-description {
        font-size: 0.95rem !important;
        margin-bottom: 2rem !important;
    }

    .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }

    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .card {
        margin-bottom: 1rem;
    }

    .navbar-brand img {
        height: 32px !important;
    }

    /* Course cards on mobile */
    .course-card {
        margin-bottom: 1.5rem;
    }

    /* Pricing cards mobile */
    .pricing-card {
        margin-bottom: 2rem;
        transform: none !important;
    }

    /* Stats section mobile */
    .stats-section .col-6 {
        margin-bottom: 1.5rem;
    }

    /* Footer mobile */
    .footer-brand {
        text-align: center;
        margin-bottom: 2rem;
    }

    .footer-links {
        text-align: center;
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 768px) {

    /* Small devices (tablets) */
    .hero-section-modern {
        min-height: 80vh;
        padding: 2rem 0;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 0.7rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .astronaut-container {
        width: 300px;
        height: 300px;
    }

    .astronaut-figure {
        width: 150px;
        height: 200px;
    }

    .helmet {
        width: 60px;
        height: 60px;
    }

    .body {
        width: 45px;
        height: 60px;
        top: 55px;
    }

    .arm-left,
    .arm-right {
        width: 20px;
        height: 40px;
        top: 65px;
    }

    .leg-left,
    .leg-right {
        width: 15px;
        height: 30px;
        top: 115px;
    }

    .btn-lg {
        padding: 0.5rem 1.5rem;
        font-size: 1rem;
    }

    .stat-card {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }

    .bg-circle-1 {
        width: 100px;
        height: 100px;
    }

    .bg-circle-2 {
        width: 80px;
        height: 80px;
    }

    .bg-circle-3 {
        width: 60px;
        height: 60px;
    }
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Course Content Specific Styles */
.content-layout {
    background: #f8f9fa;
}

.sidebar {
    background: white;
    box-shadow: var(--shadow-sm);
}

.module-header {
    background: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
    font-weight: 600;
    color: #495057;
}

.lecture-item {
    border-bottom: 1px solid #f1f3f4;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lecture-item:hover {
    background-color: #f8f9fa;
}

.lecture-item.active {
    background-color: var(--primary-color);
    color: white;
}

.lecture-item.active .text-muted {
    color: rgba(255, 255, 255, 0.8) !important;
}

/* Video Player */
.video-container {
    position: relative;
    background: #000;
    border-radius: 0.5rem;
    overflow: hidden;
}

video {
    width: 100%;
    height: 400px;
    object-fit: contain;
}

/* Progress Bar */
.progress {
    height: 0.5rem;
    border-radius: 0.25rem;
    background-color: #e9ecef;
}

.progress-bar {
    background: var(--gradient-primary);
    border-radius: 0.25rem;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-up {
    animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Enhanced Curved Styling */
.card {
    border-radius: var(--border-radius) !important;
    border: none;
    overflow: hidden;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.card-img-top {
    border-radius: var(--border-radius) var(--border-radius) 0 0 !important;
}

.btn {
    border-radius: var(--border-radius-sm) !important;
    transition: all 0.3s ease-in-out;
}

.btn-sm {
    border-radius: 10px !important;
}

.btn-lg {
    border-radius: var(--border-radius) !important;
}

.badge {
    border-radius: var(--border-radius-sm) !important;
    padding: 6px 12px;
}

.form-control,
.form-select {
    border-radius: var(--border-radius-sm) !important;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease-in-out;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.modal-content {
    border-radius: var(--border-radius) !important;
    border: none;
}

.alert {
    border-radius: var(--border-radius-sm) !important;
    border: none;
}

/* Enhanced hover effects for cards */
.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 123, 255, 0.1) !important;
}

/* Print Styles */
@media print {

    .navbar,
    .modal,
    .btn,
    footer {
        display: none !important;
    }

    .card {
        box-shadow: none !important;
        border: 1px solid #dee2e6 !important;
    }
}

/* ========================================
   FOOTER STYLES (Consolidated from footer.php)
   ======================================== */

/* Modern Minimalist Footer - Enforced Light Theme */
.uplern-light-footer {
    background: #ffffff !important;
    border-top: 1px solid #e5e5e5;
    padding: 60px 0 30px;
    margin-top: 0;
    position: relative;
    z-index: 100;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-brand h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1d1d1f !important;
    margin-bottom: 1rem;
}

.footer-description {
    font-size: 0.95rem;
    color: #6e6e73 !important;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    max-width: 300px;
}

.footer-section h6 {
    font-size: 0.85rem;
    font-weight: 600;
    color: #1d1d1f !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-link {
    color: #6e6e73 !important;
    font-size: 0.95rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #4318FF !important;
}

.contact-info-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    color: #6e6e73 !important;
    font-size: 0.95rem;
}

.contact-info-item i {
    margin-right: 10px;
    color: #4318FF !important;
}

.footer-bottom {
    border-top: 1px solid #e5e5e5;
    padding-top: 20px;
    text-align: center;
}

.footer-copyright {
    font-size: 0.85rem;
    color: #6e6e73 !important;
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .footer-brand {
        grid-column: span 2;
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-brand {
        grid-column: span 1;
    }
}

/* Modern Back to Top Button - Refined Minimal Design */
#backToTop {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--primary-blue);
    color: #fff;
    border: none;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1050;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    opacity: 0.8;
}

#backToTop:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(67, 24, 255, 0.25);
    background: #3612CC;
    /* Slightly darker shade of primary blue */
    opacity: 1;
}

#backToTop:active {
    transform: translateY(-1px);
}

#backToTop i {
    font-size: 18px;
    line-height: 1;
}

/* Scroll Animation classes (if not already present or needs reinforcement) */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}