/* ==========================================================
   ARAVA EDU CRAFT
   Premium Landing Page v2
   PART 1A
   Variables • Reset • Base • Global • Background
========================================================== */

/* ==========================================================
   VARIABLES
========================================================== */

:root {

    /* Brand Colors */
    --primary: #38c2d6;
    --primary-dark: #23a9be;

    --secondary: #ffc83d;

    --pink: #ff7aa8;

    --purple: #9b7cff;

    --green: #92d84c;

    /* Text */
    --text: #34495e;

    --text-light: #6f8295;

    /* Background */
    --white: #ffffff;

    --bg: #f7fcfe;

    --border: #e7f1f6;

    /* Shadow */
    --shadow:
        0 15px 45px rgba(40, 95, 130, .08);

    --shadow-hover:
        0 22px 60px rgba(40, 95, 130, .15);

    /* Radius */
    --radius-xs: 12px;

    --radius-sm: 18px;

    --radius-md: 24px;

    --radius-lg: 30px;

    --radius-xl: 40px;

    --radius-round: 999px;

    /* Animation */
    --transition: .35s ease;

}

/* ==========================================================
   RESET
========================================================== */

*,
*::before,
*::after {

    margin: 0;

    padding: 0;

    box-sizing: border-box;

}

html {

    scroll-behavior: smooth;

}

