:root {
    --primary: #3498db;
    --dark: #2c3e50;
    --light: #ecf0f1;
    --accent: #e74c3c;
    --success: #2ecc71;
}

body {
    font-family: 'Inter', -apple-system, sans-serif;
    margin: 0;
    color: #333;
    background-color: #f8f9fa;
    line-height: 1.6;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    overflow: hidden;
    background-color: #000;
}

#bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    opacity: 0.6;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* Buttons */
.btn-primary, .btn-outline {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
}

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

.btn-primary:hover {
    background: #2980b9;
    transform: translateY(-2px);
}

.btn-outline {
    border: 2px solid var(--primary);
    color: var(--primary);
}

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

/* Course Grid */
.section-title {
    text-align: center;
    margin: 60px 0 40px;
    font-size: 2.5rem;
    color: var(--dark);
}

.course-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 80px;
}

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

.course-card:hover {
    transform: translateY(-10px);
}

.course-image {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.course-info {
    padding: 25px;
}

.course-info h3 {
    margin: 0 0 10px;
    font-size: 1.4rem;
}

.course-date {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.course-price {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--success);
    margin-bottom: 20px;
}

/* Course Detail */
.course-header {
    height: 300px;
    background-size: cover;
    background-position: center;
    color: white;
    display: flex;
    align-items: center;
}

.back-link {
    color: white;
    text-decoration: none;
    margin-bottom: 20px;
    display: block;
}

.details-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    margin: 50px 0;
}

.registration-form {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.form-group {
    margin-bottom: 15px;
}

label {
    display: block;
    margin-bottom: 5px;
    font-size: 0.9rem;
    font-weight: 600;
}

input, select, textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
}

/* Admin Table */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

th, td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

th {
    background: #f8f9fa;
    color: var(--dark);
}

footer {
    background: var(--dark);
    color: white;
    padding: 40px 0;
    text-align: center;
    margin-top: 50px;
}

footer a { color: var(--primary); }

@media (max-width: 768px) {
    .details-grid { grid-template-columns: 1fr; }
    .hero h1 { font-size: 2.5rem; }
}
