:root {
    --primary: #0f2027;
    --secondary: #203a43;
    --accent: #2c5364;
    --gold: #f59e0b;
    --success: #10b981;
    --danger: #ef4444;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.7;
    color: #333;
    overflow-x: hidden;
}

/* Navbar */
.navbar { padding: 0.3rem 0; }
.navbar-brand { font-size: 1.1rem; }
.nav-link { 
    font-weight: 500; 
    padding: 0.5rem 0.8rem !important;
    transition: all 0.3s;
    border-radius: 5px;
}
.nav-link:hover, .nav-link.active { 
    background: rgba(255,255,255,0.15); 
    transform: translateY(-2px);
}

/* Hero */
.hero-section {
    background: linear-gradient(135deg, #0f2027 0%, #203a43 50%, #2c5364 100%);
    position: relative;
    overflow: hidden;
    min-height: 85vh;
    display: flex;
    align-items: center;
}
.hero-section::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
    top: -100px;
    right: -100px;
}
.hero-section::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: rgba(255,255,255,0.03);
    border-radius: 50%;
    bottom: -50px;
    left: -50px;
}

/* Section Title */
.section-title h2 {
    position: relative;
    display: inline-block;
    font-weight: 700;
    margin-bottom: 15px;
}
.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
}

/* Cards */
.card {
    border: none;
    border-radius: 15px;
    transition: all 0.3s ease;
    overflow: hidden;
}
.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}
.card-img-top {
    height: 220px;
    object-fit: cover;
    transition: all 0.5s;
}
.card:hover .card-img-top { transform: scale(1.05); }

/* Stats */
.stat-card {
    background: white;
    padding: 2rem 1rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: all 0.3s;
}
.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}
.stat-card i { transition: all 0.3s; }
.stat-card:hover i { transform: scale(1.2); }

/* Gallery */
.gallery-item {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
    margin-bottom: 1rem;
}
.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: all 0.5s;
}
.gallery-item:hover img { transform: scale(1.1); }
.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    padding: 20px;
    transform: translateY(100%);
    transition: all 0.3s;
}
.gallery-item:hover .gallery-overlay { transform: translateY(0); }

/* Achievement */
.achievement-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: all 0.3s;
    height: 100%;
}
.achievement-card:hover {
    background: var(--accent);
    color: white;
    transform: translateY(-10px);
}
.achievement-card:hover i { color: var(--gold) !important; }

/* CTA */
.cta-section {
    background: linear-gradient(135deg, #0f2027 0%, #203a43 50%, #2c5364 100%);
}

/* Back to Top */
#backToTop { animation: pulse 2s infinite; }
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(44,83,100,0.4); }
    70% { box-shadow: 0 0 0 15px rgba(44,83,100,0); }
    100% { box-shadow: 0 0 0 0 rgba(44,83,100,0); }
}

/* Animation */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
.animate-fadeInUp { animation: fadeInUp 0.6s ease-out; }

/* Responsive */
@media (max-width: 768px) {
    .hero-section { min-height: 60vh; text-align: center; }
    .hero-section h1 { font-size: 1.8rem; }
    .stat-card { padding: 1.5rem 1rem; }
    .stat-card h2 { font-size: 1.5rem; }
    .navbar-brand { font-size: 0.9rem; }
}

/* Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--secondary); }