body {

    font-family: "Nunito", sans-serif;

    color: var(--text);

    background:
        linear-gradient(180deg,
            #ffffff,
            #f8fdff);

    overflow-x: hidden;

    text-rendering: optimizeLegibility;

    -webkit-font-smoothing: antialiased;

}

img {

    display: block;

    max-width: 100%;

}

a {

    color: inherit;

    text-decoration: none;

}

button {

    border: none;

    background: none;

    font: inherit;

    cursor: pointer;

}

input,
textarea,
select {

    font: inherit;

}

ul,
ol {

    list-style: none;

}

/* ==========================================================
   GLOBAL
========================================================== */

.container {

    width: min(1180px, 92%);

    margin-inline: auto;

}

.section {

    padding: 110px 0;

    position: relative;

}

.section.alt {

    background: var(--bg);

}

.section-title {

    max-width: 760px;

    margin: 0 auto 70px;

    text-align: center;

}

.section-title span {

    display: inline-block;

    margin-bottom: 16px;

    color: var(--primary);

    font-weight: 800;

    letter-spacing: 2px;

    text-transform: uppercase;

}

.section-title h2 {

    font-family: "Baloo 2", cursive;

    font-size: clamp(2.2rem, 5vw, 3rem);

    line-height: 1.15;

    margin-bottom: 18px;

}

.section-title p {

    color: var(--text-light);

    line-height: 1.9;

}

/* ==========================================================
   FLOATING BACKGROUND
========================================================== */

.floating-bg {

    position: fixed;

    inset: 0;

    overflow: hidden;

    pointer-events: none;

    z-index: -1;

}

.shape {

    position: absolute;

    opacity: .18;

    animation: float 14s ease-in-out infinite;

}

.circle {

    border-radius: 50%;

    background: var(--primary);

}

.circle.one {

    width: 260px;

    height: 260px;

    left: -100px;

    top: 120px;

}

.circle.two {

    width: 180px;

    height: 180px;

    right: -60px;

    bottom: 120px;

}

.star {

    color: var(--pink);

    font-size: 55px;

}

.star.one {

    top: 100px;

    right: 12%;

}

.star.two {

    left: 10%;

    bottom: 170px;

}

.abc {

    top: 65%;

    right: 8%;

    color: var(--secondary);

    font-size: 64px;

}

.num {

    top: 20%;

    left: 10%;

    color: var(--purple);

    font-size: 52px;

}

.rainbow {

    right: 22%;

    bottom: 14%;

    font-size: 52px;

}

.pencil {

    left: 8%;

    top: 55%;

    font-size: 58px;

}

/* ==========================================================
   PART 1B
   Header • Navigation • Buttons
========================================================== */

/* ==========================================================
   HEADER
========================================================== */

header {

    position: sticky;

    top: 0;

    z-index: 1000;

    background: rgba(255, 255, 255, .82);

    backdrop-filter: blur(18px);

    -webkit-backdrop-filter: blur(18px);

    border-bottom: 1px solid rgba(255, 255, 255, .45);

    transition:
        background var(--transition),
        box-shadow var(--transition),
        border-color var(--transition);

}

header.scrolled {

    background: rgba(255, 255, 255, .92);

    box-shadow:
        0 10px 30px rgba(0, 0, 0, .05);

}

header .container {

    height: 92px;

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 24px;

}

/* ==========================================================
   LOGO
========================================================== */

.logo {

    display: flex;

    align-items: center;

    gap: 16px;

    flex-shrink: 0;

}

.logo img {

    width: 68px;

    transition:
        transform var(--transition);

}

.logo:hover img {

    transform:
        rotate(-6deg) scale(1.05);

}

.logo h2 {

    font-family: "Baloo 2", cursive;

    color: var(--primary);

    font-size: 1.55rem;

    line-height: 1;

}

.logo p {

    margin-top: 3px;

    color: var(--text-light);

    font-size: .9rem;

}

/* ==========================================================
   NAVIGATION
========================================================== */

nav {

    display: flex;

    align-items: center;

    gap: 34px;

}

nav a {

    position: relative;

    font-weight: 800;

    transition:
        color var(--transition);

}

nav a:hover {

    color: var(--primary);

}

nav a::after {

    content: "";

    position: absolute;

    left: 0;

    bottom: -7px;

    width: 0;

    height: 3px;

    border-radius: var(--radius-round);

    background: var(--primary);

    transition:
        width var(--transition);

}

nav a:hover::after {

    width: 100%;

}

/* ==========================================================
   HEADER BUTTONS
========================================================== */

.header-buttons {

    display: flex;

    align-items: center;

    gap: 14px;

}

/* ==========================================================
   MOBILE MENU BUTTON
========================================================== */

.menu-btn {

    display: none;

    width: 48px;

    height: 48px;

    border-radius: 50%;

    color: var(--primary);

    font-size: 1.4rem;

    transition:
        background var(--transition),
        transform var(--transition);

}

.menu-btn:hover {

    background: rgba(56, 194, 214, .10);

    transform: rotate(90deg);

}

/* ==========================================================
   BUTTONS
========================================================== */

.btn {

    position: relative;

    overflow: hidden;

    display: inline-flex;

    justify-content: center;

    align-items: center;

    gap: 10px;

    padding: 15px 30px;

    border-radius: var(--radius-round);

    font-weight: 800;

    white-space: nowrap;

    transition:
        transform var(--transition),
        background var(--transition),
        color var(--transition),
        box-shadow var(--transition);

}

.btn i {

    font-size: 1rem;

}

.btn-primary {

    color: #fff;

    background:
        linear-gradient(135deg,
            var(--primary),
            var(--primary-dark));

    box-shadow:
        0 14px 35px rgba(56, 194, 214, .28);

}

.btn-primary:hover {

    transform: translateY(-2px);

    box-shadow:
        0 20px 45px rgba(56, 194, 214, .35);

}

.btn-outline {

    color: var(--primary);

    background: #fff;

    border: 2px solid var(--primary);

}

.btn-outline:hover {

    color: #fff;
    transform: translateY(-2px);

    background: var(--primary);

}

/* ==========================================================
   SHINE EFFECT
========================================================== */

.btn::before {

    content: "";

    position: absolute;

    top: 0;

    left: -120%;

    width: 60%;

    height: 100%;

    transform: skewX(-25deg);

    background:

        linear-gradient(90deg,

            transparent,

            rgba(255, 255, 255, .55),

            transparent);

}

.btn:hover::before {

    animation: shine .9s;

}

/* ==========================================================
   PART 1C
   Hero Section
========================================================== */

/* ==========================================================
   HERO
========================================================== */

.hero {

    position: relative;

    display: flex;

    align-items: center;

    min-height: calc(100vh - 92px);

    padding: 70px 0;

    overflow: hidden;

}

.hero-grid {

    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 70px;

    align-items: center;

}

/* ==========================================================
   HERO LEFT
========================================================== */

.hero-left {

    position: relative;

    z-index: 2;

}

.badge {

    display: inline-flex;

    align-items: center;

    gap: 10px;

    padding: 12px 22px;

    margin-bottom: 28px;

    border-radius: var(--radius-round);

    background: #eafcff;

    color: var(--primary);

    font-weight: 800;

    box-shadow:
        inset 0 0 0 1px rgba(56, 194, 214, .12);

}

.hero h1 {

    margin-bottom: 24px;

    font-family: "Baloo 2", cursive;

    font-size: clamp(3rem, 7vw, 4.7rem);

    line-height: 1.05;

    color: var(--text);

}

.hero h1 span {

    color: var(--primary);

}

.hero p {

    max-width: 590px;

    color: var(--text-light);

    font-size: 1.08rem;

    line-height: 2;

}

.hero-buttons {

    display: flex;

    flex-wrap: wrap;

    gap: 18px;

    margin-top: 38px;

}

/* ==========================================================
   HERO STATS
========================================================== */

.hero-stats {

    display: flex;

    flex-wrap: wrap;

    gap: 48px;

    margin-top: 58px;

}

.hero-stats h3 {

    font-family: "Baloo 2", cursive;

    font-size: 2rem;

    color: var(--primary);

    line-height: 1;

}

.hero-stats p {

    margin-top: 8px;

    font-size: .95rem;

    color: var(--text-light);

    line-height: 1.6;

}

/* ==========================================================
   HERO RIGHT
========================================================== */

.hero-right {

    position: relative;

    min-height: 620px;

    display: flex;

    justify-content: center;

    align-items: center;

}

/* ==========================================================
   HERO DECORATION
========================================================== */

.hero::before {

    content: "";

    position: absolute;

    width: 520px;

    height: 520px;

    left: -220px;

    top: -180px;

    border-radius: 50%;

    background:

        radial-gradient(rgba(56, 194, 214, .08),

            transparent 70%);

    pointer-events: none;

}

.hero::after {

    content: "";

    position: absolute;

    width: 420px;

    height: 420px;

    right: -180px;

    bottom: -150px;

    border-radius: 50%;

    background:

        radial-gradient(rgba(255, 122, 168, .08),

            transparent 70%);

    pointer-events: none;

}

/* ==========================================================
   PART 1D
   Hero Logo • Floating Cards • Scroll Indicator •
   Progress Bar • Reveal • Animations
========================================================== */

/* ==========================================================
   HERO LOGO
========================================================== */

.hero-logo {

    position: relative;

    width: 430px;

    aspect-ratio: 1;

    display: flex;

    justify-content: center;

    align-items: center;

    margin: auto;

    border-radius: 50%;

    background: var(--white);

    box-shadow: var(--shadow);

    animation: float 6s ease-in-out infinite;

    overflow: visible;

}

.hero-logo::before {

    content: "";

    position: absolute;

    inset: -15%;

    border-radius: 50%;

    background:

        radial-gradient(rgba(56, 194, 214, .22),

            transparent 70%);

    animation: pulseGlow 4s ease-in-out infinite;

    z-index: -1;

}

.hero-logo img {

    width: 88%;

    user-select: none;

    -webkit-user-drag: none;

}

/* ==========================================================
   FLOATING CARDS
========================================================== */

.floating-card {

    position: absolute;

    display: flex;

    align-items: center;

    gap: 10px;

    padding: 15px 24px;

    background: var(--white);

    border: 1px solid var(--border);

    border-radius: 20px;

    box-shadow: var(--shadow);

    font-weight: 800;

    white-space: nowrap;

    transition:

        transform var(--transition),

        box-shadow var(--transition);

}

.floating-card:hover {

    transform:

        translateY(-8px) scale(1.04);

    box-shadow: var(--shadow-hover);

}

.card-one {

    left: 0;

    top: 35px;

}

.card-two {

    right: 0;

    top: 110px;

}

.card-three {

    left: 10px;

    bottom: 180px;

}

.card-four {

    right: 30px;

    bottom: 90px;

}

.card-five {

    left: 50%;

    bottom: 10px;

    transform: translateX(-50%);

}

.card-five:hover {

    transform:

        translateX(-50%) translateY(-8px) scale(1.04);

}

/* ==========================================================
   SCROLL INDICATOR
========================================================== */

.scroll-indicator {

    position: absolute;

    left: 50%;

    bottom: 30px;

    transform: translateX(-50%);

    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 8px;

    color: var(--primary);

    font-size: .9rem;

    font-weight: 800;

    animation: bounce 2s infinite;

}

.scroll-indicator i {

    font-size: 1rem;

}

/* ==========================================================
   SCROLL PROGRESS
========================================================== */

.scroll-progress {

    position: fixed;

    top: 0;

    left: 0;

    width: 0;

    height: 4px;

    background:

        linear-gradient(90deg,

            var(--primary),

            var(--secondary));

    z-index: 9999;

    transition: width .08s linear;

}

/* ==========================================================
   REVEAL
========================================================== */

.reveal {

    opacity: 0;

    transform: translateY(50px);

    transition:

        opacity .8s ease,

        transform .8s ease;

}

.reveal.show {

    opacity: 1;

    transform: translateY(0);

}

/* ==========================================================
   ANIMATIONS
========================================================== */

@keyframes float {

    0% {

        transform: translateY(0);

    }

    50% {

        transform: translateY(-16px);

    }

    100% {

        transform: translateY(0);

    }

}

@keyframes pulseGlow {

    0% {

        transform: scale(.92);

        opacity: .45;

    }

    50% {

        transform: scale(1.05);

        opacity: 1;

    }

    100% {

        transform: scale(.92);

        opacity: .45;

    }

}

@keyframes bounce {

    0%,
    100% {

        transform:

            translateX(-50%) translateY(0);

    }

    50% {

        transform:

            translateX(-50%) translateY(8px);

    }

}

@keyframes shine {

    from {

        left: -120%;

    }

    to {

        left: 140%;

    }

}

/* ==========================================================
   PART 2A
   About • Products • Why Us
========================================================== */

/* ==========================================================
   ABOUT
========================================================== */

#about {

    position: relative;

}

