/* Global Styles */
:root {
    --primary-color: #1a237e;
    --secondary-color: #1e40af;
    --accent-color: #00e5ff;
    --text-dark: #000000;
    --text-light: #000000;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.15);
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #000000;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #000000;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #000000;
    margin-bottom: 3rem;
}

/* Section Heading Underline */
.section-title.position-relative {
    padding-bottom: 0.5rem;
}
.section-underline {
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #00e5ff 0%, #ff9100 100%);
    border-radius: 2px;
    margin: 0.5rem auto 0 auto;
}

/* Modern Navbar Styles */
#mainNavbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    padding: 1rem 0;
    font-family: 'Poppins', sans-serif;
}

#mainNavbar.navbar-scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 0.75rem 0;
}

.navbar-brand {
    text-decoration: none;
    transition: transform 0.3s ease;
}

.navbar-brand:hover {
    transform: scale(1.05);
}

.navbar-logo {
    height: 40px;
    width: auto;
    transition: all 0.3s ease;
}

.navbar-brand-text {
    font-weight: 700;
    font-size: 1.25rem;
    color: #000000;
    margin-left: 0.5rem;
}

.navbar-nav {
    align-items: center;
}

.nav-item {
    margin: 0 0.5rem;
}

.nav-link {
    color: #000000 !important;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.75rem 1rem !important;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #00c6fb !important;
    background: rgba(0, 198, 251, 0.1);
    transform: translateY(-2px);
}

.nav-link.active {
    color: #00c6fb !important;
    background: rgba(0, 198, 251, 0.1);
    font-weight: 600;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background: linear-gradient(90deg, #00c6fb 0%, #ff9100 100%);
    border-radius: 1px;
}

/* Dropdown Styles */
.dropdown-menu {
    border: none;
    border-radius: 1rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(20px);
    background: rgba(255, 255, 255, 0.95);
    padding: 0.5rem;
    margin-top: 0.5rem;
    animation: dropdownFadeIn 0.3s ease;
}

@keyframes dropdownFadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-item {
    color: #000000;
    font-weight: 500;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background: linear-gradient(135deg, #00c6fb 0%, #ff9100 100%);
    color: #fff;
    transform: translateX(5px);
}

.dropdown-divider {
    margin: 0.5rem 0;
    border-color: rgba(0, 0, 0, 0.1);
}

/* CTA Button */
.navbar .btn-primary {
    background: linear-gradient(135deg, #00c6fb 0%, #ff9100 100%);
    border: none;
    color: #fff;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 2rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(0, 198, 251, 0.3);
}

.navbar .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(0, 198, 251, 0.4);
    color: #fff;
}

/* Mobile Toggle Button */
.navbar-toggler {
    border: none;
    padding: 0.5rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.navbar-toggler:focus {
    box-shadow: none;
    outline: none;
}

.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(10, 37, 64, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    transition: all 0.3s ease;
}

.navbar-toggler:hover .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(0, 198, 251, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Mobile Menu Styles */
@media (max-width: 991.98px) {
    #mainNavbar {
        padding: 0.75rem 0;
    }
    
    .navbar-collapse {
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        border-radius: 1rem;
        margin-top: 1rem;
        padding: 1rem;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    }
    
    .navbar-nav {
        text-align: center;
    }
    
    .nav-item {
        margin: 0.5rem 0;
    }
    
    .nav-link {
        padding: 1rem !important;
        font-size: 1rem;
    }
    
    .dropdown-menu {
        background: rgba(248, 249, 250, 0.95);
        border: 1px solid rgba(0, 0, 0, 0.1);
        margin-top: 0;
        text-align: center;
    }
    
    .navbar .btn-primary {
        margin-top: 1rem;
        width: 100%;
        max-width: 200px;
    }
    
    .navbar-brand-text {
        font-size: 1.1rem;
    }
    
    .navbar-logo {
        height: 35px;
    }
}

@media (max-width: 767.98px) {
    .navbar-brand-text {
        font-size: 1rem;
    }
    
    .navbar-logo {
        height: 30px;
    }
    
    .nav-link {
        font-size: 0.95rem;
    }
}

/* Smooth scroll offset for fixed navbar */
html {
    scroll-padding-top: 100px;
}

/* Enhanced Header Styles */
.main-header-section {
    position: relative;
    overflow: hidden;
}

.main-header-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(13, 110, 253, 0.02) 0%, rgba(0, 86, 179, 0.02) 100%);
    pointer-events: none;
}

.logo-container {
    position: relative;
    display: inline-block;
}

.logo-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 140px;
    height: 140px;
    background: radial-gradient(circle, rgba(13, 110, 253, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
}

.logo-container:hover .logo-glow {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.2);
}

.main-logo {
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
    transition: all 0.3s ease;
}

.logo-container:hover .main-logo {
    transform: scale(1.05);
    filter: drop-shadow(0 8px 16px rgba(13, 110, 253, 0.2));
}

.brand-title {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.3s ease;
}

.brand-subtitle {
    position: relative;
    overflow: hidden;
}

.brand-subtitle::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #0d6efd, #0dcaf0);
    transition: width 0.3s ease;
}

.brand-subtitle:hover::after {
    width: 100%;
}

.header-contact {
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    /* background: rgba(255, 255, 255, 0.8); */
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid rgba(13, 110, 253, 0.1);
}

.contact-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(13, 110, 253, 0.15);
    background: #589989;
    border-color: rgba(13, 110, 253, 0.2);
}

.contact-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #0d6efd, #0dcaf0);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
    box-shadow: 0 4px 12px rgba(13, 110, 253, 0.3);
    transition: all 0.3s ease;
}

.contact-item:hover .contact-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 16px rgba(13, 110, 253, 0.4);
}

.contact-details {
    display: flex;
    flex-direction: column;
}

.contact-label {
    font-size: 0.75rem;
    color: #6c757d;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.25rem;
}

.contact-value {
    font-size: 0.9rem;
    color: #2c3e50;
    font-weight: 600;
    line-height: 1.2;
}

/* Enhanced Navbar and Header Styles */

