/* CSS Variables & Reset */
:root {
    /* New Color Palette based on Red & Yellow Theme */
    --primary-red: #FF4D4D;     /* Primary accent color */
    --accent-yellow: #F9E03B;   /* Secondary accent color */
    --text-light: #F0F0F0;
    --text-dark: #1a1a1a;
    --bg-dark: #121212;
    --bg-card: rgba(38, 38, 38, 0.6); /* Semi-transparent for glass effect */
    --border-color: rgba(255, 255, 255, 0.1);
    --font-family: 'Poppins', sans-serif;
    --animation-curve: cubic-bezier(0.25, 0.46, 0.45, 0.94); /* Smoother easing */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.7;
    background-image:
        radial-gradient(circle at 10% 20%, rgba(255, 77, 77, 0.15), transparent 40%), /* Red glow */
        radial-gradient(circle at 90% 80%, rgba(249, 224, 59, 0.1), transparent 40%); /* Yellow glow */
    background-attachment: fixed;
    overflow-x: hidden; /* Prevent horizontal scroll from animations */
}

/* General Styles */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-light);
}

h1 { font-size: 4.5rem; }
h2 { font-size: 3rem; margin-bottom: 2.5rem; }
h3 { font-size: 1.8rem; }
h4 { font-size: 1.35rem; margin-bottom: 0.75rem; color: var(--accent-yellow); }

p {
    margin-bottom: 1rem;
    color: #a0a0a0;
}

section {
    padding: 8rem 0;
    position: relative;
    overflow: hidden;
}

a {
    color: var(--accent-yellow);
    text-decoration: none;
    transition: color 0.3s ease;
}
a:hover {
    color: var(--primary-red);
}

/* Header & Navbar */
.header {
    background: rgba(18, 18, 18, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
    width: auto;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-light);
    font-weight: 600;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0%;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--accent-yellow);
    transition: width 0.3s ease-out;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    padding: 4rem 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-main-logo {
    width: 350px;
    margin-bottom: 2rem;
    animation: fadeInScale 1s var(--animation-curve) forwards;
}

.hero-text h1 {
    color: var(--text-light);
    text-shadow: 0 0 20px rgba(255,255,255,0.1);
}

.hero-text .tagline {
    font-size: 1.35rem;
    max-width: 700px;
    margin: 1.5rem auto 3rem;
    color: rgba(240, 240, 240, 0.9);
}

.cta-button {
    background-color: var(--accent-yellow);
    color: var(--text-dark);
    padding: 1rem 3rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: transform 0.3s var(--animation-curve), box-shadow 0.3s var(--animation-curve), background-color 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 0 25px rgba(249, 224, 59, 0.4);
}

.cta-button:hover {
    transform: translateY(-7px) scale(1.03);
    box-shadow: 0 0 40px rgba(249, 224, 59, 0.6);
    background-color: #fff;
}

/* Hero background overlay for depth */
.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(20,20,20,0.8), rgba(18,18,18,0.8));
    z-index: 1;
    opacity: 0;
    animation: fadeIn 1s ease-out forwards 0.5s;
}


/* Section Header Style */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
}
.section-header h2 {
    position: relative;
    display: inline-block;
    padding-bottom: 0.5rem;
}
.section-header h2::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    width: 60px;
    height: 4px;
    background-color: var(--primary-red);
    border-radius: 2px;
}

/* Why Section */
.why-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}
.why-text .quote {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-red);
    border-left: 5px solid var(--accent-yellow);
    padding-left: 1.8rem;
    margin: 3rem 0;
    text-align: left;
    line-height: 1.6;
    background: rgba(255, 77, 77, 0.05);
    padding: 2rem;
    border-radius: 8px;
}
.why-text strong {
    color: var(--primary-red);
}

/* Vision & Mission Section */
.vision-mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
}

/* Glassmorphism Card Style */
.card, .objective-card, .approach-item, .expect-item, .section-cta .container {
    background: var(--bg-card);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid var(--border-color);
    padding: 2.5rem;
    border-radius: 18px;
    transition: transform 0.4s var(--animation-curve), box-shadow 0.4s var(--animation-curve);
    position: relative;
    overflow: hidden;
}
.card:hover, .objective-card:hover, .approach-item:hover, .expect-item:hover, .section-cta .container:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
}
.card::before, .objective-card::before, .approach-item::before, .expect-item::before, .section-cta .container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 18px;
    border: 1px solid transparent;
    background: linear-gradient(180deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0) 100%) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    z-index: -1;
}