#about::before {

    content: "";

    position: absolute;

    width: 320px;

    height: 320px;

    top: -140px;

    left: -140px;

    border-radius: 50%;

    background:
        radial-gradient(rgba(56, 194, 214, .10),
            transparent 70%);

}

#about::after {

    content: "";

    position: absolute;

    width: 260px;

    height: 260px;

    right: -120px;

    bottom: -120px;

    border-radius: 50%;

    background:
        radial-gradient(rgba(255, 122, 168, .10),
            transparent 70%);

}

/* ==========================================================
   PRODUCTS
========================================================== */

#products {

    position: relative;

}

.product-grid {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 32px;

}

.product-card {

    position: relative;

    overflow: hidden;

    padding: 38px;

    background: #fff;

    border: 1px solid var(--border);

    border-radius: var(--radius-lg);

    box-shadow: var(--shadow);

    transition: var(--transition);

}

.product-card:hover {

    transform: translateY(-10px);

    box-shadow: var(--shadow-hover);

}

.product-card::before {

    content: "";

    position: absolute;

    inset: 0;

    background:

        linear-gradient(180deg,
            transparent,
            rgba(56, 194, 214, .05));

    opacity: 0;

    transition: var(--transition);

}

.product-card:hover::before {

    opacity: 1;

}

