/* Home Page Specific Styles */

/* Hero Section Enhanced - Updated Color Scheme */
.hero-section {
    background: linear-gradient(135deg, #1e40af 0%, #059669 100%); /* Blue to Green gradient */
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(59, 130, 246, 0.2) 0%, transparent 50%), /* Blue accent */
        radial-gradient(circle at 80% 20%, rgba(16, 185, 129, 0.2) 0%, transparent 50%); /* Green accent */
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

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

/* Hero Content Animations */
.hero-content {
    position: relative;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.6;
    opacity: 0.9;
}

.hero-cta-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: stretch; /* Make all buttons same height */
    justify-content: flex-start;
}

.cta-primary,
.cta-secondary {
    transform: scale(1) !important;
    transition: all 0.3s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    padding: 0.875rem 2rem !important;
    font-size: 1.125rem !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    border-radius: 0.5rem !important;
    min-height: 56px !important;
    white-space: nowrap !important;
    border: 2px solid transparent !important;
    flex-shrink: 0 !important;
    box-sizing: border-box !important;
}

.cta-primary {
    background-color: var(--color-primary) !important;
    border-color: var(--color-primary) !important;
    color: white !important;
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.4) !important;
}

.cta-primary:hover,
.cta-primary:focus {
    transform: scale(1.05) !important;
    background-color: var(--color-primary-dark) !important;
    border-color: var(--color-primary-dark) !important;
    color: white !important;
    box-shadow: 0 6px 20px rgba(255, 193, 7, 0.6) !important;
    text-decoration: none !important;
}

.cta-secondary {
    background-color: transparent !important;
    border: 2px solid rgba(255, 255, 255, 0.8) !important;
    color: white !important;
}

.cta-secondary:hover,
.cta-secondary:focus {
    transform: scale(1.05) !important;
    background-color: rgba(255, 255, 255, 0.15) !important;
    border-color: rgba(255, 255, 255, 1) !important;
    color: white !important;
    text-decoration: none !important;
    backdrop-filter: blur(5px) !important;
}

/* Button Icon Spacing */
.cta-primary i,
.cta-secondary i {
    margin-right: 0.5rem;
}

.hero-cta-buttons .cta-primary i,
.hero-cta-buttons .cta-secondary i {
    margin-right: 0.5rem;
}

.cta-buttons .cta-primary i,
.cta-buttons .cta-secondary i {
    margin-right: 0.5rem;
}

/* Hero Illustration - Orbiting Animation */
.hero-illustration {
    position: relative;
    display: inline-block;
    padding: 4rem;
    width: 100%;
    max-width: 500px;
    height: 500px;
    margin: 0 auto;
}

/* Central Medical Icon */
.central-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    animation: central-pulse 3s ease-in-out infinite;
    z-index: 10;
}

.central-icon i {
    font-size: 3.5rem;
    color: rgba(255, 255, 255, 0.9);
    animation: central-rotate 6s linear infinite;
}

/* Orbit Container */
.orbit-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 350px;
    height: 350px;
    border-radius: 50%;
    border: 1px dashed rgba(255, 255, 255, 0.2);
    animation: orbit-rotate 20s linear infinite;
}

/* Orbit Elements */
.orbit-element {
    position: absolute;
    width: 80px;
    height: 80px;
    animation: counter-rotate 20s linear infinite reverse;
}

.orbit-icon {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.9), rgba(255, 193, 7, 0.7));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.orbit-icon:hover {
    transform: scale(1.2);
    box-shadow: 0 12px 35px rgba(255, 193, 7, 0.4);
}

.orbit-icon i {
    font-size: 1.8rem;
    color: #1a1a1a;
    font-weight: 600;
}

/* Positioning each orbit element */
.orbit-1 {
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 0s;
}

.orbit-2 {
    top: 25%;
    right: -40px;
    animation-delay: -3.33s;
}

.orbit-3 {
    bottom: -40px;
    right: 25%;
    animation-delay: -6.66s;
}

.orbit-4 {
    bottom: -40px;
    left: 25%;
    animation-delay: -10s;
}

.orbit-5 {
    top: 25%;
    left: -40px;
    animation-delay: -13.33s;
}

.orbit-6 {
    top: -40px;
    right: 25%;
    animation-delay: -16.66s;
}

/* Background Glow Effects */
.glow-effect {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 193, 7, 0.3), transparent);
    animation: glow-pulse 4s ease-in-out infinite;
}

.glow-1 {
    top: 10%;
    left: 10%;
    width: 100px;
    height: 100px;
    animation-delay: 0s;
}

.glow-2 {
    bottom: 20%;
    right: 15%;
    width: 80px;
    height: 80px;
    animation-delay: 1.5s;
}

.glow-3 {
    top: 60%;
    left: 20%;
    width: 60px;
    height: 60px;
    animation-delay: 3s;
}

/* Scroll Indicator - Arrow Design */
.hero-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    cursor: pointer;
}

