/* skoolbee/style.css */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    /* Brand Colors - Classic Modern */
    --primary: #0B1120;
    /* Deep Navy */
    --primary-light: #1e293b;
    /* Slate 800 */
    --accent: #D97706;
    /* Royal Gold */
    --accent-hover: #b45309;
    /* Darker Gold */

    /* Functional Colors */
    --text-main: #0B1120;
    --text-muted: #475569;
    --text-light: #f8fafc;
    --bg-white: #ffffff;
    --bg-light: #f8fafc;
    --bg-dark: #020617;

    /* Spacing & Layout */
    --container-max: 1280px;
    --header-height: 80px;
    --radius-sm: 12px;
    --radius-md: 16px;
    --radius-lg: 24px;

    /* Shadows & Effects */
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --glass: rgba(255, 255, 255, 0.7);
    --glass-border: 1px solid rgba(255, 255, 255, 0.5);
    --gradient-primary: linear-gradient(135deg, #0B1120 0%, #1e293b 100%);
    --gradient-accent: linear-gradient(135deg, #D97706 0%, #F59E0B 100%);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-white);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Mobile Font Override */
@media (max-width: 768px) {
    body {
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    }

    h1,
    .hero-content h1 {
        font-size: 2rem !important;
        /* Smaller H1 for mobile */
    }

    h2,
    .section-title {
        font-size: 1.75rem !important;
        /* Smaller H2 for mobile */
    }

    h3 {
        font-size: 1.5rem !important;
    }

    .section-padding {
        padding: 50px 0;
        /* Reduced padding for mobile */
    }
}

html,
body {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
    margin: 0;
    padding: 0;
}

/* Laptop Optimization (Standardize layout for 1024px-1366px) */
@media (min-width: 1024px) and (max-width: 1366px) {
    .container {
        max-width: 90%;
    }

    .hero-content h1 {
        font-size: 3rem;
        /* Adjusted for laptop screens */
    }

    .section-title {
        font-size: 2.25rem;
    }

    .feature-row {
        gap: 40px;
        /* Tighter gap for laptop screens */
    }
}

/* Feature Row (Alternating) */
.feature-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

@media(max-width: 767px) {
    .feature-row {
        display: flex;
        flex-direction: column;
        width: 100%;
        /* Ensure full width */
    }

    .feature-img,
    .hero-visual {
        order: -1;
        margin-bottom: 30px;
        width: 100%;
        /* Ensure visuals don't overflow */
    }
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Utilities */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: 80px 0;
}

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

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

.text-accent {
    color: var(--accent);
}

.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.grid-cols-2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

@media(min-width: 768px) {
    .grid-cols-2 {
        grid-template-columns: 1fr 1fr;
    }
}

.grid-cols-3 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

@media(min-width: 768px) {
    .grid-cols-3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 36px;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1.05rem;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
    z-index: 1;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--text-light);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.2), 0 2px 4px -1px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(11, 17, 32, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.2);
    border-color: var(--accent);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid var(--primary);
    color: var(--primary);
    backdrop-filter: blur(8px);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--text-light);
    box-shadow: 0 10px 15px -3px rgba(11, 17, 32, 0.2);
    border-color: var(--primary);
    transform: translateY(-2px);
}

/* Hero Actions & Mobile Responsive */
.hero-actions {
    display: flex;
    gap: 16px;
    margin-top: 32px;
}

@media (max-width: 768px) {
    .hero-actions {
        flex-direction: column;
        gap: 16px;
        width: 100%;
        padding: 0 10px;
        /* Slight padding from edges */
    }

    .hero-actions .btn {
        width: 100%;
        padding: 16px 20px;
        font-size: 1.05rem;
        /* Slightly larger text for tap targets */
        border-radius: 12px;
        /* Modern "squircle" look for mobile buttons */
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
        /* Soft shadow */
    }

    /* Make primary button pop more on mobile */
    .hero-actions .btn-primary {
        background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
        box-shadow: 0 8px 16px rgba(15, 23, 42, 0.2);
    }
}