.product-card .icon {

    width: 88px;

    height: 88px;

    margin-bottom: 26px;

    display: flex;

    justify-content: center;

    align-items: center;

    border-radius: 24px;

    font-size: 2.9rem;

    background:

        linear-gradient(135deg,
            #f2fcff,
            #ffffff);

    transition: var(--transition);

}

.product-card:hover .icon {

    transform: rotate(-8deg) scale(1.08);

}

.product-card h3 {

    font-family: "Baloo 2", cursive;

    font-size: 1.6rem;

    margin-bottom: 14px;

}

.product-card p {

    color: var(--text-light);

    line-height: 1.9;

    margin-bottom: 26px;

}

.product-link {

    display: inline-flex;

    align-items: center;

    gap: 10px;

    font-weight: 800;

    color: var(--primary);

}

.product-link i {

    transition: var(--transition);

}

.product-card:hover .product-link i {

    transform: translateX(6px);

}

/* ==========================================================
   WHY US
========================================================== */

.features {

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 28px;

}

.feature {

    position: relative;

    overflow: hidden;

    text-align: center;

    padding: 40px 24px;

    background: #fff;

    border-radius: var(--radius-lg);

    border: 1px solid var(--border);

    box-shadow: var(--shadow);

    transition: var(--transition);

}

.feature:hover {

    transform: translateY(-10px);

    box-shadow: var(--shadow-hover);

}

.feature::before {

    content: "";

    position: absolute;

    left: 0;

    top: 0;

    width: 100%;

    height: 5px;

    background:

        linear-gradient(90deg,
            var(--primary),
            var(--secondary));

    transform: scaleX(0);

    transform-origin: left;

    transition: var(--transition);

}

.feature:hover::before {

    transform: scaleX(1);

}

.feature {

    font-size: 3rem;

}

.feature h3 {

    margin-top: 18px;

    font-family: "Baloo 2", cursive;

    font-size: 1.45rem;

}

.feature p {

    margin-top: 12px;

    color: var(--text-light);

    line-height: 1.8;

    font-size: .95rem;

}

.feature:nth-child(1) {

    border-top: 5px solid var(--primary);

}

.feature:nth-child(2) {

    border-top: 5px solid var(--secondary);

}

.feature:nth-child(3) {

    border-top: 5px solid var(--pink);

}

.feature:nth-child(4) {

    border-top: 5px solid var(--purple);

}

/* ==========================================================
   PART 2B
   How It Works • Gallery (Masonry v2)
========================================================== */

/* ==========================================================
   HOW IT WORKS
========================================================== */

.steps {

    display: grid;

    grid-template-columns: repeat(5, 1fr);

    gap: 28px;

    margin-top: 60px;

}

.step {

    position: relative;

    overflow: hidden;

    padding: 42px 26px;

    text-align: center;

    background: var(--white);

    border: 1px solid var(--border);

    border-radius: var(--radius-lg);

    box-shadow: var(--shadow);

    transition: var(--transition);

}

.step:hover {

    transform: translateY(-10px);

    box-shadow: var(--shadow-hover);

}

.step::before {

    content: "";

    position: absolute;

    inset: 0;

    opacity: 0;

    background:

        linear-gradient(180deg,
            transparent,
            rgba(56, 194, 214, .05));

    transition: var(--transition);

}

.step:hover::before {

    opacity: 1;

}

.step span {

    width: 74px;

    height: 74px;

    margin: 0 auto 22px;

    display: flex;

    justify-content: center;

    align-items: center;

    border-radius: 50%;

    color: #fff;

    font-size: 1.4rem;

    font-weight: 800;

    background:

        linear-gradient(135deg,
            var(--primary),
            var(--primary-dark));

    box-shadow:

        0 12px 28px rgba(56, 194, 214, .28);

}

.step h3 {

    margin-bottom: 12px;

    font-family: "Baloo 2", cursive;

    font-size: 1.35rem;

}

.step p {

    color: var(--text-light);

    line-height: 1.8;

    font-size: .95rem;

}

.step:not(:last-child)::after {

    content: "";

    position: absolute;

    top: 78px;

    right: -28px;

    width: 56px;

    height: 4px;

    border-radius: var(--radius-round);

    background:

        linear-gradient(90deg,
            var(--primary),
            rgba(56, 194, 214, .18));

}

/* ==========================================================
   GALLERY SECTION
========================================================== */

#gallery {

    position: relative;

    overflow: hidden;

}

