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

:root {
    --primary: #0f172a;
    --primary-light: #1e293b;
    --accent: #3b82f6;
    --accent-hover: #2563eb;
    --accent-glow: rgba(59, 130, 246, 0.5);
    --secondary: #64748b;
    --background: #f8fafc;
    --surface: #ffffff;
    --text: #0f172a;
    --text-muted: #475569;
    --white: #ffffff;
    --error: #ef4444;
    --success: #22c55e;
    --border: #e2e8f0;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --gradient-primary: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    --gradient-accent: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

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

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

@keyframes pulse-glow {
    0% {
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.4);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(59, 130, 246, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0);
    }
}

@keyframes border-rotate {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 200% 50%;
    }
}

.animate-up {
    animation: fadeInUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Header & Navigation */
header {
    background: rgb(255, 255, 255);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding: 24px 0;
    transition: var(--transition);
}

header.scrolled {
    padding: 14px 0;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 12px;
    letter-spacing: -1px;
}

.logo i {
    color: var(--accent);
    filter: drop-shadow(0 0 8px var(--accent-glow));
}

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

.nav-links {
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-links a {
    font-weight: 600;
    color: var(--primary);
    font-size: 0.95rem;
    position: relative;
    opacity: 0.8;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: var(--transition);
    transform: translateX(-50%);
}

.nav-links a:hover {
    opacity: 1;
    color: var(--accent);
}

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

.mobile-toggle {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--primary);
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(59, 130, 246, 0.05);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 36px;
    border-radius: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    gap: 10px;
    font-size: 1rem;
}

.btn-primary {
    background: var(--gradient-accent);
    color: var(--white);
    box-shadow: 0 10px 25px -5px rgba(59, 130, 246, 0.4);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

.btn-primary:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 20px 35px -10px rgba(59, 130, 246, 0.5);
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-outline {
    background: rgba(59, 130, 246, 0.03);
    border: 2px solid rgba(59, 130, 246, 0.2);
    color: var(--accent);
}

.btn-outline:hover {
    background: var(--accent);
    color: var(--white);
    transform: translateY(-4px);
    border-color: var(--accent);
    box-shadow: 0 10px 25px -5px rgba(59, 130, 246, 0.3);
}

/* Hero Section */
.hero {
    padding: 220px 0 140px;
    background: linear-gradient(rgba(15, 23, 42, 0.8), rgba(15, 23, 42, 0.8)),
        url('https://images.unsplash.com/photo-1522202176988-66273c2fd55f?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    overflow: hidden;
    color: var(--white);
}

.hero h1 {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--white);
}

.hero p {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 750px;
    margin: 0 auto 48px;
}

/* Horizontal Footer */
footer {
    background: #020617;
    padding: 80px 0 40px;
    color: #94a3b8;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 60px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-horizontal-links {
    display: flex;
    gap: 40px;
    align-items: center;
    flex-wrap: wrap;
}

.footer-horizontal-links a {
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
    font-size: 0.95rem;
}

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

.footer-logo {
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0;
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.9rem;
}

/* Stats */
.stats {
    padding: 0;
    margin-top: -60px;
    position: relative;
    z-index: 10;
}

.stats-container {
    background: var(--gradient-primary);
    padding: 60px 40px;
    border-radius: 32px;
    box-shadow: var(--shadow-lg);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.stat-item {
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item:last-child {
    border-right: none;
}

.stat-item h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 8px;
    color: var(--white);
}

.stat-item p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Features/Services */
.features {
    padding: 120px 0;
}

.section-tag {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(59, 130, 246, 0.1);
    color: var(--accent);
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.section-title h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    margin-top: 60px;
}

.feature-card {
    background: var(--surface);
    padding: 48px 40px;
    border-radius: 28px;
    border: 1px solid var(--border);
    transition: var(--transition);
    position: relative;
    z-index: 1;
}

.feature-card::after {
    content: '';
    position: absolute;
    inset: -1px;
    background: linear-gradient(45deg, var(--accent), #60a5fa, #3b82f6, #2563eb);
    background-size: 400% 400%;
    z-index: -1;
    border-radius: 28px;
    opacity: 0;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-15px);
    border-color: transparent;
    box-shadow: 0 30px 60px -15px rgba(15, 23, 42, 0.1);
}

.feature-card:hover::after {
    opacity: 1;
    animation: border-rotate 3s linear infinite;
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: rgba(59, 130, 246, 0.06);
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 32px;
    color: var(--accent);
    font-size: 2.2rem;
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    background: var(--accent);
    color: var(--white);
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 20px rgba(59, 130, 246, 0.3);
}

/* Image Showcase */
.showcase-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    padding: 100px 0;
}

.showcase-img {
    position: relative;
    border-radius: 32px;
    overflow: hidden;
}

.showcase-img img {
    width: 100%;
    border-radius: 32px;
    transition: var(--transition);
}

.showcase-img:hover img {
    transform: scale(1.05);
}

.floating-badge {
    position: absolute;
    bottom: 30px;
    right: 30px;
    background: var(--surface);
    padding: 20px 30px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 15px;
    animation: float 4s ease-in-out infinite;
}

/* Testimonials */
.testimonials {
    background: var(--primary);
    padding: 120px 0;
    color: var(--white);
    position: relative;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 24px;
    backdrop-filter: blur(5px);
    transition: var(--transition);
}

.testimonial-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--accent);
    transform: scale(1.02);
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 30px;
    position: relative;
}

