


:root {
    --primary: #005A35;
    --secondary: #087A45;
    --lightgreen: #59731c;
    --darkgreen: #003D26;
    --dark-green: #003D26;

    --light: #f8fafc;
    --white: #ffffff;
    --beige: #f6f6bc;
    --cream: #f5f8eb;

    --blue: #2877d2;
    --green: #25884f;
    --red: #cf382c;
    --brown: #795548;

    --gray: #64748b;
    --dark: #1e293b;
    --darkblue: #032e11;
    --text: #475569;
    --orange: #59731c;

    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}


html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

body {
    width: 100%;
    overflow-x: hidden;
    background: var(--white);
}

img {
    max-width: 100%;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}



/* =========================
TOP BAR
========================= */

.topbar {
    background: var(--darkgreen);
    color: var(--white);
    font-size: 14px;
}

.topbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 10px;
    padding-bottom: 10px;
}

.top-left {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.top-left span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.top-right {
    display: flex;
    gap: 20px;

}

.top-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.top-right a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border-radius: 50%;
    background: #ffffff;
    transition: 0.3s ease;
}

.top-right a i {
    font-size: 20px;
    color: #222;
    transition: 0.3s ease;
}

/* Hover Effect */
.top-right a:hover {
    transform: translateY(-3px);
}

.top-right a:hover i {
    color: #ffffff;
}

/* Instagram */
.top-right a:first-child:hover {
    background: #e1306c;
}

/* Facebook */
.top-right a:last-child:hover {
    background: #1877f2;
}

.top-right i {
    cursor: pointer;
}


/* =========================
   HEADER
========================= */

header {
    width: 100%;
    background: var(--white);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    padding-bottom: 15px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    width: 120px;
    height: auto;
}

nav {
    display: flex;
    align-items: center;
    gap: 25px;
}

nav a {
    text-decoration: none;
    color: var(--primary);
    font-size: 15px;
    font-weight: 500;
    position: relative;
    transition: 0.3s;
}

nav a:hover {
    color: var(--darkgreen);
}

nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0;
    height: 2px;
    background: var(--darkgreen);
    transition: 0.3s;
}

nav a:hover::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}


/* =========================
   BUTTON
========================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--darkgreen);
    color: var(--white);
    padding: 14px 28px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s ease;
}

.btn:hover {
    transform: translateY(-3px);
    background: var(--lightgreen);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}


/* =========================
   HERO
========================= */

.hero {
    position: relative;
    padding: 140px 20px 180px;
    background:
        linear-gradient(
            to right,
            rgba(0, 0, 0, 0.78),
            rgba(0, 0, 0, 0.45),
            rgba(0, 0, 0, 0.25)
        ),
        url("images/bg1.JPG") center center / cover no-repeat;
    overflow: hidden;
}

.hero .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(0, 0, 0, 0.65),
        rgba(0, 0, 0, 0.45),
        rgba(0, 0, 0, 0.25)
    );
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.hero-text {
    max-width: 650px;
}

.hero-tag {
    display: inline-block;
    background: var(--beige);
    color: var(--darkgreen);
    padding: 10px 18px;
    border-radius: 30px;
    margin-bottom: 20px;
    font-size: 14px;
}

.hero-text h1 {
    font-size: 2.5rem;
    line-height: 1.15;
    letter-spacing: -1px;
    color: var(--white);
}

.hero-text p {
    color: #f1f1f1;
    font-size: 16px;
    line-height: 1.8;
    margin: 20px 0 30px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}


/* =========================
   STATS
========================= */

.stats {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 25px;
    padding: 0 20px 60px;
    margin-top: -90px;
    position: relative;
    z-index: 5;
    flex-wrap: wrap;
}

.card {
    background: white;
    padding: 25px;
    border-radius: 20px;
    width: 250px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
    transition: 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
}

.card img {
    width: 100%;
    height: 180px;
    object-fit: contain;
    margin-bottom: 20px;
}

.card h2 {
    color: var(--primary);
    font-size: 24px;
}


/* =========================
   ABOUT
========================= */

.about {
    width: 100%;
    padding: 120px 20px;
    background: #f5f5f5;
}

.about-flex {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
}

.about-content {
    flex: 1;
    min-width: 300px;
}

.about-content p {
    color: var(--text);
    line-height: 1.8;
}

.about-img {
    flex: 1;
    min-width: 300px;
    position: relative;
}

.about-img img {
    width: 100%;
    display: block;
    border-radius: 10px;
}

.about-features {
    display: flex;
    gap: 25px;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #ddd;
}

.about-features .feature {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
}

.about-features .feature i {
    font-size: 30px;
    color: var(--darkgreen);
}

.about-features .feature span {
    font-weight: 600;
    color: var(--dark);
}

.experience {
    position: absolute;
    bottom: 30px;
    left: -30px;
    background: var(--darkgreen);
    color: var(--white);
    padding: 25px 30px;
    border-radius: 10px;
}

.experience h3 {
    font-size: 24px;
}


/* =========================
   FEATURES
========================= */

.features {
    width: 100%;
    background: transparent;
    margin-top: -80px;
    position: relative;
    z-index: 10;
    padding: 0 20px 100px;
}

.feature-flex {
    display: flex;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    gap: 0;
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.feature-card {
    flex: 1;
    text-align: center;
    padding: 35px 25px;
    background: var(--white);
    border-right: 1px solid #eee;
    transition: 0.3s;
}

.feature-card:last-child {
    border-right: none;
}

.feature-card:hover {
    background: #f9f9f9;
    transform: translateY(-5px);
}

.feature-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 10px;
    display: block;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 24px;
    color: var(--darkgreen);
    margin-bottom: 15px;
}

.feature-card p {
    color: var(--text);
    line-height: 1.7;
    margin-bottom: 25px;
}


/* =========================
   WHY CHOOSE
========================= */

.whyChooseSection {
    width: 100%;
    padding: 100px 20px;
    background: var(--beige);
    text-align: center;
}