#gallery::before {

    content: "";

    position: absolute;

    top: -140px;

    right: -120px;

    width: 340px;

    height: 340px;

    border-radius: 50%;

    background:

        radial-gradient(rgba(255, 122, 168, .12),

            transparent 70%);

}

#gallery::after {

    content: "";

    position: absolute;

    left: -120px;

    bottom: -120px;

    width: 260px;

    height: 260px;

    border-radius: 50%;

    background:

        radial-gradient(rgba(56, 194, 214, .10),

            transparent 70%);

}

/* ==========================================================
   MASONRY GALLERY
========================================================== */

.gallery {

    column-count: 3;

    column-gap: 22px;

    margin-top: 60px;

}

.gallery-item {

    position: relative;

    overflow: hidden;

    margin-bottom: 22px;

    break-inside: avoid;

    border-radius: var(--radius-lg);

    border: 1px solid var(--border);

    background: var(--white);

    box-shadow: var(--shadow);

    cursor: pointer;

    transition: var(--transition);

}

.gallery-item:hover {

    transform: translateY(-8px);

    box-shadow: var(--shadow-hover);

}

.gallery-item img {

    display: block;

    width: 100%;

    height: auto;

    transition: transform .45s ease;

    user-select: none;

    -webkit-user-drag: none;

}