/* Header & Nav */
/* Header & Nav */
header {
    height: var(--header-height);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    transition: height 0.3s ease;
}

header .container {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.5px;
}

@media (max-width: 768px) {
    header {
        height: 70px;
        /* Smaller header on mobile */
    }

    .container {
        padding: 0 20px;
        /* Reduced padding */
    }

    .logo {
        font-size: 1.5rem;
        /* Smaller logo */
    }
}

.logo span {
    color: var(--accent);
}

.nav-menu {
    display: none;
}

@media(min-width: 1024px) {
    .nav-menu {
        display: flex;
        gap: 32px;
        align-items: center;
    }
}

.nav-link {
    font-weight: 500;
    color: var(--primary);
    position: relative;
}

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

/* Mobile Controls */
.mobile-controls {
    display: flex !important;
    /* Force flex on mobile */
}

@media(min-width: 1024px) {
    .mobile-controls {
        display: none !important;
    }
}

/* Utilities for Mobile/Desktop visibility */
@media(max-width: 1023px) {
    .mobile-hidden {
        display: none !important;
    }
}

/* Dropdown (Simplified for CSS-only hover or future JS) */
.nav-item {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-sm);
    min-width: 200px;
    display: none;
    flex-direction: column;
    padding: 10px 0;
}

.nav-item:hover .dropdown-menu {
    display: flex;
}

.dropdown-item {
    padding: 10px 20px;
    font-size: 0.95rem;
}

.dropdown-item:hover {
    background-color: var(--bg-light);
    color: var(--accent);
}

/* Mobile Navigation - Modern & Clean */
.nav-menu.active {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background: #ffffff;
    padding: 20px 30px;
    box-shadow: none;
    overflow-y: auto;
    z-index: 999;
    animation: slideDown 0.3s ease-out forwards;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.nav-menu.active .nav-item {
    width: 100%;
    border-bottom: 1px solid #f1f5f9;
}

.nav-menu.active .nav-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 18px 0;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--primary);
}

.nav-menu.active .nav-link i {
    color: var(--accent);
}

/* Chevron Rotation */
.nav-menu.active .nav-item i.fa-chevron-down {
    transition: transform 0.3s ease;
}

.nav-menu.active .nav-item.dropdown-active i.fa-chevron-down {
    transform: rotate(180deg);
}

.nav-link {
    cursor: pointer;
}

/* Mobile Dropdown Styling - Collapsible */
.nav-menu.active .dropdown-menu {
    position: static;
    display: none;
    /* Hidden by default */
    box-shadow: none;
    border: none;
    background: transparent;
    padding: 0 0 15px 15px;
    /* Indent content */
    margin: 0;
    border-radius: 0;
    min-width: 100%;
}

/* Show when active */
.nav-menu.active .nav-item.dropdown-active .dropdown-menu {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.nav-menu.active .dropdown-item {
    display: block;
    padding: 12px 15px;
    font-size: 1rem;
    color: #64748b;
    border-left: 2px solid #e2e8f0;
    margin-bottom: 5px;
    transition: 0.2s;
}

.nav-menu.active .dropdown-item:hover {
    border-left-color: var(--accent);
    color: var(--primary);
    background: transparent;
    padding-left: 20px;
}

/* Mobile Buttons (CTA) */
.nav-menu.active .nav-item:last-child,
.nav-menu.active .nav-item:nth-last-child(2) {
    border-bottom: none;
    margin-top: 15px;
}

.nav-menu.active .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
    padding: 16px;
    font-size: 1.1rem;
}


/* Hero Section */
.hero {
    margin-top: var(--header-height);
    padding: 60px 0 120px 0;
    background: radial-gradient(circle at top right, #e2e8f0 0%, var(--bg-light) 40%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: linear-gradient(135deg, rgba(217, 119, 6, 0.1) 0%, rgba(11, 17, 32, 0.05) 100%);
    border-radius: 50%;
    filter: blur(80px);
    z-index: 0;
}

.hero-content h1 {
    font-size: 3rem;
    line-height: 1.2;
    font-weight: 800;
    margin-bottom: 24px;
    color: var(--primary);
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 600px;
}

.hero-visual {
    position: relative;
    z-index: 1;
}

.hero-visual img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.5s ease;
}

