/* =========================================================
   KTR TEXTILE RECYCLING
   COMPLETE RESPONSIVE STYLESHEET
   (spacing/margin audit pass — every section now shares a
   single consistent vertical rhythm: see the "SECTION
   RHYTHM" block below for the tokens used everywhere)
========================================================= */


/* =========================================================
   ROOT VARIABLES
========================================================= */

:root {
    --forest: #12372a;
    --forest-dark: #08251b;
    --green: #376b53;
    --sage: #a9c4ad;

    --cream: #f7f3e9;
    --ivory: #fffdf7;

    --terracotta: #c97855;
    --gold: #c9a76b;

    --text: #25332d;
    --muted: #68756e;

    --white: #ffffff;
    --border: #e5e2d8;

    --radius: 25px;

    --shadow:
        0 20px 60px rgba(18, 55, 42, 0.10);

    --transition: 0.35s ease;

    /* ---------------------------------------------------
       SECTION RHYTHM
       One shared set of spacing tokens so every section
       (hero excluded, it's full-bleed) uses the exact same
       vertical rhythm instead of ad-hoc numbers per block.
    --------------------------------------------------- */
    --section-y: 110px;              /* top/bottom padding for every section */
    --section-y-mobile: 75px;        /* same, under 600px */
    --heading-to-body: 16px;         /* section-tag -> section-title */
    --body-to-content: 60px;         /* section-text/title -> grid or list below */
    --paragraph-gap: 18px;           /* gap between stacked paragraphs */
}


/* =========================================================
   GLOBAL RESET
========================================================= */

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    font-family: "DM Sans", sans-serif;

    background: var(--ivory);
    color: var(--text);

    line-height: 1.7;

    overflow-x: hidden;
}

img {
    width: 100%;
    max-width: 100%;

    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

button,
input,
textarea {
    font-family: inherit;
}

button {
    cursor: pointer;
}

.container {
    width: min(1180px, 92%);

    margin: auto;

    max-width: 100%;
}


/* =========================================================
   NAVIGATION
========================================================= */

.navbar {
    position: fixed;

    top: 0;
    left: 0;

    width: 100%;

    z-index: 1000;

    padding: 18px 0;

    transition:
        background 0.3s ease,
        padding 0.3s ease,
        box-shadow 0.3s ease;
}

.navbar.scrolled {
    background: rgba(255, 253, 247, 0.96);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    box-shadow:
        0 8px 30px rgba(0, 0, 0, 0.07);

    padding: 11px 0;
}

.nav-inner {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 30px;
}


/* =========================================================
   LOGO
========================================================= */

.logo {
    display: flex;

    align-items: center;

    gap: 12px;

    text-decoration: none;

    flex-shrink: 0;
}

.logo-mark {
    width: 70px;
    height: 70px;

    border-radius: 50%;

    

    flex-shrink: 0;

    box-shadow:
        0 8px 20px rgba(18, 55, 42, 0.20);
}

.logo-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-align: center;
}
.logo-text {
    font-family: "Playfair Display", serif;

    

    font-size: 26px;
    font-weight: 700;

    letter-spacing: 2px;

    color: #ffffff;

    line-height: 1;
}

.logo-sub {
    display: block;

    font-weight: 800;

    font-size: 10px;

    letter-spacing: 2px;

    color: rgba(255, 255, 255, 0.75);

    margin-top: 3px;
}


/* =========================================================
   NAVIGATION LINKS
========================================================= */

.nav-links {
    display: flex;

    align-items: center;

    gap: 8px;

    list-style: none;

    margin: 0;
    padding: 0;
}

.nav-links li {
    margin: 0;
    padding: 0;
}

.nav-links a {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    position: relative;

    padding: 10px 14px;

    color: #ffffff;

    font-size: 15px;
    font-weight: 600;

    text-decoration: none;

    border-radius: 8px;

    transition:
        color 0.25s ease,
        background 0.25s ease,
        transform 0.25s ease;
}


/* Navigation underline */

.nav-links a:not(.nav-btn)::after {
    content: "";

    position: absolute;

    left: 14px;
    right: 14px;

    bottom: 3px;

    height: 2px;

    background: var(--terracotta);

    transform: scaleX(0);

    transform-origin: center;

    transition: 0.25s ease;
}

.nav-links a:not(.nav-btn):hover::after {
    transform: scaleX(1);
}


/* =========================================================
   CONTACT NAV BUTTON
========================================================= */

.nav-btn {
    display: inline-flex !important;

    align-items: center;
    justify-content: center;

    min-width: 125px;

    padding: 11px 20px !important;

    background: var(--terracotta);

    color: #ffffff !important;

    border: 1px solid var(--terracotta);

    border-radius: 50px !important;

    font-size: 15px !important;
    font-weight: 700;

    transition: 0.3s ease;
}

.nav-btn:hover {
    background: #a95e40;

    border-color: #a95e40;

    color: #ffffff !important;

    transform: translateY(-2px);

    box-shadow:
        0 8px 20px rgba(201, 120, 85, 0.25);
}


/* =========================================================
   SCROLLED NAVIGATION
========================================================= */

.navbar.scrolled .logo-text {
    color: var(--forest);
}

.navbar.scrolled .logo-sub {
    color: var(--muted);
}

