/* 
  GenZ Global Foundation - Styles
  Google Fonts: Outfit (headings), Inter (body)
*/

:root {
    /* Color Palette */
    --bg-dark: #0a0a0f;
    --bg-darker: #050508;
    --bg-card: rgba(26, 26, 46, 0.6);
    --border-glass: rgba(255, 255, 255, 0.08);
    
    --primary: #00f0ff; /* Neon cyan */
    --secondary: #7000ff; /* Deep purple */
    --accent: #ff0055; /* Hot pink accent */
    
    --text-main: #f0f0f5;
    --text-muted: #a0a0b5;
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Variables */
    --nav-height: 80px;
    --border-radius: 16px;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
    scroll-behavior: smooth;
}

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

/* Utilities */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 5%;
}

.text-center { text-align: center; }

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.gradient-text {
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% auto;
    animation: gradientShift 5s ease infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.badge-tag {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(0, 240, 255, 0.1);
    color: var(--primary);
    border: 1px solid rgba(0, 240, 255, 0.2);
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

/* Glassmorphism */
.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-glass);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
}

/* Buttons */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 30px;
    font-weight: 600;
    font-family: var(--font-heading);
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
}

.btn-primary {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
    color: #fff;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 240, 255, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 8px 25px rgba(0, 240, 255, 0.5);
    transform: translateY(-3px);
}

.btn-secondary {
    background: transparent;
    color: var(--text-main);
    border: 1px solid var(--border-glass);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    height: var(--nav-height);
    z-index: 1000;
    background: rgba(5, 5, 8, 0.85);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-glass);
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: 0 4px 30px rgba(0,0,0,0.5);
    height: 70px;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: auto;
    max-height: 55px; /* Updated for square shape */
    border-radius: 8px;
    display: block;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a:not(.btn-nav) {
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
}

.nav-links a:not(.btn-nav):hover {
    color: var(--primary);
}

.nav-links a:not(.btn-nav)::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-links a:not(.btn-nav):hover::after {
    width: 100%;
}

.btn-nav {
    padding: 10px 24px;
    font-size: 0.85rem;
}

/* Mobile Menu Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 101;
}

.mobile-toggle span {
    width: 100%;
    height: 3px;
    background: var(--primary);
    border-radius: 3px;
    transition: var(--transition);
}

/* Hero Section & Slider */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 120px;
    padding-bottom: 80px;
    overflow: hidden;
}

.slider-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    visibility: hidden;
}

.slide.active {
    opacity: 1;
    visibility: visible;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(5,5,8,0.3) 0%, rgba(5,5,8,0.95) 100%);
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid var(--border-glass);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    backdrop-filter: blur(10px);
    transition: var(--transition);
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-btn:hover {
    background: var(--primary);
    color: #000;
}

.prev-btn { left: 5%; }
.next-btn { right: 5%; }

.slider-dots {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 5;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--primary);
    box-shadow: 0 0 10px var(--primary);
    transform: scale(1.3);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    padding: 0 5%;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

/* Stats / Cards Grid */
.stats-cards-section {
    padding: 6rem 0;
    background: var(--bg-dark);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: clamp(2rem, 3vw, 2.5rem);
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.2rem;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.card {
    border-top: 3px solid transparent;
}

.card:hover {
    border-top-color: var(--primary);
    transform: translateY(-10px);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.card h3 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.card p {
    color: var(--text-muted);
}

/* About Section */
.about-section {
    padding: 8rem 0;
    background: var(--bg-darker);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    font-size: clamp(2rem, 3vw, 3rem);
    margin-bottom: 1.5rem;
}

.highlight {
    color: var(--primary);
}

.about-text p {
    margin-bottom: 1.5rem;
    color: #c0c0d0;
    font-size: 1.1rem;
}

.intersection-title {
    margin: 2rem 0 1rem;
    font-size: 1.2rem;
}

.feature-list {
    list-style: none;
    margin-bottom: 2rem;
}

.feature-list li {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    font-size: 1.1rem;
}

.check-icon {
    color: var(--primary);
    margin-right: 10px;
    font-weight: bold;
}

.philosophy-box {
    margin-top: 2rem;
    border-left: 4px solid var(--secondary);
}

.philosophy-box h4 {
    margin-bottom: 0.5rem;
    color: var(--text-muted);
}

.gradient-bold {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 1rem !important;
}

.about-image-wrapper {
    position: relative;
    border-radius: var(--border-radius);
}

.about-img {
    width: 100%;
    border-radius: var(--border-radius);
    display: block;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.about-image-wrapper::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    z-index: -1;
    border-radius: calc(var(--border-radius) + 2px);
    opacity: 0.4;
    filter: blur(20px);
}

.floating-stat {
    position: absolute;
    bottom: -20px;
    left: -20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem;
    border-top: 2px solid var(--primary);
}

.stat-num {
    font-size: 2.5rem;
    font-weight: 800;
    font-family: var(--font-heading);
    color: var(--primary);
    line-height: 1;
}

.stat-text {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 5px;
}

/* Vision Section */
.vision-section {
    padding: 8rem 0;
    background: var(--bg-dark);
    position: relative;
}

.vision-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    margin-bottom: 4rem;
}

.vision-item {
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border-glass);
    padding: 2rem;
    border-radius: var(--border-radius);
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    transition: var(--transition);
}