.testimonial-text::before {
    content: '"';
    font-size: 4rem;
    position: absolute;
    top: -20px;
    left: -20px;
    color: var(--accent);
    opacity: 0.3;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
}

/* Subjects Grid */
.subject-pill {
    padding: 16px 32px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    font-weight: 700;
    transition: var(--transition);
    cursor: pointer;
    box-shadow: var(--shadow-sm);
}

.subject-pill:hover {
    background: var(--gradient-accent);
    color: var(--white);
    border-color: transparent;
    transform: scale(1.08) translateY(-5px);
    box-shadow: 0 15px 30px rgba(59, 130, 246, 0.3);
}

/* Footer */
footer {
    background: #020617;
    padding: 100px 0 0;
    color: #e2e8f0;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 60px;
    padding-bottom: 80px;
}

.footer-col h4 {
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 30px;
    position: relative;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--accent);
}

.footer-desc {
    color: #94a3b8;
    line-height: 1.8;
    margin-top: 25px;
    font-size: 0.95rem;
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--accent);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(59, 130, 246, 0.3);
}

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

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

.footer-col ul li a {
    color: #94a3b8;
    transition: var(--transition);
    display: inline-block;
}

.footer-col ul li a:hover {
    color: var(--accent);
    transform: translateX(5px);
}

.contact-list li {
    display: flex;
    gap: 15px;
    margin-bottom: 25px !important;
}

.contact-list i {
    color: var(--accent);
    font-size: 1.2rem;
    margin-top: 5px;
}

.contact-list div span {
    display: block;
    font-size: 0.8rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.contact-list div p {
    color: var(--white);
    font-weight: 600;
    font-size: 1rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 30px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.copyright {
    color: #64748b;
    font-size: 0.9rem;
}

.disclaimer {
    max-width: 700px;
    font-size: 0.85rem;
    color: #475569;
    text-align: right;
    line-height: 1.6;
}

.disclaimer span {
    color: #94a3b8;
    font-weight: 600;
}

/* Responsive */
/* Responsive */
@media (max-width: 1200px) {
    .container {
        padding: 0 40px;
    }

    .hero h1 {
        font-size: 3.8rem;
    }
}

@media (max-width: 1024px) {
    .nav-links {
        gap: 20px;
    }

    .header-actions {
        display: none;
    }

    .hero h1 {
        font-size: 3.2rem;
    }

    .showcase-grid {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }

    .content-text {
        padding: 0;
    }

    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 50px;
    }
}

@media (max-width: 768px) {
    header {
        padding: 18px 0;
    }

    .header-actions {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 90px;
        left: 0;
        width: 100%;
        height: calc(100vh - 90px);
        background: var(--white);
        flex-direction: column;
        padding: 40px 20px;
        gap: 30px;
        z-index: 1001;
        overflow-y: auto;
        text-align: center;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        display: flex;
        animation: slideDown 0.4s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        font-size: 1.3rem;
        color: var(--primary);
        opacity: 1;
    }

    .hero {
        padding: 160px 0 80px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .stats-container {
        padding: 40px 20px;
    }

    .section-title h2 {
        font-size: 2.2rem;
    }

    .feature-card {
        padding: 35px 25px;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .disclaimer {
        text-align: center;
        margin-top: 10px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2.2rem;
    }

    .stats-container {
        grid-template-columns: 1fr;
    }

    .stat-item {
        border: none;
        padding-bottom: 20px;
    }

    .stat-item:last-child {
        padding-bottom: 0;
    }

    .btn {
        width: 100%;
        padding: 16px 20px;
    }

    .hero-btns {
        flex-direction: column;
        width: 100%;
    }
}

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

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