.navbar.scrolled .nav-links a {
    color: var(--forest);
}

.navbar.scrolled .nav-links a:hover {
    color: var(--terracotta);
}

.navbar.scrolled .nav-btn {
    background: var(--forest);

    border-color: var(--forest);

    color: #ffffff !important;
}

.navbar.scrolled .nav-btn:hover {
    background: var(--terracotta);

    border-color: var(--terracotta);
}


/* =========================================================
   MOBILE MENU BUTTON
========================================================= */

.menu-toggle {
    display: none;

    border: none;

    background: none;

    font-size: 28px;

    line-height: 1;

    color: #ffffff;

    cursor: pointer;

    padding: 5px;
}

.navbar.scrolled .menu-toggle {
    color: var(--forest);
}


/* =========================================================
   HERO
========================================================= */

.hero {
    min-height: 720px;

    height: 100vh;

    max-height: 850px;

    position: relative;

    display: flex;

    align-items: center;

    overflow: hidden;

    background: #062218;
}


/* =========================================================
   HERO AUTO SLIDER
========================================================= */

.hero-slider {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    z-index: 0;
}

.hero-slide {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;

    opacity: 0;

    animation: heroSlide 20s infinite;

    transform: scale(1.03);
}


/* Dark overlay */

.hero-slide::after {
    content: "";
    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.65),
            rgba(0, 0, 0, 0.25),
            rgba(0, 0, 0, 0.10)
        );
}



/* =========================================================
   HERO SLIDES
========================================================= */

.hero-slide:nth-child(1) {
    background-image: url("https://mwc.lv/wp-content/uploads/2025/02/recycling-clothes.png");
    animation-delay: 0s;
}

.hero-slide:nth-child(2) {
    background-image: url("images/main1.png");
    animation-delay: 5s;
}

.hero-slide:nth-child(3) {
    background-image: url("https://servcare.com/assets/services_new/textile-waste-BtcT36TH.png");
    animation-delay: 10s;
}

.hero-slide:nth-child(4) {
    background-image: url("images/main7.jpeg");
    animation-delay: 15s;
}

.hero-slide:nth-child(5) {
    background-image: url("images/mai3.jpeg");
    animation-delay: 20s;
}

.hero-slide:nth-child(6) {
    background-image: url("images/main4.jpeg");
    animation-delay: 25s;
}

.hero-slide:nth-child(7) {
    background-image: url("images/main5.jpeg");
    animation-delay: 30s;
}


/* =========================================================
   AUTOMATIC HERO FADE / ZOOM
========================================================= */

@keyframes heroSlide {

    0% {
        opacity: 0;
        transform: scale(1.03);
    }

    5% {
        opacity: 1;
        transform: scale(1.02);
    }

    20% {
        opacity: 1;
        transform: scale(1);
    }

    25% {
        opacity: 0;
        transform: scale(1.03);
    }

    100% {
        opacity: 0;
        transform: scale(1.03);
    }

}


/* =========================================================
   HERO SLIDE BASE
========================================================= */

.hero-slide {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;

    opacity: 0;

    animation-name: heroSlide;
    animation-duration: 35s;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;

    will-change: opacity, transform;
}


/* Decorative circle */

.hero::before {
    content: "";

    position: absolute;

    width: 650px;
    height: 650px;

    border: 1px solid rgba(255, 255, 255, 0.09);

    border-radius: 50%;

    right: -300px;
    bottom: -300px;

    pointer-events: none;
}

.hero::after {
    content: "";

    position: absolute;

    width: 350px;
    height: 350px;

    border: 1px solid rgba(255, 255, 255, 0.08);

    border-radius: 50%;

    right: -130px;
    bottom: -130px;

    pointer-events: none;
}


/* =========================================================
   HERO CONTENT
========================================================= */

.hero-content {
    position: relative;

    z-index: 2;

    width: min(720px, 100%);

    /* top padding clears the fixed navbar; bottom padding
       clears the fixed stats bar (.hero-bottom) so text
       never collides with it at any viewport height */
    padding-top: 70px;
    padding-bottom: 150px;

    margin: 0;

    color: #ffffff;

    animation: heroAppear 1s ease forwards;
}

@keyframes heroAppear {

    from {
        opacity: 0;

        transform: translateY(35px);
    }

    to {
        opacity: 1;

        transform: translateY(0);
    }
}


/* =========================================================
   HERO EYEBROW
========================================================= */

.hero .eyebrow {
    display: inline-flex;

    align-items: center;

    gap: 10px;

    color: #e4c692;

    text-transform: uppercase;

    letter-spacing: 3px;

    font-size: 12px;

    font-weight: 700;

    margin: 0 0 14px 0;

    padding: 0;
}

.hero .eyebrow::before {
    content: "";

    width: 38px;
    height: 2px;

    flex-shrink: 0;

    background: var(--terracotta);
}


/* =========================================================
   HERO HEADING
========================================================= */

.hero h1 {
    font-family: "Playfair Display", serif;

    font-size: clamp(52px, 6.2vw, 82px);

    line-height: 1.02;

    max-width: 720px;

    margin: 0 0 22px 0;
}

.hero h1 span {
    color: #d6b879;

    font-style: italic;
}


