:root {
    --primary: #FFD700; /* Golden Yellow */
    --primary-glow: rgba(255, 215, 0, 0.4);
    --secondary: #B8860B; /* Dark Goldenrod */
    --bg-deep: #000000;
    --bg-card: rgba(30,30,30, 0.6);
    --bg-card-hover: rgba(50, 40, 20, 0.8);
    --text-main: #FFFFFF;
    --text-muted: #D0D0D0;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);
    --flare-grad: linear-gradient(90deg, transparent, var(--primary), transparent);
    --accent-grad: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(0, 0, 0, 0.1));
}

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

body {
    background-color: var(--bg-deep);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    line-height: 1.6;
}

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    letter-spacing: 1px;
}

body.intro-active {
    overflow: hidden;
}

/* Cinematic Intro Styling */
#intro-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 5000;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    transition: transform 1s cubic-bezier(0.85, 0, 0.15, 1), opacity 1s ease;
}

#intro-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.intro-active #navbar,
.intro-active header,
.intro-active section,
.intro-active footer {
    display: none;
}

.intro-content {
    position: relative;
    z-index: 5001;
}

.intro-title {
    font-size: 6rem;
    font-weight: 800;
    letter-spacing: 15px;
    margin-bottom: 0px;
    background: linear-gradient(to bottom, #fff, #ffd700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: titleGlow 3s infinite alternate;
}

.intro-subtitle {
    font-size: 1.2rem;
    letter-spacing: 5px;
    color: #fff;
    text-transform: uppercase;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards 0.5s;
}

#video-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 6000;
    display: none;
    opacity: 0;
    transition: opacity 1s ease;
}

#intro-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@keyframes titleGlow {
    from { filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.5)); }
    to { filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.8)); }
}

/* Glassmorphism Utility */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
}

/* Navbar */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: 0.3s;
}

nav.scrolled {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    padding: 15px 5%;
}

.logo {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-main);
    font-size: 0.9rem;
    font-weight: 500;
    transition: 0.3s;
}

.nav-links a:hover {
    color: var(--primary);
    text-shadow: 0 0 10px var(--primary-glow);
}

/* Hero Section */
.hero {
    height: 100vh;
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
}

#flare-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 0 20px;
}

.hero h1 {
    font-size: 4.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(to bottom, #fff, #ffd700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards 0.5s;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    letter-spacing: 4px;
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeInUp 1s ease forwards 0.8s;
}

.cta-btn {
    padding: 15px 40px;
    background: #ffffff;
    color: #000000;
    text-decoration: none;
    font-weight: 700;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: 0.4s;
    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.2);
    display: inline-block;
}

.cta-btn:hover {
    transform: scale(1.05);
    background: #fff;
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.4);
}

/* Presidents Message Section */
section {
    padding: 100px 10%;
    position: relative;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 50px;
    text-align: center;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--primary);
    margin: 15px auto;
}

.president-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    align-items: center;
}

.img-frame {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.img-frame img {
    width: 100%;
    display: block;
    transition: 0.5s;
}

.img-frame:hover img {
    transform: scale(1.05);
}

.message-content blockquote {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--primary);
    font-style: italic;
}

/* Certificate Section */
.certificate-block {
    display: flex;
    justify-content: center;
    margin: 50px 0;
}

.cert-card {
    padding: 20px;
    background: rgba(255, 215, 0, 0.05);
    border: 2px solid var(--primary);
    border-radius: 10px;
    max-width: 800px;
    cursor: zoom-in;
    transition: 0.5s;
}

.cert-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 30px 60px rgba(255, 215, 0, 0.2);
}

/* Avenues Section */
.avenues-grid {
    display: flex;
    overflow-x: auto;
    gap: 30px;
    padding: 40px 0;
    scroll-behavior: smooth;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.avenues-grid::-webkit-scrollbar {
    display: none;
}

.avenue-card {
    min-width: 350px;
    height: 500px;
    position: relative;
    overflow: hidden;
    transition: 0.5s ease;
}

.avenue-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.5;
    transition: 0.5s;
}

.avenue-card:hover img {
    opacity: 0.8;
}

.avenue-info {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 30px;
    width: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
}

.avenue-card:hover {
    transform: scale(1.02);
}

/* New Sections Styling */
.section-subtitle {
    text-align: center;
    color: var(--primary);
    font-size: 1.2rem;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.info-card {
    padding: 40px;
    border-radius: 20px;
    transition: 0.4s;
    border-bottom: 2px solid transparent;
}

.info-card:hover {
    background: var(--bg-card-hover);
    border-bottom-color: var(--primary);
    transform: translateY(-5px);
}

.info-card h3 {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 1.8rem;
}

.stand-for-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 50px;
}

.stand-card {
    padding: 30px;
    border-radius: 20px;
    transition: 0.4s;
    background: linear-gradient(135deg, rgba(60, 40, 60, 0.4), rgba(30, 20, 30, 0.4));
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.stand-card:hover {
    transform: scale(1.05);
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.1);
}

.stand-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    display: block;
}

.stand-card h4 {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.stand-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.who-we-are-block {
    max-width: 900px;
    margin: 40px auto;
    padding: 40px;
    background: linear-gradient(to right, rgba(40, 30, 20, 0.6), rgba(20, 15, 10, 0.6));
    border-radius: 24px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 215, 0, 0.1);
}

.who-we-are-block::before {
    content: '▲';
    position: absolute;
    top: 20px;
    right: 20px;
    color: var(--primary);
    opacity: 0.5;
}

.who-we-are-block h3 {
    color: var(--primary);
    margin-bottom: 20px;
}

/* Animations */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Modals */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    justify-content: center;
    align-items: center;
}

.modal-content {
    max-width: 800px;
    width: 90%;
    padding: 40px;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 { font-size: 2.5rem; }
    .president-container { grid-template-columns: 1fr; }
    .avenue-card { min-width: 280px; height: 400px; }
}
