/* CSS Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color Variables */
    --neon-blue: #00f3ff;
    --gold: #ffd700;
    --navy: #0a192f;
    --light-navy: #112240;
    --slate: #8892b0;
    --light-slate: #ccd6f6;
    --success: #4CAF50;
    --error: #f44336;
    --black: #000000;
    
    /* Spacing Variables */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    
    /* Transition Variables */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.4s ease;
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 10px;
    --radius-lg: 15px;
    --radius-full: 50%;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 10px 20px rgba(0, 243, 255, 0.3);
    --shadow-neon: 0 0 15px rgba(0, 243, 255, 0.3);
    --shadow-neon-hover: 0 0 25px rgba(0, 243, 255, 0.6);
}

/* Base HTML & Body */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px; /* Account for fixed header */
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--navy);
    color: var(--light-slate);
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: var(--space-md);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 1.8rem);
}

p {
    line-height: 1.6;
    margin-bottom: var(--space-sm);
    color: var(--slate);
}

/* Links */
a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-normal);
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

/* Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--navy);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.spinner {
    width: 60px;
    height: 60px;
    border: 5px solid var(--slate);
    border-top: 5px solid var(--neon-blue);
    border-radius: var(--radius-full);
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 25, 47, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    padding: var(--space-sm) 0;
    border-bottom: 1px solid rgba(0, 243, 255, 0.2);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-md);
}

/* Logo - UPDATED TO ROUND */
.logo img {
    height: 75px;
    width: 75px;
    background: var(--black) !important;
    border: 1px solid var(--neon-blue) !important; /* Added neon border */
    border-radius: var(--radius-full) !important; /* Made round */
    object-fit: cover; /* Ensures image fills the circle */
    display: block;
    box-shadow: var(--shadow-neon); /* Added neon glow */
    transition: all var(--transition-normal);
}

.logo img:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-neon-hover);
}

/* Branding Logo */
.branding-logo img {
    height: 120px;
    width: 120px;
    border-radius: var(--radius-full);
    border: 3px solid var(--gold);
    object-fit: cover;
    transition: all var(--transition-slow);
    box-shadow: var(--shadow-neon);
    background: var(--black);
}

.branding-logo img:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: var(--shadow-neon-hover);
    border-color: var(--gold);
}

/* Navigation Links */
.nav-links {
    display: flex;
    gap: var(--space-lg);
    list-style: none;
}

.nav-links a {
    color: var(--light-slate);
    position: relative;
    padding: var(--space-xs) 0;
}

.nav-links a:hover {
    color: var(--neon-blue);
}

.nav-links a.active {
    color: var(--gold);
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gold);
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from { width: 0; }
    to { width: 100%; }
}

/* Buttons */
.cta-button,
.btn-gold,
.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.8rem;
    border-radius: 30px;
    font-weight: 700;
    transition: all var(--transition-normal);
    border: none;
    cursor: pointer;
    text-align: center;
    white-space: nowrap;
}

.cta-button {
    background: linear-gradient(45deg, var(--neon-blue), #0099ff);
    color: var(--navy);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-gold {
    background: linear-gradient(45deg, var(--gold), #ffaa00);
    color: var(--navy);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--neon-blue);
    color: var(--neon-blue);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: 
        linear-gradient(rgba(10, 25, 47, 0.9), rgba(10, 25, 47, 0.9)),
        url('https://images.unsplash.com/photo-1523580494863-6f3031224c94?ixlib=rb-4.0.3&auto=format&fit=crop&w=1470&q=80');
    background-size: cover;
    background-position: center;
    z-index: -1;
}

.hero-content {
    max-width: 800px;
    animation: fadeUp 0.8s ease-out;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero h1 {
    margin-bottom: var(--space-sm);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--light-slate);
    margin-bottom: var(--space-lg);
}

.hero-buttons {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

/* Sections */
section {
    padding: var(--space-xl) 0;
    position: relative;
}

.section-title {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.section-title h2 {
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gold);
}

/* Impact Counters */
.counters {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-lg);
    text-align: center;
}

.counter-item h3 {
    font-size: clamp(2.5rem, 5vw, 3rem);
    color: var(--neon-blue);
    margin-bottom: var(--space-xs);
}

.counter-item p {
    font-size: 1.2rem;
    color: var(--light-slate);
}

/* Steps Grid */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-lg);
}

