
/* =========================================================
   LITTLE LEARNERS PATH
   FINAL PRODUCTION CSS v3
   SEO + PERFORMANCE + MOBILE + ACCESSIBILITY
========================================================= */

/* =========================================================
   RESET
========================================================= */

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* =========================================================
   ROOT VARIABLES
========================================================= */

:root {

    --primary: #ff4d4d;
    --primary-dark: #ff2f2f;

    --secondary: #4A90E2;

    --text: #222222;
    --light-text: #666666;

    --white: #ffffff;

    --bg: #f9fbff;

    --border: rgba(0, 0, 0, 0.06);

    --shadow-sm: 0 5px 15px rgba(0,0,0,0.06);
    --shadow-md: 0 10px 25px rgba(0,0,0,0.08);
    --shadow-lg: 0 20px 45px rgba(0,0,0,0.12);

    --radius-sm: 14px;
    --radius-md: 20px;
    --radius-lg: 28px;

    --transition: all 0.3s ease;

    --max-width: 1200px;
}

/* =========================================================
   HTML / BODY
========================================================= */

html {
    scroll-behavior: smooth;
}

body {

    font-family: 'Nunito', sans-serif;

    background: var(--bg);

    color: var(--text);

    line-height: 1.7;

    overflow-x: hidden;

    position: relative;

    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

/* =========================================================
   TYPOGRAPHY
========================================================= */

h1,
h2,
h3,
h4,
h5,
h6 {

    line-height: 1.25;

    font-weight: 800;

    color: var(--text);
}

h1 {
    font-size: clamp(2.4rem, 6vw, 4rem);
}

h2 {
    font-size: clamp(2rem, 5vw, 3rem);
}

h3 {
    font-size: clamp(1.3rem, 4vw, 1.6rem);
}

p {
    color: var(--light-text);
}

a {
    text-decoration: none;
}

/* =========================================================
   CONTAINER
========================================================= */

.container {

    width: 92%;

    max-width: var(--max-width);

    margin-inline: auto;
}

/* =========================================================
   IMAGES
========================================================= */

img {

    max-width: 100%;

    display: block;
}

/* =========================================================
   SECTIONS
========================================================= */

section {
    padding: 90px 0;
    position: relative;
}

/* =========================================================
   SCROLLBAR
========================================================= */

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-thumb {

    background: linear-gradient(
        var(--primary),
        var(--primary-dark)
    );

    border-radius: 999px;
}

/* =========================================================
   SCROLL PROGRESS
========================================================= */

.scroll-progress {

    position: fixed;

    top: 0;
    left: 0;

    width: 0%;
    height: 4px;

    z-index: 99999;

    background: linear-gradient(
        90deg,
        var(--primary),
        var(--secondary)
    );
}

/* =========================================================
   BACKGROUND BLOBS
========================================================= */

.bg-blobs {

    position: fixed;

    inset: 0;

    overflow: hidden;

    pointer-events: none;

    z-index: -2;
}

.blob {

    position: absolute;

    border-radius: 50%;

    filter: blur(90px);

    opacity: 0.16;

    animation: blobMove 18s infinite alternate ease-in-out;
}

.blob:nth-child(1) {

    width: 360px;
    height: 360px;

    background: #ffb3c1;

    top: -80px;
    left: -80px;
}

.blob:nth-child(2) {

    width: 420px;
    height: 420px;

    background: #b3d9ff;

    top: 25%;
    right: -120px;

    animation-duration: 22s;
}

.blob:nth-child(3) {

    width: 300px;
    height: 300px;

    background: #ffe6a3;

    bottom: -100px;
    left: 30%;

    animation-duration: 26s;
}

@keyframes blobMove {

    from {
        transform: translate(0, 0) scale(1);
    }

    to {
        transform: translate(40px, -30px) scale(1.08);
    }
}

/* =========================================================
   CURSOR GLOW
========================================================= */

.cursor-glow {

    position: fixed;

    width: 220px;
    height: 220px;

    background: radial-gradient(
        circle,
        rgba(255,77,77,0.12),
        transparent 70%
    );

    pointer-events: none;

    z-index: -1;

    transform: translate(-50%, -50%);
}

/* =========================================================
   NAVBAR
========================================================= */

.navbar {

    position: sticky;

    top: 0;

    width: 100%;

    z-index: 9999;

    background: rgba(255,255,255,0.92);

    backdrop-filter: blur(12px);

    border-bottom: 1px solid var(--border);

    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-wrapper {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    padding: 14px 0;
}

/* =========================================================
   LOGO
========================================================= */

.logo-area {

    display: flex;

    align-items: center;

    gap: 12px;

    color: var(--text);

    font-weight: 900;
}

.logo-img {

    width: 52px;
    height: 52px;

    object-fit: contain;

    transition: var(--transition);
}

.logo-area:hover .logo-img {
    transform: rotate(-4deg) scale(1.06);
}

.logo-area span {
    font-size: 1.1rem;
}

/* =========================================================
   NAVIGATION
========================================================= */

.nav-links {

    display: flex;

    align-items: center;

    gap: 22px;
}

.nav-links a {

    position: relative;

    color: var(--text);

    font-weight: 700;

    transition: var(--transition);
}

.nav-links a::after {

    content: "";

    position: absolute;

    left: 0;
    bottom: -6px;

    width: 0%;
    height: 3px;

    background: var(--primary);

    border-radius: 999px;

    transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {

    color: var(--primary);
}

.nav-links a:hover::after,
.nav-links a.active::after {

    width: 100%;
}

/* =========================================================
   MOBILE MENU
========================================================= */

.menu-toggle {

    display: none;

    border: none;

    background: transparent;

    font-size: 1.8rem;

    cursor: pointer;

    color: var(--text);
}

/* =========================================================
   HERO
========================================================= */

.hero {

    background:
        linear-gradient(
            135deg,
            rgba(238,249,255,0.95),
            rgba(255,247,240,0.95)
        );

    background-size: 200% 200%;

    animation: gradientMove 12s ease infinite;
}

.two-col {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 60px;

    flex-wrap: wrap;
}

.two-col > div {

    flex: 1;

    min-width: 300px;
}

.hero h1 {

    margin-bottom: 18px;
}

.hero p {

    font-size: 1.1rem;

    margin-bottom: 24px;

    max-width: 620px;
}

.hero-image {

    width: 100%;

    max-width: 650px;

    border-radius: var(--radius-lg);

    box-shadow: var(--shadow-lg);

    animation: heroFloat 5s ease-in-out infinite;
}

@keyframes heroFloat {

    0%,100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}

@keyframes gradientMove {

    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* =========================================================
   BUTTONS
========================================================= */

.btn {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    padding: 14px 26px;

    border-radius: var(--radius-sm);

    font-weight: 800;

    color: var(--white);

    background: linear-gradient(
        135deg,
        var(--primary),
        var(--primary-dark)
    );

    box-shadow: 0 10px 25px rgba(255,77,77,0.25);

    transition: var(--transition);
}

.btn:hover {

    transform: translateY(-4px);

    box-shadow: 0 16px 35px rgba(255,77,77,0.35);
}

/* =========================================================
   SECTION TITLES
========================================================= */

.section-title {

    text-align: center;

    margin-bottom: 16px;
}

.section-subtitle {

    text-align: center;

    max-width: 760px;

    margin-inline: auto;

    margin-bottom: 50px;
}

/* =========================================================
   GRID
========================================================= */

.grid,
.video-grid,
.community-grid {

    display: grid;

    grid-template-columns: repeat(
        auto-fit,
        minmax(260px, 1fr)
    );

    gap: 28px;
}

/* =========================================================
   CARDS
========================================================= */

.card,
.video-card,
.community-card,
.legal-card {

    background: rgba(255,255,255,0.95);

    border-radius: var(--radius-md);

    box-shadow: var(--shadow-md);

    overflow: hidden;

    transition: transform 0.35s ease,
                box-shadow 0.35s ease;

    position: relative;

    transform: translateZ(0);
}

.card:hover,
.video-card:hover,
.community-card:hover,
.legal-card:hover {

    transform: translateY(-10px);

    box-shadow: var(--shadow-lg);
}

/* =========================================================
   LEARNING CARD
========================================================= */

.card {

    padding: 28px;

    text-align: center;

    display: flex;

    flex-direction: column;

    height: 100%;
}

.card .icon {

    width: 68px;
    height: 68px;

    margin-inline: auto;

    margin-bottom: 18px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 18px;

    background: linear-gradient(
        135deg,
        #fff0f0,
        #fff8f2
    );

    box-shadow: var(--shadow-sm);
}

.card img {

    width: 40px;
    height: 40px;

    object-fit: contain;
}

.card h3 {

    margin-bottom: 10px;
}

.card p {

    flex-grow: 1;
}

/* =========================================================
   VIDEO CARD
========================================================= */

.video-card {

    display: flex;

    flex-direction: column;

    height: 100%;
}

.video-card img {

    width: 100%;

    height: 210px;

    object-fit: cover;
}

.video-card-content {

    padding: 22px;
}

.video-card h3 {

    margin-bottom: 10px;
}

.video-card p {

    margin-bottom: 18px;
}

/* =========================================================
   TRUST BADGES
========================================================= */

.trust-badge {

    display: flex;

    justify-content: center;

    flex-wrap: wrap;

    gap: 12px;

    margin-top: 20px;
}

.badge-item {

    background: rgba(255,255,255,0.9);

    border-radius: 999px;

    padding: 10px 16px;

    font-weight: 700;

    box-shadow: var(--shadow-sm);
}

/* =========================================================
   LEGAL PAGES
========================================================= */

.legal-hero {

    text-align: center;

    background: linear-gradient(
        135deg,
        #eef7ff,
        #fff8f1
    );
}

.legal-hero-img {

    width: 100%;

    max-width: 460px;

    margin-inline: auto;

    margin-bottom: 24px;

    border-radius: var(--radius-lg);

    box-shadow: var(--shadow-lg);
}

.legal-card {

    padding: 34px;

    margin-bottom: 28px;
}

.legal-card img {

    width: 100%;

    max-width: 300px;

    margin-inline: auto;

    margin-bottom: 20px;

    border-radius: 16px;
}

.highlight-card {

    border: 2px solid rgba(255,77,77,0.12);

    background: linear-gradient(
        135deg,
        #fff5f5,
        #eef7ff
    );
}

/* =========================================================
   FLOATING CTA
========================================================= */

.floating-cta {

    position: fixed;

    right: 20px;
    bottom: 90px;

    z-index: 999;

    padding: 14px 18px;

    border-radius: 999px;

    font-weight: 800;

    color: var(--white);

    background: linear-gradient(
        135deg,
        #ff0000,
        #ff4d4d
    );

    box-shadow: var(--shadow-lg);

    animation: pulseBtn 2.5s infinite;
}

@keyframes pulseBtn {

    0%,100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

/* =========================================================
   TRUST BADGE FLOAT
========================================================= */

.live-counter {

    position: fixed;

    right: 20px;
    bottom: 20px;

    z-index: 999;

    padding: 12px 18px;

    border-radius: 14px;

    font-weight: 800;

    color: var(--white);

    background: linear-gradient(
        135deg,
        #4A90E2,
        #6bb4ff
    );

    box-shadow: var(--shadow-md);
}

/* =========================================================
   FOOTER
========================================================= */

.animated-footer {

    position: relative;

    background: linear-gradient(
        135deg,
        #ffffff,
        #f3f9ff
    );

    overflow: hidden;

    padding-top: 70px;
}

.footer-grid {

    display: grid;

    grid-template-columns: 2fr 1fr 1fr 1fr;

    gap: 30px;
}

.footer-brand h3 {

    margin-bottom: 12px;
}

.footer-brand p {

    margin-bottom: 18px;
}

.footer-links h4 {

    margin-bottom: 14px;
}

.footer-links a {

    display: block;

    margin-bottom: 10px;

    color: var(--light-text);

    font-weight: 700;

    transition: var(--transition);
}

.footer-links a:hover {

    color: var(--primary);

    transform: translateX(4px);
}

.footer-btn {

    display: inline-block;

    padding: 12px 18px;

    border-radius: 14px;

    font-weight: 800;

    color: var(--white);

    background: var(--primary);

    transition: var(--transition);
}

.footer-btn:hover {

    transform: translateY(-3px);
}

.footer-bottom {

    text-align: center;

    margin-top: 50px;

    padding: 24px 0;

    border-top: 1px solid var(--border);

    color: #777;
}

/* =========================================================
   REVEAL ANIMATIONS
========================================================= */

.animate-in {

    animation: fadeUp 0.7s ease forwards;
}

@keyframes fadeUp {

    from {

        opacity: 0;

        transform: translateY(20px);
    }

    to {

        opacity: 1;

        transform: translateY(0);
    }
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 992px) {

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {

    section {
        padding: 70px 0;
    }

    .menu-toggle {
        display: block;
    }

    .nav-links {

        position: absolute;

        top: 100%;
        left: 0;

        width: 100%;

        background: var(--white);

        flex-direction: column;

        padding: 24px;

        gap: 18px;

        border-bottom: 1px solid var(--border);

        display: none;
    }

    .nav-links.show {
        display: flex;
    }

    .two-col {
        flex-direction: column;
        text-align: center;
    }

    .hero p {
        margin-inline: auto;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-links a {
        text-align: center;
    }

    .floating-cta {

        bottom: 85px;
        right: 14px;

        font-size: 14px;
    }

    .live-counter {

        bottom: 18px;
        right: 14px;

        font-size: 12px;
    }
}

@media (max-width: 480px) {

    .container {
        width: 94%;
    }

    .btn {
        width: 100%;
    }

    .grid,
    .video-grid,
    .community-grid {

        grid-template-columns: 1fr;
    }

    .legal-card {
        padding: 24px;
    }

    .logo-area span {
        font-size: 1rem;
    }
}
.icon-box {
    width: 80px;
    height: 80px;
    margin: 0 auto 10px auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
/* =========================
   PLAYLIST CAROUSEL UI
========================= */

.playlist-carousel {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    padding-bottom: 10px;
    scroll-snap-type: x mandatory;
}

.playlist-card {
    min-width: 240px;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: #000;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    scroll-snap-align: start;
    transition: transform 0.2s ease;
}

.playlist-card:hover {
    transform: scale(1.03);
}

.playlist-thumb {
    position: relative;
    width: 100%;
    height: 140px;
    overflow: hidden;
}

.playlist-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    background: rgba(0,0,0,0.6);
    color: #fff;
    font-size: 20px;
    padding: 10px 14px;
    border-radius: 50%;
}

.playlist-card h3 {
    font-size: 16px;
    margin: 10px;
}

.playlist-card p {
    font-size: 13px;
    margin: 0 10px 15px;
    color: #555;
}
/* CAROUSEL */
.video-carousel,
.playlist-carousel {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 10px;
}

/* VIDEO CARD */
.video-card {
    min-width: 260px;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

/* THUMB */
.video-thumb {
    position: relative;
    cursor: pointer;
}

.video-thumb img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    font-size: 26px;
    background: rgba(0,0,0,0.6);
    color: #fff;
    padding: 10px 14px;
    border-radius: 50%;
}

/* MODAL */
.video-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.video-box iframe {
    width: 80vw;
    height: 60vh;
}
/* =========================
   CATEGORY GRID FIX (UNIFORM UI)
========================= */

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 18px;
    margin-top: 20px;
}

/* CARD */
.category-card {
    background: #ffffff;
    border-radius: 14px;
    padding: 18px;
    text-align: center;
    text-decoration: none;
    color: #222;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* HOVER EFFECT */
.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

/* ICON BOX (FOR EQUAL SIZE) */
.icon-box {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.icon-box img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

/* TITLE */
.category-card h3 {
    font-size: 16px;
    margin: 6px 0;
    font-weight: 700;
}

/* DESCRIPTION */
.category-card p {
    font-size: 13px;
    color: #666;
    margin: 0;
    line-height: 1.4;
}

/* =========================
   VIDEO GRID (UNIFORM)
========================= */

.video-grid,
.playlist-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

/* =========================
   VIDEO / PLAYLIST CARD
========================= */

.video-card,
.playlist-card {
    background: #fff;
    border-radius: 14px;
    padding: 16px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* =========================
   VIDEO FRAME FIX (IMPORTANT)
========================= */

.video-frame {
    width: 100%;
    aspect-ratio: 16 / 9;
    margin: 12px 0;
}

.video-frame iframe {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    border: none;
}

/* =========================
   BUTTONS
========================= */

.video-btn,
.playlist-btn {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 14px;
    background: #ff3d00;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: 0.2s;
}

.video-btn:hover,
.playlist-btn:hover {
    background: #e63600;
    transform: translateY(-2px);
}

/* =========================
   LEARNING CATEGORY GRID (PRO UI FIX)
========================= */

.learning-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

/* CARD */
.learning-card {
    position: relative;
    background: #ffffff;
    border-radius: 16px;
    padding: 18px;
    text-decoration: none;
    color: #222;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-height: 240px;
}

/* HOVER */
.learning-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.15);
}

/* ICON BOX (UNIFORM SIZE FIX) */
.learning-icon {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.learning-icon img {
    width: 64px;
    height: 64px;
    object-fit: contain;
}

/* TITLE */
.learning-card h3 {
    font-size: 16px;
    font-weight: 700;
    margin: 6px 0;
}

/* DESCRIPTION */
.learning-card p {
    font-size: 13px;
    color: #666;
    line-height: 1.4;
    margin: 0;
}

/* BADGE */
.learning-card .badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #ff3d00;
    color: #fff;
    font-size: 11px;
    padding: 4px 8px;
    border-radius: 6px;
}
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.category-card {
    display: flex;
    flex-direction: column;
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
    transition: transform 0.2s ease;
    height: 100%;
}

.category-card:hover {
    transform: translateY(-5px);
}

.category-image {
    width: 100%;
    height: 140px;
    overflow: hidden;
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-content {
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.category-content h3 {
    font-size: 16px;
    margin: 0;
}

.category-content p {
    font-size: 13px;
    color: #666;
    margin: 0;
}

.category-cta {
    margin-top: auto;
    font-size: 13px;
    font-weight: 600;
    color: #ff6600;
}
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
}

.category-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    height: 100%;
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 22px rgba(0,0,0,0.15);
}

.category-image-wrapper {
    width: 100%;
    height: 160px;
    overflow: hidden;
    background: #f5f5f5;
}

.category-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-content {
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.category-content h3 {
    font-size: 16px;
    margin: 0;
    font-weight: 600;
}

.category-content p {
    font-size: 13px;
    color: #666;
    margin: 0;
    flex-grow: 1;
}

.category-cta {
    margin-top: 10px;
    font-weight: 600;
    color: #ff6600;
    font-size: 13px;
}
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.category-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 18px;
    border-radius: 14px;
    background: #fff;
    text-decoration: none;
    color: #111;
    min-height: 200px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    transition: all 0.25s ease;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

.category-icon {
    font-size: 34px;
    margin-bottom: 10px;
}

.category-card h3 {
    margin: 5px 0;
    font-size: 18px;
}

.category-card p {
    font-size: 14px;
    color: #555;
    flex-grow: 1;
}

.category-cta {
    margin-top: 10px;
    font-weight: bold;
    color: #ff5a00;
}
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='rgba(0,0,0,0.7)' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}
.navbar-toggler {
    z-index: 9999;
    position: relative;
}

.navbar-collapse {
    z-index: 9998;
}
/* =========================================
   PREMIUM HERO SECTION
========================================= */

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    max-width: 650px;
}

.hero-badge {
    display: inline-block;
    background: #fff4d6;
    color: #ff8a00;
    padding: 10px 18px;
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 800;
    margin-bottom: 22px;
}

.hero-content h2 {
    font-size: clamp(2.4rem, 5vw, 4.2rem);
    line-height: 1.1;
    font-weight: 900;
    margin-bottom: 24px;
    color: #1e293b;
    letter-spacing: -1px;
}

.hero-description {
    font-size: 1.15rem;
    line-height: 1.9;
    color: #475569;
    margin-bottom: 32px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-bottom: 28px;
}

.hero-btn {
    font-size: 1.05rem;
    padding: 16px 26px;
}

.btn-secondary {
    background: white;
    color: #1e293b;
    border: 2px solid #e2e8f0;
}

.btn-secondary:hover {
    transform: translateY(-3px);
}

.hero-links {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

.hero-links a {
    font-size: 0.95rem;
    font-weight: 700;
    color: #64748b;
    text-decoration: none;
    transition: all 0.3s ease;
}

.hero-links a:hover {
    color: #ff4d4d;
}

.hero-image-wrapper {
    position: relative;
    text-align: center;
}

.hero-main-image {
    width: 100%;
    max-width: 680px;
    border-radius: 32px;
    box-shadow:
        0 25px 60px rgba(0,0,0,0.15);
    transition: transform 0.4s ease;
}

.hero-main-image:hover {
    transform: translateY(-8px) scale(1.02);
}

/* =========================================
   MOBILE HERO FIX
========================================= */

@media (max-width: 991px) {

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-links {
        justify-content: center;
    }

    .hero-content h1 {
        font-size: 2.4rem;
    }

    .hero-description {
        font-size: 1rem;
        line-height: 1.8;
    }

    .hero-main-image {
        max-width: 100%;
    }
}