/* Zyntiq LMS Custom Styles */

:root {
    --primary-color: #1f132b;
    --primary-gradient: linear-gradient(135deg, #0d0812 0%, #1f132b 25%, #0d0812 50%, #170e20 75%, #08050b 100%);
    --secondary-color: #6c757d;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --info-color: #17a2b8;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
    --gradient-primary: linear-gradient(135deg, #0d0812 0%, #1f132b 25%, #0d0812 50%, #170e20 75%, #08050b 100%);
    --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-purple: linear-gradient(135deg, #6a5acd 0%, #483d8b 25%, #4b0082 50%, #8b008b 75%, #9932cc 100%);
    --gradient-purple-light: linear-gradient(135deg, #9370db 0%, #8a2be2 50%, #7b68ee 100%);

    --shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    --shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.175);
    --border-radius: 20px;
    --border-radius-sm: 12px;
    --border-radius-lg: 25px;
}

/* 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 a {
    color: rgba(255, 255, 255, 0.7) !important;
    text-decoration: none;
    transition: all 0.2s ease;
}

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

.custom-breadcrumb .breadcrumb-item.active {
    color: #fff !important;
    font-weight: 500;
}

.custom-breadcrumb .breadcrumb-item+.breadcrumb-item::before {
    content: "›";
    color: rgba(255, 255, 255, 0.4);
    font-weight: 600;
}

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

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

/* User Initials Avatar Styles */
.initials-avatar {
    background: white;
    color: #1a0b2e;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.initials-avatar::after {
    content: '';
    position: absolute;
    inset: -2px;
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    pointer-events: none;
}

.initials-avatar-sm {
    width: 30px;
    height: 30px;
    font-size: 0.7rem;
    border-radius: 6px;
}

.initials-avatar-sm::after {
    inset: -1.5px;
    border-radius: 8px;
}

.initials-avatar-md {
    width: 40px;
    height: 40px;
    font-size: 1rem;
    border-radius: 8px;
}

.initials-avatar-lg {
    width: 65px;
    height: 65px;
    font-size: 1.6rem;
    border-radius: 14px;
}

.initials-avatar-lg::after {
    inset: -4px;
    border-radius: 18px;
}

/* Navbar specific contrast */
.navbar-transparent .initials-avatar {
    background: white;
    color: #1a0b2e;
}

/* 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-transparent .nav-link {
    color: white !important;
    font-weight: 600;
}

.navbar-transparent .nav-link:hover {
    color: #ffc107 !important;
    /* Yellow hover effect */
}

.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: var(--primary-color) !important;
}

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

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

.navbar-transparent.scrolled .btn-primary {
    background: var(--primary-gradient);
    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: rgba(139, 92, 246, 0.1);
        color: #8b5cf6 !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 Darker Purple & Meteors */
.hero-section-modern {
    background: linear-gradient(135deg, #1a0b2e 0%, #2d1b4e 25%, #1a0b2e 50%, #16213e 75%, #0f0624 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;
    }
}

/* Subtle radial gradient overlay */
.hero-section-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(139, 92, 246, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(168, 85, 247, 0.08) 0%, transparent 60%);
    background-size: 100% 100%;
    opacity: 0.8;
    z-index: 1;
}

/* Geometric overlay removed */
.hero-section-modern::after {
    display: none;
}

/* 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;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

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

.hero-subtitle {
    font-size: 3rem;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: 1.1rem;
    line-height: 1.6;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 2rem auto;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.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);
    }
}

/* 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 Section Styles - Modern with Purple Shadows */
.offering-card {
    transition: all 0.4s ease;
    border: none;
    background: white;
    border-radius: 20px;
    box-shadow: 0 8px 24px rgba(45, 27, 78, 0.12);
    overflow: hidden;
    position: relative;
}

.offering-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #2d1b4e, #8b5cf6);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.offering-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(45, 27, 78, 0.25);
}

.offering-card:hover::before {
    opacity: 1;
}

.offering-icon {
    transition: transform 0.3s ease;
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, rgba(45, 27, 78, 0.1), rgba(139, 92, 246, 0.1));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

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

.offering-card .card-title {
    font-weight: 700;
    color: #2d1b4e;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.offering-card .card-text {
    color: #6b7280;
    line-height: 1.7;
    font-size: 0.95rem;
}

/* 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 {
    transform: translateY(-2px);
    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 {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-color);
}

.pricing-popular {
    border-color: #ffc107;
    transform: scale(1.05);
    position: relative;
    z-index: 2;
}

.pricing-popular:hover {
    transform: scale(1.05) translateY(-8px);
}

.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 {
    transform: translateY(-2px);
    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;
}

/* Removed multicolored line */

.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, #1a0b2e 0%, #2d1b4e 25%, #1a0b2e 50%, #16213e 75%, #0f0624 100%) !important;
    border-top: none;
    color: white;
    position: relative;
    overflow: hidden;
}