.scroll-down {
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.scroll-down:hover {
    opacity: 1;
    transform: translateY(-2px);
}

.scroll-down::before {
    content: '';
    width: 2px;
    height: 30px;
    background: rgba(255, 255, 255, 0.6);
    margin-bottom: 8px;
    animation: scroll-line 2s ease-in-out infinite;
}

.scroll-down::after {
    content: '';
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 12px solid rgba(255, 255, 255, 0.8);
    animation: bounce-arrow 2s ease-in-out infinite;
}

.scroll-down span {
    display: none; /* Remove the old dots */
}

/* Stats Section Enhanced */
.stats-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
}

.stat-card {
    text-align: center;
    padding: 2rem 1rem;
    transition: all 0.4s ease;
    cursor: pointer;
    position: relative;
    border-radius: 1rem;
    background: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.stat-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.stat-icon {
    transition: all 0.4s ease;
    margin-bottom: 1rem;
}

.stat-card:hover .stat-icon {
    transform: scale(1.2) rotate(5deg);
    animation: pulse-glow 1s ease infinite;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    position: relative;
}

/* Tooltip Styles - Fixed positioning */
.stat-tooltip {
    position: absolute;
    bottom: -70px;
    left: 50%;
    transform: translateX(-50%);
    background: #212529;
    color: white;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    max-width: 280px;
    white-space: normal;
    text-align: center;
    line-height: 1.4;
}

/* Responsive tooltip positioning */
@media (max-width: 768px) {
    .stat-tooltip {
        position: fixed;
        bottom: auto;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        max-width: 90vw;
        z-index: 1050;
    }
}

/* Smart positioning for edge cards */
.stat-card:first-child .stat-tooltip,
.stat-card:nth-child(2) .stat-tooltip {
    left: 0;
    transform: translateX(0);
}

.stat-card:nth-child(3) .stat-tooltip,
.stat-card:last-child .stat-tooltip {
    left: auto;
    right: 0;
    transform: translateX(0);
}

/* Dynamic positioning classes */
.stat-tooltip.tooltip-left {
    left: 0;
    transform: translateX(0);
}

.stat-tooltip.tooltip-right {
    left: auto;
    right: 0;
    transform: translateX(0);
}

.stat-tooltip.tooltip-center {
    left: 50%;
    transform: translateX(-50%);
}

.stat-tooltip::before {
    content: '';
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-bottom: 5px solid #212529;
}

/* Adjust arrow position for edge tooltips */
.stat-card:first-child .stat-tooltip::before,
.stat-card:nth-child(2) .stat-tooltip::before {
    left: 20px;
    transform: translateX(0);
}

.stat-card:nth-child(3) .stat-tooltip::before,
.stat-card:last-child .stat-tooltip::before {
    left: auto;
    right: 20px;
    transform: translateX(0);
}

.stat-card:hover .stat-tooltip {
    opacity: 1;
    visibility: visible;
    bottom: -60px;
}

/* Features Section Enhanced */
.features-section {
    background: white;
    position: relative;
}

.feature-card {
    height: 100%;
    border: 1px solid #e9ecef;
    border-radius: 1.5rem;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: white;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(13, 110, 253, 0.1), transparent);
    transition: left 0.5s ease;
}

.feature-card:hover::before {
    left: 100%;
}

.feature-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    border-color: #0d6efd;
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    transition: all 0.4s ease;
    position: relative;
    z-index: 2;
}

.pulse-icon {
    animation: pulse-subtle 2s ease-in-out infinite;
}

.feature-card:hover .pulse-icon {
    animation: pulse-strong 0.6s ease-in-out;
    transform: scale(1.15) rotate(10deg);
}

.feature-card h4 {
    font-weight: 600;
    margin-bottom: 1rem;
    color: #212529;
    position: relative;
    z-index: 2;
}

.feature-card p {
    color: #6c757d;
    line-height: 1.7;
    position: relative;
    z-index: 2;
}

/* Purple background for medal icon */
.bg-purple {
    background-color: #6f42c1 !important;
}

/* Subjects Section Enhanced */
.subjects-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.subject-card {
    border: none;
    border-radius: 1.5rem;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: white;
    height: 100%;
    position: relative;
}

.subject-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0d6efd, #6610f2);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.subject-card:hover::before {
    transform: scaleX(1);
}

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

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

.subject-icon {
    text-align: center;
    margin-bottom: 1rem;
}

.subject-icon i {
    transition: all 0.3s ease;
}

.subject-card:hover .subject-icon i {
    transform: scale(1.1) rotate(5deg);
    color: #0d6efd !important;
}

