body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.navbar-brand {
    font-weight: bold;
    font-size: 1.5rem;
    transition: opacity 0.3s;
}

.navbar-brand:hover {
    opacity: 0.8;
}

.nav-link {
    position: relative;
    transition: color 0.3s;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #007bff;
    transition: width 0.3s;
}

.nav-link:hover::after {
    width: 100%;
}

.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('web-files/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.4) 100%);
}

.jumbotron {
    padding: 2rem;
    background-color: #f8f9fa;
    border-radius: 0.3rem;
}

.card {
    border: none;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.card-img-top {
    height: 200px;
    object-fit: cover;
}

.scroll-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: none;
    z-index: 999;
}

footer {
    margin-top: auto;
    background: #212529;
}

.social-links a {
    transition: transform 0.3s;
    display: inline-block;
}

.social-links a:hover {
    transform: scale(1.2);
}

.bg-light {
    background-color: #f8f9fa !important;
}

.lead {
    font-size: 1.1rem;
    line-height: 1.7;
}

.list-unstyled li {
    margin-bottom: 0.5rem;
    padding: 0.5rem 0;
}

.feature-list li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    transition: all 0.3s ease;
}

.feature-list li:last-child {
    border-bottom: none;
}

.feature-list li:hover {
    transform: translateX(10px);
    color: #0d6efd;
}

.feature-list .text-success {
    color: #198754 !important;
}

.feature-item {
    padding: 8px 0;
    transition: transform 0.2s ease;
}

.feature-item:hover {
    transform: translateX(10px);
}

.demo-card {
    transition: transform 0.3s ease;
}

.demo-card:hover {
    transform: translateY(-5px);
}

.main-cta {
    transition: all 0.3s ease;
}

.main-cta:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.demo-btn {
    transition: all 0.2s ease;
}

.demo-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 3px 8px rgba(0,0,0,0.1);
}

.demo-title {
    color: #555;
    font-weight: 500;
}

.feature-item i {
    transition: transform 0.2s ease;
}

.feature-item:hover i {
    transform: scale(1.2);
}

.dropdown-menu {
    border: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    margin-top: 10px;
}

.dropdown-item {
    padding: 8px 20px;
    transition: all 0.2s ease;
}

.dropdown-item i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

.dropdown-item:hover {
    background-color: #0d6efd;
    transform: translateX(5px);
}

.animate {
    animation-duration: 0.3s;
    animation-fill-mode: both;
}

.slideIn {
    animation-name: slideIn;
}

@keyframes slideIn {
    0% {
        transform: translateY(1rem);
        opacity: 0;
    }
    100% {
        transform: translateY(0rem);
        opacity: 1;
    }
}

.navbar .nav-item:hover .dropdown-menu {
    display: block;
}

.dropdown-menu-dark {
    background-color: #343a40;
}

.dropdown-divider {
    border-color: rgba(255,255,255,0.1);
}

.stats-box {
    transform: translate(30px, 30px);
    border-top-right-radius: 0;
}

.badge {
    padding: 8px 16px;
    font-size: 1rem;
}

@media (max-width: 768px) {
    .hero-section {
        height: 70vh;
        padding: 2rem 0;
    }
    
    .display-3 {
        font-size: 2.5rem;
    }

    .lead {
        font-size: 1.1rem;
    }

    .feature-card .card-body {
        padding: 1.25rem;
    }

    .feature-list {
        margin-bottom: 0;
    }

    .feature-item {
        padding: 0.5rem;
        font-size: 0.9rem;
    }

    .feature-icon {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }

    .card {
        margin-bottom: 1rem;
    }

    .main-cta {
        width: 90% !important;
    }

    .demo-btn {
        padding: 0.5rem;
        font-size: 0.9rem;
    }

    .stats-box {
        padding: 1rem !important;
        transform: translate(15px, 15px);
    }

    .container {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

    .mt-5 {
        margin-top: 3rem !important;
    }

    .py-5 {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    }
}

/* Small devices optimization */
@media (max-width: 576px) {
    .feature-card .row {
        flex-direction: column;
    }

    .col-md-6 {
        width: 100%;
    }

    .feature-list {
        padding-left: 0.5rem;
    }

    .purchase-btn {
        width: 90% !important;
        font-size: 1rem;
        padding: 0.75rem;
    }
}

/* Mobile Menu Styles */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background: #1a1a1a;
        padding: 1rem;
        border-radius: 8px;
        margin-top: 10px;
    }

    .mobile-nav .nav-item {
        margin: 8px 0;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        padding-bottom: 8px;
    }

    .mobile-nav .nav-item:last-child {
        border-bottom: none;
    }

    .mobile-nav .nav-link {
        display: flex;
        align-items: center;
        padding: 10px 15px;
        transition: all 0.3s ease;
    }

    .mobile-nav .nav-link i {
        margin-right: 15px;
        width: 20px;
        text-align: center;
    }

    .mobile-nav .nav-link:hover {
        background: rgba(255,255,255,0.1);
        border-radius: 6px;
    }

    .custom-toggler {
        border: none;
        padding: 8px;
    }

    .custom-toggler:focus {
        box-shadow: none;
    }
}

