@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&family=Outfit:wght@400;700&display=swap');

:root {
    --primary: #0072ff; /* Deep Blue from logo */
    --secondary: #00d4ff; /* Light Blue */
    --accent: #2bff00; /* Green from logo */
    --bg: #050a18; /* Dark Navy Background */
    --card-bg: rgba(255, 255, 255, 0.05);
    --text: #ffffff;
    --text-muted: #a0aec0;
    --glass: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

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

h1, h2, h3 {
    font-family: 'Outfit', sans-serif;
}

/* Glassmorphism utility */
.glass {
    background: var(--glass);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
}

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

.animate {
    animation: fadeIn 0.8s ease forwards;
}

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

/* Navbar */
nav {
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(5, 10, 24, 0.8);
    backdrop-filter: blur(10px);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-img {
    height: 50px;
    width: auto;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(90deg, var(--secondary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Hero Section */
.hero {
    padding: 100px 0;
    text-align: center;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    height: 300px;
    background: var(--primary);
    filter: blur(150px);
    opacity: 0.3;
    z-index: -1;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 40px;
}

/* Grid */
.program-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    padding: 50px 0;
}

.program-card {
    transition: all 0.3s ease;
    padding: 25px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.program-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--secondary);
    box-shadow: 0 10px 30px rgba(0, 114, 255, 0.2);
}

.program-number {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    margin-bottom: 10px;
}

.program-title {
    font-size: 1.25rem;
    margin-bottom: 15px;
}

.program-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    flex-grow: 1;
    margin-bottom: 20px;
}

.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    color: white;
}

.btn-primary:hover {
    filter: brightness(1.1);
    box-shadow: 0 5px 15px rgba(0, 114, 255, 0.4);
}

/* Admin Form */
.admin-container {
    max-width: 600px;
    margin: 50px auto;
    padding: 40px;
}

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

label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-muted);
}

select, input, textarea {
    width: 100%;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    color: white;
    font-size: 1rem;
}

select:focus, input:focus, textarea:focus {
    outline: none;
    border-color: var(--secondary);
}

/* Footer */
footer {
    padding: 80px 0 40px;
    border-top: 1px solid var(--glass-border);
    margin-top: 100px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-links a {
    color: var(--text-muted);
    font-size: 1.5rem;
    transition: color 0.3s;
}

.social-links a:hover {
    color: var(--secondary);
}

/* TikTok Carousel */
.tiktok-section {
    padding: 100px 0;
    overflow: hidden;
}

.tiktok-container {
    display: flex;
    overflow-x: auto;
    gap: 30px;
    padding: 30px 10px;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    scrollbar-color: var(--secondary) var(--glass);
}

.tiktok-container::-webkit-scrollbar {
    height: 8px;
}

.tiktok-container::-webkit-scrollbar-track {
    background: var(--glass);
    border-radius: 10px;
}

.tiktok-container::-webkit-scrollbar-thumb {
    background: var(--secondary);
    border-radius: 10px;
}

.tiktok-item {
    min-width: 325px;
    flex-shrink: 0;
    scroll-snap-align: start;
    border-radius: 20px;
    overflow: hidden;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    transition: transform 0.3s ease;
}

.tiktok-item:hover {
    transform: scale(1.02);
}

/* Card Image */
.card-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 15px;
    background: var(--glass);
}

@media (max-width: 768px) {
    .hero h1 { font-size: 2.5rem; }
    .footer-content { flex-direction: column; text-align: center; }
    .social-links { justify-content: center; }
}