.subject-card .card-title {
    font-weight: 600;
    color: #212529;
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.subject-card .card-text {
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.subject-btn {
    transition: all 0.3s ease;
    border-radius: 2rem;
    padding: 0.5rem 1.25rem;
}

.subject-btn:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(13, 110, 253, 0.3);
}

.empty-state {
    padding: 3rem 2rem;
    border-radius: 1rem;
    background: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.empty-state i {
    opacity: 0.5;
    animation: float 3s ease-in-out infinite;
}

/* CTA Section Enhanced */
.cta-section {
    background: linear-gradient(135deg, #0d6efd 0%, #6610f2 100%);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%),
        radial-gradient(circle at 80% 20%, rgba(255, 193, 7, 0.2) 0%, transparent 50%);
    animation: rotate-slow 20s linear infinite;
}

.cta-section .container {
    position: relative;
    z-index: 2;
}

.cta-content {
    position: relative;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    align-items: stretch; /* Make all buttons same height */
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.cta-buttons .cta-primary,
.cta-buttons .cta-secondary {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    padding: 0.875rem 2rem !important;
    font-size: 1.125rem !important;
    font-weight: 600 !important;
    min-height: 56px !important;
    white-space: nowrap !important;
    text-decoration: none !important;
    border-radius: 0.5rem !important;
    border: 2px solid transparent !important;
    transition: all 0.3s ease !important;
    flex-shrink: 0 !important;
    box-sizing: border-box !important;
}

.cta-buttons .cta-primary {
    background-color: var(--color-primary) !important;
    border-color: var(--color-primary) !important;
    color: white !important;
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.4) !important;
}

.cta-buttons .cta-primary:hover,
.cta-buttons .cta-primary:focus {
    background-color: var(--color-primary-dark) !important;
    border-color: var(--color-primary-dark) !important;
    color: white !important;
    text-decoration: none !important;
    transform: scale(1.05) !important;
    box-shadow: 0 6px 20px rgba(255, 193, 7, 0.6) !important;
}

.cta-buttons .cta-secondary {
    background-color: transparent !important;
    border: 2px solid rgba(255, 255, 255, 0.8) !important;
    color: white !important;
}

.cta-buttons .cta-secondary:hover,
.cta-buttons .cta-secondary:focus {
    background-color: rgba(255, 255, 255, 0.15) !important;
    border-color: rgba(255, 255, 255, 1) !important;
    color: white !important;
    text-decoration: none !important;
    transform: scale(1.05) !important;
    backdrop-filter: blur(5px) !important;
}

.cta-pulse {
    animation: pulse-cta 2s ease-in-out infinite;
}

.cta-pulse:hover {
    animation: none;
    transform: scale(1.05);
}

.trust-indicators {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 2rem;
}

.trust-indicators .col-md-3 {
    padding: 1rem;
    transition: all 0.3s ease;
}

.trust-indicators .col-md-3:hover {
    transform: translateY(-5px);
}

.trust-indicators i {
    transition: all 0.3s ease;
}

.trust-indicators .col-md-3:hover i {
    transform: scale(1.2);
    animation: pulse-glow 1s ease infinite;
}

/* Orange Premium Button Styles */
.cta-orange-btn {
    background-color: var(--orange-primary) !important;
    border-color: var(--orange-primary) !important;
    color: white !important;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4) !important;
}

.cta-orange-btn:hover,
.cta-orange-btn:focus {
    background-color: var(--orange-hover) !important;
    border-color: var(--orange-hover) !important;
    color: white !important;
    text-decoration: none !important;
    transform: scale(1.05) !important;
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.6) !important;
}

/* Ensure login/signup buttons in hero section have orange hover */
.hero-btn.cta-secondary.hero-btn-orange:hover,
.hero-btn.cta-secondary.hero-btn-orange:focus {
    background-color: var(--orange-primary) !important;
    border-color: var(--orange-primary) !important;
    color: white !important;
}

/* Make sure primary buttons in hero also use orange when they have the orange class */
.hero-btn.cta-primary.hero-btn-orange:hover,
.hero-btn.cta-primary.hero-btn-orange:focus {
    background-color: var(--orange-primary) !important;
    border-color: var(--orange-primary) !important;
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4) !important;
}