.gallery-item:hover img {

    transform: scale(1.05);

}

/* ==========================================================
   IMAGE OVERLAY
========================================================== */

.gallery-item::before {

    content: "";

    position: absolute;

    inset: 0;

    background:

        linear-gradient(transparent,

            rgba(0, 0, 0, .35));

    opacity: 0;

    transition: var(--transition);

    z-index: 1;

}

.gallery-item::after {

    content: "\f00e";

    font-family: "Font Awesome 6 Free";

    font-weight: 900;

    position: absolute;

    left: 50%;

    top: 50%;

    transform:

        translate(-50%, -50%) scale(.8);

    color: #fff;

    font-size: 1.8rem;

    opacity: 0;

    transition: var(--transition);

    z-index: 2;

}

.gallery-item:hover::before {

    opacity: 1;

}

.gallery-item:hover::after {

    opacity: 1;

    transform:

        translate(-50%, -50%) scale(1);

}

/* ==========================================================
   PART 3A
   CTA • Footer • Social • Scrollbar
========================================================== */

/* ==========================================================
   CALL TO ACTION
========================================================== */

.cta {

    position: relative;

    padding: 120px 0;

    overflow: hidden;

}

.cta::before {

    content: "";

    position: absolute;

    width: 420px;

    height: 420px;

    left: -120px;

    top: -120px;

    border-radius: 50%;

    background:

        radial-gradient(rgba(56, 194, 214, .12),

            transparent 70%);

}

.cta::after {

    content: "";

    position: absolute;

    width: 360px;

    height: 360px;

    right: -120px;

    bottom: -120px;

    border-radius: 50%;

    background:

        radial-gradient(rgba(255, 255, 255, .10),

            transparent 70%);

}