.whyChooseSection > .heading,
.whyChooseSection > .sub {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.why-container {
    width: 100%;
    max-width: 1200px;
    margin: 60px auto 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
}

.column {
    flex: 1;
    min-width: 280px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.why-container .feature {
    display: flex;
    align-items: center;
    gap: 18px;
}

.featureleft {
    text-align: right;
    justify-content: flex-end;
}

.why-container .feature h3 {
    font-size: 17px;
    color: var(--primary);
}

.why-container .feature h2 {
    color: var(--darkgreen);
}

.icon {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    flex-shrink: 0;
}

.icon i {
    font-size: 28px;
    color: var(--darkgreen);
}

.center-image {
    flex: 0 1 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.center-image img {
    width: 100%;
    max-width: 300px;
    object-fit: contain;
}


/* =========================
   OUR BIRDS
========================= */

.favoritePhonesSection {
    width: 100%;
    padding: 120px 20px;
    background: var(--light);
}

.headingSection {
    text-align: center;
    margin-bottom: 50px;
}

.grid {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    justify-content: center;
}

.bird-card {
    width: 260px;
    background: var(--white);
    border-radius: 10px;
    padding: 20px;
    transition: 0.3s;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.bird-card:hover {
    transform: translateY(-8px);
}

.bird-card img {
    width: 100%;
    height: 180px;
    object-fit: contain;
}

.bird-card h3 {
    margin: 15px 0 10px;
    font-size: 18px;
}

.price {
    font-size: 14px;
    line-height: 1.8;
}


/* =========================
   BANNER
========================= */

.banner {
    width: 100%;
    display: flex;
    min-height: 400px;
}

.banner-left,
.banner-right {
    flex: 1;
}

.banner-left {
    padding: 60px 8%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(to right, #eae7df, #f5f5f5);
}

.banner-left h1 {
    font-size: 46px;
    font-weight: 900;
    color: #2c3e2f;
    line-height: 1.3;
}

.banner-left p {
    margin: 20px 0;
    color: #555;
    font-size: 14px;
    line-height: 1.7;
}

.highlight {
    display: inline-block;
    background: var(--secondary);
    padding: 5px 15px;
    border-radius: 10px;
    color: var(--white);
}

.banner-right {
    background: url("images/ngo.JPG") center / cover no-repeat;
}


/* =========================
   TESTIMONIALS
========================= */

.testimonialSection {
    width: 100%;
    padding: 120px 20px;
    background: var(--secondary);
}

.testimonialSection .heading {
    color: var(--white);
    text-align: center;
    margin-bottom: 50px;
}

.slider {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    overflow: hidden;
}

.slide-track {
    display: flex;
    transition: transform 0.5s ease;
}

.slide {
    min-width: 100%;
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.slideCard {
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 20px;
    width: 100%;
    max-width: 500px;
    padding: 20px;
}

.slideCard img {
    width: 120px;
    height: 150px;
    object-fit: cover;
    border-radius: 10px;
}

.content {
    text-align: left;
    font-size: 14px;
    color: black;
}

.content p {
    margin-bottom: 10px;
}

.stars {
    color: gold;
    margin-bottom: 5px;
}

.name {
    font-weight: 600;
}


/* =========================
   CONTACT
========================= */

.contactSection {
    width: 100%;
    padding: 100px 20px;
    background: #f8fafc;
    text-align: center;
}

.contact-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-form {
    width: 100%;
    max-width: 550px;
    background: var(--white);
    padding: 30px;
    border-radius: 18px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    outline: none;
    font-size: 14px;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--darkgreen);
}

.contact-form button {
    width: 100%;
}


/* =========================
   WHATSAPP
========================= */

.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background: #25d366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    text-decoration: none;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* FOOTER */
.footer {
    width: 100%;
    background: url("../images/bg1.JPG") center/cover no-repeat;
    padding: 60px 20px 0;
    color: var(--white);
    position: relative;
    isolation: isolate;
    box-sizing: border-box;
}

.footer::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.78);
    z-index: -1;
}

.footer-container {
    width: 100%;
    max-width: 1100px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    flex-wrap: wrap;
}

.footer-left {
    flex: 1 1 280px;
    max-width: 350px;
}

.footerLogo {
    margin-bottom: 15px;
}

.footerLogo img {
    width: 120px;
    height: auto;
    display: block;
}

.desc {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 20px;
    opacity: 0.85;
}

.social {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.social h4,
.footer-links h4,
.footer-contacts h4 {
    margin: 0 0 15px;
    font-size: 16px;
}

.social-icons {
    display: flex;
    gap: 10px;
}

.social-icons a {
    width: 38px;
    height: 38px;
    border: 1px solid var(--white);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    font-size: 21px;
    transition: 0.3s ease;
}

.social-icons a:hover {
    background: var(--darkgreen);
    transform: translateY(-3px);
}

.footer-links {
    flex: 1 1 140px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    font-size: 14px;
    opacity: 0.85;
    transition: 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
    padding-left: 5px;
}

.footer-contacts {
    flex: 1 1 240px;
    min-width: 0;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.contact-info > span {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    line-height: 1.6;
    overflow-wrap: anywhere;
}

.contact-info i {
    font-size: 19px;
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-info a {
    color: var(--white);
    text-decoration: none;
    overflow-wrap: anywhere;
}

.contact-info a:hover {
    text-decoration: underline;
}

.copyright {
    width: 100%;
    box-sizing: border-box;
    text-align: center;
    padding: 40px 60px 20px 0;
    font-size: 13px;
    line-height: 1.6;
    opacity: 0.8;
}

.footer-scroll {
    position: absolute;
    bottom: 20px;
    right: 25px;
    width: 45px;
    height: 45px;
    background: var(--darkgreen);
    border-radius: 10px;
}

.footer-scroll a {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    font-size: 28px;
}

/* TABLETS */
@media (max-width: 768px) {
    .footer {
        padding: 45px 20px 0;
    }

    .footer-container {
        justify-content: flex-start;
        gap: 35px;
    }

    .footer-left {
        flex: 1 1 100%;
        max-width: 100%;
    }

    .footer-links {
        flex: 1 1 150px;
    }

    .footer-contacts {
        flex: 1 1 220px;
    }
}

/* MOBILE PHONES */
@media (max-width: 480px) {
    .footer {
        padding: 40px 15px 0;
    }

    .footer-container {
        flex-direction: column;
        gap: 30px;
    }

    .footer-left,
    .footer-links,
    .footer-contacts {
        width: 100%;
        max-width: 100%;
        flex: none;
    }

    .social {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .copyright {
        padding: 35px 40px 20px 0;
        font-size: 12px;
    }

    .footer-scroll {
        right: 12px;
        bottom: 15px;
        width: 38px;
        height: 38px;
    }
}


#scrollTop {
    color: var(--white);
    text-decoration: none;
}


/* =========================
   MOBILE
========================= */

@media (max-width: 992px) {

    header .container {
        padding-left: 20px;
        padding-right: 20px;
    }

    nav {
        gap: 15px;
    }

    .about-flex {
        flex-direction: column;
    }

    .about-content,
    .about-img {
        width: 100%;
    }

    .experience {
        left: 20px;
    }

    .why-container {
        flex-direction: column;
    }

    .column {
        width: 100%;
    }

    .center-image {
        order: -1;
    }

    .feature-flex {
        flex-direction: column;
    }

    .feature-card {
        border-right: none;
        border-bottom: 1px solid #eee;
    }

    .feature-card:last-child {
        border-bottom: none;
    }

    .banner {
        flex-direction: column;
    }

    .banner-left,
    .banner-right {
        width: 100%;
    }

    .banner-right {
        min-height: 350px;
    }
}


@media (max-width: 768px) {

    .topbar .container {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .top-left {
        justify-content: center;
    }

    header .container {
        justify-content: center;
        gap: 20px;
    }

    nav {
        justify-content: center;
        width: 100%;
    }

    .header-actions {
        justify-content: center;
    }

    .hero {
        padding: 100px 20px 150px;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .stats {
        margin-top: -60px;
    }

    .about {
        padding: 80px 20px;
    }

    .about-features {
        flex-direction: column;
    }

    .banner-left {
        padding: 50px 30px;
    }

    .banner-left h1 {
        font-size: 35px;
    }

    .slideCard {
        max-width: 100%;
    }

    .footer-container {
        flex-direction: column;
    }

    .footer-scroll {
        right: 20px;
    }
}


@media (max-width: 480px) {

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .card {
        width: 100%;
        max-width: 300px;
    }

    .bird-card {
        width: 100%;
        max-width: 320px;
    }

    .slideCard {
        flex-direction: column;
        text-align: center;
    }

    .slideCard img {
        width: 100%;
        max-width: 180px;
    }

    .content {
        text-align: center;
    }

    .footer {
        padding-left: 20px;
        padding-right: 20px;
    }
}

/*IMPACT SECTION*/

.impact-section {
    background: linear-gradient(
        135deg,
        #e7f7d9 0%,
        #e1f4d4 55%,
        #e8f7dc 100%
    );
    padding: 12px 2.8% 14px;
}

.page-header {
    text-align: center;
    margin-bottom: 12px;
}

.page-header h1 {
    font-size: clamp(20px, 2.7vw, 34px);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.8px;
}

.page-header p {
    margin-top: 4px;
    font-size: clamp(10px, 1.15vw, 14px);
    color: #343b35;
}


/* =========================
   STATISTICS GRID
========================= */

.stats-grid {
    display: grid;
    grid-template-columns:
        1.05fr
        1.05fr
        1fr
        1fr
        1fr
        1.25fr;
    gap: 9px;
    margin-bottom: 14px;
}

.stat-card {
    background: #ffffff;
    border-radius: 9px;
    padding: 10px 11px;
    min-width: 0;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    
    justify-content: flex-start;
    min-height: 143px;
    border: 1px solid rgba(255, 255, 255, 0.9);
}

.stat-icon {
    font-size: 34px;
    margin-bottom: 2px;
    line-height: 1;
}

.blue {
    color: var(--blue);
}

.green {
    color: var(--green);
}

.red {
    color: var(--red);
}

.brown {
    color: var(--brown);
}

.stat-card h2 {
    font-size: clamp(23px, 3vw, 35px);
    color: var(--darkblue);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -1px;
    white-space: nowrap;
}

.stat-card h2 small {
    font-size: clamp(10px, 1vw, 13px);
    letter-spacing: 0;
    font-weight: 700;
}

.stat-card h3 {
    font-size: clamp(14px, 1.45vw, 19px);
    line-height: 1.15;
    font-weight: 800;
    margin: 4px 0 5px;
}

.stat-card p {
    font-size: clamp(9px, 0.95vw, 11px);
    color: #1f2722;
    margin-top: 2px;
}

.stat-note {
    font-size: clamp(9px, 0.9vw, 11px);
    margin-top: auto;
    padding-top: 6px;
    color: #27342b;
}

.school-stat .stat-icon {
    font-size: 31px;
}


/* =========================
   MIDDLE SECTION
========================= */

.middle-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.content-card {
    background: #ffffff;
    border-radius: 8px;
    padding: 10px 15px;

    box-shadow: var(--shadow);

    min-width: 0;
    min-height: 170px;
}

.content-card h2 {
    font-size: clamp(19px, 2.2vw, 25px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.5px;
}


/* =========================
   IMPACT FORMULA
========================= */

.formula-card {
    border-left: 6px solid var(--blue);
}

.formula-item {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-top: 9px;
}

.formula-icon {
    font-size: 38px;
    min-width: 32px;
}

.formula-item h3 {
    font-size: clamp(12px, 1.25vw, 15px);
    line-height: 1.3;
    font-weight: 700;
}

.formula-item p {
    font-size: clamp(10px, 1vw, 12px);
    color: #313832;
    margin-top: 2px;
}

.formula-footnote {
    font-size: 10px;
    margin-top: 12px;
    color: #454a45;
}


/* =========================
   CIRCULAR ECONOMY CHART
========================= */

.chart-card {
    border-left: 6px solid var(--green);
}

.chart-subtitle {
    font-size: 11px;
    margin-top: 2px;
    margin-bottom: 6px;
    color: #353b36;
}

.chart-container {
    display: flex;
    height: 88px;
    gap: 8px;
    padding-right: 2px;
}

.y-axis {
    width: 27px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    text-align: right;
    font-size: 10px;
    color: #333b35;

    padding-bottom: 1px;
}

.chart-main {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.chart-plot {
    flex: 1;
    position: relative;
    min-height: 0;
}

.grid-line {
    position: absolute;
    left: 0;
    right: 0;

    height: 1px;
    background: #e5e9e5;
}

.grid-line:nth-child(1) {
    top: 0;
}

.grid-line:nth-child(2) {
    top: 25%;
}

.grid-line:nth-child(3) {
    top: 50%;
}

.grid-line:nth-child(4) {
    top: 75%;
}

.grid-line:nth-child(5) {
    top: 100%;
}

.line-chart {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    overflow: visible;
}

.line-chart polyline {
    fill: none;
    stroke-width: 2.4;
    vector-effect: non-scaling-stroke;
}

.water-line {
    stroke: #2877d2;
}

.flock-line {
    stroke: #25884f;
}

.line-chart circle {
    fill: #2877d2;
}

.line-chart circle.green-point {
    fill: #25884f;
}

.x-axis {
    display: flex;
    justify-content: space-between;

    font-size: 10px;
    padding-top: 3px;
    color: #333b35;
}

.chart-legend {
    display: flex;
    justify-content: center;
    align-items: center;

    gap: 18px;
    margin-top: 6px;

    font-size: 11px;
}

.chart-legend span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.legend-line {
    width: 23px;
    height: 2px;
    display: inline-block;
    position: relative;
}

.legend-line::after {
    content: "";
    position: absolute;

    width: 6px;
    height: 6px;

    left: 8px;
    top: -2px;

    border-radius: 50%;
}

.water-legend {
    background: #2877d2;
}

.water-legend::after {
    background: #2877d2;
}

.flock-legend {
    background: #25884f;
}

.flock-legend::after {
    background: #25884f;
}


/* =========================
   BEFORE AND AFTER SECTION
========================= */

.comparison-section {
    background: #fffaf0;
    padding: 0 2.8% 15px;
}

.comparison-title {
    text-align: center;

    font-size: clamp(21px, 2.5vw, 29px);
    font-weight: 800;

    letter-spacing: -0.5px;

    padding: 2px 0 5px;
}

.bottom-grid {
    display: grid;

    grid-template-columns:
        0.95fr
        1.2fr
        2.1fr;

    gap: 10px;
    align-items: stretch;
}


/* =========================
   COMPARISON CARDS
========================= */

.comparison-card {
    padding: 10px 13px;
    border-radius: 8px;
    border: 1px solid;

    min-width: 0;
}

.traditional {
    background: #fff5ef;
    border-color: #e8d7cd;
}

.ichifama {
    background: #f5faef;
    border-color: #6caf7b;
}

.comparison-heading {
    display: flex;
    align-items: center;
    gap: 7px;
}

.comparison-heading i {
    font-size: 29px;
    line-height: 1;
}

.traditional .comparison-heading i {
    color: #cf382c;
}

.ichifama .comparison-heading i {
    color: #259251;
}

.comparison-heading h3 {
    font-size: clamp(15px, 1.5vw, 19px);
    font-weight: 800;
}

.comparison-card > h2 {
    font-size: clamp(29px, 3.4vw, 39px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1px;

    margin: 2px 0 7px;
}

.traditional > h2 {
    color: #ce382d;
}

.ichifama > h2 {
    color: #111d18;
}

.comparison-card ul {
    list-style: none;
}

.comparison-card li {
    position: relative;
    padding-left: 14px;

    font-size: clamp(9px, 0.95vw, 11px);
    line-height: 1.6;
    margin-bottom: 2px;
}

.comparison-card li::before {
    content: "";

    position: absolute;
    left: 0;
    top: 7px;

    width: 6px;
    height: 6px;

    border-radius: 50%;
}

.traditional li::before {
    background: #cf382c;
}

.ichifama li::before {
    background: #29945a;
}


/* =========================
   SDG SECTION
========================= */

.sdg-card {
    background: #e7f5d8;
    border: 1px solid #d8eac8;
    border-radius: 8px;

    padding: 8px 9px;
    min-width: 0;
}

.sdg-card > h3 {
    text-align: center;

    font-size: clamp(13px, 1.4vw, 17px);
    font-weight: 800;

    margin-bottom: 5px;
}

.sdg-content {
    display: grid;

    grid-template-columns: 1.65fr 0.8fr 0.9fr 0.8fr;

    background: #ffffff;
    border-radius: 7px;

    padding: 8px 5px;
    align-items: center;

    min-height: 111px;
}

.testimonial {
    padding: 3px 8px;
    border-right: 1px solid #e0e0e0;
}

.testimonial p {
    font-size: clamp(8px, 0.8vw, 10px);
    font-style: italic;
    line-height: 1.5;
}

.testimonial span {
    display: block;

    font-size: clamp(8px, 0.75vw, 9px);
    line-height: 1.4;

    margin-top: 5px;
}

.sdg-item {
    text-align: center;
    padding: 0 3px;
    min-width: 0;
}

.sdg-icon {
    width: 43px;
    height: 43px;

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    margin: 0 auto 4px;
}

.sdg-icon i {
    font-size: 27px;
    color: #ffffff;
}

.sdg-blue {
    background: #2679dc;
}

.sdg-yellow {
    background: #d6a72d;
}

.sdg-green {
    background: #16874c;
}

.sdg-item h4 {
    font-size: clamp(11px, 1.1vw, 14px);
    font-weight: 800;
    line-height: 1.2;
}

.sdg-item:nth-child(2) h4 {
    color: #2874cb;
}

.sdg-item:nth-child(3) h4 {
    color: #b98b15;
}

.sdg-item:nth-child(4) h4 {
    color: #16874c;
}

.sdg-item p {
    font-size: clamp(8px, 0.8vw, 10px);
    line-height: 1.4;
    margin-top: 3px;
}

.sdg-item > span {
    display: block;
    font-size: 8px;
    margin-top: 3px;
}



/* =========================================
   TOP MODEL SECTION
========================================= */

.model-section {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px 2.8% 25px;
    background: var(--cream);
    border-bottom: 2px solid #c6dfac;
    overflow: hidden;
}

.header {
    text-align: center;
    max-width: 950px;
    margin: 0 auto 15px;
}

.header h1 {
    color: var(--dark-green);
    font-size: clamp(23px, 2.8vw, 33px);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.8px;
    margin-bottom: 5px;
}

.header h2 {
    color: var(--dark-green);
    font-size: clamp(20px, 2.5vw, 29px);
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: -0.6px;
    margin-bottom: 5px;
}

.header p {
    max-width: 760px;
    margin: 5px auto 0;
    color: #3d443e;
    font-size: clamp(10px, 1.2vw, 13px);
    line-height: 1.6;
}


/* =========================================
   MODEL LABEL
========================================= */

.model-section .model-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: fit-content;
    max-width: 100%;
    margin: 0 auto 25px;
    padding: 10px 18px;
    border: 1px solid #c8e2ff;
    border-radius: 50px;
    background: #e7f3ff;
    color: #2388ed;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-align: center;
}

.model-section .model-label i {
    font-size: 22px;
    color: #2388ed;
}


/* =========================================
   5-STEP CIRCULAR MODEL
========================================= */

.model-section .circular-model {
    position: relative;
    width: 100%;
    max-width: 820px;
    height: 440px;
    margin: 0 auto;
    box-sizing: border-box;
    isolation: isolate;
}


/* Circular arrows */

.model-section .cycle-arrows {
    position: absolute;
    display: block;
    width: 440px;
    height: 210px;
    max-width: 100%;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    overflow: visible;
    z-index: -1;
    pointer-events: none;
}

.model-section .cycle-arrows path {
    fill: none;
    stroke: #2388ed;
    stroke-width: 4;
    stroke-linecap: round;
    stroke-linejoin: round;
}


/* =========================================
   MODEL STEPS
========================================= */

.model-section .step {
    position: absolute;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 12px;
    width: 255px;
    max-width: 35%;
    margin: 0;
    padding: 12px;
    box-sizing: border-box;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.07);
    transition: box-shadow 0.25s ease;
}

.model-section .step:hover {
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.12);
}

.model-section .step-text {
    flex: 1;
    min-width: 0;
}

.model-section .step-text h3 {
    margin: 0 0 6px;
    color: #173b2b;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.model-section .step-text p {
    margin: 3px 0;
    color: #52616b;
    font-size: 12px;
    line-height: 1.5;
    overflow-wrap: anywhere;
}


/* Step icons */

.model-section .step-icon {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 24px;
}

.model-section .step-icon i {
    font-size: 25px;
}

.model-section .water-icon {
    color: #1686e8;
    background: #e5f3ff;
}

.model-section .flock-icon {
    color: #29924a;
    background: #e8f7eb;
}

.model-section .shield-icon {
    color: #7652c8;
    background: #f0eaff;
}

.model-section .saving-icon {
    position: relative;
    color: #0c9a91;
    background: #e1f8f5;
}

.model-section .recycle-icon {
    color: #dc8b18;
    background: #fff3d9;
}

.model-section .second-drop {
    margin-left: -8px;
    font-size: 17px !important;
}


/* Step 1: Water Captured */

.model-section .step-one {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    flex-direction: column-reverse;
    gap: 5px;
    max-width: 290px;
    width: 290px;
    text-align: center;
    align-items: center;
}

.model-section .step-one .step-icon {
    width: 52px;
    height: 52px;
    flex-basis: 52px;
}


/* Step 2: Flock Grown */

.model-section .step-two {
    top: 105px;
    right: 0;
}


/* Step 3: Flock Saved */

.model-section .step-three {
    right: 0;
    bottom: 20px;
}


/* Step 4: Water Saved */

.model-section .step-four {
    left: 0;
    bottom: 20px;
    flex-direction: row-reverse;
    text-align: right;
}


/* Step 5: Waste Transformed */

.model-section .step-five {
    top: 105px;
    left: 0;
    flex-direction: row-reverse;
    text-align: right;
}


/* =========================================
   CENTER CIRCLE
========================================= */

.model-section .cycle-center {
    position: absolute;
    z-index: 3;
    top: 50%;
    left: 50%;
    right: auto;
    bottom: auto;
    transform: translate(-50%, -50%);

    width: 104px;
    height: 104px;
    margin: 0;
    padding: 10px;
    box-sizing: border-box;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    border: 4px solid #237447;
    border-radius: 50%;
    background: #f6faeb;
    text-align: center;
    box-shadow: 0 0 0 5px rgba(35, 116, 71, 0.08);
}

.model-section .cycle-center i {
    margin-bottom: 4px;
    color: #237447;
    font-size: 25px;
    line-height: 1;
}

.model-section .cycle-center h3 {
    margin: 0;
    color: #174c31;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.4;
    letter-spacing: 0.5px;
}


/* =========================================
   LOWER CONTENT
========================================= */

.details-section {
    padding: 25px 2.8% 35px;
    background: #ffffff;
}

.lower-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
    gap: 20px;
    align-items: start;
    max-width: 1450px;
    margin: 0 auto;
}

.technical-section,
.breeds-section {
    min-width: 0;
}


/* =========================================
   SECTION HEADINGS
========================================= */

.section-heading,
.breeds-heading {
    display: flex;
    align-items: center;
    gap: 7px;
    color: var(--dark-green);
    font-size: clamp(15px, 1.6vw, 19px);
    font-weight: 800;
    line-height: 1.4;
    margin-bottom: 12px;
}

.section-heading i {
    flex-shrink: 0;
    font-size: 25px;
    color: #244a3b;
}

.breeds-heading {
    margin-bottom: 15px;
}


/* =========================================
   SPECIFICATION TABLE
========================================= */

.table-wrapper {
    width: 100%;
    overflow-x: auto;
    border: 1px solid #cbdcc5;
    border-radius: 9px;
    background: #ffffff;
    -webkit-overflow-scrolling: touch;
}

.spec-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    font-size: clamp(9px, 0.85vw, 11px);
}

.spec-table th {
    background: #08734b;
    color: #ffffff;
    text-align: left;
    padding: 10px 8px;
    font-size: clamp(10px, 1vw, 12px);
    font-weight: 700;
    line-height: 1.4;
}

.spec-table th:nth-child(1) {
    width: 22%;
}

.spec-table th:nth-child(2) {
    width: 40%;
}

.spec-table th:nth-child(3) {
    width: 38%;
}

.spec-table td {
    padding: 9px 7px;
    vertical-align: middle;
    border-bottom: 1px solid #e4e4d5;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.spec-table tbody tr:last-child td {
    border-bottom: none;
}

.spec-table tbody tr:nth-child(odd) {
    background: #fff8e8;
}

.spec-table tbody tr:nth-child(even) {
    background: #fffdf3;
}

.spec-table tbody tr:hover {
    background: #f0f7e8;
}


/* Component icons */

.component {
    display: flex;
    align-items: center;
    gap: 6px;
}

.component i {
    flex-shrink: 0;
    font-size: 19px;
    color: #345b43;
}

.component strong {
    font-size: clamp(9px, 0.95vw, 11px);
    font-weight: 800;
}


/* Water impact column */

.impact-cell {
    background: #eef5ff;
    color: #164f9b;
    font-size: clamp(9px, 0.82vw, 11px);
    font-weight: 500;
}

.spec-table .impact-cell {
    background: #eef5ff;
}

.impact-cell i {
    font-size: 19px;
    color: #235dba;
    float: left;
    margin-right: 5px;
    margin-bottom: 3px;
}

.impact-cell strong {
    font-weight: 700;
    color: #164f9b;
}


/* =========================================
   WATER SAVING FORMULA
========================================= */

.formula-banner {
    background: #e5f2ff;
    border: 1px solid #a9caef;
    border-radius: 9px;
    padding: 14px;
    margin-top: 12px;
}

.formula-banner h3 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    text-align: center;
    font-size: clamp(13px, 1.4vw, 16px);
    font-weight: 800;
    color: #164d96;
    line-height: 1.5;
    margin-bottom: 10px;
}

.formula-banner h3 i {
    flex-shrink: 0;
    font-size: 20px;
}

.formula-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 12px;
}

.formula-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    min-width: 0;
}

.formula-icon {
    flex-shrink: 0;
    color: #2075d6;
    font-size: 30px;
}

.formula-item strong {
    display: block;
    font-size: clamp(10px, 0.95vw, 12px);
    line-height: 1.5;
    margin-bottom: 4px;
    color: #164d96;
}

.formula-item p {
    font-size: clamp(9px, 0.8vw, 10px);
    line-height: 1.5;
    color: #334a63;
}


/* =========================================
   POULTRY BREEDS
========================================= */

.breeds-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.breed-card {
    min-width: 0;
    padding: 15px 12px;
    background: #fff9e9;
    border: 1px solid #e3dfc6;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.breed-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(7, 60, 43, 0.09);
}

.breed-icon {
    display: block;
    font-size: 30px;
    line-height: 1.2;
    color: #344f40;
    margin-bottom: 8px;
}

.breed-card h3 {
    font-size: clamp(13px, 1.35vw, 16px);
    font-weight: 800;
    line-height: 1.4;
    color: var(--dark-green);
    margin-bottom: 6px;
}

.breed-badge {
    display: inline-block;
    max-width: 100%;
    padding: 5px 8px;
    margin: 3px 0 8px;
    border-radius: 15px;
    background: #dff0ce;
    color: #254b29;
    font-size: clamp(8px, 0.8vw, 10px);
    font-weight: 700;
    line-height: 1.5;
}

.breed-card ul {
    margin-top: 8px;
    padding-left: 15px;
    text-align: left;
}

.breed-card li {
    font-size: clamp(9px, 0.9vw, 11px);
    line-height: 1.6;
    margin-bottom: 6px;
    color: #405347;
}

.breed-card li:last-child {
    margin-bottom: 0;
}


/* =========================================
   RESILIENCE BANNER
========================================= */

.resilience-banner {
    position: relative;
    margin-top: 15px;
    padding: 20px 18px;
    border-radius: 12px;
    background: #08724b;
    color: #ffffff;
    text-align: center;
    overflow: hidden;
}

.resilience-banner h3 {
    font-size: clamp(13px, 1.4vw, 16px);
    font-weight: 800;
    line-height: 1.5;
    margin-bottom: 8px;
}

.resilience-banner p {
    font-size: clamp(10px, 0.95vw, 12px);
    line-height: 1.7;
    color: #f0fff5;
}


/* =========================================
   TABLET RESPONSIVENESS
========================================= */

@media (max-width: 850px) {

    .model-section {
        padding: 20px 15px 25px;
    }

    .model-section .circular-model {
        max-width: 680px;
        height: 440px;
    }

    .model-section .step {
        width: 235px;
        max-width: 35%;
        gap: 8px;
        padding: 9px;
    }

    .model-section .step-one {
        width: 250px;
        max-width: 250px;
    }

    .model-section .step-text h3 {
        font-size: 13px;
    }

    .model-section .step-text p {
        font-size: 10px;
    }

    .model-section .step-icon {
        flex-basis: 40px;
        width: 40px;
        height: 40px;
    }

    .model-section .step-one .step-icon {
        flex-basis: 48px;
        width: 48px;
        height: 48px;
    }

    .lower-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 30px;
    }

    .section-heading,
    .breeds-heading {
        font-size: 18px;
    }

    .spec-table {
        font-size: 11px;
    }

    .spec-table th {
        font-size: 12px;
    }

    .component strong {
        font-size: 11px;
    }

    .impact-cell {
        font-size: 10px;
    }

    .formula-item strong {
        font-size: 11px;
    }

    .formula-item p {
        font-size: 10px;
    }

    .breed-card h3 {
        font-size: 16px;
    }

    .breed-card li {
        font-size: 11px;
    }
}


/* =========================================
   MOBILE RESPONSIVENESS
========================================= */

@media (max-width: 600px) {

    .model-section {
        padding: 18px 12px 22px;
    }

    .header {
        margin-bottom: 12px;
    }

    .header h1 {
        font-size: 26px;
    }

    .header h2 {
        font-size: 21px;
        line-height: 1.35;
    }

    .header p {
        font-size: 11px;
        line-height: 1.6;
        margin-top: 7px;
    }

    .model-section .model-label {
        margin-top: 12px;
        margin-bottom: 15px;
        padding: 9px 14px;
        font-size: 11px;
        letter-spacing: 1px;
    }

    /* Stack steps on mobile */

    .model-section .circular-model {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        height: auto;
        max-width: 440px;
        padding: 5px 0;
    }

    .model-section .cycle-arrows {
        display: none;
    }

    .model-section .step,
    .model-section .step-one,
    .model-section .step-two,
    .model-section .step-three,
    .model-section .step-four,
    .model-section .step-five {
        position: relative;
        inset: auto;
        transform: none;
        width: 100%;
        max-width: 100%;
        min-height: 76px;
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 12px;
        padding: 12px;
        text-align: left;
    }

    .model-section .step-one .step-text {
        order: 2;
    }

    .model-section .step-one .step-icon {
        order: 1;
        flex: 0 0 48px;
        width: 48px;
        height: 48px;
    }

    .model-section .step-text h3 {
        font-size: 14px;
        white-space: normal;
    }

    .model-section .step-text p {
        font-size: 11px;
        line-height: 1.5;
    }

    .model-section .step-icon {
        flex: 0 0 44px;
        width: 44px;
        height: 44px;
    }

    /* Center circle remains centered on mobile */

    .model-section .cycle-center {
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        bottom: auto;
        transform: none;
        flex-shrink: 0;
        width: 104px;
        height: 104px;
        margin: 8px auto 0;
    }

    .details-section {
        padding: 20px 12px 25px;
    }

    .lower-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 25px;
    }

    .section-heading {
        font-size: 17px;
        margin-bottom: 10px;
    }

    /* Scroll table instead of squeezing columns */

    .table-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .spec-table {
        min-width: 490px;
        font-size: 10px;
    }

    .spec-table th {
        padding: 8px;
        font-size: 11px;
    }

    .spec-table td {
        padding: 7px;
        line-height: 1.5;
    }

    .component strong {
        font-size: 10px;
    }

    .impact-cell {
        font-size: 10px;
    }

    .formula-banner {
        padding: 12px;
        margin-top: 12px;
    }

    .formula-banner h3 {
        font-size: 14px;
    }

    .formula-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 15px;
        margin-top: 10px;
    }

    .formula-item strong {
        font-size: 12px;
    }

    .formula-item p {
        font-size: 10px;
        line-height: 1.6;
    }

    .breeds-heading {
        font-size: 17px;
        margin: 0 0 12px;
        line-height: 1.5;
        justify-content: center;
        text-align: center;
    }

    .breeds-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
    }

    .breed-card {
        padding: 16px;
    }

    .breed-icon {
        font-size: 34px;
        margin-bottom: 6px;
    }

    .breed-card h3 {
        font-size: 17px;
    }

    .breed-badge {
        font-size: 10px;
        margin-top: 5px;
    }

    .breed-card ul {
        max-width: 300px;
        margin: 12px auto 0;
    }

    .breed-card li {
        font-size: 12px;
        line-height: 1.7;
    }

    .resilience-banner {
        padding: 16px;
    }

    .resilience-banner h3 {
        font-size: 15px;
    }

    .resilience-banner p {
        font-size: 11px;
        line-height: 1.7;
    }
}


