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

:root {
    --primary: #0f766e;
    --primary-light: #14b8a6;
    --secondary: #f59e0b;
    --accent: #dc2626;
    --bg: #f8fafc;
    --card: #ffffff;
    --text: #0f172a;
    --text-light: #64748b;
    --line: rgba(15, 23, 42, .1);
    --shadow: 0 18px 45px rgba(15, 23, 42, .1);
    --radius: 18px;
}

body.dark {
    --bg: #0f172a;
    --card: #1e293b;
    --text: #f8fafc;
    --text-light: #cbd5e1;
    --line: rgba(255, 255, 255, .1);
    --shadow: 0 18px 45px rgba(0, 0, 0, .35);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Poppins", sans-serif;
    background: var(--bg);
    color: var(--text);
    overflow-x: hidden;
    transition: background .3s, color .3s;
}

img {
    max-width: 100%;
}

.container {
    width: min(1180px, 90%);
    margin: auto;
}

.header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.1rem 0;
    position: relative;
}

.navbar::before {
    content: "";
    position: absolute;
    inset: 0 -5vw;
    background: rgba(15, 23, 42, .34);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(255, 255, 255, .12);
    z-index: -1;
}

.logo {
    color: #fff;
    font-size: 1.15rem;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 1.6rem;
    list-style: none;
}

.nav-menu a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: .95rem;
    transition: color .25s;
}

.nav-menu a:hover,
.active-link {
    color: var(--secondary) !important;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: .75rem;
}

#theme-toggle,
.burger {
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 50%;
    background: rgba(255, 255, 255, .18);
    color: #fff;
    cursor: pointer;
    font-size: 1rem;
}

.burger {
    display: none;
}

.hero {
    min-height: 96vh;
    display: flex;
    align-items: center;
    position: relative;
    background:
        linear-gradient(90deg, rgba(5, 10, 20, .76), rgba(5, 10, 20, .2)),
        url("https://images.unsplash.com/photo-1589793907316-f94025b46850?auto=format&fit=crop&w=1800&q=80");
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    inset: auto 0 0 0;
    height: 160px;
    background: linear-gradient(transparent, var(--bg));
}

.hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
    max-width: 840px;
    padding-top: 5rem;
}

.hero-badge,
.section-tag {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    border-radius: 999px;
    font-weight: 700;
}

.hero-badge {
    padding: .75rem 1.1rem;
    margin-bottom: 1.35rem;
    background: rgba(255, 255, 255, .15);
    border: 1px solid rgba(255, 255, 255, .2);
    backdrop-filter: blur(10px);
    animation: float 4s ease-in-out infinite;
}

.hero h1 {
    max-width: 820px;
    font-size: clamp(2.8rem, 7vw, 5.8rem);
    line-height: 1.04;
    font-weight: 800;
    margin-bottom: 1.4rem;
}

.hero p {
    max-width: 700px;
    font-size: 1.14rem;
    line-height: 1.8;
    opacity: .95;
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: .9rem 1.45rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 800;
    transition: transform .25s, box-shadow .25s, background .25s;
}

.btn:hover {
    transform: translateY(-3px);
}

.btn-primary {
    background: var(--secondary);
    color: #111827;
    box-shadow: 0 14px 30px rgba(245, 158, 11, .28);
}

.btn-secondary {
    color: #fff;
    background: rgba(255, 255, 255, .15);
    border: 1px solid rgba(255, 255, 255, .24);
    backdrop-filter: blur(10px);
}

.stats {
    position: relative;
    z-index: 4;
    margin-top: -58px;
}

.stats-grid,
.cards-grid,
.timeline,
.day-plan {
    display: grid;
    gap: 1.35rem;
}

.stats-grid {
    grid-template-columns: repeat(4, 1fr);
}

.stat-card,
.card,
.timeline-card,
.quote-card,
.checklist-card,
.note-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.stat-card {
    padding: 1.6rem;
    text-align: center;
}

.stat-card h3 {
    color: var(--primary);
    font-size: 2.1rem;
    margin-bottom: .35rem;
}

.stat-card p {
    color: var(--text-light);
}

.section {
    padding: 6.5rem 0;
}

.section-alt {
    background: rgba(15, 118, 110, .055);
}

.section-heading {
    max-width: 850px;
    margin: 0 auto 3.4rem;
    text-align: center;
}

.section-tag {
    padding: .55rem .95rem;
    background: rgba(15, 118, 110, .1);
    color: var(--primary);
    margin-bottom: 1rem;
}

.section-heading h2 {
    font-size: clamp(2rem, 4.5vw, 3.4rem);
    line-height: 1.15;
    margin-bottom: 1rem;
}

.section-heading p,
.intro-text p,
.card p,
.timeline-card p,
.feature p,
.checklist-card li,
.day-plan p,
.footer p,
.footer li {
    color: var(--text-light);
    line-height: 1.8;
}

.intro-grid {
    display: grid;
    grid-template-columns: 1fr .88fr;
    gap: 3rem;
    align-items: center;
}