.modern-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(139, 92, 246, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.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: 1.5rem;
    letter-spacing: 0.5px;
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background: #8b5cf6;
    border-radius: 2px;
}

.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: #a855f7;
    text-decoration: none;
    padding-left: 8px;
}

.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: #8b5cf6;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1) !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 {
    transition: all 0.3s ease;
    border-radius: 12px;
}

.course-card .card-img-top {
    height: 160px;
    object-fit: cover;
    border-radius: 12px 12px 0 0;
}

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

.course-card .card-body {
    padding: 1rem;
}

.course-card .card-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* 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-gradient);
    border-color: var(--primary-color);
    box-shadow: 0 0.25rem 0.5rem rgba(29, 11, 46, 0.25);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #2d1b4e 0%, #1a0b2e 50%, #16213e 100%);
    border-color: #1a0b2e;
    transform: translateY(-2px);
    box-shadow: 0 0.5rem 1rem rgba(29, 11, 46, 0.4);
}

.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 {
    background-color: rgba(0, 123, 255, 0.1);
    color: var(--primary-color) !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: 2.2rem !important;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 1.8rem !important;
        line-height: 1.3;
    }

    .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: 2rem;
    }

    .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;
    }
}

/* Modern Pricing Cards */
.pricing-section .row {
    align-items: center;
    /* Vertically center the cards so the middle one can be taller/centered */
}

.pricing-card-modern {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 2.5rem;
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
}

.pricing-card-modern:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.pricing-card-dark {
    background: linear-gradient(135deg, #1a0b2e 0%, #2d1b4e 25%, #1a0b2e 50%, #16213e 75%, #0f0624 100%);
    color: #fff;
    border: none;
    transform: scale(1.05);
    z-index: 10;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.pricing-card-dark:hover {
    transform: scale(1.05) translateY(-5px);
}

@media (max-width: 991.98px) {
    .pricing-card-dark {
        transform: none;
        margin: 20px 0;
    }

    .pricing-card-dark:hover {
        transform: translateY(-5px);
    }
}

.pricing-header-modern {
    margin-bottom: 2rem;
}

.pricing-title-modern {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #111;
}

.pricing-card-dark .pricing-title-modern {
    color: #fff;
}

.pricing-price-modern {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 1rem;
    color: #111;
}

.pricing-card-dark .pricing-price-modern {
    color: #fff;
}

.pricing-description-modern {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    min-height: 60px;
    /* Align buttons */
}

.pricing-card-dark .pricing-description-modern {
    color: #94a3b8;
}

.pricing-btn-modern {
    width: 100%;
    padding: 0.75rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: capitalize;
    margin-bottom: 2rem;
}

.pricing-btn-outline {
    background: transparent;
    border: 1px solid #cbd5e1;
    color: #0f172a;
}

.pricing-btn-outline:hover {
    background: #0f172a;
    color: white;
    border-color: #0f172a;
}

.pricing-btn-white {
    background: #fff;
    color: #111;
    border: 1px solid #fff;
}

.pricing-btn-white:hover {
    background: #f1f5f9;
    color: #111;
}

.features-label {
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: block;
    color: #111;
}

.pricing-card-dark .features-label {
    color: #fff;
}

.pricing-features-modern {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.pricing-features-modern li {
    margin-bottom: 0.75rem;
    color: #475569;
    font-size: 0.95rem;
}

.pricing-card-dark .pricing-features-modern li {
    color: #cbd5e1;
}

/* Hero Section White Glow Button */
.btn-hero-glow {
    background: rgba(255, 255, 255, 0.95);
    color: #1a0b2e;
    border: 2px solid rgba(255, 255, 255, 0.3);
    font-weight: 600;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.4),
        0 0 40px rgba(255, 255, 255, 0.2),
        0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.btn-hero-glow:hover {
    background: rgba(255, 255, 255, 1);
    color: #1a0b2e;
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.6),
        0 0 60px rgba(255, 255, 255, 0.3),
        0 6px 20px rgba(0, 0, 0, 0.3);
    transform: translateY(-3px);
}

.btn-hero-glow:active {
    transform: translateY(-1px);
}

/* Modern Offerings Section - Redesign */
.offerings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    padding: 1rem 0;
}

.offering-modern-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 2.5rem;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
}

.offering-modern-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: rgba(139, 92, 246, 0.3);
}

.offering-icon-wrapper {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #f3f0ff 0%, #ffffff 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.4s ease;
    border: 1px solid rgba(139, 92, 246, 0.1);
}

.offering-modern-card:hover .offering-icon-wrapper {
    background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
    transform: scale(1.1) rotate(5deg);
    border-color: transparent;
}

.offering-icon-wrapper i {
    font-size: 2rem;
    color: #8b5cf6;
    transition: all 0.3s ease;
}

.offering-modern-card:hover .offering-icon-wrapper i {
    color: #ffffff;
}

.offering-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a0b2e;
    margin-bottom: 1rem;
}