/* =========================================
   EXTRA SMALL PHONES
========================================= */

@media (max-width: 350px) {

    .model-section {
        padding-right: 10px;
        padding-left: 10px;
    }

    .header h1 {
        font-size: 23px;
    }

    .header h2 {
        font-size: 19px;
    }

    .model-section .step {
        gap: 8px;
        padding: 9px;
    }

    .model-section .step-text h3 {
        font-size: 12px;
    }

    .model-section .step-text p {
        font-size: 10px;
    }

    .model-section .step-icon {
        flex-basis: 38px;
        width: 38px;
        height: 38px;
    }

    .formula-banner h3 {
        font-size: 13px;
    }
}


/* =========================================
   ACCESSIBILITY
========================================= */

@media (prefers-reduced-motion: reduce) {

    .model-section .step,
    .breed-card {
        transition: none;
    }

}


/* ==================================================
   ICHAFAMA RESPONSIVE FIXES
   Append to the END of style.css
================================================== */

/* Global safeguards */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    width: 100%;
    overflow-x: clip;
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    width: 100%;
    max-width: 100%;
    margin: 0;
    overflow-x: clip;
}

img,
svg,
video,
iframe {
    max-width: 100%;
}

img {
    height: auto;
}

button,
input,
textarea,
select {
    max-width: 100%;
    font: inherit;
}

