:root {
    --primary: #00f2ea;
    --primary-dim: #00f2ea20;
    --secondary: #ff0050;
    --bg-dark: #0a0a0a;
    --bg-card: #141414;
    --bg-card-hover: #1f1f1f;
    --text-main: #ffffff;
    --text-muted: #a0a0a0;
    --gradient-main: linear-gradient(135deg, #00f2ea 0%, #ff0050 100%);
    --font-main: 'Inter', system-ui, -apple-system, sans-serif;
    --font-display: 'Outfit', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Dynamic Background - Parallax Fixed */
.parallax-bg {
    position: relative;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    overflow: hidden;
}

.parallax-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 10, 0.75);
    /* 30% opacity overlay */
    z-index: 1;
}

.parallax-bg .container {
    position: relative;
    z-index: 2;
}

/* Remove Hero specific background as it now uses parallax-bg */
.hero {
    /* Kept for dimensions */
    padding: 0;
    /* Let parallax-bg handle padding or reset if needed */
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
}

.text-gradient {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo h1 {
    font-size: 1.8rem;
    margin: 0;
    letter-spacing: -1px;
}

.main-nav ul {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.search-form {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 0 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-right: 20px;
}

.search-form input {
    background: transparent;
    border: none;
    color: white;
    padding: 8px 5px;
    outline: none;
    font-family: var(--font-main);
    width: 200px;
}

.search-form button {
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
}

.search-form button:hover {
    color: var(--primary);
}

.main-nav a {
    text-transform: uppercase;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 1px;
    color: var(--text-muted);
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--primary);
    text-shadow: 0 0 10px var(--primary-dim);
}

/* Hero Section */
.hero {
    height: 60vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    /* Background handled by parallax-bg */
}

/* .hero::before removed to prevent conflict with parallax overlay */

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    width: 100%;
}

.hero h2 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s ease-out;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

/* Section Common */
section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
    position: relative;
    display: inline-block;
}

.section-head {
    text-align: center;
    margin-bottom: 3rem;
}

/* Grid Layouts */
.grid-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

/* Card Component */
.card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 1.5rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    background: var(--bg-card-hover);
    border-color: var(--primary);
    box-shadow: 0 10px 30px -10px rgba(0, 242, 234, 0.2);
}

.card-number {
    position: absolute;
    top: -10px;
    right: 10px;
    font-size: 4rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.03);
    font-family: var(--font-display);
}

.card-content h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.card-meta {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    transition: var(--transition);
}

.btn-icon:hover {
    background: var(--primary);
    color: black;
}

/* Video Grid */
.video-grid {
    display: flex;
    overflow-x: auto;
    gap: 1.5rem;
    padding-bottom: 2rem;
    scroll-snap-type: x mandatory;
}

.video-card {
    min-width: 280px;
    scroll-snap-align: start;
    background: var(--bg-card);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.video-thumb {
    position: relative;
    padding-top: 56.25%;
    /* 16:9 Aspect Ratio */
}

.video-thumb img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.video-card:hover .video-thumb img {
    transform: scale(1.05);
}

.play-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.video-card:hover .play-overlay {
    opacity: 1;
}

/* Stats Section */
.stats-section {
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-item h4 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    color: var(--secondary);
}

.stat-item p {
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Footer */
footer {
    background: #050505;
    padding: 3rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.9rem;
    color: var(--text-muted);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
}

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

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

/* Response */
@media (max-width: 768px) {
    .hero h2 {
        font-size: 2.5rem;
    }

    .grid-cards {
        grid-template-columns: 1fr;
    }

    .nav-wrapper {
        flex-direction: column;
        height: auto;
        padding: 1rem 0;
    }

    .main-nav ul {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }
}

/* Form Styles - Bootstrap-like */
.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: inline-block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-muted);
}

input[type="text"],
input[type="password"],
input[type="email"],
input[type="number"],
input[type="search"],
textarea,
select {
    display: block;
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: var(--text-main);
    background-color: rgba(255, 255, 255, 0.05);
    background-clip: padding-box;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    font-family: var(--font-main);
}

input:focus,
textarea:focus,
select:focus {
    color: var(--text-main);
    background-color: rgba(255, 255, 255, 0.08);
    border-color: var(--primary);
    outline: 0;
    box-shadow: 0 0 0 0.25rem var(--primary-dim);
}

input::placeholder,
textarea::placeholder {
    color: #6c757d;
    opacity: 1;
}

input:disabled,
textarea:disabled,
select:disabled {
    background-color: rgba(255, 255, 255, 0.02);
    opacity: 1;
    cursor: not-allowed;
}

/* Custom Select styling to replace browser default arrow if needed, but for now simple */
select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23ffffff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 16px 12px;
}

/* Checkboxes and Radios */
input[type="checkbox"],
input[type="radio"] {
    width: 1.25em;
    height: 1.25em;
    margin-top: 0.1em;
    vertical-align: top;
    background-color: rgba(255, 255, 255, 0.05);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    border: 1px solid rgba(255, 255, 255, 0.2);
    appearance: none;
    -webkit-appearance: none;
    print-color-adjust: exact;
    transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out;
    cursor: pointer;
}

input[type="checkbox"] {
    border-radius: 0.25em;
}

input[type="radio"] {
    border-radius: 50%;
}

input[type="checkbox"]:checked,
input[type="radio"]:checked {
    background-color: var(--primary);
    border-color: var(--primary);
}

input[type="checkbox"]:checked {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23000' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10l3 3l6-6'/%3e%3c/svg%3e");
}

input[type="radio"]:checked {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='2' fill='%23000'/%3e%3c/svg%3e");
}

/* Input Group / Icon Wrapper */
.input-icon-wrapper {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    width: 100%;
}

.input-icon-wrapper i {
    z-index: 2;
}

/* Search Form Overrides */
.search-form input[type="text"] {
    display: inline-block;
    width: 200px;
    background: transparent;
    border: none;
    padding: 8px 5px;
    box-shadow: none;
    margin-bottom: 0;
}

.search-form input[type="text"]:focus {
    background: transparent;
    box-shadow: none;
    border: none;
    outline: none;
}

/* Buttons */
.btn {

    display: inline-block;
    font-weight: 500;
    line-height: 1.5;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
    user-select: none;
    background-color: transparent;
    border: 1px solid transparent;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    border-radius: 8px;
    transition: color 0.15s ease-in-out,
        background-color 0.15s ease-in-out,
        border-color 0.15s ease-in-out,
        box-shadow 0.15s ease-in-out;
}

.btn-primary {
    color: #fff;
    background: var(--gradient-main);
    border: none;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    padding: 12px 24px;
}

.btn-primary:hover {
    opacity: 0.9;
    color: #fff;
    box-shadow: 0 0 15px rgba(0, 242, 234, 0.3);
}

.btn-primary:hover {
    background: var(--secondary);
    border-color: var(--secondary);
    color: #fff;
}

.btn-outline {
    color: var(--text-main);
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-outline:hover {
    color: #000;
    background-color: var(--text-main);
    border-color: var(--text-main);
}