/* =========================================================
   HERO PARAGRAPH
========================================================= */

.hero p {
    max-width: 650px;

    color: rgba(255, 255, 255, 0.80);

    font-size: 16px;

    line-height: 1.75;

    margin: 0 0 32px 0;

    overflow-wrap: break-word;
}


/* =========================================================
   HERO BUTTONS
========================================================= */

.hero-buttons {
    display: flex;

    align-items: center;

    gap: 14px;

    flex-wrap: wrap;
}

.btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 9px;

    border: none;

    cursor: pointer;

    padding: 15px 25px;

    border-radius: 50px;

    font-weight: 700;

    transition: 0.35s ease;

    white-space: nowrap;
}

.btn-primary {
    background: var(--terracotta);

    color: #ffffff;
}

.btn-primary:hover {
    transform: translateY(-4px);

    box-shadow:
        0 15px 35px rgba(201, 120, 85, 0.3);
}

.btn-light {
    color: #ffffff;

    background: rgba(255, 255, 255, 0.08);

    border: 1px solid rgba(255, 255, 255, 0.35);

    backdrop-filter: blur(10px);
}

.btn-light:hover {
    background: #ffffff;

    color: var(--forest);
}


/* =========================================================
   HERO STATISTICS BAR
========================================================= */

.hero-bottom {
    position: absolute;

    bottom: 0;
    left: 0;

    width: 100%;

    margin: 0;

    background: rgba(5, 29, 21, 0.88);

    backdrop-filter: blur(14px);

    -webkit-backdrop-filter: blur(14px);

    border-top: 1px solid rgba(255, 255, 255, 0.12);

    z-index: 3;
}

.hero-stats {
    display: grid;

    grid-template-columns: repeat(4, 1fr);
}

.hero-stat {
    padding: 22px 20px;

    border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-stat:last-child {
    border-right: none;
}

.hero-stat strong {
    display: block;

    font-family: "Playfair Display", serif;

    font-size: 28px;

    color: #ffffff;

    margin: 0 0 2px 0;
}

.hero-stat span {
    color: rgba(255, 255, 255, 0.58);

    font-size: 12px;
}


/* =========================================================
   GENERAL SECTIONS — shared vertical rhythm
========================================================= */

section {
    padding: var(--section-y) 0;
}

.section-tag {
    display: inline-block;

    color: var(--terracotta);

    text-transform: uppercase;

    font-size: 13px;

    line-height: 1.3;

    letter-spacing: 3px;

    font-weight: 800;

    margin: 0 0 var(--heading-to-body) 0;

    text-decoration: underline;

    text-decoration-thickness: 1px;

    text-underline-offset: 6px;
}

.section-title {
    font-family: "Playfair Display", serif;

    color: var(--forest);

    font-size: clamp(38px, 5vw, 60px);

    line-height: 1.1;

    margin: 0 0 20px 0;
}

.section-text {
    color: var(--muted);

    max-width: 680px;

    margin: 0;
}

/* Stacked paragraphs inside a text column get a consistent
   top gap instead of relying on <br> tags for spacing */
.section-text + .section-text {
    margin-top: var(--paragraph-gap);
}

.section-cta {
    margin-top: 28px;
}

.section-text-spaced {
    margin-top: var(--paragraph-gap);
}

.center {
    text-align: center;
}

.center .section-text {
    margin-left: auto;
    margin-right: auto;
}


/* =========================================================
   ABOUT
========================================================= */

.about {
    background: var(--cream);
}

.about-grid {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 75px;

    align-items: center;
}

.about-images {
    position: relative;

    min-height: 560px;
}

.about-main-image {
    width: 82%;

    height: 510px;

    object-fit: cover;

    border-radius: 170px 30px 30px 30px;

    box-shadow: var(--shadow);
}

.about-small-image {
    position: absolute;

    width: 240px;
    height: 250px;

    object-fit: cover;

    right: 0;
    bottom: 0;

    border: 12px solid var(--cream);

    border-radius: 30px 30px 150px 30px;
}

.experience-card {
    position: absolute;

    left: 20px;
    bottom: 35px;

    background: var(--terracotta);

    color: #ffffff;

    padding: 24px;

    border-radius: 22px;

    box-shadow:
        0 20px 40px rgba(201, 120, 85, 0.25);
}

.experience-card strong {
    display: block;

    font-family: "Playfair Display", serif;

    font-size: 35px;
}

.experience-card span {
    font-size: 12px;
}


/* =========================================================
   WHY CHOOSE KTR
========================================================= */

.why {
    background: var(--ivory);
}

.features {
    margin-top: var(--body-to-content);

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 20px;
}

.feature {
    position: relative;

    overflow: hidden;

    padding: 35px;

    background: #ffffff;

    border: 1px solid var(--border);

    border-radius: var(--radius);

    transition: 0.35s;
}

.feature::after {
    content: "";

    position: absolute;

    width: 110px;
    height: 110px;

    border-radius: 50%;

    background: var(--sage);

    opacity: 0.14;

    right: -40px;
    bottom: -40px;
}

.feature:hover {
    transform: translateY(-10px);

    border-color: transparent;

    box-shadow: var(--shadow);
}

.feature-icon {
    width: 60px;
    height: 60px;

    border-radius: 18px;

    background: #e7f0e8;

    color: var(--forest);

    display: grid;

    place-items: center;

    font-size: 26px;

    margin-bottom: 24px;
}

.feature h3 {
    color: var(--forest);

    margin-bottom: 9px;
}

.feature p {
    color: var(--muted);

    font-size: 14px;
}


/* =========================================================
   PRODUCTS
========================================================= */

.products {
    background: var(--forest);
}

.products .section-title {
    color: #ffffff;
}

.products .section-text {
    color: rgba(255, 255, 255, 0.65);
}

.product-grid {
    margin-top: var(--body-to-content);

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 20px;
}

.product-card {
    min-height: 410px;

    position: relative;

    overflow: hidden;

    border-radius: 28px;

    display: flex;

    align-items: flex-end;

    padding: 28px;

    isolation: isolate;

    background: #274c3c;
}

.product-card::after {
    content: "";

    position: absolute;

    inset: 0;

    z-index: -1;

    background:
        linear-gradient(
            to top,
            rgba(0, 0, 0, 0.9),
            rgba(0, 0, 0, 0.05) 75%
        );
}

.product-card img {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;

    z-index: -2;

    transition: 0.7s;
}

.product-card:hover img {
    transform: scale(1.09);
}

.product-content {
    position: relative;

    z-index: 2;
}

.product-content h3 {
    color: #ffffff;

    font-family: "Playfair Display", serif;

    font-size: 28px;

    margin-bottom: 7px;
}

.product-content p {
    color: rgba(255, 255, 255, 0.76);

    font-size: 13px;
}


/* =========================================================
   MISSION
========================================================= */

.mission {
    background: var(--cream);
}

.mission-grid {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 70px;

    align-items: center;
}

.mission-box {
    position: relative;

    padding: 50px;

    background: #ffffff;

    border-radius: 30px;

    box-shadow: var(--shadow);

    overflow: hidden;
}

.mission-box::before {
    content: "\201C";

    position: absolute;

    top: -30px;
    right: 25px;

    font-family: "Playfair Display", serif;

    font-size: 150px;

    color: #e9e5da;
}

.mission-box p {
    position: relative;

    z-index: 2;

    font-family: "Playfair Display", serif;

    color: var(--forest);

    font-size: 25px;

    line-height: 1.5;
}

.mission-points {
    margin-top: 30px;

    display: grid;

    gap: 17px;
}

.mission-point {
    display: flex;

    gap: 15px;

    align-items: flex-start;
}

.check {
    flex-shrink: 0;

    width: 25px;
    height: 25px;

    border-radius: 50%;

    background: var(--terracotta);

    color: #ffffff;

    display: grid;

    place-items: center;

    font-size: 12px;
}


/* =========================================================
   GALLERY
========================================================= */

.gallery-section {
    background: #f7f8f5;
}

.gallery-heading {
    max-width: 720px;

    margin-bottom: var(--body-to-content);
}

.gallery-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 20px;
}