.card h3 i, .expect-item h3 i {
    color: var(--accent-yellow);
    margin-right: 0.5rem;
}

/* Approach Section */
.approach-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    text-align: center;
}
.approach-item {
    padding: 3rem 2rem;
}
.approach-item i {
    margin-bottom: 1.5rem;
    font-size: 3.5rem;
    display: block;
    transition: transform 0.3s var(--animation-curve);
}
.approach-item:hover i {
    transform: scale(1.1);
}
/* Icon colors now based on red/yellow theme */
.icon-green { color: var(--primary-red) !important; } /* Changed from green to red */
.icon-yellow { color: var(--accent-yellow) !important; }
.icon-red { color: var(--primary-red) !important; }


/* Objectives Section */
.objectives-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.8rem;
}

/* What to Expect Section */
.section-expect {
    background-color: #0A0A0A;
}
.expect-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* This is the key change */
    gap: 2rem;
    text-align: center;
}
.expect-item {
    padding: 2.5rem 1.5rem;
}
.expect-item .icon-circle {
    width: 80px;
    height: 80px;
    background-color: rgba(249, 224, 59, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    border: 1px solid rgba(249, 224, 59, 0.2);
    transition: background-color 0.3s ease;
}
.expect-item:hover .icon-circle {
    background-color: var(--accent-yellow);
}
.expect-item .icon-circle i {
    font-size: 2.5rem;
    color: var(--accent-yellow);
    transition: color 0.3s ease;
}
.expect-item:hover .icon-circle i {
    color: var(--text-dark);
}
.expect-item h3 {
    margin-bottom: 0.75rem;
}

/* Community Section */
.section-community {
    text-align: center;
}
.partner-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
}
.partner-logos img {
    max-width: 160px;
    height: 80px;
    object-fit: contain;
    filter: grayscale(100%) brightness(150%);
    opacity: 0.6;
    transition: filter 0.3s ease, opacity 0.3s ease;
}
.partner-logos img:hover {
    filter: grayscale(0%) brightness(100%);
    opacity: 1;
}
.community-cta {
    margin-top: 3rem;
    font-size: 1.1rem;
    color: #ccc;
}
.community-cta a {
    color: var(--primary-red);
    font-weight: 600;
}
.community-cta a:hover {
    color: var(--accent-yellow);
}

/* Difference Section */
.section-difference {
    background-color: var(--primary-red);
    text-align: center;
    padding: 6rem 0;
}

.section-difference h2 { color: var(--text-light); }
.section-difference p { color: rgba(240, 240, 240, 0.9); font-size: 1.2rem; }
.section-difference .impact-text {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-light);
    margin: 2.5rem auto;
    max-width: 900px;
    border-top: 2px solid var(--accent-yellow);
    border-bottom: 2px solid var(--accent-yellow);
    padding: 1.8rem 0;
}

/* Call to Action Section */
.section-cta {
    text-align: center;
}
.section-cta .container {
    max-width: 800px;
    padding: 4rem;
    box-shadow: 0 0 50px rgba(0,0,0,0.5);
    background-image: linear-gradient(45deg, rgba(255, 77, 77, 0.15) 0%, transparent 70%);
}
.section-cta h2 {
    margin-bottom: 1.5rem;
    color: var(--primary-red);
}
.section-cta p {
    font-size: 1.15rem;
    margin-bottom: 2.5rem;
    color: rgba(240, 240, 240, 0.9);
}
.contact-button {
    background-color: var(--primary-red);
    color: var(--text-light);
    box-shadow: 0 0 25px rgba(255, 77, 77, 0.4);
}
.contact-button:hover {
    background-color: var(--accent-yellow);
    color: var(--text-dark);
    box-shadow: 0 0 40px rgba(249, 224, 59, 0.6);
}


/* Footer */
.footer {
    background-color: #0A0A0A;
    text-align: center;
    padding: 5rem 0;
    border-top: 1px solid var(--border-color);
}
.footer h3 {
    color: var(--text-light);
    margin-bottom: 2.5rem;
}