section {
    min-width: 0;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin-inline: auto;
    padding-inline: clamp(12px, 3vw, 24px);
}

/* Fix broken heading and paragraph sizing */
.heading,
.page-header h1,
.header h1,
.header h2 {
    overflow-wrap: anywhere;
}

p {
    overflow-wrap: break-word;
}

/* =========================
   HEADER AND NAVIGATION
========================= */

header {
    position: relative;
    z-index: 1000;
}

header .container {
    min-height: 82px;
    gap: 20px;
}

.logo,
.logo img {
    flex-shrink: 0;
}

.logo img {
    display: block;
    width: clamp(90px, 10vw, 120px);
    height: auto;
}

nav {
    min-width: 0;
    flex-wrap: wrap;
    gap: clamp(12px, 2vw, 25px);
}

nav a {
    white-space: nowrap;
}

.header-actions {
    flex-shrink: 0;
}

.menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 8px;
    background: var(--darkgreen);
    color: white;
    font-size: 30px;
    cursor: pointer;
}

.topbar .container {
    gap: 12px;
}

.top-left {
    min-width: 0;
}

.top-left span {
    overflow-wrap: anywhere;
}

/* =========================
   GENERAL SECTION SPACING
========================= */

.about,
.whyChooseSection,
.favoritePhonesSection,
.testimonialSection,
.contactSection {
    padding-block: clamp(45px, 7vw, 100px);
}