/* Add smooth animation to mobile menu */
.navbar-collapse {
    transition: all 0.3s ease;
}

.navbar-collapse.collapsing {
    height: auto;
}

.navbar-collapse.show {
    animation: slideDown 0.3s ease forwards;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* LMS Section Styles */
.feature-card {
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-item {
    padding: 8px;
    border-radius: 6px;
    transition: background-color 0.3s ease;
}

.feature-item:hover {
    background-color: rgba(0,0,0,0.05);
}

.demo-card {
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
    border: none;
    transition: transform 0.3s ease;
}

.demo-card:hover {
    transform: translateY(-5px);
}

.demo-btn {
    transition: all 0.3s ease;
}

.demo-btn:hover {
    background-color: var(--bs-primary);
    color: white;
    transform: translateX(5px);
}

.main-cta {
    transition: all 0.3s ease;
}

.main-cta:hover {
    transform: scale(1.05);
}

/* Purchase Button Styles */
.purchase-btn {
    transition: all 0.3s ease;
    padding: 12px 30px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.purchase-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Core animations */
.hero-content {
    animation: fadeInUp 0.8s ease-out;
}

.fade-in {
    opacity: 0;
    animation: fadeIn 0.8s ease-out forwards;
}

/* Animation keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Smooth transitions */
.card, .btn, .nav-link {
    transition: all 0.3s ease;
}

/* Interactive elements */
.hover-lift:hover {
    transform: translateY(-3px);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.btn:hover {
    transform: translateY(-2px);
}

/* Navigation effects */
.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--bs-primary);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Scroll to top button */
.scroll-to-top {
    position: fixed;
    bottom: 25px;
    right: 25px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
}

/* Footer link effects */
.footer-links a {
    transition: all 0.3s ease;
}

.footer-links a:hover {
    padding-left: 10px;
    color: var(--bs-primary) !important;
}

/* Social media hover effects */
.social-links a {
    transition: transform 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-3px);
}

/* Package Card Styles */
.package-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 15px;
    overflow: hidden;
    background: #fff;
}

.package-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.premium-card {
    position: relative;
    background: linear-gradient(to bottom right, #ffffff, #f8f9fa);
}

.package-icon {
    transition: transform 0.3s ease;
}

.package-card:hover .package-icon {
    transform: scale(1.1);
}

.pricing {
    position: relative;
    padding: 20px 0;
}

.pricing::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background: #007bff;
}

.coder-text {
    font-family: 'Consolas', monospace;
    font-size: 1.5rem;
    color: #00ff00;
    text-shadow: 0 0 10px rgba(0, 255, 0, 0.5);
}

.bracket {
    color: #ff9900;
    animation: glow 1.5s ease-in-out infinite alternate;
}

.cursor {
    animation: blink 1s infinite;
}

@keyframes glow {
    from {
        text-shadow: 0 0 5px #ff9900, 0 0 10px #ff9900;
    }
    to {
        text-shadow: 0 0 10px #ff9900, 0 0 20px #ff9900;
    }
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.nav-link:hover {
    color: #00ff00 !important;
    text-shadow: 0 0 10px rgba(0, 255, 0, 0.5);
}
