/* Font Import */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    /* Futuristic Dark Palette */
    --bg-dark: #020617;
    /* Slate 950 */
    --bg-card: #0f172a;
    /* Slate 900 */
    --primary-color: #6366f1;
    /* Indigo 500 */
    --primary-glow: rgba(99, 102, 241, 0.5);
    --secondary-color: #06b6d4;
    /* Cyan 500 */
    --secondary-glow: rgba(6, 182, 212, 0.5);
    --accent-color: #ec4899;
    /* Pink 500 */

    --text-main: #f8fafc;
    /* Slate 50 */
    --text-muted: #94a3b8;
    /* Slate 400 */

    --glass-bg: rgba(15, 23, 42, 0.6);
    --glass-border: rgba(255, 255, 255, 0.05);
    --glass-border-hover: rgba(255, 255, 255, 0.1);

    --card-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -2px rgba(0, 0, 0, 0.3);
    --neon-shadow: 0 0 10px var(--primary-glow), 0 0 20px rgba(99, 102, 241, 0.2);

    --border-radius: 16px;
    --transition-speed: 0.3s;
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-dark);
    background-image:
        radial-gradient(circle at 15% 50%, rgba(99, 102, 241, 0.08) 0%, transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(6, 182, 212, 0.08) 0%, transparent 25%);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    color: white;
    letter-spacing: -0.02em;
}

a {
    text-decoration: none;
    transition: all var(--transition-speed) ease;
}

/* Utilities */
.text-gradient {
    background: linear-gradient(to right, #6366f1, #06b6d4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
}

.glass-hover {
    transition: all var(--transition-speed) ease;
}

.glass-hover:hover {
    background: rgba(30, 41, 59, 0.7);
    border-color: var(--glass-border-hover);
    box-shadow: 0 0 15px var(--primary-glow);
    transform: translateY(-5px);
}

/* Navbar */
.navbar {
    background: rgba(2, 6, 23, 0.8) !important;
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--glass-border);
    padding: 1rem 0;
}

.navbar-brand {
    font-weight: 800;
    color: white !important;
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-shadow: 0 0 10px var(--primary-glow);
}

.nav-link {
    font-weight: 500;
    color: var(--text-muted) !important;
    padding: 0.5rem 1rem !important;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: white !important;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: width var(--transition-speed);
    box-shadow: 0 0 8px var(--secondary-color);
}

.nav-link:hover::after {
    width: 80%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), #4f46e5);
    border: none;
    padding: 0.7rem 1.8rem;
    border-radius: 8px;
    font-weight: 600;
    color: white;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #4f46e5, var(--secondary-color));
    z-index: -1;
    transition: opacity var(--transition-speed);
    opacity: 0;
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(6, 182, 212, 0.5);
}

.btn-outline-light {
    border-color: rgba(255, 255, 255, 0.2);
    color: white;
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
}

/* Cards */
.card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    transition: all var(--transition-speed);
    overflow: hidden;
}

.feature-card {
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s ease;
}

.feature-card:hover {
    background: rgba(30, 41, 59, 0.6);
    border-color: var(--primary-color);
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 10px 30px -10px rgba(99, 102, 241, 0.3), inset 0 0 20px rgba(99, 102, 241, 0.05);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 0 8px var(--secondary-glow));
}

/* Data Course Cards */
.course-card {
    background: var(--bg-card);
    position: relative;
    border: 1px solid var(--glass-border);
}

.course-card:hover {
    border-color: var(--secondary-color);
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.2);
}

.course-visual {
    height: 180px;
    background: linear-gradient(45deg, #1e1b4b, #312e81);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.course-visual::after {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: repeating-linear-gradient(transparent, transparent 10px, rgba(99, 102, 241, 0.05) 10px, rgba(99, 102, 241, 0.05) 20px);
    transform: rotate(45deg);
}

.course-initial {
    font-size: 5rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.05);
    z-index: 1;
    transition: all 0.5s ease;
}

.course-card:hover .course-initial {
    color: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
    text-shadow: 0 0 20px var(--primary-glow);
}

.course-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 2;
    box-shadow: 0 0 10px rgba(99, 102, 241, 0.2);
}

/* Video Hero Section */
.hero-section-video {
    position: relative;
    width: 100%;
    min-height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 0;
    transform: translateX(-50%) translateY(-50%);
    object-fit: cover;
    filter: saturate(1.2) contrast(1.1);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(2, 6, 23, 0.7) 0%, rgba(2, 6, 23, 0.4) 50%, rgba(2, 6, 23, 1) 100%);
    z-index: 1;
}

.hero-overlay::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.3;
    pointer-events: none;
}

/* Footer */
footer {
    background-color: #020617 !important;
    border-top: 1px solid var(--glass-border);
    color: var(--text-muted) !important;
    padding-top: 5rem !important;
    padding-bottom: 3rem !important;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    box-shadow: 0 0 15px var(--primary-color);
}

footer h5 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

footer a {
    color: var(--text-muted);
}

footer a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
    text-shadow: 0 0 5px var(--secondary-glow);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

@keyframes pulse-glow {
    0% {
        box-shadow: 0 0 5px var(--primary-glow);
    }

    50% {
        box-shadow: 0 0 20px var(--primary-glow);
    }

    100% {
        box-shadow: 0 0 5px var(--primary-glow);
    }
}

.animate-fade-in {
    animation: fadeIn 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}
/* Forms */
.form-control {
    background-color: rgba(15, 23, 42, 0.6) !important;
    border: 1px solid var(--glass-border) !important;
    color: white !important;
    padding: 0.8rem 1rem;
    border-radius: 8px;
    backdrop-filter: blur(5px);
}

.form-control:focus {
    background-color: rgba(15, 23, 42, 0.8) !important;
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.2) !important;
    color: white !important;
}

.form-control::placeholder {
    color: var(--text-muted);
}

.form-label {
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

/* Pagination */
.pagination {
    --bs-pagination-bg: transparent;
    --bs-pagination-border-color: var(--glass-border);
    --bs-pagination-color: var(--text-muted);
    --bs-pagination-hover-bg: rgba(255, 255, 255, 0.05);
    --bs-pagination-hover-border-color: var(--glass-border-hover);
    --bs-pagination-hover-color: white;
    --bs-pagination-focus-bg: rgba(255, 255, 255, 0.05);
    --bs-pagination-focus-color: white;
    --bs-pagination-active-bg: var(--primary-color);
    --bs-pagination-active-border-color: var(--primary-color);
}

.page-item .page-link {
    border-radius: 8px;
    margin: 0 4px;
    backdrop-filter: blur(5px);
}

.page-item.active .page-link {
    box-shadow: 0 0 15px var(--primary-glow);
}

.page-item.disabled .page-link {
    background-color: transparent;
    border-color: transparent;
    color: rgba(255, 255, 255, 0.2);
}