.page-header,
.headingSection {
    padding-inline: 5px;
}

.hero {
    padding-block: clamp(75px, 11vw, 140px)
                   clamp(100px, 13vw, 180px);
}

.hero-text {
    width: 100%;
    max-width: 700px;
}

.hero-text h1 {
    font-size: clamp(28px, 4vw, 48px);
    overflow-wrap: anywhere;
}

.hero-buttons {
    align-items: stretch;
}

.hero-buttons .btn {
    min-height: 48px;
}

.stats {
    align-items: stretch;
}

.stats .card {
    min-width: 0;
    flex: 1 1 210px;
    max-width: 280px;
}

.card img {
    max-width: 100%;
}

/* =========================
   ABOUT AND FEATURE CARDS
========================= */

.about-flex {
    min-width: 0;
}

.about-content,
.about-img {
    min-width: 0;
}

.about-features {
    flex-wrap: wrap;
}

.about-features .feature {
    min-width: 0;
}

.experience {
    max-width: calc(100% - 20px);
}

.feature-flex {
    min-width: 0;
}

.feature-card {
    min-width: 0;
}

.feature-card img {
    height: clamp(140px, 20vw, 220px);
    object-fit: cover;
}

/* =========================
   WHY CHOOSE ICHAFAMA
========================= */