.step-card {
    background: var(--light-navy);
    padding: var(--space-lg);
    border-radius: var(--radius-md);
    transition: all var(--transition-normal);
    border-left: 4px solid var(--gold);
    height: 100%;
}

.step-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--neon-blue);
    color: var(--navy);
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    font-weight: 700;
    margin-bottom: var(--space-md);
}

/* Sponsor Tiers */
.tiers {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-lg);
    justify-items: center;
}

.tier-card {
    background: var(--light-navy);
    padding: var(--space-lg);
    border-radius: var(--radius-md);
    border: 2px solid transparent;
    transition: all var(--transition-normal);
    width: 100%;
    max-width: 350px;
    display: flex;
    flex-direction: column;
}

.tier-card.gold { border-color: var(--gold); }
.tier-card.silver { border-color: #c0c0c0; }
.tier-card.bronze { border-color: #cd7f32; }

.tier-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: var(--shadow-lg);
}

.tier-card h3 {
    text-align: center;
    margin-bottom: var(--space-sm);
}

.tier-card .price {
    font-size: clamp(2rem, 4vw, 2.5rem);
    text-align: center;
    color: var(--neon-blue);
    margin: var(--space-sm) 0;
}

.tier-features {
    list-style: none;
    margin: var(--space-md) 0;
    flex-grow: 1;
}

.tier-features li {
    padding: var(--space-xs) 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.tier-features li::before {
    content: '✓';
    color: var(--neon-blue);
    font-weight: bold;
}

/* Forms */
.form-container {
    max-width: 700px;
    margin: 0 auto;
    background: var(--light-navy);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
}

.form-group {
    margin-bottom: var(--space-md);
}

.form-group label {
    display: block;
    margin-bottom: var(--space-xs);
    color: var(--light-slate);
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--slate);
    border-radius: var(--radius-sm);
    color: white;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.form-control:focus {
    outline: none;
    border-color: var(--neon-blue);
    box-shadow: 0 0 0 3px rgba(0, 243, 255, 0.1);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

/* Form Messages */
.message {
    padding: 1rem 1.5rem;
    border-radius: var(--radius-sm);
    margin: var(--space-md) 0;
    animation: slideIn 0.3s ease;
}

.message.success {
    background: rgba(76, 175, 80, 0.1);
    border: 1px solid var(--success);
    color: #a5d6a7;
}

.message.error {
    background: rgba(244, 67, 54, 0.1);
    border: 1px solid var(--error);
    color: #ffabab;
}

.loading {
    display: none;
    text-align: center;
    padding: var(--space-md);
    color: var(--neon-blue);
}

/* WhatsApp Components */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4);
    z-index: 100;
    transition: all var(--transition-normal);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background: #128C7E;
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.6);
}

.whatsapp-inline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #25D366;
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    margin-top: var(--space-sm);
    transition: all var(--transition-normal);
}

.whatsapp-inline:hover {
    background: #128C7E;
    transform: translateY(-2px);
}

/* Footer */
footer {
    background: #061020;
    padding: var(--space-xl) 0 var(--space-sm);
    border-top: 1px solid rgba(0, 243, 255, 0.2);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-lg);
    margin-bottom: var(--space-lg);
}

.footer-links h4 {
    margin-bottom: var(--space-md);
    color: var(--neon-blue);
}

.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: var(--space-xs); }

.footer-links a:hover {
    color: var(--gold);
    padding-left: 5px;
    transition: all var(--transition-normal);
}

.copyright {
    text-align: center;
    padding-top: var(--space-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--slate);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .hero-buttons { flex-direction: column; width: 100%; }
    .hero-buttons .cta-button, .hero-buttons .btn-gold, .hero-buttons .btn-outline { width: 100%; }
    .steps-grid, .tiers { grid-template-columns: 1fr; }
    .form-container { padding: var(--space-lg) var(--space-sm); }
    .branding-logo img { height: 80px; width: 80px; }
    .whatsapp-float { bottom: 20px; right: 20px; width: 50px; height: 50px; font-size: 1.5rem; }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .tiers { grid-template-columns: repeat(2, 1fr); }
}

/* Print Styles */
@media print {
    .whatsapp-float, .cta-button, .hero-buttons { display: none !important; }
    body { color: #000; background: #fff; }
    a { color: #000; text-decoration: underline; }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    html { scroll-behavior: auto; }
}