/* Animation Classes Enhanced */
.fade-in-up {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in {
    opacity: 0;
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-80px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(80px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.scale-in.visible {
    opacity: 1;
    transform: scale(1);
}

/* Smooth scrolling for anchor links */
.smooth-scroll {
    scroll-behavior: smooth;
}

/* Keyframe Animations */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes central-pulse {
    0%, 100% { 
        transform: translate(-50%, -50%) scale(1);
        box-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
    }
    50% { 
        transform: translate(-50%, -50%) scale(1.1);
        box-shadow: 0 0 50px rgba(255, 255, 255, 0.5);
    }
}

@keyframes central-rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes orbit-rotate {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes counter-rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(-360deg); }
}

@keyframes glow-pulse {
    0%, 100% { 
        opacity: 0.3;
        transform: scale(1);
    }
    50% { 
        opacity: 0.6;
        transform: scale(1.2);
    }
}

@keyframes pulse-subtle {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes pulse-strong {
    0% { transform: scale(1); }
    50% { transform: scale(1.2) rotate(10deg); }
    100% { transform: scale(1.15) rotate(10deg); }
}

@keyframes pulse-glow {
    0%, 100% { 
        transform: scale(1);
        filter: drop-shadow(0 0 5px currentColor);
    }
    50% { 
        transform: scale(1.1);
        filter: drop-shadow(0 0 15px currentColor);
    }
}

@keyframes pulse-cta {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(255, 193, 7, 0.4);
    }
    50% { 
        transform: scale(1.05);
        box-shadow: 0 8px 25px rgba(255, 193, 7, 0.6);
    }
}

@keyframes bounce-arrow {
    0%, 100% { 
        transform: translateY(0);
        opacity: 0.8;
    }
    50% { 
        transform: translateY(5px);
        opacity: 1;
    }
}

@keyframes scroll-line {
    0%, 100% { 
        opacity: 0.6;
        transform: scaleY(1);
    }
    50% { 
        opacity: 1;
        transform: scaleY(1.2);
    }
}

@keyframes scroll-indicator {
    0% { opacity: 0; top: 10px; }
    50% { opacity: 1; top: 20px; }
    100% { opacity: 0; top: 30px; }
}

@keyframes rotate-slow {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Hero Button System - Force Override */
.hero-buttons-container {
    display: flex !important;
    gap: 1rem !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: flex-start !important;
}

.hero-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 14px 32px !important;
    text-decoration: none !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    font-size: 18px !important;
    min-height: 56px !important;
    transition: all 0.3s ease !important;
    white-space: nowrap !important;
    box-sizing: border-box !important;
    cursor: pointer !important;
}

.hero-btn-primary {
    background-color: var(--color-primary) !important;
    color: white !important;
    border: 2px solid var(--color-primary) !important;
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.4) !important;
}

.hero-btn-primary:hover,
.hero-btn-primary:focus {
    background-color: var(--color-primary-dark) !important;
    color: white !important;
    border-color: var(--color-primary-dark) !important;
    box-shadow: 0 6px 20px rgba(255, 193, 7, 0.6) !important;
    transform: scale(1.05) !important;
    text-decoration: none !important;
}

.hero-btn-secondary {
    background-color: transparent !important;
    color: white !important;
    border: 2px solid rgba(255, 255, 255, 0.8) !important;
}

.hero-btn-secondary:hover,
.hero-btn-secondary:focus {
    background-color: rgba(255, 255, 255, 0.15) !important;
    color: white !important;
    border-color: rgba(255, 255, 255, 1) !important;
    transform: scale(1.05) !important;
    text-decoration: none !important;
    backdrop-filter: blur(5px) !important;
}

.hero-btn i {
    margin-right: 8px !important;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero-buttons-container {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 0.75rem !important;
    }
    
    .hero-btn {
        width: 100% !important;
        max-width: 280px !important;
        margin: 0 auto !important;
        justify-content: center !important;
    }
}

/* Force Override Any Bootstrap or Existing Styles */
.hero-section .hero-buttons-container .hero-btn,
.hero-section .hero-buttons-container .hero-btn-primary,
.hero-section .hero-buttons-container .hero-btn-secondary,
.hero-content .hero-buttons-container .hero-btn,
div.hero-buttons-container a.hero-btn {
    all: unset !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 14px 32px !important;
    text-decoration: none !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    font-size: 18px !important;
    min-height: 56px !important;
    transition: all 0.3s ease !important;
    white-space: nowrap !important;
    box-sizing: border-box !important;
    cursor: pointer !important;
}

/* Primary Button Override */
.hero-section .hero-buttons-container .hero-btn-primary,
.hero-content .hero-buttons-container .hero-btn_primary,
div.hero-buttons-container a.hero-btn-primary {
    background-color: var(--color-primary) !important;
    color: white !important;
    border: 2px solid var(--color-primary) !important;
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.4) !important;
}

/* Secondary Button Override */
.hero-section .hero-buttons-container .hero-btn-secondary,
.hero-content .hero-buttons-container .hero-btn_secondary,
div.hero-buttons-container a.hero-btn-secondary {
    background-color: transparent !important;
    color: white !important;
    border: 2px solid rgba(255, 255, 255, 0.8) !important;
}

/* Hero Section Specific Styles */

/* Hero Section Enhanced */
.hero-section {
    background: linear-gradient(135deg, #0d6efd 0%, #6610f2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 193, 7, 0.3) 0%, transparent 50%);
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

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

/* Hero Content Animations */
.hero-content {
    position: relative;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.6;
    opacity: 0.9;
}

.hero-cta-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: stretch; /* Make all buttons same height */
    justify-content: flex-start;
}

.cta-primary,
.cta-secondary {
    transform: scale(1) !important;
    transition: all 0.3s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    padding: 0.875rem 2rem !important;
    font-size: 1.125rem !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    border-radius: 0.5rem !important;
    min-height: 56px !important;
    white-space: nowrap !important;
    border: 2px solid transparent !important;
    flex-shrink: 0 !important;
    box-sizing: border-box !important;
}

.cta-primary {
    background-color: var(--color-primary) !important;
    border-color: var(--color-primary) !important;
    color: white !important;
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.4) !important;
}