.footer-contact {
    margin: 2.5rem 0;
    font-size: 1.1rem;
}

.footer-contact a {
    color: #ccc;
    font-weight: 400;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: var(--accent-yellow);
}

.footer-contact i {
    margin-right: 0.75rem;
    color: var(--primary-red);
}
.takeaways {
    display: flex;
    justify-content: center;
    gap: 1.2rem;
    flex-wrap: wrap;
    margin: 1.5rem 0 3.5rem;
}
.takeaways span {
    background-color: rgba(255, 77, 77, 0.1);
    padding: 0.7rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    border: 1px solid rgba(255, 77, 77, 0.2);
    color: var(--primary-red);
    transition: background-color 0.3s, color 0.3s, transform 0.3s;
}
.takeaways span:hover {
    background-color: var(--primary-red);
    color: var(--text-light);
    transform: translateY(-3px);
}

.footer-links {
    margin: 2.5rem 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem 2.5rem;
}
.footer-links a {
    color: #ccc;
    font-weight: 400;
}
.footer-links a:hover {
    color: var(--accent-yellow);
}

.social-icons {
    margin-bottom: 3rem;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}
.social-icons a {
    color: #ccc;
    font-size: 1.8rem;
    transition: color 0.3s ease, transform 0.3s ease;
}
.social-icons a:hover {
    color: var(--accent-yellow);
    transform: translateY(-5px) scale(1.1);
}

.footer p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
}

/* FAQ Section */
.section-faq {
    background-color: #0A0A0A;
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    background: transparent;
    border: none;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    text-align: left;
}

.faq-question span {
    color: var(--text-light);
    font-size: 1.2rem;
    font-weight: 600;
}

.faq-question i {
    color: var(--accent-yellow);
    transition: transform 0.3s ease;
    font-size: 1.2rem;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem;
    margin: 0;
    color: #a0a0a0;
    line-height: 1.8;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-item.active .faq-answer {
    max-height: 200px; /* Adjust if answers are longer */
}

/* Advanced Animations */
.animate-on-load {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInSlideUp 0.8s var(--animation-curve) forwards;
}

.animate-hidden {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s var(--animation-curve), transform 0.7s var(--animation-curve);
    transition-delay: var(--stagger-delay, 0s);
}

.animate-hidden.fade-in-left { transform: translateX(-50px); }
.animate-hidden.fade-in-right { transform: translateX(50px); }
.animate-hidden.scale-in { transform: scale(0.8); }

.animate-hidden.animate-show {
    opacity: 1;
    transform: translate(0);
}

@keyframes fadeInSlideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInScale {
    from { opacity: 0; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}


/* Responsive Design */
@media (max-width: 992px) {
    h1 { font-size: 3.5rem; }
    h2 { font-size: 2.5rem; }
    .hero-main-logo { width: 280px; }
}

@media (max-width: 768px) {
    h1 { font-size: 2.8rem; }
    h2 { font-size: 2rem; }
    h4 { font-size: 1.1rem; }
    
    .navbar { flex-direction: column; gap: 1rem; }
    .nav-links { padding-top: 1rem; flex-wrap: wrap; justify-content: center; gap: 1rem; }
    
    .hero-main-logo { width: 250px; }
    .hero-text .tagline { font-size: 1.15rem; }

    .why-text .quote { font-size: 1.1rem; padding: 1.5rem; }
    
    .vision-mission-grid { grid-template-columns: 1fr; }
    .approach-grid, .objectives-grid, .expect-grid { grid-template-columns: 1fr; }
    
    .section-difference .impact-text { font-size: 1.8rem; padding: 1.2rem 0; }
    .section-cta .container { padding: 3rem 2rem; }

    .takeaways span { padding: 0.6rem 1.5rem; }
}

@media (max-width: 480px) {
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.7rem; }
    
    .logo img { height: 40px; }
    .nav-links { gap: 0.8rem; font-size: 0.85rem; }
    
    .hero-main-logo { width: 200px; margin-bottom: 1.5rem; }
    .cta-button { padding: 0.8rem 2rem; }

    .partner-logos img { max-width: 120px; height: 60px; }
    
    .footer-links { flex-direction: column; gap: 1rem; }
}