.intro-text {
    display: flex;
    flex-direction: column;
    gap: 1.35rem;
}

.intro-image {
    overflow: hidden;
    border-radius: var(--radius);
    min-height: 520px;
    box-shadow: var(--shadow);
}

.intro-image img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 520px;
    object-fit: cover;
    transition: transform .7s;
}

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

.note-card {
    padding: 1.25rem;
    display: grid;
    gap: .45rem;
    border-left: 5px solid var(--secondary);
}

.note-card span {
    color: var(--text-light);
    line-height: 1.8;
}

.cards-grid {
    grid-template-columns: repeat(4, 1fr);
}

.card {
    padding: 1.55rem;
    position: relative;
    overflow: hidden;
    transition: transform .25s, box-shadow .25s;
}

.card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent));
}

.card:hover,
.timeline-card:hover {
    transform: translateY(-6px);
}

.card h3,
.timeline-card h3,
.feature h3,
.checklist-card h3,
.day-plan h3 {
    margin-bottom: .75rem;
    font-size: 1.12rem;
}

.feature-grid {
    display: grid;
    gap: 1.35rem;
}

.feature {
    display: grid;
    grid-template-columns: 310px 1fr;
    gap: 1.4rem;
    align-items: center;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: .85rem;
    box-shadow: var(--shadow);
}

.feature img {
    width: 100%;
    height: 210px;
    object-fit: cover;
    border-radius: 12px;
}

.feature div {
    padding-right: 1rem;
}

.timeline {
    grid-template-columns: repeat(3, 1fr);
}

.timeline-card {
    padding: 1.55rem;
    transition: transform .25s;
}

.timeline-card span,
.day-plan span {
    display: inline-flex;
    border-radius: 999px;
    padding: .45rem .75rem;
    margin-bottom: .9rem;
    color: var(--primary);
    background: rgba(15, 118, 110, .1);
    font-weight: 800;
}

.july-grid {
    display: grid;
    grid-template-columns: 1fr .85fr;
    gap: 1.35rem;
    align-items: stretch;
}

.quote-card,
.checklist-card {
    padding: 2rem;
}

.quote-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-left: 6px solid var(--secondary);
}

.quote-card blockquote {
    font-size: clamp(1.25rem, 2.6vw, 1.85rem);
    line-height: 1.55;
    font-weight: 700;
    margin-bottom: 1.1rem;
}

.quote-card cite {
    color: var(--primary);
    font-style: normal;
    font-weight: 800;
}

.checklist-card ul {
    padding-left: 1.1rem;
}

.checklist-card li {
    margin-bottom: .8rem;
}

.day-plan {
    grid-template-columns: repeat(3, 1fr);
    margin-top: 1.35rem;
}

.day-plan article {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.45rem;
}

.footer {
    background: #111827;
    color: #fff;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr .8fr .9fr;
    gap: 2rem;
    padding: 4rem 0;
}

.footer h3,
.footer h4 {
    margin-bottom: 1rem;
}

.footer ul {
    list-style: none;
}

.footer li {
    margin-bottom: .55rem;
}

.footer a {
    color: rgba(255, 255, 255, .76);
    text-decoration: none;
}

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

.footer-bottom {
    padding: 1.3rem;
    text-align: center;
    color: rgba(255, 255, 255, .6);
    border-top: 1px solid rgba(255, 255, 255, .1);
}

.hidden {
    opacity: 0;
    transform: translateY(30px);
    transition: .75s;
}

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

.loaded {
    overflow-x: hidden;
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 999px;
}

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

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

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

@media (max-width: 1040px) {
    .stats-grid,
    .cards-grid,
    .timeline,
    .day-plan {
        grid-template-columns: repeat(2, 1fr);
    }

    .intro-grid,
    .july-grid {
        grid-template-columns: 1fr;
    }

    .feature {
        grid-template-columns: 240px 1fr;
    }
}

@media (max-width: 780px) {
    .burger {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 76px;
        right: -100%;
        width: min(310px, 86vw);
        height: calc(100vh - 76px);
        padding: 2rem;
        background: var(--card);
        box-shadow: var(--shadow);
        flex-direction: column;
        align-items: flex-start;
        transition: right .35s;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu a {
        color: var(--text);
    }

    .hero {
        min-height: 92vh;
        text-align: left;
    }

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

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

    .section {
        padding: 4.8rem 0;
    }

    .stats-grid,
    .cards-grid,
    .timeline,
    .day-plan,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .feature {
        grid-template-columns: 1fr;
    }

    .feature div {
        padding: 0 .25rem .45rem;
    }

    .intro-image,
    .intro-image img {
        min-height: 340px;
    }
}

@media (max-width: 480px) {
    .container {
        width: min(100% - 1.5rem, 1180px);
    }

    .logo {
        font-size: 1rem;
    }

    #theme-toggle,
    .burger {
        width: 40px;
        height: 40px;
    }

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

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .quote-card,
    .checklist-card {
        padding: 1.35rem;
    }
}