.cta-primary:hover,
.cta-primary:focus {
    transform: scale(1.05) !important;
    background-color: var(--color-primary-dark) !important;
    border-color: var(--color-primary-dark) !important;
    color: white !important;
    box-shadow: 0 6px 20px rgba(255, 193, 7, 0.6) !important;
    text-decoration: none !important;
}

.cta-secondary {
    background-color: transparent !important;
    border: 2px solid rgba(255, 255, 255, 0.8) !important;
    color: white !important;
}

.cta-secondary:hover,
.cta-secondary:focus {
    transform: scale(1.05) !important;
    background-color: rgba(255, 255, 255, 0.15) !important;
    border-color: rgba(255, 255, 255, 1) !important;
    color: white !important;
    text-decoration: none !important;
    backdrop-filter: blur(5px) !important;
}

/* Button Icon Spacing */
.cta-primary i,
.cta-secondary i {
    margin-right: 0.5rem;
}

.hero-cta-buttons .cta-primary i,
.hero-cta-buttons .cta-secondary i {
    margin-right: 0.5rem;
}

.cta-buttons .cta-primary i,
.cta-buttons .cta-secondary i {
    margin-right: 0.5rem;
}

/* Hero Illustration - Orbiting Animation */
.hero-illustration {
    position: relative;
    display: inline-block;
    padding: 4rem;
    width: 100%;
    max-width: 500px;
    height: 500px;
    margin: 0 auto;
}

/* Central Medical Icon */
.central-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    animation: central-pulse 3s ease-in-out infinite;
    z-index: 10;
}

.central-icon i {
    font-size: 3.5rem;
    color: rgba(255, 255, 255, 0.9);
    animation: central-rotate 6s linear infinite;
}

/* Orbit Container */
.orbit-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 350px;
    height: 350px;
    border-radius: 50%;
    border: 1px dashed rgba(255, 255, 255, 0.2);
    animation: orbit-rotate 20s linear infinite;
}

/* Orbit Elements */
.orbit-element {
    position: absolute;
    width: 80px;
    height: 80px;
    animation: counter-rotate 20s linear infinite reverse;
}

.orbit-icon {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.9), rgba(255, 193, 7, 0.7));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.orbit-icon:hover {
    transform: scale(1.2);
    box-shadow: 0 12px 35px rgba(255, 193, 7, 0.4);
}

.orbit-icon i {
    font-size: 1.8rem;
    color: #1a1a1a;
    font-weight: 600;
}

/* Positioning each orbit element */
.orbit-1 {
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 0s;
}

.orbit-2 {
    top: 25%;
    right: -40px;
    animation-delay: -3.33s;
}

.orbit-3 {
    bottom: -40px;
    right: 25%;
    animation-delay: -6.66s;
}

.orbit-4 {
    bottom: -40px;
    left: 25%;
    animation-delay: -10s;
}

.orbit-5 {
    top: 25%;
    left: -40px;
    animation-delay: -13.33s;
}

.orbit-6 {
    top: -40px;
    right: 25%;
    animation-delay: -16.66s;
}

/* Background Glow Effects */
.glow-effect {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 193, 7, 0.3), transparent);
    animation: glow-pulse 4s ease-in-out infinite;
}

.glow-1 {
    top: 10%;
    left: 10%;
    width: 100px;
    height: 100px;
    animation-delay: 0s;
}

.glow-2 {
    bottom: 20%;
    right: 15%;
    width: 80px;
    height: 80px;
    animation-delay: 1.5s;
}

.glow-3 {
    top: 60%;
    left: 20%;
    width: 60px;
    height: 60px;
    animation-delay: 3s;
}

/* Scroll Indicator - Arrow Design */
.hero-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    cursor: pointer;
}

.scroll-down {
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.scroll-down:hover {
    opacity: 1;
    transform: translateY(-2px);
}

.scroll-down::before {
    content: '';
    width: 2px;
    height: 30px;
    background: rgba(255, 255, 255, 0.6);
    margin-bottom: 8px;
    animation: scroll-line 2s ease-in-out infinite;
}

.scroll-down::after {
    content: '';
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 12px solid rgba(255, 255, 255, 0.8);
    animation: bounce-arrow 2s ease-in-out infinite;
}

.scroll-down span {
    display: none; /* Remove the old dots */
}

/* Stats Section Enhanced */
.stats-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
}