.offering-desc {
    color: #6b7280;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.offering-link {
    color: #8b5cf6;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.offering-modern-card:hover .offering-link {
    opacity: 1;
    transform: translateX(0);
}

.offering-bg-bloom {
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.05) 0%, transparent 70%);
    transition: all 0.5s ease;
    opacity: 0;
}

.offering-modern-card:hover .offering-bg-bloom {
    opacity: 1;
    transform: scale(1.2);
}

@media (max-width: 768px) {
    .offerings-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .offering-modern-card {
        padding: 2rem;
    }

    .offering-link {
        opacity: 1;
        transform: none;
    }
}


/* Modern Dark Testimonial Section */
.testimonial-modern-dark {
    background: linear-gradient(135deg, #0f0c29 0%, #302b63 50%, #24243e 100%);
    position: relative;
    overflow: hidden;
    padding-top: 5rem;
    padding-bottom: 5rem;
    color: white;
}

.testimonial-bg-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(80px);
    z-index: 0;
    pointer-events: none;
}

.glow-1 {
    top: -20%;
    left: -10%;
}

.glow-2 {
    bottom: -20%;
    right: -10%;
}

.marquee-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 2rem 0;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    z-index: 1;
}

.marquee-content {
    display: flex;
    gap: 2rem;
    width: max-content;
    /* Animation speed adjusted for readability */
    animation: marqueeScroll 60s linear infinite;
}

.marquee-wrapper:hover .marquee-content {
    animation-play-state: paused;
}

@keyframes marqueeScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-50% - 1rem));
    }
}

.testimonial-glass-card {
    width: 450px;
    min-width: 450px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 2.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    position: relative;
    height: 100%;
}

.testimonial-glass-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(139, 92, 246, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.t-quote-icon {
    font-size: 3rem;
    color: rgba(139, 92, 246, 0.2);
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    font-family: serif;
    line-height: 1;
}

.t-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2rem;
    flex-grow: 1;
    position: relative;
    z-index: 1;
}

.t-profile {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
}

.t-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(139, 92, 246, 0.5);
    padding: 2px;
    background: transparent;
}

.t-info h5 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: white;
}

.t-info span {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

.t-stars {
    color: #fbbf24;
    font-size: 1rem;
    margin-bottom: 0.25rem;
    display: flex;
    gap: 2px;
}

.stats-bar-modern {
    display: flex;
    justify-content: center;
    gap: 5rem;
    margin-top: 4rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.stat-item-modern {
    text-align: center;
    padding: 1rem;
    position: relative;
}

.stat-item-modern::after {
    content: '';
    position: absolute;
    right: -2.5rem;
    top: 50%;
    transform: translateY(-50%);
    height: 40px;
    width: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.stat-item-modern:last-child::after {
    display: none;
}

.stat-number-modern {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(to bottom right, #ffffff, #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

.stat-label-modern {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 500;
}

@media (max-width: 768px) {
    .testimonial-glass-card {
        width: 320px;
        min-width: 320px;
        padding: 1.5rem;
    }

    .stats-bar-modern {
        gap: 2rem;
        flex-direction: column;
        align-items: center;
    }

    .stat-item-modern::after {
        display: none;
    }

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


/* Compact Mode Overrides for Testimonial Section */
.testimonial-modern-dark.compact-mode {
    padding-top: 3rem;
    padding-bottom: 3rem;
    min-height: auto;
}

.testimonial-modern-dark.compact-mode .display-5 {
    font-size: 2rem;
    margin-bottom: 0.5rem !important;
}

.testimonial-modern-dark.compact-mode .lead {
    font-size: 1rem;
    margin-bottom: 2rem !important;
}

.testimonial-modern-dark.compact-mode .marquee-wrapper {
    padding: 1rem 0;
}

.testimonial-modern-dark.compact-mode .testimonial-glass-card {
    width: 380px;
    min-width: 380px;
    padding: 1.5rem;
    border-radius: 16px;
}

.testimonial-modern-dark.compact-mode .t-quote-icon {
    font-size: 2rem;
    top: 1rem;
    right: 1.5rem;
}

.testimonial-modern-dark.compact-mode .t-text {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1.25rem;
}

.testimonial-modern-dark.compact-mode .t-profile {
    padding-top: 1rem;
}

.testimonial-modern-dark.compact-mode .t-avatar {
    width: 40px;
    height: 40px;
}

.testimonial-modern-dark.compact-mode .t-info h5 {
    font-size: 1rem;
}

.testimonial-modern-dark.compact-mode .t-info span {
    font-size: 0.8rem;
}

.testimonial-modern-dark.compact-mode .stats-bar-modern {
    margin-top: 2rem;
    gap: 3rem;
}

.testimonial-modern-dark.compact-mode .stat-number-modern {
    font-size: 2rem;
}

.testimonial-modern-dark.compact-mode .stat-label-modern {
    font-size: 0.8rem;
}

/* Adjust stats separater for compact mode */
.testimonial-modern-dark.compact-mode .stat-item-modern::after {
    height: 30px;
}