/* Reset & Variables */
:root {
    --primary-color: #0F172A; /* Navy Blue */
    --accent-color: #D4AF37;  /* Gold */
    --accent-light: #f3e5ab;
    --text-dark: #333333;
    --text-light: #64748B;
    --white: #ffffff;
    --light-bg: #F8FAFC;
    --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Poppins', sans-serif; }
html { scroll-behavior: smooth; }
body { line-height: 1.6; color: var(--text-dark); background-color: var(--white); overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Navbar */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    position: fixed; width: 100%; top: 0; z-index: 1000; height: 80px; display: flex; align-items: center;
}
.navbar .container { display: flex; justify-content: space-between; align-items: center; width: 100%; }
.logo { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 1.2rem; color: var(--primary-color); }
.logo img { height: 50px; width: auto; }
.nav-menu { display: flex; align-items: center; gap: 30px; }
.nav-link { color: var(--primary-color); font-weight: 500; position: relative; transition: 0.3s; }
.nav-link::after { content: ''; position: absolute; width: 0; height: 2px; bottom: -5px; left: 0; background-color: var(--accent-color); transition: 0.3s; }
.nav-link:hover::after { width: 100%; }
.btn-contact { padding: 10px 25px; background-color: var(--primary-color); color: var(--white); border-radius: 50px; transition: 0.3s; }
.btn-contact:hover { background-color: var(--accent-color); transform: translateY(-2px); box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4); }
.btn-contact::after { content: none; }
.menu-toggle { display: none; cursor: pointer; }
.bar { display: block; width: 25px; height: 3px; margin: 5px auto; background-color: var(--primary-color); transition: 0.3s; }

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(15, 23, 42, 0.8)), url('../assets/hero-bg.jpg');
    background-size: cover; background-position: center; background-attachment: fixed;
    display: flex; align-items: center; text-align: center; color: var(--white); padding-top: 80px;
}
.hero { background-color: var(--primary-color); } 
.hero-content h1 { font-size: 3.5rem; margin-bottom: 25px; line-height: 1.2; font-weight: 700; }
.hero-content p { font-size: 1.25rem; max-width: 750px; margin: 0 auto 40px; opacity: 0.9; font-weight: 300; }
.btn-primary { display: inline-flex; align-items: center; gap: 10px; padding: 15px 40px; background-color: var(--accent-color); color: var(--white); font-weight: 600; border-radius: 50px; transition: var(--transition); font-size: 1rem; }
.btn-primary:hover { background-color: #bfa34a; transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.2); }

/* Sections General */
section { padding: 100px 0; }
.section-title { text-align: center; margin-bottom: 60px; }
.section-title h2 { font-size: 2.5rem; color: var(--primary-color); margin-bottom: 15px; }
.underline { width: 80px; height: 5px; background-color: var(--accent-color); margin: 0 auto; border-radius: 5px; }

/* About Section */
.about-main-content { 
    display: flex; 
    align-items: center; 
    gap: 40px; 
    margin-bottom: 80px; 
}

.about-text { 
    flex: 1.2; 
}

.about-text p { 
    margin-bottom: 20px; 
    font-size: 1.1rem; 
    color: var(--text-light); 
    line-height: 1.8;
    text-align: justify; 
}

.about-text .lead { 
    color: var(--primary-color); 
    font-size: 1.15rem; 
    border-left: 4px solid var(--accent-color); 
    padding-left: 20px; 
    text-align: left; 
}

.about-image { 
    flex: 0.8; 
    display: flex; 
    justify-content: center; 
}

.img-box { 
    width: 100%; 
    max-width: 380px; 
    aspect-ratio: 1 / 1; 
    background: linear-gradient(135deg, var(--white), var(--light-bg)); 
    border-radius: 40px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.06);
    border: 1px solid rgba(15, 23, 42, 0.05); 
    position: relative; 
    animation: floatLogo 6s ease-in-out infinite; 
}

.img-box img { 
    max-width: 55%; 
    height: auto; 
    z-index: 2; 
    filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.15)); 
}