.vision-item:hover {
    background: rgba(255,255,255,0.05);
    border-color: rgba(255,255,255,0.1);
}

.vision-icon {
    font-size: 2rem;
    background: linear-gradient(135deg, rgba(112,0,255,0.2), rgba(0,240,255,0.2));
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
}

.vision-item p {
    font-size: 1.1rem;
    margin: auto 0;
}

.vision-item strong {
    color: var(--primary);
}

.vision-conclusion {
    max-width: 800px;
    margin: 0 auto;
    border-top: 3px solid var(--secondary);
}

.large-text {
    font-size: 1.3rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.highlight-title {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 700;
    font-family: var(--font-heading);
}

/* Testimonials Section */
.testimonials-section {
    padding: 6rem 0;
    background: var(--bg-darker);
    position: relative;
}

.testimonial-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
}

.testi-slide {
    display: none;
    animation: fadeEffect 0.6s ease-in-out;
}

.testi-slide.active {
    display: block;
}

@keyframes fadeEffect {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

.testi-card {
    padding: 3rem;
    border-top: 3px solid var(--secondary);
    text-align: left;
}

.testi-quote {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    font-style: italic;
    color: var(--text-main);
    margin-bottom: 2.5rem;
    line-height: 1.8;
    position: relative;
}

.testi-quote::before {
    content: '"';
    font-size: 4rem;
    position: absolute;
    top: -20px;
    left: -20px;
    color: rgba(112,0,255,0.2);
    font-family: var(--font-heading);
    z-index: -1;
}

.testi-author {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.author-img {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary);
}

.testi-author h4 {
    margin-bottom: 0.3rem;
    font-size: 1.2rem;
}

.testi-author p {
    color: var(--primary);
    font-size: 0.95rem;
    font-weight: 500;
}

.testi-controls {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2.5rem;
}

.testi-btn {
    background: rgba(255, 255, 255, 0.05);
    color: var(--primary);
    border: 1px solid var(--border-glass);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testi-btn:hover {
    background: var(--primary);
    color: #000;
    border-color: var(--primary);
}

/* CTA Section */
.cta-section {
    padding: 4rem 0 8rem;
    background: var(--bg-dark);
}

.cta-container {
    padding: 4rem 2rem;
    max-width: 900px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(26,26,46,0.8), rgba(10,10,15,0.9));
    border: 1px solid var(--primary);
    box-shadow: 0 10px 40px rgba(0,240,255,0.15);
}

.cta-container h2 {
    font-size: clamp(2rem, 3vw, 2.8rem);
    margin-bottom: 1rem;
    color: #fff;
}

.cta-container p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-btn {
    font-size: 1.1rem;
    padding: 16px 36px;
}

/* CTA Banner Image (Google Form) */
.cta-banner-link {
    display: block;
    margin-top: 2.5rem;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.35s cubic-bezier(0.25, 0.8, 0.25, 1),
                box-shadow 0.35s ease;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.cta-banner-link:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 50px rgba(0, 240, 255, 0.35),
                0 0 0 2px rgba(0, 240, 255, 0.5);
}

.cta-banner-img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 12px;
    cursor: pointer;
}

/* Footer Section */
.footer-section {
    background: #000;
    padding-top: 6rem;
    border-top: 1px solid var(--border-glass);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 5rem;
    padding-bottom: 4rem;
}

.footer-logo img {
    max-height: 65px; /* Updated for square shape */
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.footer-desc {
    color: var(--text-muted);
    max-width: 500px;
    margin-bottom: 2rem;
}

.contact-details {
    display: grid;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.c-icon {
    font-size: 1.2rem;
}

.contact-item a:hover {
    color: var(--primary);
}

.footer-cta h3 {
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.involve-list {
    list-style: none;
    display: grid;
    gap: 1rem;
}

.involve-list a {
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
}

.involve-list a::before {
    content: '→';
    margin-right: 10px;
    color: var(--primary);
    transition: transform 0.3s ease;
}

.involve-list a:hover {
    color: #fff;
}

.involve-list a:hover::before {
    transform: translateX(5px);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding: 2rem 0;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 992px) {
    .about-grid, .footer-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .floating-stat {
        bottom: -10px;
        left: 10px;
    }
}

@media (max-width: 768px) {
    .mobile-toggle {
        display: flex;
    }

    .nav-links {
        position: absolute;
        top: var(--nav-height);
        left: 0;
        width: 100%;
        background: rgba(5, 5, 8, 0.95);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 2rem 0;
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: clip-path 0.4s ease-in-out;
    }

    .nav-links.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }

    .mobile-toggle.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    .mobile-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    .mobile-toggle.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .slider-btn {
        width: 40px;
        height: 40px;
    }
}
