/* Modern Landing Page Styles for Schools24 */

/* CSS Variables */
:root {
    --primary: hsl(88, 100%, 39%);
    --primary-dark: #ffd900;
    --secondary: #ffd900;
    --accent: #003968;
    --background: #ffffff;
    --foreground: #000000;
    --muted: #F8F9FA;
    --muted-foreground: #505f6d;
    --border: #e9ecef00;
    --radius: 12px;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    --gradient-hero: linear-gradient(115deg, var(--primary) 50%, var(--primary-dark) 100%);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--foreground);
    background-color: var(--background);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow);
}

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

.btn-secondary {
    background: var(--secondary);
    color: var(--foreground);
    box-shadow: var(--shadow);
}

.btn-secondary:hover {
    background: #FFB300;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

.btn-ghost {
    background: transparent;
    color: var(--foreground);
    border: 2px solid var(--border);
}

.btn-ghost:hover {
    background: var(--muted);
    border-color: var(--primary);
    color: var(--primary);
}

.btn-large {
    padding: 16px 32px;
    font-size: 18px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    transition: all 0.3s ease;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow);
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo img {
    height: 60px;
    width: 120px;
    background-color: white;
    border-radius: 8px;
    padding: 8px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
    margin: 5px;
    cursor: pointer;
}

.logo-text {
    font-size: 24px;
    font-weight: 800;
    color: var(--foreground);
}

.nav-desktop {
    display: flex;
    gap: 32px;
}

.nav-desktop a {
    color: var(--foreground);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-desktop a:hover {
    color: var(--primary);
}

.nav-desktop a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.nav-desktop a:hover::after {
    width: 100%;
}

.auth-buttons {
    display: flex;
    gap: 16px;
    align-items: center;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 4px;
    background-color: #FFB300;
    border-radius: 10px;
    color: yellow;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-btn span {
    width: 24px;
    height: 3px;
    background: var(--foreground);
    transition: all 0.3s ease;
}

.mobile-menu {
    display: none;
    background: var(--background);
    border-top: 1px solid var();
    padding: 20px 20px;
}

.nav-mobile {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.nav-mobile a {
    color: var(--foreground);
    text-decoration: none;
    font-weight: 500;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}

.nav-mobile a:hover {
    color: var(--primary);
}

.mobile-auth {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--gradient-hero);
    color: rgb(255, 255, 255);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.bg-circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    filter: blur(60px);
    animation: float 6s ease-in-out infinite;
}

.bg-circle-1 {
    width: 400px;
    height: 400px;
    top: -200px;
    left: -200px;
}

.bg-circle-2 {
    width: 300px;
    height: 300px;
    bottom: -150px;
    right: -150px;
    animation-delay: 2s;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 10;
    padding: 120px 0 80px;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero-description {
    font-size: 20px;
    opacity: 0.9;
    margin-bottom: 32px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

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

.image-wrapper {
    position: relative;
    max-width: 500px;
}

.image-wrapper::before {
    content: '';
    position: absolute;
    inset: -20px;
    background: var(--gradient-tab);
    border-radius: 20px;
    filter: blur(80px);
    opacity: 0.3;
    z-index: -1;
}

.hero-img {
    width: 100%;
    height: auto;
    border-radius: var(--radius);
    animation: float 4s ease-in-out infinite;
}

.wave-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    border: none;
}

.wave {
    width: 100%;
    height: auto;
    display: block;
    border: none;
}

/* Services Section */
.services {
    padding: 100px 0;
    background: var(--);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 16px;
}

.section-description {
    font-size: 20px;
    color: var(--muted-foreground);
    max-width: 600px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--background);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

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

.service-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-icon {
    position: absolute;
    bottom: 16px;
    left: 16px;
    width: 48px;
    height: 48px;
    background: var(--background);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    box-shadow: var(--shadow);
}

.service-content {
    padding: 24px;
}

.service-content h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--foreground);
}

.service-content p {
    color: var(--muted-foreground);
    line-height: 1.6;
}

/* Features Section */
.features {
    padding: 100px 0;
    background: var(--background);
}

.features-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.features-image .image-wrapper {
    max-width: 100%;
}

.features-image img {
    width: 100%;
    height: auto;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}

.features-text .section-title {
    margin-bottom: 20px;
}

.features-text .section-description {
    margin-bottom: 40px;
}

.features-list {
    display: grid;
    gap: 24px;
}

.feature-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: rgba(124, 179, 66, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
}

.feature-content h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.feature-content p {
    color: var(--muted-foreground);
    font-size: 14px;
    line-height: 1.5;
}

/* Stats Section */
.stats {
    padding: 80px 0;
    background: var(--gradient-primary);
    color: rgb(255, 255, 255);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
}

.stat-item {
    padding: 20px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color:#ffffff;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 16px;
    opacity: 0.9;
}

/* Testimonials Section */
.testimonials {
    padding: 100px 0;
    background: var(--muted);
    overflow: hidden;
}

.testimonials-slider {
    position: relative;
}

.testimonials-track {
    display: flex;
    gap: 24px;
    animation: scroll 40s linear infinite;
    width: calc(200% + 24px);
}

.testimonials-track:hover {
    animation-play-state: paused;
}

.testimonial-card {
    background: var(--background);
    padding: 24px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    min-width: 320px;
    max-width: 400px;
    flex-shrink: 0;
    height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-stars {
    color: var(--secondary);
    font-size: 18px;
    margin-bottom: 16px;
}

.testimonial-text {
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 20px;
    color: var(--foreground);
    font-style: italic;
    flex-grow: 1;
    display: flex;
    align-items: center;
}

.testimonial-author {
    border-top: 1px solid var(--border);
    padding-top: 16px;
    margin-top: auto;
}

.testimonial-author h4 {
    font-size: 16px;
    margin-bottom: 4px;
    color: var(--foreground);
}

.testimonial-author p {
    font-size: 14px;
    color: var(--muted-foreground);
}

/* CTA Section */
.cta {
    position: relative;
    padding: 100px 0;
    background: var(--gradient-hero);
    color: white;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.cta-bg .bg-circle-1 {
    width: 300px;
    height: 300px;
    top: -150px;
    right: -150px;
    background: rgba(255, 193, 7, 0.2);
}

.cta-bg .bg-circle-2 {
    width: 200px;
    height: 200px;
    bottom: -100px;
    left: -100px;
    background: rgba(33, 150, 243, 0.2);
    animation-delay: 1.5s;
}

.cta-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 20px;
}

.cta-description {
    font-size: 20px;
    opacity: 0.9;
    margin-bottom: 40px;
}

.cta-form {
    max-width: 500px;
    margin: 0 auto;
}

.form-group {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
}

.form-input {
    flex: 1;
    padding: 16px 20px;
    border: none;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.95);
    font-size: 16px;
    color: var(--foreground);
}

.form-input::placeholder {
    color: var(--muted-foreground);
}

.form-note {
    font-size: 14px;
    opacity: 0.7;
}

/* Footer */
.footer {
    background: var(--foreground);
    color: var(--background);
    padding: 60px 0 20px;
}

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

.footer-section h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--background);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-logo img {
    height: 32px;
    width: auto;
}

.footer-logo span {
    font-size: 20px;
    font-weight: 700;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

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

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--secondary);
}

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

/* Animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-desktop,
    .auth-buttons {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .mobile-menu.active {
        display: block;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
        padding: 100px 0 60px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .features-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .testimonial-card {
        min-width: 280px;
        height: 260px;
        padding: 20px;
    }
    
    .form-group {
        flex-direction: column;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 18px;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
}