.stat-card {
    text-align: center;
    padding: 2rem 1rem;
    transition: all 0.4s ease;
    cursor: pointer;
    position: relative;
    border-radius: 1rem;
    background: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.stat-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.stat-icon {
    transition: all 0.4s ease;
    margin-bottom: 1rem;
}

.stat-card:hover .stat-icon {
    transform: scale(1.2) rotate(5deg);
    animation: pulse-glow 1s ease infinite;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    position: relative;
}

/* Tooltip Styles - Fixed positioning */
.stat-tooltip {
    position: absolute;
    bottom: -70px;
    left: 50%;
    transform: translateX(-50%);
    background: #212529;
    color: white;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    max-width: 280px;
    white-space: normal;
    text-align: center;
    line-height: 1.4;
}

/* Responsive tooltip positioning */
@media (max-width: 768px) {
    .stat-tooltip {
        position: fixed;
        bottom: auto;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        max-width: 90vw;
        z-index: 1050;
    }
}

/* Smart positioning for edge cards */
.stat-card:first-child .stat-tooltip,
.stat-card:nth-child(2) .stat-tooltip {
    left: 0;
    transform: translateX(0);
}

.stat-card:nth-child(3) .stat-tooltip,
.stat-card:last-child .stat-tooltip {
    left: auto;
    right: 0;
    transform: translateX(0);
}

/* Dynamic positioning classes */
.stat-tooltip.tooltip-left {
    left: 0;
    transform: translateX(0);
}

.stat-tooltip.tooltip-right {
    left: auto;
    right: 0;
    transform: translateX(0);
}

.stat-tooltip.tooltip-center {
    left: 50%;
    transform: translateX(-50%);
}

.stat-tooltip::before {
    content: '';
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-bottom: 5px solid #212529;
}

/* Adjust arrow position for edge tooltips */
.stat-card:first-child .stat-tooltip::before,
.stat-card:nth-child(2) .stat-tooltip::before {
    left: 20px;
    transform: translateX(0);
}

.stat-card:nth-child(3) .stat-tooltip::before,
.stat-card:last-child .stat-tooltip::before {
    left: auto;
    right: 20px;
    transform: translateX(0);
}

.stat-card:hover .stat-tooltip {
    opacity: 1;
    visibility: visible;
    bottom: -60px;
}

/* Features Section Enhanced */
.features-section {
    background: white;
    position: relative;
}

.feature-card {
    height: 100%;
    border: 1px solid #e9ecef;
    border-radius: 1.5rem;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: white;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(13, 110, 253, 0.1), transparent);
    transition: left 0.5s ease;
}

.feature-card:hover::before {
    left: 100%;
}

.feature-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    border-color: #0d6efd;
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    transition: all 0.4s ease;
    position: relative;
    z-index: 2;
}

.pulse-icon {
    animation: pulse-subtle 2s ease-in-out infinite;
}

.feature-card:hover .pulse-icon {
    animation: pulse-strong 0.6s ease-in-out;
    transform: scale(1.15) rotate(10deg);
}

.feature-card h4 {
    font-weight: 600;
    margin-bottom: 1rem;
    color: #212529;
    position: relative;
    z-index: 2;
}

.feature-card p {
    color: #6c757d;
    line-height: 1.7;
    position: relative;
    z-index: 2;
}

/* Purple background for medal icon */
.bg-purple {
    background-color: #6f42c1 !important;
}

/* Subjects Section Enhanced */
.subjects-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.subject-card {
    border: none;
    border-radius: 1.5rem;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: white;
    height: 100%;
    position: relative;
}

.subject-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0d6efd, #6610f2);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.subject-card:hover::before {
    transform: scaleX(1);
}

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

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

.subject-icon {
    text-align: center;
    margin-bottom: 1rem;
}

.subject-icon i {
    transition: all 0.3s ease;
}

.subject-card:hover .subject-icon i {
    transform: scale(1.1) rotate(5deg);
    color: #0d6efd !important;
}