.gallery-item {
    position: relative;

    overflow: hidden;

    border-radius: 16px;

    background: #e8ebe7;

    min-height: 250px;
}

.gallery-image img {
    width: 100%;
    height: 100%;

    min-height: 250px;

    display: block;

    object-fit: cover;

    transition: transform 0.5s ease;
}

.gallery-image:hover img {
    transform: scale(1.06);
}

/* Larger featured tiles */

.gallery-item:nth-child(1),
.gallery-item:nth-child(6) {
    grid-column: span 2;
}

.gallery-item:nth-child(1),
.gallery-item:nth-child(6),
.gallery-item:nth-child(11),
.gallery-item:nth-child(12) {
    min-height: 320px;
}


/* =========================================================
   VIDEO GALLERY
========================================================= */

.video-gallery-section {
    background: #f7faf8;
}

.video-gallery-heading {
    text-align: center;

    max-width: 750px;

    margin: 0 auto var(--body-to-content);
}

.video-gallery-heading .section-eyebrow {
    display: inline-block;

    margin-bottom: 10px;

    color: #087443;

    font-size: 13px;
    font-weight: 700;

    letter-spacing: 2px;
    text-transform: uppercase;
}

.video-gallery-heading h2 {
    margin: 0 0 15px 0;

    color: #063b29;

    font-size: clamp(34px, 5vw, 52px);
    font-weight: 700;

    line-height: 1.1;
}

.video-gallery-heading h2 span {
    color: #087443;
}

.video-gallery-heading p {
    margin: 0;

    color: #66756e;

    font-size: 16px;
    line-height: 1.8;
}

.video-gallery-grid {
    display: grid;

    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 28px;

    width: 100%;
}

.video-gallery-card {
    width: 100%;

    background: #0c1f16;

    border-radius: 20px;

    overflow: hidden;

    cursor: pointer;

    box-shadow:
        0 10px 30px rgba(6, 59, 41, 0.10);

    transition:
        transform 0.4s ease,
        box-shadow 0.4s ease;
}

.video-gallery-card:hover {
    transform: translateY(-8px);

    box-shadow:
        0 26px 55px rgba(6, 59, 41, 0.22);
}

.video-wrapper {
    position: relative;

    width: 100%;
    height: 300px;

    overflow: hidden;

    background: #0c1f16;
}

