/* Future Scholars Website - Main Stylesheet */
/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;800;900&family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* ==================== CSS RESET ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ==================== CSS VARIABLES ==================== */
:root {
    /* Color Palette */
    --primary-blue: #3B3F9E;
    --primary-yellow: #FFE033;
    --accent-purple: #9B4B9E;
    --accent-red: #E63946;
    --accent-teal: #2A9D8F;
    --accent-orange: #F77F00;
    --text-dark: #2B2D42;
    --text-medium: #5A5D7A;
    --text-light: #8D99AE;
    --gray-lightest: #F8F9FA;
    --white: #FFFFFF;
    
    /* Typography */
    --font-display: 'Playfair Display', serif;
    --font-body: 'Poppins', sans-serif;
    
    /* Spacing System */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    --spacing-3xl: 6rem;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 12px 40px rgba(0, 0, 0, 0.15);
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

/* ==================== BASE STYLES ==================== */
html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.7;
    background-color: var(--white);
    overflow-x: hidden;
}

/* ==================== TYPOGRAPHY ==================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 800;
    line-height: 1.2;
    color: var(--text-dark);
    margin-bottom: var(--spacing-md);
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h2 {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
}

h3 {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
}

h4 {
    font-size: clamp(1.25rem, 2vw, 1.75rem);
}

p {
    margin-bottom: var(--spacing-sm);
    font-size: 1rem;
    line-height: 1.7;
}

.lead {
    font-size: 1.125rem;
    font-weight: 400;
    color: var(--text-medium);
}

.small-text {
    font-size: 0.875rem;
}

.tiny-text {
    font-size: 0.75rem;
}

/* ==================== HEADER & NAVIGATION ==================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: var(--spacing-sm) 0;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

.header.scrolled {
    background: var(--white);
    box-shadow: var(--shadow-md);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 900;
    color: var(--primary-blue);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo img {
    height: 90px;
    width: auto;
    object-fit: contain;
}

.logo-icon {
    font-size: 2rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--spacing-lg);
    align-items: center;
}

.nav-link {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding: 0.5rem 0;
    transition: color var(--transition-fast);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-blue);
    transition: width var(--transition-normal);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--primary-blue);
}

/* Dropdown Menu */
.nav-item.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-md);
    padding: var(--spacing-sm);
    min-width: 240px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all var(--transition-normal);
    z-index: 100;
}

.nav-item.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-link {
    display: block;
    padding: 0.75rem var(--spacing-sm);
    color: var(--text-dark);
    text-decoration: none;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    font-size: 0.9rem;
}

.dropdown-link:hover {
    background: var(--gray-lightest);
    color: var(--primary-blue);
    padding-left: calc(var(--spacing-sm) + 8px);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.menu-toggle span {
    width: 28px;
    height: 3px;
    background: var(--primary-blue);
    border-radius: 3px;
    transition: all var(--transition-normal);
}

.phone-cta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-purple));
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-lg);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-sm);
}

.phone-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ==================== BUTTONS ==================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: var(--radius-lg);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all var(--transition-normal);
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-purple));
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

.btn-secondary:hover {
    background: var(--primary-blue);
    color: var(--white);
}

.btn-accent {
    background: linear-gradient(135deg, var(--accent-teal), var(--primary-yellow));
    color: var(--text-dark);
    font-weight: 700;
}

.btn-accent:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* ==================== HERO SECTION ==================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 80px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(59, 63, 158, 0.85), rgba(42, 157, 143, 0.75)),
                url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    background-size: cover, 40px 40px;
    background-position: center, center;
    z-index: -1;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
    text-align: center;
    color: var(--white);
    animation: fadeInUp 1s ease;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    margin-bottom: var(--spacing-lg);
    border: 1px solid rgba(255, 255, 255, 0.3);
    animation: fadeIn 1s ease 0.2s both;
}

.hero-title {
    color: var(--white);
    margin-bottom: var(--spacing-md);
    animation: fadeInUp 1s ease 0.4s both;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-yellow), var(--accent-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: var(--spacing-xl);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1s ease 0.6s both;
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.8s both;
}

.hero-features {
    display: flex;
    gap: var(--spacing-lg);
    justify-content: center;
    margin-top: var(--spacing-2xl);
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 1s both;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
}

.hero-feature::before {
    content: '✓';
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: var(--primary-yellow);
    color: var(--text-dark);
    border-radius: 50%;
    font-weight: 700;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: var(--spacing-xl);
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-indicator span {
    display: block;
    width: 30px;
    height: 50px;
    border: 3px solid rgba(255, 255, 255, 0.5);
    border-radius: 50px;
    position: relative;
}

.scroll-indicator span::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
}

/* ==================== SECTIONS ==================== */
.section {
    padding: var(--spacing-3xl) 0;
}

.section-alt {
    background: linear-gradient(180deg, var(--white), var(--gray-lightest));
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
}

.section-subtitle {
    color: var(--primary-blue);
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: var(--spacing-sm);
}

.section-title {
    margin-bottom: var(--spacing-md);
}

.section-description {
    max-width: 700px;
    margin: 0 auto;
    color: var(--text-medium);
    font-size: 1.125rem;
}