.subject-card .card-title {
    font-weight: 600;
    color: #212529;
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.subject-card .card-text {
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.subject-btn {
    transition: all 0.3s ease;
    border-radius: 2rem;
    padding: 0.5rem 1.25rem;
}

.subject-btn:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(13, 110, 253, 0.3);
}

.empty-state {
    padding: 3rem 2rem;
    border-radius: 1rem;
    background: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.empty-state i {
    opacity: 0.5;
    animation: float 3s ease-in-out infinite;
}

/* CTA Section Enhanced */
.cta-section {
    background: linear-gradient(135deg, #0d6efd 0%, #6610f2 100%);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%),
        radial-gradient(circle at 80% 20%, rgba(255, 193, 7, 0.2) 0%, transparent 50%);
    animation: rotate-slow 20s linear infinite;
}

.cta-section .container {
    position: relative;
    z-index: 2;
}

.cta-content {
    position: relative;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    align-items: stretch; /* Make all buttons same height */
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.cta-buttons .cta-primary,
.cta-buttons .cta-secondary {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    padding: 0.875rem 2rem !important;
    font-size: 1.125rem !important;
    font-weight: 600 !important;
    min-height: 56px !important;
    white-space: nowrap !important;
    text-decoration: none !important;
    border-radius: 0.5rem !important;
    border: 2px solid transparent !important;
    transition: all 0.3s ease !important;
    flex-shrink: 0 !important;
    box-sizing: border-box !important;
}

.cta-buttons .cta-primary {
    background-color: var(--color-primary) !important;
    border-color: var(--color-primary) !important;
    color: white !important;
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.4) !important;
}

.cta-buttons .cta-primary:hover,
.cta-buttons .cta-primary:focus {
    background-color: var(--color-primary-dark) !important;
    border-color: var(--color-primary-dark) !important;
    color: white !important;
    text-decoration: none !important;
    transform: scale(1.05) !important;
    box-shadow: 0 6px 20px rgba(255, 193, 7, 0.6) !important;
}

.cta-buttons .cta-secondary {
    background-color: transparent !important;
    border: 2px solid rgba(255, 255, 255, 0.8) !important;
    color: white !important;
}

.cta-buttons .cta-secondary:hover,
.cta-buttons .cta-secondary:focus {
    background-color: rgba(255, 255, 255, 0.15) !important;
    border-color: rgba(255, 255, 255, 1) !important;
    color: white !important;
    text-decoration: none !important;
    transform: scale(1.05) !important;
    backdrop-filter: blur(5px) !important;
}

.cta-pulse {
    animation: pulse-cta 2s ease-in-out infinite;
}

.cta-pulse:hover {
    animation: none;
    transform: scale(1.05);
}

.trust-indicators {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 2rem;
}

.trust-indicators .col-md-3 {
    padding: 1rem;
    transition: all 0.3s ease;
}

.trust-indicators .col-md-3:hover {
    transform: translateY(-5px);
}

.trust-indicators i {
    transition: all 0.3s ease;
}

.trust-indicators .col-md-3:hover i {
    transform: scale(1.2);
    animation: pulse-glow 1s ease infinite;
}

/* Orange Premium Button Styles */
.cta-orange-btn {
    background-color: var(--orange-primary) !important;
    border-color: var(--orange-primary) !important;
    color: white !important;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4) !important;
}

.cta-orange-btn:hover,
.cta-orange-btn:focus {
    background-color: var(--orange-hover) !important;
    border-color: var(--orange-hover) !important;
    color: white !important;
    text-decoration: none !important;
    transform: scale(1.05) !important;
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.6) !important;
}

/* Ensure login/signup buttons in hero section have orange hover */
.hero-btn.cta-secondary.hero-btn-orange:hover,
.hero-btn.cta-secondary.hero-btn-orange:focus {
    background-color: var(--orange-primary) !important;
    border-color: var(--orange-primary) !important;
    color: white !important;
}

/* Make sure primary buttons in hero also use orange when they have the orange class */
.hero-btn.cta-primary.hero-btn-orange:hover,
.hero-btn.cta-primary.hero-btn-orange:focus {
    background-color: var(--orange-primary) !important;
    border-color: var(--orange-primary) !important;
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4) !important;
}