.why-container {
    min-width: 0;
}

.why-container .column {
    min-width: 0;
}

.why-container .feature {
    min-width: 0;
}

.why-container .feature h2,
.why-container .feature h3 {
    overflow-wrap: anywhere;
}

.center-image img {
    height: auto;
}

/* =========================
   BIRD CARDS
========================= */

.grid {
    display: grid;
    grid-template-columns:
        repeat(auto-fit, minmax(min(100%, 220px), 1fr));
    align-items: stretch;
}

.bird-card {
    width: 100%;
    max-width: none;
    min-width: 0;
}

.bird-card img {
    display: block;
    width: 100%;
    height: clamp(150px, 18vw, 200px);
    object-fit: cover;
}

.bird-card .price {
    padding-left: 18px;
}

.bird-card li {
    overflow-wrap: anywhere;
}

/* =========================
   TESTIMONIALS
========================= */

.testimonialSection {
    width: 100%;
    overflow: hidden;
}

.testimonialSection .slider {
    width: 100%;
    overflow: hidden;
}

.testimonialSection .slide-track {
    display: flex;
    width: 100%;
    transition: transform 0.5s ease-in-out;
}

.testimonialSection .slide {
    flex: 0 0 100%;
    min-width: 100%;
    box-sizing: border-box;
    display: flex;
    align-items: stretch;
    gap: 20px;
    padding: 10px;
}

.testimonialSection .slideCard {
    flex: 0 0 calc(50% - 10px);
    min-width: 0;
    box-sizing: border-box;
    padding: 20px;
}

.testimonialSection .slideCard img {
    max-width: 100%;
    height: auto;
    flex-shrink: 0;
}

/* Navigation dots */
.testimonialSection .dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
}

.testimonialSection .dots span {
    display: block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    cursor: pointer;
    background: #ccc;
    transition: background 0.3s ease;
}

.testimonialSection .dots span.active {
    background: #333;
}


/* =========================
   CONTACT FORM
========================= */

.contact-form {
    min-width: 0;
}

.contact-form input,
.contact-form textarea {
    min-width: 0;
}

.contact-form textarea {
    resize: vertical;
}

/* =========================
   BANNER
========================= */

.banner {
    min-width: 0;
}

.banner-left,
.banner-right {
    min-width: 0;
}

.banner-left .btn {
    max-width: 100%;
}

/* =========================
   FOOTER
========================= */

.footer {
    background-image: url("images/bg1.JPG");
    background-position: center;
    background-size: cover;
}

.footer-container > * {
    min-width: 0;
}

.footer-contacts {
    min-width: 0;
}

.footer-contacts .top-left span {
    overflow-wrap: anywhere;
}

.footer-scroll {
    z-index: 5;
}

.whatsapp-float {
    right: max(15px, env(safe-area-inset-right));
    bottom: max(15px, env(safe-area-inset-bottom));
}
.social {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-top: 15px;
}
.social h4 {
    margin: 0;
    white-space: nowrap;
    font-size: 15px;
}

.social-icons {
    display: flex;
    align-items: center;
    gap: 12px;
}