.hero-visual:hover img {
    transform: perspective(1000px) rotateY(0deg);
}

@media(min-width: 768px) {
    .hero-content h1 {
        font-size: 4rem;
    }
}

/* Pillars Section */
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.pillar-card {
    background: var(--glass);
    backdrop-filter: blur(12px);
    padding: 40px 30px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: var(--glass-border);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.pillar-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: var(--gradient-accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

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

.pillar-card:hover::before {
    transform: scaleX(1);
}

.pillar-icon {
    font-size: 3rem;
    margin-bottom: 24px;
    display: inline-block;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
}

.pillar-card h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
    font-weight: 700;
    color: var(--primary);
}


/* Why SkoolBee */
.why-section {
    background-color: var(--primary);
    color: white;
}

.why-section h2 {
    margin-bottom: 40px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: var(--radius-md);
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent);
    display: block;
    margin-bottom: 10px;
}

/* Sections General */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 16px;
    color: var(--primary);
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 60px;
}

/* Feature Row (Alternating) */
.feature-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

@media(max-width: 767px) {
    .feature-row {
        display: flex;
        flex-direction: column;
    }

    .feature-img,
    .hero-visual {
        order: -1;
        margin-bottom: 30px;
    }
}

@media(min-width: 768px) {
    .feature-row {
        grid-template-columns: 1fr 1fr;
    }

    .feature-row.reverse {
        direction: rtl;
    }

    .feature-row.reverse .feature-content {
        direction: ltr;
    }
}

/* Feature Graphic Container */
.feature-img {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 320px;
    background: transparent;
    border-radius: var(--radius-lg);
    position: relative;
    overflow: visible;
    /* Allow particles to float out */
    box-shadow: none;
    border: none;
}

/* Graphic Scene Composition */
.graphic-scene {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Layer 1: Animated Blob Background */
.graphic-blob {
    position: absolute;
    width: 70%;
    height: 70%;
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    background: var(--gradient-accent);
    opacity: 0.15;
    filter: blur(40px);
    animation: blob-morph 8s ease-in-out infinite alternate;
    z-index: 1;
}

.graphic-blob.secondary {
    background: var(--gradient-primary);
    width: 60%;
    height: 60%;
    animation-direction: alternate-reverse;
    animation-duration: 10s;
    opacity: 0.1;
}

/* Layer 2: Main Character */
.feature-graphic {
    font-size: 8rem;
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.2));
    animation: float 6s ease-in-out infinite;
    z-index: 10;
    position: relative;
}

.feature-graphic-img {
    width: auto;
    height: 95%;
    max-height: none;
    object-fit: contain;
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.2));
    animation: float 6s ease-in-out infinite;
    z-index: 10;
    position: relative;
    border-radius: var(--radius-sm);
    mix-blend-mode: multiply;
    /* Makes white background transparent */
}

.feature-graphic.delayed {
    animation-delay: 2s;
}

/* Layer 3: Floating Particles */
.graphic-particle {
    position: absolute;
    font-size: 2.5rem;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
    z-index: 5;
    opacity: 0.9;
}

.p1 {
    top: 10%;
    right: 10%;
    animation: particle-orbit 12s linear infinite;
}

.p2 {
    bottom: 15%;
    left: 5%;
    animation: particle-orbit 15s linear infinite reverse;
}

.p3 {
    top: 40%;
    left: -10%;
    animation: float 4s ease-in-out infinite 1s;
    font-size: 2rem;
}

/* Animations */
@keyframes blob-morph {
    0% {
        border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
        transform: rotate(0deg);
    }

    100% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
        transform: rotate(20deg);
    }
}

@keyframes particle-orbit {
    0% {
        transform: rotate(0deg) translateX(100px) rotate(0deg);
    }

    100% {
        transform: rotate(360deg) translateX(100px) rotate(-360deg);
    }
}