/* ==================== STATS SECTION ==================== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
}

.stat-card {
    text-align: center;
    padding: var(--spacing-xl);
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
}

.stat-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.stat-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-md);
}

.stat-number {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary-blue);
    margin-bottom: var(--spacing-xs);
}

.stat-label {
    font-size: 1.125rem;
    color: var(--text-medium);
    font-weight: 500;
}

/* ==================== COURSE CARDS ==================== */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-xl);
}

.course-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    border-top: 4px solid var(--primary-blue);
    position: relative;
}

.course-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.course-card.purple {
    border-top-color: var(--accent-purple);
}

.course-card.teal {
    border-top-color: var(--accent-teal);
}

.course-badge {
    position: absolute;
    top: var(--spacing-md);
    right: var(--spacing-md);
    background: var(--primary-yellow);
    color: var(--text-dark);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    z-index: 10;
}

.course-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: all var(--transition-slow);
}

.course-card:hover .course-image {
    transform: scale(1.05);
}

.course-content {
    padding: var(--spacing-lg);
}

.course-title {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
}

.course-description {
    color: var(--text-medium);
    margin-bottom: var(--spacing-md);
}

.course-features {
    list-style: none;
    margin-bottom: var(--spacing-lg);
}

.course-features li {
    padding: 0.5rem 0;
    color: var(--text-medium);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.course-features li::before {
    content: '✓';
    color: var(--accent-teal);
    font-weight: 700;
}

.course-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-blue);
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-fast);
}

.course-link:hover {
    gap: 1rem;
}

/* ==================== BENEFITS GRID ==================== */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-xl);
}

.benefit-card {
    background: var(--white);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.benefit-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-purple));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: var(--white);
    margin-bottom: var(--spacing-md);
}

.benefit-title {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-sm);
}

.benefit-description {
    color: var(--text-medium);
}

/* ==================== TESTIMONIALS ==================== */
.testimonials-slider {
    display: flex;
    gap: var(--spacing-xl);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: var(--spacing-md) 0;
    -webkit-overflow-scrolling: touch;
}

.testimonial-card {
    flex: 0 0 calc(33.333% - var(--spacing-lg));
    min-width: 350px;
    background: var(--white);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    scroll-snap-align: start;
    position: relative;
}

.testimonial-quote {
    font-size: 3rem;
    color: var(--primary-yellow);
    position: absolute;
    top: var(--spacing-md);
    left: var(--spacing-md);
    opacity: 0.5;
}

.testimonial-text {
    font-style: italic;
    color: var(--text-medium);
    margin-bottom: var(--spacing-lg);
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-purple));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 1.25rem;
}

.author-info h4 {
    margin-bottom: 0.25rem;
    font-size: 1rem;
}

.author-achievement {
    font-size: 0.875rem;
    color: var(--accent-teal);
    font-weight: 600;
}

/* ==================== FOOTER ==================== */
.footer {
    background: linear-gradient(135deg, var(--text-dark), var(--primary-blue));
    color: var(--white);
    padding: var(--spacing-3xl) 0 var(--spacing-lg);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-2xl);
    margin-bottom: var(--spacing-2xl);
}

.footer-section h3 {
    color: var(--white);
    font-size: 1.25rem;
    margin-bottom: var(--spacing-md);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: var(--spacing-sm);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--primary-yellow);
}

.footer-contact p {
    margin-bottom: var(--spacing-sm);
    color: rgba(255, 255, 255, 0.9);
}

.footer-social {
    display: flex;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-md);
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    text-decoration: none;
    transition: all var(--transition-fast);
}

.social-link:hover {
    background: var(--primary-yellow);
    color: var(--text-dark);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.7);
}

.footer-bottom .powered-by {
    margin-top: var(--spacing-md);
    font-size: 1.125rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

.footer-bottom .powered-by a {
    color: var(--primary-yellow) !important;
    text-decoration: none !important;
    font-weight: 700;
    font-size: 1.25rem;
    transition: all var(--transition-normal);
    text-shadow: 0 0 10px rgba(255, 224, 51, 0.3);
}

.footer-bottom .powered-by a:hover {
    color: #fff !important;
    text-shadow: 0 0 20px rgba(255, 224, 51, 0.6);
    transform: scale(1.05);
    display: inline-block;
}

/* ==================== FLOATING WHATSAPP ==================== */
.whatsapp-float {
    position: fixed;
    bottom: var(--spacing-lg);
    right: var(--spacing-lg);
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    z-index: 999;
    transition: all var(--transition-normal);
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
    fill: white;
}

/* ==================== ANIMATIONS ==================== */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%);
    }
    40% {
        transform: translateY(-20px) translateX(-50%);
    }
    60% {
        transform: translateY(-10px) translateX(-50%);
    }
}

@keyframes scroll {
    0% {
        opacity: 0;
        top: 10px;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        top: 30px;
    }
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    50% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
}

/* ==================== UTILITY CLASSES ==================== */
.text-center {
    text-align: center;
}

.text-primary {
    color: var(--primary-blue);
}

.bg-light {
    background: var(--gray-lightest);
}

.mt-1 { margin-top: var(--spacing-sm); }
.mt-2 { margin-top: var(--spacing-md); }
.mt-3 { margin-top: var(--spacing-lg); }
.mb-1 { margin-bottom: var(--spacing-sm); }
.mb-2 { margin-bottom: var(--spacing-md); }
.mb-3 { margin-bottom: var(--spacing-lg); }

/* ==================== RESPONSIVE DESIGN ==================== */
/* Will be added in responsive.css */