.social-icons a {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 8px;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icons a i {
    font-size: 20px;
}

.social-icons a:hover {
    transform: translateY(-3px);
    background: var(--white);
}

.social-icons a:first-child:hover {
    color: #e1306c;
}

.social-icons a:last-child:hover {
    color: #1877f2;
}
/* =========================
   IMPACT DASHBOARD
========================= */

.impact-section,
.comparison-section,
.details-section {
    width: 100%;
    min-width: 0;
}

.stats-grid {
    grid-template-columns:
        repeat(3, minmax(0, 1fr));
}

.stat-card {
    min-width: 0;
}

.stat-card h2 {
    white-space: normal;
    overflow-wrap: anywhere;
}

.middle-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.bottom-grid {
    grid-template-columns:
        minmax(0, 0.95fr)
        minmax(0, 1.2fr);
}

.sdg-card {
    grid-column: 1 / -1;
}

.sdg-content {
    grid-template-columns:
        minmax(0, 1.6fr)
        repeat(3, minmax(0, 1fr));
}

.table-wrapper {
    max-width: 100%;
}

.spec-table {
    min-width: 490px;
}

/* =========================
   CIRCULAR MODEL
========================= */

.model-section {
    width: 100%;
    max-width: 1200px;
}

.model-section .circular-model {
    width: 100%;
}

.lower-grid > *,
.formula-grid > *,
.breeds-grid > * {
    min-width: 0;
}

/* =========================
   TABLET: 992px AND BELOW
========================= */

@media (max-width: 992px) {

    header .container {
        flex-wrap: wrap;
    }

    .topbar .container {
        align-items: flex-start;
    }

    .top-left {
        gap: 10px 18px;
    }

    .about-flex {
        gap: 35px;
    }

    .why-container {
        gap: 22px;
    }

    .center-image {
        flex: 0 1 220px;
    }

    .center-image img {
        max-width: 220px;
    }

    .bottom-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sdg-card {
        grid-column: 1 / -1;
    }

    .model-section .circular-model {
        max-width: 760px;
    }
}

/* =========================
   MOBILE NAVIGATION
========================= */

@media (max-width: 768px) {

    header .container {
        position: relative;
        display: flex;
        flex-wrap: nowrap;
        justify-content: space-between;
        gap: 10px;
        min-height: 72px;
        padding-block: 10px;
    }

    .logo img {
        width: 95px;
    }

    .header-actions {
        margin-left: auto;
        gap: 10px;
    }

    .header-actions > .btn {
        padding: 10px 13px;
        font-size: 12px;
        white-space: nowrap;
    }

    .menu-toggle {
        display: flex;
        flex-shrink: 0;
    }

    header nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 12px;
        right: 12px;
        width: auto;
        max-height: min(70vh, 420px);
        overflow-y: auto;
        padding: 12px;
        background: white;
        border: 1px solid #e2e8f0;
        border-radius: 12px;
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.14);
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 0;
    }

    header nav.active {
        display: flex;
    }

    header nav a {
        display: block;
        padding: 13px 12px;
        white-space: normal;
        border-bottom: 1px solid #eef2f0;
    }

    header nav a:last-child {
        border-bottom: 0;
    }

    header nav a::after {
        display: none;
    }

    .topbar .container {
        align-items: center;
    }

    .top-left {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
    }

    .top-right {
        justify-content: center;
    }

    .hero {
        padding: 75px 0 110px;
        background-position: center;
    }

    .hero-text h1 {
        font-size: clamp(27px, 6vw, 38px);
        line-height: 1.2;
        letter-spacing: -0.5px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-buttons .btn {
        width: 100%;
        text-align: center;
    }

    .stats {
        margin-top: -45px;
        gap: 14px;
        padding-bottom: 35px;
    }

    .stats .card {
        flex: 1 1 calc(50% - 14px);
        max-width: none;
        padding: 15px;
    }

    .card img {
        height: 125px;
        object-fit: contain;
    }

    .card h2 {
        font-size: clamp(17px, 3.5vw, 23px);
    }

    .about-flex {
        flex-direction: column;
        gap: 30px;
    }

    .about-content,
    .about-img {
        width: 100%;
    }

    .about-features {
        gap: 15px;
    }

    .about-features .feature {
        flex: 1 1 140px;
    }

    .experience {
        left: 12px;
        bottom: 12px;
        padding: 14px;
    }

    .experience h3 {
        font-size: 17px;
    }

    .features {
        margin-top: -35px;
        padding-bottom: 45px;
    }

    .feature-flex {
        flex-direction: column;
    }

    .feature-card {
        padding: 22px;
    }

    .feature-card img {
        height: 190px;
    }

    .why-container {
        flex-direction: column;
        gap: 25px;
        margin-top: 35px;
    }

    .why-container .column {
        width: 100%;
    }

    .center-image {
        order: -1;
    }

    .center-image img {
        max-width: 160px;
    }

    .why-container .feature {
        gap: 12px;
    }

    .why-container .feature h3 {
        font-size: 15px;
    }

    .why-container .feature h2 {
        font-size: 19px;
    }

    .banner {
        flex-direction: column;
    }

    .banner-left,
    .banner-right {
        width: 100%;
    }

    .banner-left {
        padding: 40px 25px;
    }

    .banner-left h1 {
        font-size: clamp(29px, 7vw, 38px);
    }

    .banner-right {
        min-height: 270px;
    }

    .testimonialSection .heading {
        font-size: clamp(23px, 5vw, 30px);
    }

    .slide {
        flex-direction: column;
        align-items: center;
    }

    .slideCard {
        width: 100%;
        max-width: 500px;
    }

    .footer-container {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 30px 20px;
    }

    .footer-left {
        max-width: none;
    }

    .footer-contacts {
        grid-column: 1 / -1;
    }

    /* Impact dashboard */
    .impact-section {
        padding: 25px 15px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .stat-card {
        min-height: 130px;
        padding: 12px;
    }

    .middle-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .content-card {
        min-height: 0;
        padding: 15px;
    }

    .bottom-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .sdg-card {
        grid-column: auto;
    }

    .comparison-section {
        padding: 15px;
    }

    /* Model */
    .model-section {
        padding: 22px 15px;
    }

    .model-section .circular-model {
        height: auto;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        padding: 5px 0;
    }

    .model-section .cycle-arrows {
        display: none;
    }

    .model-section .step,
    .model-section .step-one,
    .model-section .step-two,
    .model-section .step-three,
    .model-section .step-four,
    .model-section .step-five {
        position: relative;
        inset: auto;
        transform: none;
        width: 100%;
        max-width: none;
        min-height: 76px;
        display: flex;
        flex-direction: row;
        align-items: center;
        text-align: left;
        gap: 12px;
    }

    .model-section .cycle-center {
        position: relative;
        inset: auto;
        transform: none;
        flex-shrink: 0;
        margin: 5px auto;
    }

    .lower-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .formula-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .breeds-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* =========================
   SMALL PHONES: 480px
========================= */

@media (max-width: 480px) {

    .container {
        padding-inline: 14px;
    }

    .header-actions > .btn {
        padding: 9px 10px;
        font-size: 11px;
    }

    .menu-toggle {
        width: 40px;
        height: 40px;
    }

    .hero-tag {
        font-size: 11px;
        padding: 8px 12px;
    }

    .hero-text p {
        font-size: 14px;
    }

    .stats .card {
        flex-basis: calc(50% - 10px);
        padding: 11px;
    }

    .card img {
        height: 100px;
        margin-bottom: 10px;
    }

    .card h2 {
        font-size: 16px;
    }

    .about-features {
        flex-direction: column;
    }

    .about-features .feature {
        flex: auto;
    }

    .whyChooseSection > .heading {
        font-size: 23px;
    }

    .icon {
        width: 44px;
        height: 44px;
        flex-shrink: 0;
    }

    .icon i {
        font-size: 23px;
    }

    .bird-card img {
        height: 190px;
    }

    .slideCard {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 12px;
        padding: 16px;
    }

    .slideCard img {
        width: 100%;
        max-width: 180px;
        height: 160px;
        object-fit: cover;
    }

    .content {
        text-align: center;
    }

    .contact-form {
        padding: 18px;
    }

    .footer-container {
        grid-template-columns: minmax(0, 1fr);
    }

    .footer-contacts {
        grid-column: auto;
    }

    .footer-scroll {
        right: 15px;
        bottom: 75px;
        width: 42px;
        height: 42px;
        font-size: 25px;
    }

    .copyright {
        padding: 30px 40px 20px 0;
        font-size: 11px;
    }

    /* Impact cards */
    .stat-card h2 {
        font-size: 25px;
    }

    .sdg-content {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 12px 5px;
    }

    .testimonial {
        grid-column: 1 / -1;
        border-right: 0;
        border-bottom: 1px solid #e0e0e0;
        padding-bottom: 12px;
    }

    .sdg-item {
        padding-block: 5px;
    }

    .comparison-card {
        padding: 13px;
    }

    .model-section .model-label {
        white-space: normal;
        line-height: 1.5;
    }

    .breeds-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .spec-table {
        min-width: 490px;
    }
}

/* =========================
   VERY SMALL PHONES: 350px
========================= */

@media (max-width: 350px) {

    .logo img {
        width: 75px;
    }

    .header-actions {
        gap: 6px;
    }

    .header-actions > .btn {
        font-size: 10px;
        padding: 8px;
    }

    .menu-toggle {
        width: 36px;
        height: 36px;
        font-size: 25px;
    }

    .stats {
        gap: 8px;
        padding-inline: 10px;
    }

    .stats .card {
        padding: 8px;
    }

    .card h2 {
        font-size: 14px;
    }

    .hero-text h1 {
        font-size: 26px;
    }

    .formula-banner {
        padding: 9px;
    }
}

/* =========================
   REDUCED MOTION
========================= */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
/* Gallery*/

/* ==========================================
   ICHAFAMA GREEN HUB PHOTO GALLERY
========================================== */

.gallery-section {
    width: 100%;
    padding: 85px 20px;
    background: var(--cream, #f5f8eb);
    overflow: hidden;
    box-sizing: border-box;
}

.gallery-container {
    width: 100%;
    max-width: 1150px;
    margin: 0 auto;
}

.gallery-heading {
    max-width: 700px;
    margin: 0 auto 42px;
    text-align: center;
}

.gallery-subtitle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    color: var(--secondary, #087a45);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.gallery-heading h2 {
    margin: 0 0 16px;
    color: var(--darkgreen, #003d26);
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    line-height: 1.2;
}

.gallery-heading h2 span {
    color: var(--secondary, #087a45);
}

.gallery-heading p {
    max-width: 600px;
    margin: 0 auto;
    color: var(--text, #475569);
    font-size: 15px;
    line-height: 1.8;
}

/* Gallery grid */

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: 245px;
    gap: 18px;
}

.gallery-item {
    position: relative;
    display: block;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
    isolation: isolate;
    border-radius: 14px;
    background: #dfe9dc;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(0, 61, 38, 0.08);
}

.gallery-item.gallery-large {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-item.gallery-wide {
    grid-column: span 2;
}

.gallery-item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(
        to top,
        rgba(0, 35, 21, 0.88) 0%,
        rgba(0, 35, 21, 0.25) 45%,
        transparent 75%
    );
    pointer-events: none;
}

.gallery-item:hover img {
    transform: scale(1.06);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 10px;
    padding: 22px;
    color: #fff;
    pointer-events: none;
}

.gallery-category {
    display: inline-block;
    margin-bottom: 8px;
    color: #d5f3b5;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.gallery-overlay h3 {
    margin: 0;
    color: #fff;
    font-size: clamp(15px, 1.8vw, 20px);
    font-weight: 700;
    line-height: 1.4;
}

.gallery-zoom {
    display: flex;
    flex: 0 0 40px;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    font-size: 24px;
    transition: background 0.3s ease;
}

.gallery-item:hover .gallery-zoom {
    background: var(--secondary, #087a45);
}

.gallery-item:focus-visible,
.gallery-cta:focus-visible,
.gallery-lightbox button:focus-visible {
    outline: 3px solid #f2cc60;
    outline-offset: 4px;
}

/* Gallery footer */

.gallery-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 32px;
    padding: 25px 28px;
    border-radius: 12px;
    background: #fff;
}

.gallery-footer p {
    margin: 0;
    color: var(--darkgreen, #003d26);
    font-size: 15px;
    font-weight: 500;
    line-height: 1.7;
}

.gallery-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 12px 22px;
    border-radius: 6px;
    background: var(--primary, #005a35);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.25s ease;
}

.gallery-cta:hover {
    background: var(--secondary, #087a45);
}

/* ==========================================
   LIGHTBOX
========================================== */

.gallery-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding: 65px 24px 30px;
    background: rgba(0, 15, 9, 0.95);
    box-sizing: border-box;
}

.gallery-lightbox.active {
    display: flex;
}

.lightbox-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    max-width: 1000px;
    max-height: 100%;
    margin: 0;
}

.lightbox-content img {
    display: block;
    max-width: 100%;
    max-height: calc(100vh - 150px);
    object-fit: contain;
    border-radius: 6px;
}

.lightbox-content figcaption {
    color: #fff;
    text-align: center;
    font-size: 14px;
    line-height: 1.5;
}

.gallery-lightbox button {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 28px;
    cursor: pointer;
}

.gallery-lightbox button:hover {
    background: var(--secondary, #087a45);
}

.lightbox-close {
    position: absolute;
    top: 16px;
    right: 20px;
}

body.gallery-lightbox-open {
    overflow: hidden;
}

/* ==========================================
   TABLETS
========================================== */

@media (max-width: 900px) {
    .gallery-section {
        padding: 65px 18px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-auto-rows: 230px;
        gap: 14px;
    }

    .gallery-item.gallery-large {
        grid-column: span 2;
        grid-row: span 1;
    }

    .gallery-item.gallery-wide {
        grid-column: span 2;
    }

    .gallery-footer {
        padding: 22px;
    }
}

/* ==========================================
   MOBILE
========================================== */

@media (max-width: 560px) {
    .gallery-section {
        padding: 48px 15px;
    }

    .gallery-heading {
        margin-bottom: 28px;
    }

    .gallery-heading h2 {
        font-size: 29px;
    }

    .gallery-heading p {
        font-size: 14px;
        line-height: 1.7;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-auto-rows: 175px;
        gap: 10px;
    }

    .gallery-item,
    .gallery-item.gallery-large,
    .gallery-item.gallery-wide {
        grid-column: auto;
        grid-row: auto;
        border-radius: 9px;
    }

    .gallery-overlay {
        padding: 12px;
    }

    .gallery-category {
        margin-bottom: 5px;
        font-size: 9px;
        letter-spacing: 0.8px;
    }

    .gallery-overlay h3 {
        font-size: 13px;
    }

    .gallery-zoom {
        flex-basis: 30px;
        width: 30px;
        height: 30px;
        font-size: 19px;
    }

    .gallery-footer {
        align-items: stretch;
        flex-direction: column;
        margin-top: 22px;
        padding: 20px;
    }

    .gallery-cta {
        width: 100%;
        box-sizing: border-box;
    }

    .gallery-lightbox {
        gap: 8px;
        padding: 65px 10px 20px;
    }

    .gallery-lightbox button {
        width: 36px;
        height: 36px;
        font-size: 23px;
    }

    .lightbox-content img {
        max-height: calc(100vh - 145px);
    }
}

@media (max-width: 350px) {
    .gallery-grid {
        grid-auto-rows: 150px;
        gap: 8px;
    }

    .gallery-overlay {
        padding: 9px;
    }

    .gallery-overlay h3 {
        font-size: 12px;
    }

    .gallery-zoom {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .gallery-item img,
    .gallery-zoom,
    .gallery-cta {
        transition: none;
    }
}