.cta .container {

    position: relative;

    z-index: 2;

    padding: 90px 60px;

    text-align: center;

    color: #fff;

    border-radius: var(--radius-xl);

    overflow: hidden;

    background:

        linear-gradient(135deg,

            var(--primary),

            #59d7e7);

    box-shadow:

        0 28px 65px rgba(56, 194, 214, .25);

}

.cta h2 {

    margin-bottom: 20px;

    font-family: "Baloo 2", cursive;

    font-size: clamp(2.3rem, 5vw, 3.3rem);

    line-height: 1.1;

}

.cta p {

    max-width: 700px;

    margin: auto;

    line-height: 2;

    opacity: .95;

}

.cta-buttons {

    display: flex;

    justify-content: center;

    flex-wrap: wrap;

    gap: 18px;

    margin-top: 42px;

}

.cta .btn-outline {

    background: #fff;

    color: var(--primary);

    border: none;

}

.cta .btn-outline:hover {

    background: #f5fdff;

}

/* ==========================================================
   FOOTER
========================================================== */

footer {

    position: relative;

    overflow: hidden;

    padding: 90px 0 45px;

    background: #fff;

    text-align: center;

}

footer::before {

    content: "";

    position: absolute;

    left: 0;

    top: 0;

    width: 100%;

    height: 1px;

    background:

        linear-gradient(90deg,

            transparent,

            rgba(56, 194, 214, .35),

            transparent);

}

footer p {

    color: var(--text-light);

    line-height: 1.9;

    font-size: .95rem;

}

/* ==========================================================
   CUSTOM SCROLLBAR
========================================================== */

::-webkit-scrollbar {

    width: 10px;

}

::-webkit-scrollbar-track {

    background: #eef8fb;

}

::-webkit-scrollbar-thumb {

    background: var(--primary);

    border-radius: 999px;

}

::-webkit-scrollbar-thumb:hover {

    background: var(--primary-dark);

}

::selection {

    background: rgba(56, 194, 214, .22);

}

/* ==========================================================
   PART 3B
   Apple Style Lightbox
========================================================== */

/* ==========================================================
   LIGHTBOX
========================================================== */

.lightbox {

    position: fixed;

    inset: 0;

    display: flex;

    justify-content: center;

    align-items: center;

    opacity: 0;

    visibility: hidden;

    pointer-events: none;

    transition:

        opacity .35s ease,

        visibility .35s ease;

    z-index: 99999;

}

.lightbox.show {

    opacity: 1;

    visibility: visible;

    pointer-events: auto;

}

/* ==========================================================
   BACKDROP
========================================================== */

.lightbox-backdrop {

    position: absolute;

    inset: 0;

    background: rgba(10, 18, 30, .78);

    backdrop-filter: blur(18px);

    -webkit-backdrop-filter: blur(18px);

}

/* ==========================================================
   CONTENT
========================================================== */

.lightbox-content {

    position: relative;

    z-index: 2;

    width: min(92vw, 1100px);

    height: min(88vh, 900px);

    display: flex;

    justify-content: center;

    align-items: center;

    padding: 20px;

}

.lightbox-content img {

    max-width: 100%;

    max-height: 100%;

    border-radius: 22px;

    box-shadow:

        0 30px 90px rgba(0, 0, 0, .45);

    transform: scale(.92);

    opacity: 0;

    transition:

        transform .35s ease,

        opacity .35s ease;

    user-select: none;

    -webkit-user-drag: none;

}

.lightbox.show .lightbox-content img {

    transform: scale(1);

    opacity: 1;

}

/* ==========================================================
   CLOSE BUTTON
========================================================== */

.lightbox-close {

    position: absolute;

    top: 28px;

    right: 28px;

    width: 54px;

    height: 54px;

    display: flex;

    justify-content: center;

    align-items: center;

    border-radius: 50%;

    color: #fff;

    background: rgba(255, 255, 255, .12);

    backdrop-filter: blur(10px);

    -webkit-backdrop-filter: blur(10px);

    transition: var(--transition);

    z-index: 10;

}

.lightbox-close:hover {

    background: rgba(255, 255, 255, .22);

    transform: rotate(90deg);

}

/* ==========================================================
   PREV / NEXT
========================================================== */

.lightbox-prev,
.lightbox-next {

    position: absolute;

    top: 50%;

    transform: translateY(-50%);

    width: 60px;

    height: 60px;

    display: flex;

    justify-content: center;

    align-items: center;

    border-radius: 50%;

    color: #fff;

    background: rgba(255, 255, 255, .12);

    backdrop-filter: blur(10px);

    -webkit-backdrop-filter: blur(10px);

    transition: var(--transition);

    z-index: 10;

}

.lightbox-prev {

    left: 28px;

}

.lightbox-next {

    right: 28px;

}

.lightbox-prev:hover,
.lightbox-next:hover {

    background: rgba(255, 255, 255, .22);

    transform:

        translateY(-50%) scale(1.08);

}

/* ==========================================================
   COUNTER
========================================================== */

.lightbox-counter {

    position: absolute;

    left: 50%;

    bottom: 26px;

    transform: translateX(-50%);

    padding: 10px 18px;

    border-radius: var(--radius-round);

    background: rgba(255, 255, 255, .12);

    backdrop-filter: blur(10px);

    -webkit-backdrop-filter: blur(10px);

    color: #fff;

    font-weight: 700;

    letter-spacing: .5px;

    z-index: 10;

}

/* ==========================================================
   BODY LOCK
========================================================== */

body.lightbox-open {

    overflow: hidden;

}

/* ==========================================================
   RESPONSIVE
========================================================== */

@media (max-width:900px) {

    .lightbox-prev,
    .lightbox-next {

        width: 52px;

        height: 52px;

    }

    .lightbox-prev {

        left: 16px;

    }

    .lightbox-next {

        right: 16px;

    }

    .lightbox-close {

        top: 18px;

        right: 18px;

    }

}

@media (max-width:768px) {

    .lightbox-content {

        width: 95vw;

        height: 84vh;

        padding: 10px;

    }

    .lightbox-content img {

        border-radius: 18px;

    }

    .lightbox-prev,
    .lightbox-next {

        width: 48px;

        height: 48px;

    }

    .lightbox-counter {

        bottom: 18px;

        font-size: .9rem;

    }

}

@media (max-width:480px) {

    .lightbox-prev,
    .lightbox-next {

        width: 44px;

        height: 44px;

    }

    .lightbox-close {

        width: 46px;

        height: 46px;

    }

}

/* ==========================================================
   RESPONSIVE FINAL
   PART 1
========================================================== */

/* ==========================
   TABLET
========================== */

@media (max-width:992px){

    .container{

        width:min(92%,720px);

    }

    section{

        padding:80px 0;

    }

    .hero{

        padding-top:120px;

    }

    .hero-grid{

        display:flex;

        flex-direction:column-reverse;

        align-items:center;

        gap:50px;

        text-align:center;

    }

    .hero-left,
    .hero-right{

        width:100%;

    }

    .badge{

        margin-inline:auto;

    }

    .hero-buttons{

        justify-content:center;

        flex-wrap:wrap;

    }

    .hero-stats{

        justify-content:center;

    }

    .product-grid{

        grid-template-columns:repeat(2,minmax(0,1fr));

    }

    .features{

        grid-template-columns:repeat(2,minmax(0,1fr));

    }

    .steps{

        grid-template-columns:repeat(2,minmax(0,1fr));

    }

    .gallery{

        column-count:2;

    }

}

/* ==========================
   MOBILE
========================== */

@media (max-width:768px){

    .container{

        width:min(92%,540px);

    }

    section{

        padding:65px 0;

    }

    .hero{

        padding-top:110px;

    }

    .hero h1{

        font-size:2.4rem;

        line-height:1.15;

    }

    .hero p{

        font-size:1rem;

    }

    .hero-logo{

        width:240px;

        margin:auto;

    }

    .floating-card{

        position:static;

        display:inline-flex;

        margin:8px;

    }

    

    .hero-buttons{

        flex-direction:column;

        gap:14px;

    }

    .hero-buttons .btn{

        width:100%;

        justify-content:center;

    }

    .hero-stats{

        display:grid;

        grid-template-columns:repeat(3,1fr);

        gap:15px;

        margin-top:35px;

    }

    .product-grid{

        grid-template-columns:1fr;

        gap:20px;

    }

    .product-card{

        padding:30px 24px;

    }

    .features{

        grid-template-columns:1fr;

        gap:18px;

    }

    .feature{

        padding:28px 22px;

    }

    .steps{

        grid-template-columns:1fr;

        gap:18px;

    }

    .step{

        padding:30px 22px;

    }

    .step::after{

        display:none;

    }

    .gallery{

        column-count:1;

        column-gap:0;

    }

    .gallery-item{

        margin-bottom:18px;

    }

    .cta .container{

        padding:45px 25px;

    }

    .cta-buttons{

        flex-direction:column;

    }

    .cta-buttons .btn{

        width:100%;

        justify-content:center;

    }

}

/* ==========================
   SMALL MOBILE
========================== */

@media (max-width:480px){

    .logo h2{

        font-size:.8rem;

    }

    .logo p{

        display:none;

    }

    .hero h1{

        font-size:2rem;

    }

    .hero-stats{

        grid-template-columns:1fr;

    }

    .section-title h2{

        font-size:1.9rem;

    }

    .section-title p{

        font-size:.95rem;

    }

    .product-card{

        padding:24px 20px;

    }

    .feature{

        padding:24px 20px;

    }

    
    .step{
        padding:24px 20px;

    }

}