/* Background Patterns */
.bg-mesh {
    background:
        radial-gradient(at 0% 0%, rgba(217, 119, 6, 0.05) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(11, 17, 32, 0.05) 0px, transparent 50%),
        var(--bg-light);
}

.bg-dots {
    background-color: var(--bg-white);
    background-image: radial-gradient(#cbd5e1 1px, transparent 1px);
    background-size: 24px 24px;
}

.bg-grid {
    background-color: var(--bg-light);
    background-image: linear-gradient(#e2e8f0 1px, transparent 1px), linear-gradient(90deg, #e2e8f0 1px, transparent 1px);
    background-size: 40px 40px;
}

/* Section Divider */
.section-divider-top {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.section-divider-top svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 60px;
}

.shape-fill {
    fill: #FFFFFF;
}

/* School Universe Background */
.school-universe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 2;
    /* Behind the main character (z-index 10) */
    pointer-events: none;
}

.school-icon {
    position: absolute;
    font-size: 2rem;
    opacity: 0.6;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    animation: float-random 10s ease-in-out infinite;
}

.si-1 {
    top: 15%;
    left: 15%;
    font-size: 2.5rem;
    animation-duration: 8s;
    animation-delay: 0s;
}

.si-2 {
    top: 20%;
    right: 20%;
    font-size: 2rem;
    animation-duration: 12s;
    animation-delay: 1s;
}

.si-3 {
    bottom: 25%;
    left: 10%;
    font-size: 2.2rem;
    animation-duration: 9s;
    animation-delay: 2s;
}

.si-4 {
    bottom: 15%;
    right: 15%;
    font-size: 2.8rem;
    animation-duration: 11s;
    animation-delay: 0.5s;
}

.si-5 {
    top: 50%;
    left: 5%;
    font-size: 1.8rem;
    animation-duration: 14s;
    animation-delay: 3s;
}

.si-6 {
    top: 40%;
    right: 5%;
    font-size: 2rem;
    animation-duration: 10s;
    animation-delay: 1.5s;
}

@keyframes float-random {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    25% {
        transform: translate(10px, -15px) rotate(5deg);
    }

    50% {
        transform: translate(-5px, 10px) rotate(-5deg);
    }

    75% {
        transform: translate(-10px, -5px) rotate(3deg);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

@keyframes pulse-glow {

    0%,
    100% {
        transform: scale(1);
        filter: drop-shadow(0 0 0 rgba(217, 119, 6, 0));
    }

    50% {
        transform: scale(1.05);
        filter: drop-shadow(0 0 30px rgba(217, 119, 6, 0.3));
    }
}

.feature-content h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--primary);
}

.feature-content ul {
    margin-top: 20px;
}

.feature-content li {
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--text-muted);
}

.feature-content li i {
    color: var(--accent);
    margin-top: 5px;
}

/* Footer */
footer {
    background-color: var(--bg-dark);
    color: var(--text-light);
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col h4 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 24px;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col a {
    color: #94a3b8;
}

.footer-col a:hover {
    color: var(--accent);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #1e293b;
    color: #64748b;
    font-size: 0.9rem;
}

/* Contact Form Simple */
.contact-form {
    background: white;
    padding: 40px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #cbd5e1;
    border-radius: var(--radius-sm);
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.1);
}

/* Mobile Toggle Buttons */
.mobile-toggle,
.mobile-login-trigger i {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: background 0.2s;
    cursor: pointer;
}

.mobile-toggle:hover,
.mobile-login-trigger i:hover {
    background: rgba(0, 0, 0, 0.05);
}

.mobile-toggle i {
    font-size: 1.5rem;
    color: var(--primary);
}

html,
body {
    width: 100%;
    overflow-x: hidden;
    position: relative;
}
/* Absolute Safety for Mobile Header */
@media (max-width: 768px) {
    header {
        width: 100vw !important;
        max-width: 100% !important;
        left: 0 !important;
        right: 0 !important;
    }
    
    .container {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
        box-sizing: border-box !important;
    }
}