.navbar-top, .navbar-bottom, .navbar-dark {
    background: linear-gradient(90deg, #0a1929 0%, #1a237e 100%);
    box-shadow: 0 2px 12px rgba(10,25,41,0.12);
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.navbar-top {
    border-bottom: 1.5px solid #e3e8f0;
    font-size: 1.1rem;
}

.navbar-top .fw-bold, .navbar-top i {
    color: #ff3c2a !important;
    font-size: 1.3rem;
}

.navbar-top .btn-danger {
    background: linear-gradient(90deg, #ff3c2a 60%, #ff9100 100%);
    border: none;
    border-radius: 1.5rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(255,60,42,0.08);
    transition: transform 0.2s, box-shadow 0.2s;
}
.navbar-top .btn-danger:hover {
    transform: scale(1.07);
    box-shadow: 0 4px 16px rgba(255,60,42,0.18);
}

.navbar-top .btn-warning {
    background: linear-gradient(90deg, #ffc107 60%, #ff9100 100%);
    color: #222;
    border: none;
    border-radius: 1.5rem;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(255,193,7,0.08);
    transition: transform 0.2s, box-shadow 0.2s;
}
.navbar-top .btn-warning:hover {
    transform: scale(1.07);
    box-shadow: 0 4px 16px rgba(255,193,7,0.18);
}

.navbar-middle {
    background: #fff;
    box-shadow: 0 2px 8px rgba(10,25,41,0.08);
    border-bottom: 2px solid #e3e8f0;
}

.navbar-middle img {
    margin: 0 0.5rem;
    transition: transform 0.2s, box-shadow 0.2s;
    border-radius: 0.5rem;
    box-shadow: 0 2px 8px rgba(10,25,41,0.06);
}
.navbar-middle img:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 24px rgba(0,229,255,0.12);
}

.navbar-dark {
    background: linear-gradient(90deg, #0a1929 0%, #1a237e 100%);
    box-shadow: 0 2px 12px rgba(10,25,41,0.12);
}

.navbar-dark .navbar-nav .nav-link {
    color: #000000 !important;
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    padding: 1rem 1.2rem;
    transition: color 0.2s, background 0.2s, transform 0.2s;
    border-radius: 0.7rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.navbar-dark .navbar-nav .nav-link i {
    color: #00e5ff !important;
    font-size: 1.3rem;
    transition: color 0.2s;
}

.navbar-dark .navbar-nav .nav-link:hover, .navbar-dark .navbar-nav .nav-link.active {
    color: #ff9100 !important;
    background: rgba(0,229,255,0.08);
    transform: translateY(-2px) scale(1.04);
}

.navbar-dark .navbar-nav .nav-link:hover i, .navbar-dark .navbar-nav .nav-link.active i {
    color: #ff9100 !important;
}

.navbar-dark .dropdown-menu {
    background: #162447;
    border-radius: 0.7rem;
    box-shadow: 0 4px 16px rgba(10,25,41,0.18);
    border: none;
    margin-top: 0.5rem;
}

.navbar-dark .dropdown-item {
    color: #000000;
    font-weight: 500;
    padding: 0.7rem 1.5rem;
    border-radius: 0.5rem;
    transition: background 0.2s, color 0.2s;
}

.navbar-dark .dropdown-item:hover, .navbar-dark .dropdown-item:focus {
    background: #00e5ff;
    color: #0a1929;
}

@media (max-width: 991px) {
    .navbar-dark .navbar-nav .nav-link {
        padding: 0.8rem 1rem;
        font-size: 1rem;
    }
    .navbar-middle img {
        height: 40px !important;
    }
}
@media (max-width: 767px) {
    .navbar-middle img {
        height: 32px !important;
        margin: 0 0.2rem;
    }
    .navbar-dark .navbar-nav .nav-link {
        padding: 0.7rem 0.7rem;
        font-size: 0.98rem;
    }
}

/* Modern Tech-Focused Hero Section */
.hero-section {
    min-height: 100vh;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
    position: relative;
    overflow: hidden;
    padding: 120px 0 80px;
}

/* Enhanced Hero Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Modern Stat Cards */
.modern-stat-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 1rem;
    padding: 1.5rem 1rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.modern-stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.6s ease;
}

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

.modern-stat-card:hover {
    transform: translateY(-5px) scale(1.02);
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.2);
}

.modern-stat-card .stat-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
    transition: all 0.3s ease;
}

.modern-stat-card:hover .stat-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

.modern-stat-card .stat-content {
    position: relative;
    z-index: 2;
}

.modern-stat-card .stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: #3b82f6;
    margin-bottom: 0.25rem;
    display: block;
    transition: all 0.3s ease;
}

.modern-stat-card:hover .stat-number {
    color: #60a5fa;
    transform: scale(1.05);
}

.modern-stat-card .stat-label {
    font-size: 0.875rem;
    color: #cbd5e1;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Modern Buttons */
.modern-btn {
    position: relative;
    overflow: hidden;
    border-radius: 0.75rem;
    font-weight: 600;
    padding: 1rem 2rem;
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.modern-btn::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.6s ease;
}

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

.btn-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.modern-btn:hover .btn-shine {
    left: 100%;
}

.modern-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

/* Trust Indicators */
.trust-indicators {
    padding: 1rem 0;
}

.trust-item {
    display: flex;
    align-items: center;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: 500;
}

.trust-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.trust-text {
    color: #cbd5e1;
    font-weight: 600;
}

.trust-item i {
    font-size: 1rem;
}

.hero-content {
    color: #fff;
    z-index: 2;
    position: relative;
}

.hero-badge {
    display: inline-block;
}

.bg-gradient-primary {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: #fff;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 2rem;
    font-size: 0.9rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: #fff;
}

.text-gradient {
    background: linear-gradient(135deg, #3b82f6 0%, #06b6d4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-accent {
    color: #f59e0b;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #cbd5e1;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.hero-stats {
    margin-bottom: 2rem;
}

.stat-item {
    text-align: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: #3b82f6;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.875rem;
    color: #cbd5e1;
    font-weight: 500;
}

.hero-cta .btn {
    font-weight: 600;
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    transition: all 0.3s ease;
}

.hero-cta .btn-primary {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    border: none;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.3);
}

.hero-cta .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.4);
}

.hero-cta .btn-outline-primary {
    border: 2px solid #3b82f6;
    color: #3b82f6;
    background: transparent;
}

.hero-cta .btn-outline-primary:hover {
    background: #3b82f6;
    color: #fff;
    transform: translateY(-2px);
}

/* Code Snippet Styles */
.code-snippet {
    background: #1e293b;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    margin-bottom: 2rem;
    border: 1px solid #334155;
}