@keyframes floatLogo {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

/* Features Grid */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.feature-card { background: var(--white); padding: 40px 30px; border-radius: 20px; text-align: center; border: 1px solid rgba(0,0,0,0.05); box-shadow: 0 10px 30px rgba(0,0,0,0.05); transition: var(--transition); position: relative; overflow: hidden; }
.feature-card::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 5px; background: var(--accent-color); transform: scaleX(0); transition: var(--transition); transform-origin: left; }
.icon-circle { width: 80px; height: 80px; background: var(--light-bg); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 25px; color: var(--primary-color); font-size: 2rem; transition: var(--transition); }
.feature-card h3 { font-size: 1.5rem; color: var(--primary-color); margin-bottom: 15px; }
.feature-card p { color: var(--text-light); font-size: 0.95rem; }
.feature-card:hover { transform: translateY(-15px) rotate(1deg); box-shadow: 0 20px 40px rgba(15, 23, 42, 0.15); border-color: transparent; }
.feature-card:hover::before { transform: scaleX(1); }
.feature-card:hover .icon-circle { background: var(--primary-color); color: var(--accent-color); transform: scale(1.1) rotate(-10deg); }

/* FFL Section */
.ffl-section { background-color: var(--light-bg); }
.ffl-card { background: var(--white); border-radius: 25px; padding: 50px; box-shadow: 0 15px 40px rgba(0,0,0,0.08); max-width: 900px; margin: 0 auto; text-align: center; position: relative; }
.ffl-logo img { max-width: 200px; margin-bottom: 20px; }
.badge { background: var(--primary-color); color: var(--white); padding: 8px 20px; border-radius: 50px; font-size: 0.85rem; text-transform: uppercase; font-weight: 600; letter-spacing: 1px; display: inline-block; margin-bottom: 25px; }
.ffl-desc { font-size: 1.1rem; color: var(--text-light); margin-bottom: 40px; line-height: 1.8; }
.stats-container { display: flex; justify-content: center; gap: 50px; flex-wrap: wrap; margin-bottom: 30px; padding: 30px; background: #f8fafc; border-radius: 15px; border: 1px dashed #cbd5e1; }
.stat-box { display: flex; flex-direction: column; align-items: center; min-width: 120px; }
.stat-box i { font-size: 1.8rem; color: var(--accent-color); margin-bottom: 10px; }
.stat-number { font-size: 2rem; font-weight: 700; color: var(--primary-color); }
.stat-label { font-size: 0.9rem; color: var(--text-light); }

.ffl-footer p {
    color: #10b981; 
    font-weight: 600;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: rgba(16, 185, 129, 0.1);
    padding: 10px;
    border-radius: 10px;
    display: inline-flex;
}

/* Participants Section - TEXT ONLY CLEANUP */
.participants-section { margin-top: 60px; text-align: center; }
.participants-header h4 { color: var(--text-light); font-weight: 500; margin-bottom: 15px; font-size: 1.1rem; letter-spacing: 1px; text-transform: uppercase; }
.stat-badges { display: flex; justify-content: center; gap: 15px; margin-bottom: 30px; flex-wrap: wrap; }
.p-badge { background: var(--white); padding: 8px 20px; border-radius: 50px; font-size: 0.9rem; font-weight: 600; color: var(--primary-color); box-shadow: 0 4px 10px rgba(0,0,0,0.05); border: 1px solid #e2e8f0; display: flex; align-items: center; gap: 8px; }

/* Marquee Styles */
.marquee-container { position: relative; width: 100%; overflow: hidden; margin-bottom: 20px; background: var(--white); padding: 15px 0; border-radius: 10px; mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent); -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent); }
.text-marquee { display: flex; align-items: center; background: var(--primary-color); padding: 0; border-radius: 8px; height: 45px; border: none; mask-image: none; -webkit-mask-image: none; }
.marquee-label { background: var(--accent-color); color: var(--white); padding: 0 20px; height: 100%; display: flex; align-items: center; font-weight: 700; font-size: 0.9rem; z-index: 2; box-shadow: 5px 0 15px rgba(0,0,0,0.2); min-width: 120px; justify-content: center; }
.marquee-track-text { display: flex; gap: 30px; padding-left: 20px; width: max-content; animation: scrollLeft 60s linear infinite; }
.text-marquee.reverse .marquee-track-text { animation: scrollRight 60s linear infinite; }
.text-item { color: rgba(255, 255, 255, 0.8); font-size: 0.9rem; white-space: nowrap; position: relative; }
.text-item::after { content: "•"; margin-left: 30px; color: var(--accent-color); opacity: 0.5; }

