/* Top Horizon Website Config */
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800&family=Open+Sans:wght@400;600&display=swap');

:root {
    --primary: #7c3aed;
    /* Vibrant Purple */
    --secondary: #fbbf24;
    /* Golden Yellow (Accent) */
    --accent: #4c1d95;
    /* Deep Purple */
    --dark: #1f2937;
    --light: #f5f3ff;
    /* Very Light Purple Tint */
    --white: #ffffff;
    --text-color: #374151;

    --header-height: 80px;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Open Sans', sans-serif;
    color: var(--text-color);
    background-color: var(--white);
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Nunito', sans-serif;
    /* Friendly rounded font */
    color: var(--dark);
    margin-top: 0;
}

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

/* --- Navigation --- */
header {
    background: var(--white);
    height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--primary);
    font-family: 'Nunito', sans-serif;
}

.logo img {
    height: 50px;
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-link {
    font-weight: 600;
    font-size: 1rem;
    color: var(--dark);
    position: relative;
}

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

.nav-btn {
    padding: 10px 25px;
    background: var(--primary);
    color: white;
    border-radius: 50px;
    /* Pill shape */
    font-weight: 700;
}

.nav-btn:hover {
    background: #ea580c;
    transform: translateY(-2px);
}

/* --- Hero Section --- */
.hero {
    background: linear-gradient(135deg, #fff7ed 0%, #e0f2fe 100%);
    padding: 100px 5%;
    display: flex;
    align-items: center;
    gap: 50px;
    min-height: 80vh;
}

.hero-text {
    flex: 1;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--dark);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #666;
}

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

.btn {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    text-align: center;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 10px 20px rgba(249, 115, 22, 0.3);
}

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

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.1);
}

.hero-img {
    flex: 1;
    display: flex;
    justify-content: center;
}

.hero-img img {
    max-width: 100%;
    border-radius: 20px;
    box-shadow: 20px 20px 0 var(--secondary);
    /* Playful offset shadow */
}

/* --- Cards / Highlights --- */
.section {
    padding: 80px 5%;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 10px;
}

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

.card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-bottom: 5px solid var(--secondary);
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-10px);
}

.icon-circle {
    width: 60px;
    height: 60px;
    background: #e0f2fe;
    color: var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 20px;
}

/* --- Footer --- */
footer {
    background: var(--dark);
    color: white;
    padding: 60px 5% 20px;
}

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

.footer-col h3 {
    color: var(--primary);
    margin-bottom: 20px;
}

.footer-links a {
    display: block;
    margin-bottom: 10px;
    opacity: 0.8;
}

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

.copyright {
    text-align: center;
    border-top: 1px solid #374151;
    padding-top: 20px;
    opacity: 0.6;
    font-size: 0.9rem;
}

/* --- Responsive --- */
/* --- Mobile Menu Button --- */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--primary);
}

/* --- Responsive --- */
@media (max-width: 768px) {
    header {
        padding: 0 20px;
    }

    .mobile-menu-btn {
        display: block;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 80px;
        /* Header height */
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 30px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        text-align: center;
        gap: 20px;
        border-top: 1px solid #eee;
    }

    .nav-menu.active {
        display: flex;
    }

    .hero {
        flex-direction: column-reverse;
        /* Image on top on mobile? Or text on top? Column puts text first usually. Column-reverse puts image first? */
        /* Default flex-direction is row. Column is text top, img bottom. */
        /* Let's keep Text Top (column). */
        flex-direction: column;
        text-align: center;
        padding: 60px 20px;
        min-height: auto;
        gap: 40px;
    }

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

    .hero-btns {
        justify-content: center;
        flex-direction: column;
    }

    .grid-2,
    .grid-3 {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
}