.code-header {
    background: #334155;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.code-dots {
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.red { background: #ef4444; }
.dot.yellow { background: #f59e0b; }
.dot.green { background: #10b981; }

.code-title {
    color: #cbd5e1;
    font-size: 0.875rem;
    font-weight: 500;
}

.code-content {
    padding: 1.5rem;
}

.code-content pre {
    margin: 0;
    color: #e2e8f0;
    font-family: 'Fira Code', 'Monaco', 'Consolas', monospace;
    font-size: 0.875rem;
    line-height: 1.6;
}

.code-content code {
    color: #e2e8f0;
}

/* Floating Elements */
.floating-elements {
    position: relative;
    height: 200px;
}

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 1rem;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #fff;
    font-weight: 600;
    animation: float 3s ease-in-out infinite;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.floating-card i {
    font-size: 1.5rem;
    color: #3b82f6;
}

.card-1 {
    top: 0;
    left: 0;
    animation-delay: 0s;
}

.card-2 {
    top: 50px;
    right: 0;
    animation-delay: 1s;
}

.card-3 {
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 2s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* Background Elements */
.hero-bg-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.bg-circle {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(6, 182, 212, 0.1) 100%);
}

.circle-1 {
    width: 300px;
    height: 300px;
    top: -150px;
    right: -150px;
    animation: pulse 4s ease-in-out infinite;
}

.circle-2 {
    width: 200px;
    height: 200px;
    bottom: -100px;
    left: -100px;
    animation: pulse 4s ease-in-out infinite reverse;
}

.bg-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(59, 130, 246, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59, 130, 246, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.3;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

/* Responsive Design */
@media (max-width: 991.98px) {
    .hero-section {
        padding: 100px 0 60px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .code-snippet {
        margin-top: 2rem;
    }
    
    .floating-elements {
        height: 150px;
    }
    
    .floating-card {
        padding: 0.75rem;
        font-size: 0.875rem;
    }
    
    .floating-card i {
        font-size: 1.25rem;
    }
}

@media (max-width: 767.98px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .hero-cta .btn {
        width: 100%;
    }
}

/* About Section Styles */
.about-section {
    background: #fff;
    padding: 5rem 0;
}
.about-image-wrap {
    position: relative;
}
.about-image-wrap img {
    border-radius: 1rem;
    box-shadow: 0 8px 32px rgba(10,37,64,0.15);
}
.about-stats {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    border-radius: 1rem;
    box-shadow: 0 4px 24px rgba(10,37,64,0.15);
}
.feature-card {
    padding: 1rem;
    border-radius: 0.75rem;
    transition: all 0.3s ease;
    background: #f8f9fa;
    border: 1px solid transparent;
}
.feature-card:hover {
    background: #fff;
    border-color: #00c6fb;
    box-shadow: 0 4px 24px rgba(0,198,251,0.15);
    transform: translateY(-2px);
}
.feature-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}
.feature-card:hover .feature-icon {
    transform: scale(1.1);
}
.feature-content h5 {
    color: #000000;
    margin-bottom: 0.5rem;
}
.feature-content p {
    color: #000000;
    font-size: 0.875rem;
    line-height: 1.5;
}
@media (max-width: 991.98px) {
    .about-section {
        padding: 3rem 0;
    }
    .about-stats {
        position: relative !important;
        margin: 1rem 0 !important;
    }
}
@media (max-width: 767.98px) {
    .feature-card {
        padding: 0.75rem;
    }
    .feature-icon {
        width: 40px;
        height: 40px;
    }
    .feature-content h5 {
        font-size: 1rem;
    }
    .feature-content p {
        font-size: 0.8rem;
    }
}

/* Modern Services/Courses Section */
.services-section, .courses-section {
    background: linear-gradient(90deg, #e3f6fd 0%, #fff 100%);
    padding-top: 4rem;
    padding-bottom: 4rem;
}
.service-card, .course-card {
    background: rgba(255,255,255,0.85);
    border-radius: 1.5rem;
    box-shadow: 0 8px 32px rgba(10,25,41,0.10);
    transition: transform 0.22s, box-shadow 0.22s, border 0.22s;
    border: 2px solid #00e5ff22;
    padding-bottom: 2rem;
}
.service-card:hover, .course-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 16px 48px rgba(0,229,255,0.13);
    border: 2px solid #ff9100;
}
.service-icon, .course-image {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
    background: linear-gradient(135deg, #00e5ff 60%, #ff9100 100%);
    border-radius: 1.2rem;
    width: 80px;
    height: 80px;
    box-shadow: 0 2px 8px rgba(0,229,255,0.10);
    transition: transform 0.22s, box-shadow 0.22s;
}
.service-card:hover .service-icon, .course-card:hover .course-image {
    transform: scale(1.10) rotate(-4deg);
    box-shadow: 0 8px 32px rgba(255,145,0,0.13);
}
.service-icon i {
    font-size: 2.2rem;
    color: #fff;
}
.course-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 1.2rem;
}
.course-overlay {
    position: absolute;
    top: 1rem;
    right: 1rem;
}
.course-level {
    background: #00e5ff;
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(0,229,255,0.10);
}
.course-card .btn {
    margin-top: 1rem;
    font-size: 1rem;
    border-radius: 1.5rem;
    background: linear-gradient(90deg, #00e5ff 0%, #1a237e 100%);
    color: #fff;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(0,229,255,0.10);
    transition: background 0.2s, color 0.2s, transform 0.2s;
}
.course-card .btn:hover {
    background: linear-gradient(90deg, #ff9100 0%, #1a237e 100%);
    color: #fff;
    transform: translateY(-2px) scale(1.04);
}
.view-all-btn {
    display: block;
    margin: 2rem auto 0 auto;
    padding: 0.9rem 2.5rem;
    font-size: 1.1rem;
    border-radius: 2rem;
    background: linear-gradient(90deg, #00e5ff 0%, #1a237e 100%);
    color: #fff;
    font-weight: 700;
    box-shadow: 0 4px 24px rgba(0,229,255,0.12);
    border: none;
    transition: background 0.2s, color 0.2s, transform 0.2s;
}
.view-all-btn:hover {
    background: linear-gradient(90deg, #ff9100 0%, #1a237e 100%);
    color: #fff;
    transform: translateY(-2px) scale(1.04);
}

/* Modern Contact Section */
.contact-section {
    background: linear-gradient(90deg, #e3f6fd 0%, #fff 100%);
    padding-top: 4rem;
    padding-bottom: 4rem;
}
.contact-form {
    background: rgba(255,255,255,0.95);
    padding: 3rem;
    border-radius: 1.5rem;
    box-shadow: 0 8px 32px rgba(10,25,41,0.10);
    border: 2px solid #00e5ff22;
}
.form-control {
    border: 2px solid #e5e7eb;
    border-radius: 1.2rem;
    padding: 1.1rem;
    font-size: 1.05rem;
    transition: border 0.2s, box-shadow 0.2s;
    background: transparent;
}
.form-control:focus {
    border-color: #00e5ff;
    box-shadow: 0 0 0 0.2rem rgba(0,229,255,0.13);
    background: #f8fafc;
}
.contact-form .btn {
    margin-top: 1rem;
    font-size: 1.1rem;
    border-radius: 2rem;
    background: linear-gradient(90deg, #00e5ff 0%, #1a237e 100%);
    color: #fff;
    font-weight: 700;
    box-shadow: 0 4px 24px rgba(0,229,255,0.12);
    border: none;
    transition: background 0.2s, color 0.2s, transform 0.2s;
}
.contact-form .btn:hover {
    background: linear-gradient(90deg, #ff9100 0%, #1a237e 100%);
    color: #fff;
    transform: translateY(-2px) scale(1.04);
}

/* Enhanced Breadcrumb Styles */
.breadcrumb-section {
    background: linear-gradient(90deg, #f8f9fa 0%, #e9ecef 100%);
    border-bottom: 1px solid #e9ecef;
}

.breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
}

.breadcrumb-item {
    font-size: 0.9rem;
    font-weight: 500;
}

.breadcrumb-item a {
    color: #6c757d;
    transition: color 0.3s ease;
}

.breadcrumb-item a:hover {
    color: #0d6efd;
}

.breadcrumb-item.active {
    color: #495057;
    font-weight: 600;
}

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

/* Enhanced Footer Section Styles */
.footer-section {
    background: linear-gradient(135deg, #0a2540 0%, #1a365d 100%);
    color: #fff;
    padding: 4rem 0 2rem;
    position: relative;
    overflow: hidden;
}

.footer-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    pointer-events: none;
}

.footer-logo-container {
    position: relative;
    display: inline-block;
}

.logo-glow-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 140px;
    height: 140px;
    background: radial-gradient(circle, rgba(13, 110, 253, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
}

.footer-logo-container:hover .logo-glow-effect {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.2);
}

.footer-logo {
    transition: all 0.3s ease;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.footer-logo-container:hover .footer-logo {
    transform: scale(1.05);
    filter: drop-shadow(0 8px 16px rgba(13, 110, 253, 0.3));
}

.trust-badges .badge {
    font-size: 0.75rem;
    padding: 0.5rem 0.75rem;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.trust-badges .badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}
.footer-logo {
    max-width: 120px;
   
}
.footer-brand h5 {
    color: #000000;
    font-weight: 700;
}
.footer-brand p {
    color: #000000;
    line-height: 1.6;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}
.social-link:hover {
    background: linear-gradient(135deg, #00c6fb 0%, #ff9100 100%);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0,198,251,0.3);
}
.footer-links h6 {
    color: #000000;
}
.footer-links a {
    color: #000000;
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
    padding: 0.25rem 0;
}
.footer-links a:hover {
    color: #00c6fb;
    transform: translateX(5px);
}
.contact-info {
    color: rgba(255,255,255,0.8);
}
/* .contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
} */
.contact-item i {
    color: #00c6fb;
    margin-top: 0.25rem;
    flex-shrink: 0;
}
.contact-item span {
    line-height: 1.4;
}
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 2rem;
}
.contact-info, .contact-info p, .contact-info h3, .contact-info h5 {
    color: #000 !important;
}
.footer-bottom p {
    color: #000000;
}
.footer-bottom a {
    color: #000000;
    text-decoration: none;
    transition: color 0.3s ease;
}
.footer-bottom a:hover {
    color: #00c6fb;
}
@media (max-width: 991.98px) {
    .footer-section {
        padding: 3rem 0 1.5rem;
    }
    .footer-brand {
        text-align: center;
        margin-bottom: 2rem;
    }
    .social-links {
        justify-content: center;
    }
}
@media (max-width: 767.98px) {
    .footer-section {
        padding: 2rem 0 1rem;
    }
    .footer-bottom {
        text-align: center;
    }
    .footer-bottom .text-md-end {
        text-align: center !important;
        margin-top: 1rem;
    }
    .contact-item {
        font-size: 0.9rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Enhanced Mobile Responsiveness */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .contact-form {
        padding: 2rem;
    }
    
    .feature-item {
        flex-direction: column;
        text-align: center;
    }
    
    .feature-item i {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    /* Mobile Header Improvements */
    .main-header-section {
        padding: 1rem 0;
    }
    
    .main-logo {
        height: 80px !important;
    }
    
    .brand-text {
        display: none !important;
    }
    
    .header-contact {
        display: none !important;
    }
    
    /* Mobile Hero Section */
    .hero-section {
        padding: 80px 0 60px;
        min-height: 80vh;
    }
    
    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .modern-stat-card {
        padding: 1rem 0.5rem;
    }
    
    .modern-stat-card .stat-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .modern-stat-card .stat-number {
        font-size: 1.5rem;
    }
    
    .trust-indicators {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .trust-item {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
    
    /* Mobile Course Cards */
    .modern-course-card {
        margin-bottom: 1.5rem;
    }
    
    .course-image-container {
        height: 180px;
    }
    
    .course-body {
        padding: 1.25rem;
    }
    
    .course-title {
        font-size: 1.1rem;
    }
    
    .course-features {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .course-actions {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .course-actions .btn {
        width: 100%;
    }
    
    /* Mobile Navigation */
    .navbar-collapse {
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        border-radius: 1rem;
        margin-top: 1rem;
        padding: 1rem;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    }
    
    .nav-link {
        padding: 1rem !important;
        font-size: 1rem;
        text-align: center;
        border-radius: 0.5rem;
        margin: 0.25rem 0;
    }
    
    .nav-link:hover {
        background: rgba(13, 110, 253, 0.1);
    }
    
    /* Mobile Action Cards */
    .action-card {
        min-height: 120px;
        padding: 1.5rem 0.5rem 1rem 0.5rem;
    }
    
    .action-card-icon {
        width: 3rem;
        height: 3rem;
        top: -1.5rem;
    }
    
    .action-card-icon i {
        font-size: 1.2rem;
    }
    
    .action-card-title {
        font-size: 0.9rem;
    }
    
    /* Mobile Footer */
    .footer-section {
        padding: 2rem 0 1rem;
    }
    
    .footer-brand {
        text-align: center;
        margin-bottom: 2rem;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer-bottom {
        text-align: center;
    }
    
    .footer-bottom .text-md-end {
        text-align: center !important;
        margin-top: 1rem;
    }
    
    /* Mobile Floating Action Button */
    .floating-action-btn {
        bottom: 20px;
        right: 20px;
    }
    
    .fab-main {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .fab-item {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    /* Mobile Touch Improvements */
    .btn, .nav-link, .action-card, .modern-course-card {
        -webkit-tap-highlight-color: rgba(13, 110, 253, 0.2);
        touch-action: manipulation;
    }
    
    .btn:active, .nav-link:active {
        transform: scale(0.98);
    }
    
    .modern-course-card:active {
        transform: scale(0.99);
    }
    
    /* Mobile Form Improvements */
    .form-control {
        font-size: 16px; /* Prevents zoom on iOS */
        padding: 0.75rem 1rem;
    }
    
    /* Mobile Typography */
    .display-4 {
        font-size: 2rem;
    }
    
    .display-5 {
        font-size: 1.75rem;
    }
    
    .lead {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .main-logo {
        height: 60px !important;
    }
    
    .hero-section {
        padding: 60px 0 40px;
        min-height: 70vh;
    }
    
    .modern-stat-card .stat-number {
        font-size: 1.2rem;
    }
    
    .course-image-container {
        height: 150px;
    }
    
    .course-body {
        padding: 1rem;
    }
    
    .action-card {
        min-height: 100px;
        padding: 1.25rem 0.5rem 0.75rem 0.5rem;
    }
    
    .action-card-icon {
        width: 2.5rem;
        height: 2.5rem;
        top: -1.25rem;
    }
    
    .action-card-icon i {
        font-size: 1rem;
    }
    
    .action-card-title {
        font-size: 0.8rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .service-card,
    .course-card {
        margin-bottom: 2rem;
    }
    
    .navbar-brand {
        font-size: 1.2rem;
    }
    
    .logo {
        height: 30px;
    }
}

/* Scroll Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

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

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Enhanced Loading States and Transitions */
.loading {
    opacity: 0;
    animation: fadeIn 1s ease forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* Page Load Animation */
.page-loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loading.hidden {
    opacity: 0;
    visibility: hidden;
}

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(255, 255, 255, 0.1);
    border-top: 4px solid #3b82f6;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 2rem;
}

.loading-text {
    color: #cbd5e1;
    font-size: 1.1rem;
    font-weight: 500;
    text-align: center;
}

.loading-progress {
    width: 200px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
    margin-top: 1rem;
}

.loading-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #3b82f6, #1d4ed8);
    border-radius: 2px;
    animation: progress 2s ease-in-out;
}

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

@keyframes progress {
    0% { width: 0%; }
    100% { width: 100%; }
}

/* Smooth Transitions for All Interactive Elements */
.btn, .nav-link, .action-card, .modern-course-card, .feature-card, .service-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hover States with Smooth Transitions */
.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.btn:active {
    transform: translateY(0);
    transition: transform 0.1s ease;
}

/* Loading States for Forms */
.form-loading {
    position: relative;
    pointer-events: none;
    opacity: 0.7;
}

.form-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #3b82f6;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Skeleton Loading for Course Cards */
.skeleton-loading {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
}

@keyframes skeleton-loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Smooth Scroll Behavior */
html {
    scroll-behavior: smooth;
}

/* Enhanced Focus States */
.btn:focus, .nav-link:focus, .form-control:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.25);
}

/* Staggered Animation for Lists */
.stagger-animation > * {
    opacity: 0;
    transform: translateY(20px);
    animation: staggerFadeIn 0.6s ease forwards;
}

.stagger-animation > *:nth-child(1) { animation-delay: 0.1s; }
.stagger-animation > *:nth-child(2) { animation-delay: 0.2s; }
.stagger-animation > *:nth-child(3) { animation-delay: 0.3s; }
.stagger-animation > *:nth-child(4) { animation-delay: 0.4s; }
.stagger-animation > *:nth-child(5) { animation-delay: 0.5s; }
.stagger-animation > *:nth-child(6) { animation-delay: 0.6s; }

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

/* Pulse Animation for Important Elements */
.pulse-animation {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.7);
    }
    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(59, 130, 246, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0);
    }
}

/* Shake Animation for Errors */
.shake-animation {
    animation: shake 0.5s ease-in-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

/* Bounce Animation for Success */
.bounce-animation {
    animation: bounce 0.6s ease;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Fade In Up Animation */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

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

/* Slide In Left Animation */
.slide-in-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.6s ease;
}

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

/* Slide In Right Animation */
.slide-in-right {
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.6s ease;
}

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

/* Scale In Animation */
.scale-in {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.6s ease;
}

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

/* Rotate In Animation */
.rotate-in {
    opacity: 0;
    transform: rotate(-10deg) scale(0.8);
    transition: all 0.6s ease;
}

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

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

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

/* Modern Action Cards (Glassmorphism) */
.action-cards-section {
    background: linear-gradient(90deg, #e3f6fd 0%, #fff 100%);
    margin-bottom: 2rem;
}
.action-card {
    display: block;
    background: rgba(255,255,255,0.18);
    backdrop-filter: blur(8px);
    border-radius: 2rem 2rem 0.5rem 0.5rem/3rem 3rem 0.5rem 0.5rem;
    box-shadow: 0 8px 32px rgba(10,25,41,0.12);
    padding: 2.5rem 1rem 1.5rem 1rem;
    margin: 0 auto;
    position: relative;
    transition: transform 0.25s, box-shadow 0.25s, background 0.25s;
    min-height: 160px;
    max-width: 320px;
    border: 1.5px solid #00e5ff33;
}
.action-card:hover {
    transform: translateY(-10px) scale(1.04) rotate(-1deg);
    box-shadow: 0 16px 48px rgba(0,229,255,0.18);
    background: rgba(255,255,255,0.32);
}
.action-card-icon {
    position: absolute;
    top: -2.2rem;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #00e5ff 60%, #ff9100 100%);
    border-radius: 50% 50% 0 0/ 60% 60% 0 0;
    width: 4.2rem;
    height: 4.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,229,255,0.12);
    transition: transform 0.25s, box-shadow 0.25s;
}
.action-card:hover .action-card-icon {
    transform: translateX(-50%) scale(1.13) rotate(8deg);
    box-shadow: 0 8px 32px rgba(255,145,0,0.18);
}
.action-card-icon i {
    color: #fff;
    font-size: 2.2rem;
    transition: color 0.2s;
}
.action-card-title {
    margin-top: 2.5rem;
    font-size: 1.18rem;
    font-weight: 700;
    color: #1a237e;
    letter-spacing: 0.01em;
}
@media (max-width: 991px) {
    .action-card {
        max-width: 100%;
    }
}
@media (max-width: 767px) {
    .action-cards-section .row > div {
        margin-bottom: 2.5rem;
    }
    .action-card {
        min-height: 140px;
        padding: 2rem 0.5rem 1.2rem 0.5rem;
    }
    .action-card-title {
        font-size: 1rem;
    }
    .action-card-icon {
        width: 3.2rem;
        height: 3.2rem;
        top: -1.7rem;
    }
    .action-card-icon i {
        font-size: 1.5rem;
    }
}

/* Modern Statistics (Counter) Section */
.counter-section {
    background: linear-gradient(90deg, #e3f6fd 0%, #fff 100%);
    padding-top: 4rem;
    padding-bottom: 4rem;
}
.counter-card {
    background: rgba(255,255,255,0.95);
    border-radius: 1.5rem;
    box-shadow: 0 8px 32px rgba(10,25,41,0.10);
    border: 2px solid #00e5ff22;
    transition: transform 0.22s, box-shadow 0.22s;
}
.counter-card:hover {
    transform: translateY(-6px) scale(1.04);
    box-shadow: 0 16px 48px rgba(0,229,255,0.13);
    border: 2px solid #ff9100;
}
.counter {
    font-size: 2.8rem;
    font-weight: 800;
    color: #00e5ff;
    margin-bottom: 0.2rem;
    letter-spacing: -1px;
    transition: color 0.2s;
}
.counter-label {
    font-size: 1.1rem;
    color: #1a237e;
    font-weight: 600;
}

/* Modern Testimonials Section */
.testimonials-section {
    background: linear-gradient(90deg, #fff 0%, #e3f6fd 100%);
    padding-top: 4rem;
    padding-bottom: 4rem;
}
.testimonial-card {
    background: rgba(255,255,255,0.98);
    border-radius: 1.5rem;
    box-shadow: 0 8px 32px rgba(10,25,41,0.10);
    border: 2px solid #00e5ff22;
    transition: transform 0.22s, box-shadow 0.22s;
}
.testimonial-card:hover {
    transform: scale(1.03) rotate(-1deg);
    box-shadow: 0 16px 48px rgba(0,229,255,0.13);
    border: 2px solid #ff9100;
}
.testimonial-card img {
    border: 3px solid #00e5ff;
    box-shadow: 0 2px 8px rgba(0,229,255,0.10);
    transition: border 0.2s, box-shadow 0.2s;
}
.testimonial-card:hover img {
    border: 3px solid #ff9100;
    box-shadow: 0 8px 24px rgba(255,145,0,0.13);
}
.testimonial-card h5 {
    color: #1a237e;
    font-weight: 700;
}
.testimonial-card p {
    color: #4b5563;
    font-size: 1.1rem;
    font-style: italic;
}
.carousel-control-prev-icon, .carousel-control-next-icon {
    background-color: #00e5ff;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0,229,255,0.10);
    width: 2.5rem;
    height: 2.5rem;
}
.carousel-control-prev:hover .carousel-control-prev-icon,
.carousel-control-next:hover .carousel-control-next-icon {
    background-color: #ff9100;
}
@media (max-width: 991px) {
    .counter-card, .testimonial-card {
        padding: 1.5rem !important;
    }
}
@media (max-width: 767px) {
    .counter-section, .testimonials-section {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }
    .counter {
        font-size: 2rem;
    }
    .testimonial-card {
        padding: 1rem !important;
    }
}

/* FAQ Section Styles */
.faq-section {
    background: #fff;
    padding: 5rem 0;
}
.accordion-item {
    border-radius: 1rem !important;
    overflow: hidden;
    transition: all 0.3s ease;
}
.accordion-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,198,251,0.15) !important;
}
.accordion-button {
    background: #f8f9fa;
    border: none;
    padding: 1.5rem;
    font-size: 1.1rem;
    color: #0a2540;
    transition: all 0.3s ease;
}
.accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, #00c6fb 0%, #ff9100 100%);
    color: #fff;
    box-shadow: none;
}
.accordion-button:focus {
    box-shadow: none;
    border: none;
}
.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%2300c6fb'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}
.accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}
.accordion-body {
    padding: 1.5rem;
    background: #fff;
    color: #495057;
    line-height: 1.6;
}


@media (max-width: 991.98px) {
    .faq-section {
        padding: 3rem 0;
    }
    .accordion-button {
        padding: 1.25rem;
        font-size: 1rem;
    }
}
@media (max-width: 767.98px) {
    .accordion-button {
        padding: 1rem;
        font-size: 0.95rem;
    }
    .accordion-body {
        padding: 1rem;
    }
}

/* Course/Service Card Badge */
.badge {
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    padding: 0.5em 1.1em;
    border-radius: 1.2rem;
    box-shadow: 0 2px 8px rgba(0,229,255,0.10);
    transition: background 0.2s, color 0.2s, transform 0.2s;
}
.service-card:hover .badge, .course-card:hover .badge {
    transform: scale(1.08);
    background: linear-gradient(90deg, #ff9100 0%, #00e5ff 100%);
    color: #fff !important;
}

/* Modernize course/service card button */
.service-card .btn, .course-card .btn {
    margin-top: 1rem;
    font-size: 1rem;
    border-radius: 1.5rem;
    background: linear-gradient(90deg, #00e5ff 0%, #1a237e 100%);
    color: #fff;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(0,229,255,0.10);
    border: none;
    transition: background 0.2s, color 0.2s, transform 0.2s;
}
.service-card .btn:hover, .course-card .btn:hover {
    background: linear-gradient(90deg, #ff9100 0%, #1a237e 100%);
    color: #fff;
    transform: translateY(-2px) scale(1.04);
}

@media (max-width: 991px) {
    .service-card, .course-card {
        margin-bottom: 2rem;
    }
}
@media (max-width: 767px) {
    .section-underline {
        width: 40px;
        height: 3px;
    }
}

/* Modern Course Card Grid */
.modern-card {
    background: #fff;
    border-radius: 1.5rem;
    box-shadow: 0 8px 32px rgba(10,25,41,0.10);
    border: 2px solid #00e5ff22;
    transition: transform 0.22s, box-shadow 0.22s, border 0.22s;
    display: flex;
    flex-direction: column;
    height: 100%;
    padding-bottom: 2rem;
}
.modern-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 16px 48px rgba(0,229,255,0.13);
    border: 2px solid #ff9100;
}
.modern-card-img-wrap {
    width: 100%;
    height: 180px;
    overflow: hidden;
    border-top-left-radius: 1.5rem;
    border-top-right-radius: 1.5rem;
    background: #e3f6fd;
    display: flex;
    align-items: center;
    justify-content: center;
}
.modern-card-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-top-left-radius: 1.5rem;
    border-top-right-radius: 1.5rem;
    transition: transform 0.22s;
}
.modern-card:hover .modern-card-img {
    transform: scale(1.06) rotate(-2deg);
}
@media (max-width: 991px) {
    .modern-card-img-wrap, .modern-card-img {
        height: 140px;
    }
}
@media (max-width: 767px) {
    .modern-card-img-wrap, .modern-card-img {
        height: 110px;
    }
    .modern-card {
        padding-bottom: 1rem;
    }
}

/* Modern Courses Section */
.courses-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.courses-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23e9ecef" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
    pointer-events: none;
}

.courses-section::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 40%;
    height: 200%;
    background: linear-gradient(45deg, rgba(13, 110, 253, 0.05), rgba(0, 86, 179, 0.05));
    border-radius: 50%;
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

.section-divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #0d6efd, #0dcaf0);
    border-radius: 2px;
}

/* Pulse Animation for Badge */
.pulse-animation {
    animation: pulse 2s infinite;
}

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

/* Modern Stats Items */
.stat-item-modern {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 16px;
    padding: 1.5rem 1rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(13, 110, 253, 0.1);
}

.stat-item-modern:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(13, 110, 253, 0.15);
    border-color: #0d6efd;
}

.stat-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #0d6efd, #0dcaf0);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(13, 110, 253, 0.3);
}

.stat-content .stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: #0d6efd;
    margin-bottom: 0.5rem;
    display: block;
}

.stat-content .stat-label {
    font-size: 0.9rem;
    color: #6c757d;
    font-weight: 500;
    margin: 0;
}

/* Course Categories */
.course-categories {
    margin-bottom: 3rem;
}

.category-card {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 16px;
    padding: 1.5rem 1rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.category-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.6s ease;
}

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

.category-card:hover {
    border-color: #0d6efd;
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 35px rgba(13, 110, 253, 0.2);
    background: linear-gradient(135deg, #f8f9ff, #e3f2fd);
}

.category-card.active {
    border-color: #0d6efd;
    background: linear-gradient(135deg, #0d6efd, #0b5ed7);
    color: white;
    box-shadow: 0 15px 35px rgba(13, 110, 253, 0.3);
    transform: translateY(-4px);
}

.category-card i {
    font-size: 2.2rem;
    margin-bottom: 0.75rem;
    display: block;
    transition: all 0.3s ease;
}

.category-card:hover i {
    transform: scale(1.1) rotate(5deg);
}

.category-card span {
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

/* Course Grid */
.course-grid {
    margin-bottom: 2rem;
}

.modern-course-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.modern-course-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    border-color: #0d6efd;
}

/* Course Progress Bar */
.course-progress-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.1);
    padding: 0.5rem 1rem;
    z-index: 3;
}

.course-progress-bar {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 0.25rem;
}

.course-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #28a745, #20c997);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.course-progress-text {
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.course-header {
    position: relative;
    overflow: hidden;
}

.course-image-container {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.course-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.modern-course-card:hover .course-image {
    transform: scale(1.08) rotate(1deg);
}

.course-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.9), rgba(0, 86, 179, 0.9));
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.modern-course-card:hover .course-overlay {
    opacity: 1;
}

.course-duration {
    background: rgba(255, 255, 255, 0.95);
    color: #0d6efd;
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.course-duration i {
    margin-right: 0.4rem;
    color: #0d6efd;
}

.course-level {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
}

.course-level .badge {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.course-price-tag {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    color: white;
    padding: 0.75rem 1rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
    z-index: 2;
    min-width: 120px;
}

.price-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.price {
    font-size: 1.2rem;
    font-weight: 800;
    line-height: 1;
}

.price-original {
    font-size: 0.8rem;
    text-decoration: line-through;
    opacity: 0.8;
    margin-top: 0.2rem;
}

.discount-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #dc3545;
    color: white;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.2rem 0.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(220, 53, 69, 0.3);
}

/* Course Difficulty Indicator */
.course-difficulty {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 0.5rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.difficulty-stars {
    display: flex;
    gap: 0.2rem;
}

.difficulty-stars i {
    font-size: 0.7rem;
    color: #ffc107;
}

.difficulty-stars i.active {
    color: #ffc107;
}

.difficulty-stars i:not(.active) {
    color: rgba(255, 255, 255, 0.3);
}

.difficulty-text {
    font-size: 0.75rem;
}

/* Quick Action Buttons */
.course-quick-actions {
    position: absolute;
    top: 63%;
    left: 1rem;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 2;
}

.modern-course-card:hover .course-quick-actions {
    opacity: 1;
}

.quick-action-btn {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    color: #0d6efd;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.quick-action-btn:hover {
    background: #0d6efd;
    color: white;
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(13, 110, 253, 0.3);
}

.course-body {
    padding: 2rem;
    position: relative;
}

.course-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
}

.course-category {
    background: linear-gradient(135deg, #e3f2fd, #bbdefb);
    color: #1976d2;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.course-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #ffc107;
    font-weight: 600;
    font-size: 0.9rem;
}

.rating-stars {
    display: flex;
    gap: 0.2rem;
}

.rating-stars i {
    font-size: 0.8rem;
    color: #ffc107;
}

.rating-stars i.active {
    color: #ffc107;
}

.rating-stars i:not(.active) {
    color: #e9ecef;
}

.rating-number {
    font-weight: 700;
    color: #2c3e50;
}

.rating-count {
    color: #6c757d;
    font-size: 0.8rem;
}

/* Course Instructor */
.course-instructor {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 1rem 0;
    padding: 0.75rem;
    background: rgba(13, 110, 253, 0.05);
    border-radius: 12px;
    border-left: 3px solid #0d6efd;
}

.instructor-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #0d6efd;
}

.instructor-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.instructor-info {
    display: flex;
    flex-direction: column;
}

.instructor-name {
    font-weight: 600;
    color: #2c3e50;
    font-size: 0.9rem;
    line-height: 1.2;
}

.instructor-title {
    font-size: 0.8rem;
    color: #6c757d;
    line-height: 1.2;
}

/* Course Skills */
.course-skills {
    margin: 1.5rem 0;
}

.course-skills h6 {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
}

.course-skills h6 i {
    color: #0d6efd;
    margin-right: 0.5rem;
}

.skills-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.skill-tag {
    background: linear-gradient(135deg, #e3f2fd, #bbdefb);
    color: #1976d2;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid rgba(25, 118, 210, 0.2);
    transition: all 0.3s ease;
}

.skill-tag:hover {
    background: linear-gradient(135deg, #1976d2, #1565c0);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(25, 118, 210, 0.3);
}

.course-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #2c3e50;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.modern-course-card:hover .course-title {
    color: #0d6efd;
}

.course-description {
    color: #6c757d;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.course-features {
    display: flex;
    gap: 1.2rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: #6c757d;
    background: rgba(13, 110, 253, 0.05);
    padding: 0.4rem 0.8rem;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.feature:hover {
    background: rgba(13, 110, 253, 0.1);
    transform: translateY(-2px);
}

.feature i {
    color: #0d6efd;
    font-size: 0.9rem;
}

.course-topics {
    margin-bottom: 2rem;
}

.course-topics h6 {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1rem;
    display: flex;
    align-items: center;
}

.course-topics h6 i {
    color: #0d6efd;
    margin-right: 0.5rem;
}

.course-topics ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.course-topics li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.6rem;
    font-size: 0.9rem;
    color: #6c757d;
    line-height: 1.5;
    transition: color 0.3s ease;
}

.course-topics li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: #28a745;
    font-weight: bold;
    font-size: 0.9rem;
}

.course-topics li.more-topics {
    color: #0d6efd;
    font-weight: 600;
    font-style: italic;
}

.course-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.course-actions .btn {
    flex: 1;
    min-width: 120px;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.8rem 1.2rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
}

.btn-enroll {
    background: linear-gradient(135deg, #0d6efd, #0b5ed7);
    border: none;
    color: white;
    box-shadow: 0 4px 15px rgba(13, 110, 253, 0.3);
}

.btn-enroll:hover {
    background: linear-gradient(135deg, #0b5ed7, #0a58ca);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(13, 110, 253, 0.4);
    color: white;
}

.btn-details {
    border: 2px solid #0d6efd;
    color: #0d6efd;
    background: transparent;
}

.btn-details:hover {
    background: #0d6efd;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(13, 110, 253, 0.3);
}

.btn-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(13, 110, 253, 0.1);
    border: 2px solid #0d6efd;
    color: #0d6efd;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: all 0.3s ease;
    flex: none;
}

.btn-icon:hover {
    background: #0d6efd;
    color: white;
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(13, 110, 253, 0.3);
}

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

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

/* Course Footer */
.course-footer {
    border-top: 1px solid #e9ecef;
    padding-top: 1rem;
    margin-top: 1rem;
}

.course-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.course-stats .stat {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: #6c757d;
    font-weight: 500;
}

.course-stats .stat i {
    color: #0d6efd;
    font-size: 0.9rem;
}

/* Floating Action Button */
.floating-action-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.fab-main {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0d6efd, #0b5ed7);
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(13, 110, 253, 0.4);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fab-main:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(13, 110, 253, 0.5);
}

.fab-main.active {
    transform: rotate(45deg);
}

.fab-menu {
    position: absolute;
    bottom: 70px;
    right: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.fab-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.fab-item {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: white;
    border: 2px solid #0d6efd;
    color: #0d6efd;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fab-item:hover {
    background: #0d6efd;
    color: white;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(13, 110, 253, 0.3);
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 3rem 2rem;
}

.empty-icon {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #e3f2fd, #bbdefb);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    animation: pulse 2s ease-in-out infinite;
}

.empty-icon i {
    font-size: 3rem;
    color: #0d6efd;
}

.empty-state h4 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-weight: 600;
}

.empty-state p {
    color: #6c757d;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* View All Button */
.btn-view-all {
    background: linear-gradient(135deg, #0d6efd, #0b5ed7);
    border: none;
    color: white;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    box-shadow: 0 8px 25px rgba(13, 110, 253, 0.3);
    transition: all 0.4s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-view-all:hover {
    background: linear-gradient(135deg, #0b5ed7, #0a58ca);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 35px rgba(13, 110, 253, 0.4);
    color: white;
}

.btn-view-all i:last-child {
    transition: transform 0.3s ease;
}

.btn-view-all:hover i:last-child {
    transform: translateX(5px);
}

/* Course Filter Animation */
.course-item {
    opacity: 1;
    transform: scale(1);
    transition: all 0.4s ease;
}

.course-item.hidden {
    opacity: 0;
    transform: scale(0.8);
    pointer-events: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .course-categories .row {
        margin: 0 -0.5rem;
    }
    
    .category-card {
        padding: 1rem 0.5rem;
        margin: 0 0.5rem;
    }
    
    .category-card i {
        font-size: 1.8rem;
    }
    
    .category-card span {
        font-size: 0.8rem;
    }
    
    .modern-course-card {
        margin-bottom: 2rem;
    }
    
    .course-image-container {
        height: 180px;
    }
    
    .course-body {
        padding: 1.5rem;
    }
    
    .course-features {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .course-actions {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .course-actions .btn {
        width: 100%;
        min-width: auto;
    }
    
    .btn-view-all {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .course-body {
        padding: 1.25rem;
    }
    
    .course-title {
        font-size: 1.2rem;
    }
    
    .course-description {
        font-size: 0.9rem;
    }
    
    .course-topics li {
        font-size: 0.85rem;
    }
    
    .course-image-container {
        height: 160px;
    }
    
    .empty-icon {
        width: 100px;
        height: 100px;
    }
    
    .empty-icon i {
        font-size: 2.5rem;
    }
    
    .btn-view-all {
        padding: 0.75rem 1.5rem;
        font-size: 0.95rem;
    }
}

/* Enhanced Animations */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.modern-course-card {
    animation: slideInUp 0.6s ease forwards;
}

.modern-course-card:nth-child(1) { animation-delay: 0.1s; }
.modern-course-card:nth-child(2) { animation-delay: 0.2s; }
.modern-course-card:nth-child(3) { animation-delay: 0.3s; }
.modern-course-card:nth-child(4) { animation-delay: 0.4s; }
.modern-course-card:nth-child(5) { animation-delay: 0.5s; }
.modern-course-card:nth-child(6) { animation-delay: 0.6s; }

.category-card {
    animation: fadeInScale 0.5s ease forwards;
}

.category-card:nth-child(1) { animation-delay: 0.1s; }
.category-card:nth-child(2) { animation-delay: 0.2s; }
.category-card:nth-child(3) { animation-delay: 0.3s; }
.category-card:nth-child(4) { animation-delay: 0.4s; }
.category-card:nth-child(5) { animation-delay: 0.5s; }

/* Loading States */
.course-item.loading {
    opacity: 0.7;
    pointer-events: none;
}

.course-item.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    margin: -20px 0 0 -20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #0d6efd;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Animation for course cards */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.course-item {
    animation: fadeInUp 0.6s ease forwards;
}

.course-item:nth-child(1) { animation-delay: 0.1s; }
.course-item:nth-child(2) { animation-delay: 0.2s; }
.course-item:nth-child(3) { animation-delay: 0.3s; }
.course-item:nth-child(4) { animation-delay: 0.4s; }
.course-item:nth-child(5) { animation-delay: 0.5s; }
.course-item:nth-child(6) { animation-delay: 0.6s; }

.topbar {
    width: 100%;
    background: #0a123a;
    color: #fff;
    font-size: 1rem;
    z-index: 1051;
}
.topbar .btn-warning {
    background: #ffb300;
    color: #222;
    border: none;
}
.topbar .btn-warning:hover {
    background: #ffa000;
    color: #fff;
}
.topbar .btn-primary {
    background: #1976d2;
    color: #fff;
    border: none;
}
.topbar .btn-primary:hover {
    background: #125ea2;
    color: #fff;
}
@media (max-width: 767.98px) {
    .topbar {
        flex-direction: column;
        font-size: 0.95rem;
        text-align: center;
        gap: 0.5rem;
    }
    .topbar .d-flex {
        flex-direction: column !important;
        gap: 0.25rem !important;
    }
}

/* Sticky navbar on scroll */
.navbar-fixed {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1030;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
  background: #fff;
  transition: box-shadow 0.2s, background 0.2s;
} 