@keyframes scrollLeft { to { transform: translateX(-50%); } }
@keyframes scrollRight { from { transform: translateX(-50%); } to { transform: translateX(0); } }
.marquee-container:hover .marquee-track-text { animation-play-state: paused; }

/* Contact Section */
.contact-wrapper { text-align: center; }
.contact-wrapper h2 { color: var(--primary-color); margin-bottom: 15px; }
.contact-wrapper > p { color: var(--text-light); margin-bottom: 50px; }
.contact-cards { display: flex; justify-content: center; gap: 30px; flex-wrap: wrap; }
.card { background: var(--white); padding: 40px 30px; border-radius: 20px; border: 1px solid #e2e8f0; flex: 1; min-width: 300px; max-width: 450px; transition: var(--transition); display: flex; flex-direction: column; align-items: center; gap: 15px; text-align: center; }
.card:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(0,0,0,0.1); border-color: var(--accent-color); }
.card-icon { width: 60px; height: 60px; background: var(--light-bg); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; color: var(--primary-color); transition: 0.3s; }
.card:hover .card-icon { background: var(--primary-color); color: var(--white); }
.card p { color: var(--text-light); word-break: break-all; }

/* Footer */
footer { background-color: var(--primary-color); color: var(--white); padding: 50px 0; text-align: center; border-top: 5px solid var(--accent-color); }
.footer-content { display: flex; flex-direction: column; align-items: center; gap: 15px; }
.footer-logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.3rem; color: var(--primary-color); background-color: var(--white); padding: 10px 20px; border-radius: 10px; box-shadow: 0 5px 15px rgba(0,0,0,0.3); }
.footer-logo img { height: 40px; width: auto; }
.legal-info { margin: 10px 0; }
.nib-badge { display: inline-block; background: rgba(255, 255, 255, 0.1); padding: 5px 15px; border-radius: 4px; font-size: 0.85rem; color: rgba(255, 255, 255, 0.9); border: 1px solid rgba(255, 255, 255, 0.2); font-family: 'Consolas', 'Monaco', monospace; letter-spacing: 0.5px; }
.nib-badge i { margin-right: 8px; color: var(--accent-color); }
.copyright { font-size: 0.9rem; opacity: 0.7; font-weight: 300; }

/* Mobile & Animation */
@media (max-width: 992px) { 
    .about-main-content { flex-direction: column-reverse; text-align: center; } 
    
    .about-text .lead { border-left: none; padding-left: 0; text-align: center; }
    .about-text p { text-align: center; }
    
    .features-grid { grid-template-columns: 1fr; } 
    .hero-content h1 { font-size: 2.8rem; } 
}

@media (max-width: 768px) {
    .menu-toggle { display: block; }
    .menu-toggle.active .bar:nth-child(2) { opacity: 0; }
    .menu-toggle.active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .menu-toggle.active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
    .nav-menu { position: fixed; left: -100%; top: 80px; flex-direction: column; background-color: var(--white); width: 100%; text-align: center; transition: 0.3s; box-shadow: 0 10px 10px rgba(0,0,0,0.1); padding: 20px 0; }
    .nav-menu.active { left: 0; }
    .nav-link { display: block; padding: 15px; }
    .hero-content h1 { font-size: 2.2rem; }
    .ffl-card { padding: 30px 20px; }
    .stats-container { gap: 30px; }
    .marquee-label { min-width: 90px; font-size: 0.8rem; padding: 0 10px;}
}
.fade-in, .fade-in-left, .fade-in-right, .fade-in-up { opacity: 0; transition: opacity 0.8s ease-out, transform 0.8s ease-out; }
.fade-in.visible { opacity: 1; }
.fade-in-left { transform: translateX(-50px); }
.fade-in-left.visible { opacity: 1; transform: translateX(0); }
.fade-in-right { transform: translateX(50px); }
.fade-in-right.visible { opacity: 1; transform: translateX(0); }
.fade-in-up { transform: translateY(50px); }
.fade-in-up.visible { opacity: 1; transform: translateY(0); }