:root {
    --primary-color: #0b1d3a;
    --secondary-color: #1e3c72;
    --accent-color: #00d2ff;
    --text-color: #333;
    --light-bg: #f4f7f6;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--light-bg);
    color: var(--text-color);
    line-height: 1.6;
}

header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--accent-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

nav ul li a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: var(--accent-color);
}

.btn-login {
    background-color: var(--accent-color);
    color: var(--primary-color) !important;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: bold;
}

.hero-slider {
    width: 100%;
    height: 60vh;
    overflow: hidden;
    position: relative;
    background-color: #000;
}

.slide {
    width: 100%;
    height: 100%;
    position: absolute;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-size: cover;
    background-position: center;
}

.slide.active {
    opacity: 1;
}

.slide-content {
    position: absolute;
    bottom: 20%;
    left: 10%;
    color: white;
    background: rgba(0,0,0,0.6);
    padding: 20px;
    border-radius: 8px;
    max-width: 600px;
}

.slide-content h2 {
    color: var(--accent-color);
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.section {
    padding: 4rem 5%;
}

.text-center {
    text-align: center;
}

.section-title {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    width: 50px;
    height: 4px;
    background: var(--accent-color);
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.about-text {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    color: #555;
    text-align: center;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 2rem;
}

.card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-content {
    padding: 20px;
}

.card-title {
    color: var(--primary-color);
    font-size: 1.25rem;
    margin-bottom: 10px;
}

footer {
    background: var(--primary-color);
    color: var(--white);
    text-align: center;
    padding: 2rem;
    margin-top: 4rem;
}

/* Forms */
.form-container {
    max-width: 500px;
    margin: 4rem auto;
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: var(--primary-color);
}

.form-control {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
}

.btn {
    display: inline-block;
    background: var(--secondary-color);
    color: var(--white);
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.3s;
    text-decoration: none;
}

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

.btn-block {
    display: block;
    width: 100%;
}

.alert {
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 5px;
    background: #ffcccc;
    color: #cc0000;
}

/* Dashboard */
.dashboard-header {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    margin-bottom: 2rem;
}

.result-card {
    background: linear-gradient(135deg, #fdfbfb 0%, #ebedee 100%);
    padding: 2rem;
    border-radius: 10px;
    border-left: 5px solid var(--accent-color);
    margin-top: 2rem;
}

/* Video Grid */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}
.video-card iframe {
    width: 100%;
    height: 200px;
    border-radius: 8px;
}