.video-wrapper video {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    background: #0c1f16;

    border: none;
    outline: none;

    transition:
        transform 0.6s ease,
        filter 0.5s ease;
}

.video-gallery-card:hover .video-wrapper video {
    transform: scale(1.05);

    filter: brightness(0.75);
}

/* Bottom gradient + caption — fades out once a card is
   actively playing so the video itself takes over */

.video-card-overlay {
    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    padding: 55px 22px 20px;

    background:
        linear-gradient(
            180deg,
            rgba(6, 20, 14, 0) 0%,
            rgba(6, 20, 14, 0.80) 100%
        );

    pointer-events: none;

    transition: opacity 0.35s ease;
}

.video-card-tag {
    display: block;

    color: rgba(255, 255, 255, 0.55);

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 2px;

    margin-bottom: 4px;
}

.video-card-title {
    color: #ffffff;

    font-family: "Playfair Display", serif;

    font-size: 20px;
    font-weight: 600;

    line-height: 1.3;
}

/* Center play button */

.video-play-btn {
    position: absolute;

    top: 50%;
    left: 50%;

    transform: translate(-50%, -50%) scale(1);

    width: 64px;
    height: 64px;

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 0 0 0 3px;

    border: none;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.95);

    color: var(--terracotta);

    box-shadow:
        0 12px 30px rgba(0, 0, 0, 0.35);

    cursor: pointer;

    transition:
        transform 0.3s ease,
        background 0.3s ease,
        opacity 0.3s ease;
}

.video-play-btn::before {
    content: "";

    position: absolute;

    inset: -10px;

    border: 1.5px solid rgba(255, 255, 255, 0.55);

    border-radius: 50%;

    opacity: 0;

    transition: opacity 0.3s ease, transform 0.3s ease;

    transform: scale(0.85);
}

.video-gallery-card:hover .video-play-btn {
    background: var(--terracotta);

    color: #ffffff;

    transform: translate(-50%, -50%) scale(1.08);
}

.video-gallery-card:hover .video-play-btn::before {
    opacity: 1;

    transform: scale(1);
}

/* Playing state — hide the button and let the caption
   recede so the video plays cleanly with native controls */

.video-gallery-card.is-playing .video-play-btn,
.video-gallery-card.is-playing .video-card-overlay {
    opacity: 0;

    pointer-events: none;
}

.video-gallery-card.is-playing .video-wrapper video {
    transform: none;

    filter: none;
}

.video-wrapper video::-webkit-media-controls-panel {
    background:
        linear-gradient(
            transparent,
            rgba(0, 0, 0, 0.85)
        );
}


/* =========================================================
   FUNDRAISING
========================================================= */

.fundraising {
    background: #ffffff;
}

.fundraising-grid {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 70px;

    align-items: center;
}

.fundraising-image {
    width: 100%;

    height: 570px;

    object-fit: cover;

    border-radius: 30px;
}

.process {
    margin-top: 35px;
}

.process-item {
    display: flex;

    gap: 20px;

    padding: 20px 0;

    border-bottom: 1px solid #e8e5dc;
}

.process-number {
    width: 48px;
    height: 48px;

    border-radius: 50%;

    background: var(--forest);

    color: #ffffff;

    display: grid;

    place-items: center;

    font-weight: 700;

    flex-shrink: 0;
}

.process-item h3 {
    color: var(--forest);

    margin-bottom: 4px;
}

.process-item p {
    color: var(--muted);

    font-size: 14px;
}


/* =========================================================
   BENEFITS
========================================================= */

.benefits {
    background: #edf3ed;
}

.benefit-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 18px;

    margin-top: var(--body-to-content);
}

.benefit {
    background: #ffffff;

    padding: 30px 25px;

    border-radius: 24px;

    transition: 0.3s;
}

.benefit:hover {
    transform: translateY(-7px);

    box-shadow: var(--shadow);
}

.benefit-number {
    font-family: "Playfair Display", serif;

    color: var(--terracotta);

    font-size: 35px;
}

.benefit h3 {
    color: var(--forest);

    margin: 10px 0;
}

.benefit p {
    color: var(--muted);

    font-size: 13px;
}


/* =========================================================
   GLOBAL REACH
========================================================= */

.global {
    background: var(--forest-dark);

    color: #ffffff;

    position: relative;

    overflow: hidden;
}

.global::before {
    content: "";

    position: absolute;

    width: 650px;
    height: 650px;

    border: 1px solid rgba(255, 255, 255, 0.07);

    border-radius: 50%;

    right: -250px;
    top: -200px;
}

.global .section-title {
    color: #ffffff;
}

.global .section-text {
    color: rgba(255, 255, 255, 0.62);
}

.region-list {
    margin-top: var(--body-to-content);

    display: flex;

    flex-wrap: wrap;

    gap: 12px;
}

.region {
    padding: 13px 21px;

    border: 1px solid rgba(255, 255, 255, 0.18);

    border-radius: 50px;

    color: rgba(255, 255, 255, 0.78);

    transition: 0.3s;
}

.region:hover {
    background: var(--terracotta);

    border-color: var(--terracotta);

    transform: translateY(-3px);
}


/* =========================================================
   FAQ
========================================================= */

.faq {
    background: var(--cream);
}