/* Animation Classes Enhanced */
.fade-in-up {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in {
    opacity: 0;
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-80px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(80px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.scale-in.visible {
    opacity: 1;
    transform: scale(1);
}

/* Smooth scrolling for anchor links */
.smooth-scroll {
    scroll-behavior: smooth;
}

/* Keyframe Animations */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes central-pulse {
    0%, 100% { 
        transform: translate(-50%, -50%) scale(1);
        box-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
    }
    50% { 
        transform: translate(-50%, -50%) scale(1.1);
        box-shadow: 0 0 50px rgba(255, 255, 255, 0.5);
    }
}

@keyframes central-rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes orbit-rotate {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes counter-rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(-360deg); }
}

@keyframes glow-pulse {
    0%, 100% { 
        opacity: 0.3;
        transform: scale(1);
    }
    50% { 
        opacity: 0.6;
        transform: scale(1.2);
    }
}

@keyframes pulse-subtle {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes pulse-strong {
    0% { transform: scale(1); }
    50% { transform: scale(1.2) rotate(10deg); }
    100% { transform: scale(1.15) rotate(10deg); }
}

@keyframes pulse-glow {
    0%, 100% { 
        transform: scale(1);
        filter: drop-shadow(0 0 5px currentColor);
    }
    50% { 
        transform: scale(1.1);
        filter: drop-shadow(0 0 15px currentColor);
    }
}

@keyframes pulse-cta {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(255, 193, 7, 0.4);
    }
    50% { 
        transform: scale(1.05);
        box-shadow: 0 8px 25px rgba(255, 193, 7, 0.6);
    }
}

@keyframes bounce-arrow {
    0%, 100% { 
        transform: translateY(0);
        opacity: 0.8;
    }
    50% { 
        transform: translateY(5px);
        opacity: 1;
    }
}

@keyframes scroll-line {
    0%, 100% { 
        opacity: 0.6;
        transform: scaleY(1);
    }
    50% { 
        opacity: 1;
        transform: scaleY(1.2);
    }
}

@keyframes scroll-indicator {
    0% { opacity: 0; top: 10px; }
    50% { opacity: 1; top: 20px; }
    100% { opacity: 0; top: 30px; }
}

@keyframes rotate-slow {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Hero Button System - Force Override */
.hero-buttons-container {
    display: flex !important;
    gap: 1rem !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: flex-start !important;
}

.hero-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 14px 32px !important;
    text-decoration: none !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    font-size: 18px !important;
    min-height: 56px !important;
    transition: all 0.3s ease !important;
    white-space: nowrap !important;
    box-sizing: border-box !important;
    cursor: pointer !important;
}

.hero-btn-primary {
    background-color: var(--color-primary) !important;
    color: white !important;
    border: 2px solid var(--color-primary) !important;
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.4) !important;
}

.hero-btn-primary:hover,
.hero-btn-primary:focus {
    background-color: var(--color-primary-dark) !important;
    color: white !important;
    border-color: var(--color-primary-dark) !important;
    box-shadow: 0 6px 20px rgba(255, 193, 7, 0.6) !important;
    transform: scale(1.05) !important;
    text-decoration: none !important;
}

.hero-btn-secondary {
    background-color: transparent !important;
    color: white !important;
    border: 2px solid rgba(255, 255, 255, 0.8) !important;
}

.hero-btn-secondary:hover,
.hero-btn-secondary:focus {
    background-color: rgba(255, 255, 255, 0.15) !important;
    color: white !important;
    border-color: rgba(255, 255, 255, 1) !important;
    transform: scale(1.05) !important;
    text-decoration: none !important;
    backdrop-filter: blur(5px) !important;
}

.hero-btn i {
    margin-right: 8px !important;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero-buttons-container {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 0.75rem !important;
    }
    
    .hero-btn {
        width: 100% !important;
        max-width: 280px !important;
        margin: 0 auto !important;
        justify-content: center !important;
    }
}

/* Force Override Any Bootstrap or Existing Styles */
.hero-section .hero-buttons-container .hero-btn,
.hero-section .hero-buttons-container .hero-btn-primary,
.hero-section .hero-buttons-container .hero-btn-secondary,
.hero-content .hero-buttons-container .hero-btn,
div.hero-buttons-container a.hero-btn {
    all: unset !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 14px 32px !important;
    text-decoration: none !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    font-size: 18px !important;
    min-height: 56px !important;
    transition: all 0.3s ease !important;
    white-space: nowrap !important;
    box-sizing: border-box !important;
    cursor: pointer !important;
}

/* Primary Button Override */
.hero-section .hero-buttons-container .hero-btn-primary,
.hero-content .hero-buttons-container .hero-btn_primary,
div.hero-buttons-container a.hero-btn-primary {
    background-color: var(--color-primary) !important;
    color: white !important;
    border: 2px solid var(--color-primary) !important;
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.4) !important;
}

/* Secondary Button Override */
.hero-section .hero-buttons-container .hero-btn-secondary,
.hero-content .hero-buttons-container .hero-btn_secondary,
div.hero-buttons-container a.hero-btn-secondary {
    background-color: transparent !important;
    color: white !important;
    border: 2px solid rgba(255, 255, 255, 0.8) !important;
}

/* FINAL OVERRIDE: Premium Button Orange Styling - Highest Priority */
.cta-section .cta-buttons a.cta-primary.cta-orange-btn,
.cta-section .cta-content .cta-buttons a.cta-primary.cta-orange-btn,
section.cta-section .container .cta-content .cta-buttons a.cta-primary.cta-orange-btn,
a.cta-primary.cta-orange-btn {
    background-color: #ff6b35 !important;
    border-color: #ff6b35 !important;
    color: white !important;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4) !important;
}

.cta-section .cta-buttons a.cta-primary.cta-orange-btn:hover,
.cta-section .cta-buttons a.cta-primary.cta-orange-btn:focus,
.cta-section .cta-content .cta-buttons a.cta-primary.cta-orange-btn:hover,
.cta-section .cta-content .cta-buttons a.cta-primary.cta-orange-btn:focus,
section.cta-section .container .cta-content .cta-buttons a.cta-primary.cta-orange-btn:hover,
section.cta-section .container .cta-content .cta-buttons a.cta-primary.cta-orange-btn:focus,
a.cta-primary.cta-orange-btn:hover,
a.cta-primary.cta-orange-btn:focus {
    background-color: #e55a2b !important;
    border-color: #e55a2b !important;
    color: white !important;
    text-decoration: none !important;
    transform: scale(1.05) !important;
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.6) !important;
}