.faq-container {
    max-width: 850px;

    margin: var(--body-to-content) auto 0;
}

.faq-item {
    background: #ffffff;

    border-radius: 16px;

    overflow: hidden;

    margin-bottom: 12px;
}

.faq-item:last-child {
    margin-bottom: 0;
}

.faq-question {
    width: 100%;

    border: none;

    background: #ffffff;

    padding: 22px 25px;

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 20px;

    text-align: left;

    color: var(--forest);

    font-size: 15px;

    font-weight: 700;

    cursor: pointer;
}

.faq-question span {
    flex-shrink: 0;

    font-size: 23px;

    transition: 0.3s;
}

.faq-answer {
    max-height: 0;

    overflow: hidden;

    padding: 0 25px;

    transition: 0.4s ease;
}

.faq-answer p {
    color: var(--muted);

    font-size: 14px;

    padding-bottom: 22px;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-item.active .faq-question span {
    transform: rotate(45deg);
}


/* =========================================================
   CTA
========================================================= */

.cta {
    position: relative;

    overflow: hidden;

    padding: 90px 0;

    background: var(--terracotta);

    color: #ffffff;
}

.cta::after {
    content: "";

    position: absolute;

    width: 500px;
    height: 500px;

    border: 1px solid rgba(255, 255, 255, 0.18);

    border-radius: 50%;

    right: -200px;
    top: -230px;
}

.cta-inner {
    position: relative;

    z-index: 2;

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 40px;
}

.cta h2 {
    font-family: "Playfair Display", serif;

    font-size: clamp(35px, 5vw, 60px);

    line-height: 1.1;
}

.cta p {
    max-width: 620px;

    margin-top: 15px;

    color: rgba(255, 255, 255, 0.82);
}

.cta .btn {
    flex-shrink: 0;

    background: #ffffff;

    color: var(--forest);
}


/* =========================================================
   CONTACT
========================================================= */

.contact {
    background: var(--ivory);
}

.contact-grid {
    margin-top: var(--body-to-content);

    display: grid;

    grid-template-columns: 0.8fr 1.2fr;

    gap: 60px;

    align-items: start;
}

.contact-info {
    background: var(--forest);

    color: #ffffff;

    border-radius: 28px;

    padding: 38px;
}

.contact-info h3 {
    font-family: "Playfair Display", serif;

    font-size: 34px;

    margin-bottom: 15px;
}

.contact-info > p {
    color: rgba(255, 255, 255, 0.65);

    margin-bottom: 35px;
}

.contact-detail {
    display: flex;

    gap: 15px;

    margin: 20px 0;
}

.contact-detail:first-of-type {
    margin-top: 0;
}

.contact-icon {
    width: 43px;
    height: 43px;

    flex-shrink: 0;

    border-radius: 12px;

    background: rgba(255, 255, 255, 0.1);

    display: grid;

    place-items: center;

    font-size: 18px;
}

.contact-detail strong {
    display: block;
}

.contact-detail span {
    color: rgba(255, 255, 255, 0.62);

    font-size: 13px;

    overflow-wrap: anywhere;
}

.contact-form {
    background: #ffffff;

    padding: 40px;

    border-radius: 28px;

    box-shadow: var(--shadow);
}

.form-grid {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 18px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group.full {
    grid-column: 1 / -1;
}

label {
    display: block;

    font-size: 13px;

    font-weight: 700;

    color: var(--forest);

    margin-bottom: 7px;
}

input,
textarea {
    width: 100%;

    border: 1px solid #e1dfd7;

    background: #faf9f4;

    border-radius: 12px;

    padding: 15px 16px;

    outline: none;

    transition: 0.3s;
}

input:focus,
textarea:focus {
    border-color: var(--terracotta);

    background: #ffffff;

    box-shadow:
        0 0 0 4px rgba(201, 120, 85, 0.08);
}

textarea {
    min-height: 150px;

    resize: vertical;
}


/* =========================================================
   FOOTER
========================================================= */

footer {
    background: var(--forest-dark);

    color: #ffffff;

    padding: 70px 0 25px;
}

.footer-grid {
    display: grid;

    grid-template-columns: 1.5fr 1fr 1fr 1fr;

    gap: 50px;

    padding-bottom: 50px;
}

.footer-logo {
    color: #ffffff !important;
}

.footer-about {
    max-width: 350px;

    margin: 18px auto 0;

    color: rgba(255, 255, 255, 0.53);

    font-size: 14px;

    line-height: 1.7;

   text-align: justify;

}

footer h4 {
    margin-bottom: 18px;
}

.footer-links {
    list-style: none;

    margin: 0;
    padding: 0;
}

.footer-links li {
    margin: 9px 0;
}

.footer-links li:first-child {
    margin-top: 0;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.55);

    font-size: 14px;

    transition: 0.3s;
}

.footer-links a:hover {
    color: #ffffff;

    padding-left: 5px;
}

.footer-bottom {
    display: flex;

    justify-content: space-between;

    gap: 20px;

    border-top: 1px solid rgba(255, 255, 255, 0.1);

    padding-top: 22px;

    color: rgba(255, 255, 255, 0.4);

    font-size: 12px;
}


/* =========================================================
   FLOATING CONTACT BUTTON
========================================================= */

.float-btn {
    position: fixed;

    right: 25px;
    bottom: 25px;

    width: 58px;
    height: 58px;

    border-radius: 50%;

    background: var(--forest);

    color: #ffffff;

    display: grid;

    place-items: center;

    z-index: 999;

    font-size: 23px;

    box-shadow:
        0 15px 30px rgba(0, 0, 0, 0.2);

    transition: 0.3s;
}

.float-btn:hover {
    transform: scale(1.1);

    background: var(--terracotta);
}
.footer-logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-align: center;
}

.footer-logo-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-logo {
    margin: 0;
    text-align: center;
}

.footer-logo-container .logo-sub {
    display: block;
    margin-top: 5px;
    text-align: center;
}

/* =========================================================
   SCROLL REVEAL
========================================================= */

.reveal {
    opacity: 0;

    transform: translateY(35px);

    transition:
        opacity 0.8s ease,
        transform 0.8s ease;
}

.reveal.visible {
    opacity: 1;

    transform: translateY(0);
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 950px) {

    /* -----------------------------------------
       Navigation
    ----------------------------------------- */

    .nav-inner {
        gap: 15px;
    }

    .nav-links {
        position: absolute;

        top: calc(100% + 8px);

        left: 4%;

        width: 92%;

        display: none;

        flex-direction: column;

        align-items: stretch;

        gap: 4px;

        padding: 20px;

        background: rgba(255, 253, 247, 0.98);

        border: 1px solid var(--border);

        border-radius: 20px;

        box-shadow:
            0 20px 60px rgba(18, 55, 42, 0.15);

        backdrop-filter: blur(18px);

        -webkit-backdrop-filter: blur(18px);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        width: 100%;

        padding: 12px 14px;

        color: var(--forest) !important;

        font-size: 15px !important;

        justify-content: flex-start;
    }

    .nav-links a:hover {
        background: rgba(55, 107, 83, 0.07);

        color: var(--green) !important;
    }

    .nav-links a:not(.nav-btn)::after {
        left: 14px;

        right: auto;

        bottom: 5px;

        width: 30px;

        transform: scaleX(0);
    }

    .nav-links a:not(.nav-btn):hover::after {
        transform: scaleX(1);
    }

    .nav-btn {
        width: 100% !important;

        margin-top: 6px;

        justify-content: center !important;

        background: var(--forest) !important;

        border-color: var(--forest) !important;

        color: #ffffff !important;
    }

    .nav-btn:hover {
        background: var(--terracotta) !important;

        border-color: var(--terracotta) !important;

        color: #ffffff !important;
    }

    .menu-toggle {
        display: block;

        color: var(--forest);
    }

    .navbar:not(.scrolled) .menu-toggle {
        color: #ffffff;
    }


    /* -----------------------------------------
       Hero
    ----------------------------------------- */

    .hero {
        min-height: 760px;

        height: auto;

        max-height: none;
    }

    .hero-content {
        padding-top: 110px;

        padding-bottom: 170px;
    }

    .hero h1 {
        font-size: clamp(50px, 7vw, 72px);
    }

    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }


    /* -----------------------------------------
       Main grids
    ----------------------------------------- */

    .about-grid,
    .mission-grid,
    .fundraising-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .features {
        grid-template-columns: repeat(2, 1fr);
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .benefit-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .video-gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .video-wrapper {
        height: 250px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-item:nth-child(1),
    .gallery-item:nth-child(6) {
        grid-column: span 2;
    }


    /* -----------------------------------------
       CTA
    ----------------------------------------- */

    .cta-inner {
        flex-direction: column;

        align-items: flex-start;
    }


    /* -----------------------------------------
       Footer
    ----------------------------------------- */

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .container {
        width: 90%;
    }

    :root {
        --body-to-content: 40px;
    }


    /* -----------------------------------------
       Navigation
    ----------------------------------------- */

    .navbar {
        padding: 14px 0;
    }

    .navbar.scrolled {
        padding: 10px 0;
    }

    .logo {
        gap: 9px;
    }

    .logo-mark {
        width: 40px;
        height: 40px;

        font-size: 16px;
    }

    .logo-text {
        font-size: 22px;
    }

    .logo-sub {
        font-size: 7px;

        letter-spacing: 1.5px;
    }

    .menu-toggle {
        font-size: 26px;
    }


    /* -----------------------------------------
       Hero
    ----------------------------------------- */

    .hero {
        min-height: 780px;

        height: auto;

        max-height: none;

        align-items: center;

        background:
            linear-gradient(
                90deg,
                rgba(6, 34, 24, 0.97),
                rgba(6, 34, 24, 0.78)
            ),
            url("https://www.giveasyoulive.com/blog/wp-content/uploads/2023/09/Untitled-design-8.png")
            center / cover no-repeat;
    }

    .hero-content {
        width: 100%;

        padding-top: 100px;

        padding-bottom: 190px;
    }

    .hero .eyebrow {
        font-size: 10px;

        letter-spacing: 2px;

        gap: 7px;

        margin-bottom: 10px;
    }

    .hero .eyebrow::before {
        width: 25px;
    }

    .hero h1 {
        font-size: 48px;

        line-height: 1.05;

        margin-bottom: 20px;
    }

    .hero p {
        font-size: 14px;

        line-height: 1.7;

        margin-bottom: 28px;
    }


    /* -----------------------------------------
       Hero Buttons
    ----------------------------------------- */

    .hero-buttons {
        width: 100%;

        flex-direction: column;

        align-items: stretch;

        gap: 10px;
    }

    .hero-buttons .btn {
        width: 100%;
    }


    /* -----------------------------------------
       Hero Stats
    ----------------------------------------- */

    .hero-stats {
        grid-template-columns: 1fr 1fr;
    }

    .hero-stat {
        padding: 14px 10px;
    }

    .hero-stat strong {
        font-size: 20px;
    }

    .hero-stat span {
        font-size: 10px;
    }


    /* -----------------------------------------
       Sections
    ----------------------------------------- */

    section {
        padding: var(--section-y-mobile) 0;
    }

    .section-tag {
        font-size: 11px;

        letter-spacing: 2px;

        margin-bottom: 12px;
    }

    .section-title {
        font-size: 38px;

        line-height: 1.1;
    }

    .section-text {
        font-size: 14px;
    }


    /* -----------------------------------------
       About
    ----------------------------------------- */

    .about-images {
        min-height: 450px;
    }

    .about-main-image {
        width: 82%;

        height: 400px;
    }

    .about-small-image {
        width: 170px;
        height: 180px;

        border-width: 8px;
    }

    .experience-card {
        left: 10px;

        bottom: 20px;

        padding: 18px;
    }

    .experience-card strong {
        font-size: 27px;
    }


    /* -----------------------------------------
       Features / Product / Benefit grids
    ----------------------------------------- */

    .features,
    .product-grid,
    .benefit-grid {
        grid-template-columns: 1fr;
    }

    .product-card {
        min-height: 380px;
    }


    /* -----------------------------------------
       Mission
    ----------------------------------------- */

    .mission-box {
        padding: 30px;
    }

    .mission-box p {
        font-size: 21px;
    }


    /* -----------------------------------------
       Gallery
    ----------------------------------------- */

    .gallery-grid {
        grid-template-columns: 1fr;

        gap: 15px;
    }

    .gallery-item,
    .gallery-image img {
        min-height: 240px;
    }

    .gallery-item:nth-child(1),
    .gallery-item:nth-child(6) {
        grid-column: span 1;
    }


    /* -----------------------------------------
       Video Gallery
    ----------------------------------------- */

    .video-gallery-grid {
        grid-template-columns: 1fr;

        gap: 20px;
    }

    .video-wrapper {
        height: 240px;
    }

    .video-play-btn {
        width: 54px;
        height: 54px;
    }

    .video-card-overlay {
        padding: 45px 18px 16px;
    }

    .video-card-title {
        font-size: 17px;
    }


    /* -----------------------------------------
       Fundraising
    ----------------------------------------- */

    .fundraising-image {
        height: 400px;
    }

    .process-item {
        gap: 14px;
    }

    .process-number {
        width: 42px;
        height: 42px;

        font-size: 13px;
    }


    /* -----------------------------------------
       FAQ
    ----------------------------------------- */

    .faq-question {
        padding: 18px;

        font-size: 14px;
    }

    .faq-answer {
        padding: 0 18px;
    }

    .faq-question span {
        font-size: 21px;
    }


    /* -----------------------------------------
       CTA
    ----------------------------------------- */

    .cta {
        padding: 70px 0;
    }

    .cta h2 {
        font-size: 40px;
    }

    .cta p {
        font-size: 14px;
    }


    /* -----------------------------------------
       Contact
    ----------------------------------------- */

    .contact-form {
        padding: 25px;
    }

    .contact-info {
        padding: 28px;
    }

    .contact-info h3 {
        font-size: 30px;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-group.full {
        grid-column: auto;
    }


    /* -----------------------------------------
       Footer
    ----------------------------------------- */

    .footer-grid {
        grid-template-columns: 1fr;

        gap: 30px;
    }

    .footer-bottom {
        flex-direction: column;

        gap: 8px;
    }


    /* -----------------------------------------
       Floating Button
    ----------------------------------------- */

    .float-btn {
        width: 52px;
        height: 52px;

        right: 18px;
        bottom: 18px;

        font-size: 21px;
    }
}


/* =========================================================
   VERY SMALL DEVICES
========================================================= */

@media (max-width: 380px) {

    .hero {
        min-height: 760px;
    }

    .hero-content {
        padding-top: 95px;

        padding-bottom: 180px;
    }

    .hero h1 {
        font-size: 41px;
    }

    .hero-stat strong {
        font-size: 18px;
    }

    .hero-stat span {
        font-size: 9px;
    }

    .section-title {
        font-size: 34px;
    }

    .logo-text {
        font-size: 20px;
    }

    .logo-sub {
        font-size: px;
    }
}


/* =========================================================
   LANDSCAPE MOBILE
========================================================= */

@media (max-width: 900px) and (orientation: landscape) {

    .hero {
        min-height: 700px;

        height: auto;
    }

    .hero-content {
        padding-top: 100px;

        padding-bottom: 160px;
    }

    .hero h1 {
        font-size: 48px;
    }
}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;

        animation-iteration-count: 1 !important;

        transition-duration: 0.01ms !important;
    }
}