/* =====================================================
   RARE ENTERPRISES
   MAIN WEBSITE CSS
===================================================== */

:root {
    --green: #16a34a;
    --dark-green: #14532d;
    --orange: #ff7a00;
    --blue: #005c8e;
    --light: #f8fafc;
    --white: #ffffff;
    --dark: #0f172a;
    --gray: #64748b;
    --border: #e2e8f0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Poppins", sans-serif;
    background: #fff;
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

button,
input,
textarea,
select {
    font-family: inherit;
}


/* =====================================================
   CONTAINER
===================================================== */

.container {
    width: 100%;
    max-width: 1400px;
    margin: auto;
    padding-left: 30px;
    padding-right: 30px;
}


/* =====================================================
   HEADER
===================================================== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;

    background: rgba(225, 245, 251, 0.97);

    border-bottom: 1px solid var(--border);

    transition: 0.3s ease;
}

.header.scrolled {
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
}

.navbar {
    width: 100%;
    max-width: 1400px;

    min-height: 82px;

    margin: auto;
    padding: 0 30px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    width: 180px;
    height: auto;
}


/* =====================================================
   NAVIGATION
===================================================== */

.main-nav {
    display: flex;
    align-items: center;
    gap: 35px;
}

.nav-link {
    position: relative;

    padding: 10px 0;

    color: var(--dark);

    font-size: 15px;
    font-weight: 500;

    transition: 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--blue);
}

.nav-link::after {
    content: "";

    position: absolute;
    left: 0;
    bottom: 0;

    width: 0;
    height: 2px;

    background: var(--blue);

    transition: 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}


/* =====================================================
   NAV CTA
===================================================== */

.nav-cta {
    padding: 12px 22px;

    border-radius: 6px;

    background: #008d48;
    color: #fff;

    font-size: 14px;
    font-weight: 600;

    transition: 0.3s ease;
}

.nav-cta:hover {
    background: var(--dark-green);
    transform: translateY(-2px);
}


/* =====================================================
   MOBILE MENU
===================================================== */

.menu-toggle {
    display: none;

    width: 42px;
    height: 42px;

    border: 0;
    background: transparent;

    cursor: pointer;

    flex-direction: column;
    justify-content: center;
    align-items: center;

    gap: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 2px;

    background: var(--dark);

    transition: 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}


/* =====================================================
   HERO
===================================================== */

.hero {
    position: relative;

    min-height: 760px;

    padding-top: 82px;

    background:
        linear-gradient(
            90deg,
            rgba(15, 23, 42, 0.95),
            rgba(15, 23, 42, 0.65)
        ),
        url("../images/hero/solar-fix.jpg")
        center / cover no-repeat;

    display: flex;
    align-items: center;

    overflow: hidden;
}

.hero-grid {
    position: relative;
    z-index: 2;

    display: grid;

    grid-template-columns: 1.1fr 0.9fr;

    align-items: center;

    gap: 60px;
}

.hero-content {
    color: #fff;
}

.tag {
    display: inline-block;

    margin-bottom: 20px;

    color: #bbf7d0;

    font-size: 14px;
    font-weight: 600;

    text-transform: uppercase;

    letter-spacing: 1px;
}

.hero h1 {
    font-size: clamp(40px, 5vw, 68px);

    line-height: 1.08;

    font-weight: 700;

    margin-bottom: 25px;
}

.hero h1 span {
    display: block;

    color: #4ade80;
}

.hero-content > p:not(.tag) {
    max-width: 680px;

    color: #e2e8f0;

    font-size: 17px;

    line-height: 1.8;

    margin-bottom: 35px;
}


/* =====================================================
   HOME PAGE - FEATURED PRODUCTS
===================================================== */

.featured-products {
    width: 100%;
    padding: 100px 0;
    background: #ffffff;
}

.featured-products .section-title {
    text-align: center;
    margin-bottom: 50px;
}

.featured-products .section-title h2 {
    font-size: 38px;
    line-height: 1.2;
    margin-bottom: 12px;
}

.featured-products .section-title p {
    color: #64748b;
    font-size: 15px;
}


/* ==========================================
   PRODUCT GRID
========================================== */

.product-grid {
    width: 100%;

    display: grid;

    grid-template-columns: repeat(4, minmax(0, 1fr));

    gap: 25px;
}


/* ==========================================
   PRODUCT CARD
========================================== */

.product-card {
    width: 100%;

    background: #ffffff;

    border: 1px solid #e2e8f0;
    border-radius: 12px;

    overflow: hidden;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

.product-card:hover {
    transform: translateY(-7px);

    border-color: #16a34a;

    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.10);
}


/* ==========================================
   PRODUCT IMAGE
========================================== */

.product-card img {
    width: 100%;
    height: 240px;

    display: block;

    object-fit: contain;

    padding: 20px;

    background: #ffffff;

    transition: transform 0.3s ease;
}

.product-card:hover img {
    transform: scale(1.04);
}


/* ==========================================
   PRODUCT CONTENT
========================================== */

.product-card h3 {
    margin: 18px 20px 8px;

    font-size: 18px;
    font-weight: 600;

    color: #0f172a;
}

.product-card p {
    margin: 0 20px 15px;

    color: #64748b;

    font-size: 13px;
    line-height: 1.6;

    min-height: 42px;
}


/* ==========================================
   PRICE
========================================== */

.product-card span {
    display: block;

    margin: 0 20px 15px;

    color: #005c8e;

    font-size: 20px;
    font-weight: 700;
}


/* ==========================================
   GET QUOTE BUTTON
========================================== */

.product-card button {
    width: calc(100% - 40px);

    margin: 0 20px 20px;

    padding: 12px 15px;

    border: 0;
    border-radius: 6px;

    background: #005c8e;
    color: #ffffff;

    font-family: inherit;
    font-size: 14px;
    font-weight: 600;

    cursor: pointer;

    transition: 0.3s ease;
}

.product-card button:hover {
    background: #14532d;
    transform: translateY(-2px);
}


/* ==========================================
   TABLET
========================================== */

@media (max-width: 1000px) {

    .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }

    .product-card img {
        height: 230px;
    }

}


/* ==========================================
   MOBILE
========================================== */

@media (max-width: 600px) {

    .featured-products {
        padding: 70px 0;
    }

    .featured-products .section-title {
        margin-bottom: 35px;
    }

    .featured-products .section-title h2 {
        font-size: 30px;
    }

    .product-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .product-card img {
        height: 250px;
    }

}


/* ==========================================
   SMALL MOBILE
========================================== */

@media (max-width: 400px) {

    .product-card img {
        height: 220px;
    }

    .product-card h3 {
        font-size: 17px;
    }

}

/* =====================================================
   BUTTONS
===================================================== */

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn {
    min-height: 50px;

    padding: 0 25px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    border-radius: 6px;

    font-size: 14px;
    font-weight: 600;

    transition: 0.3s ease;
}

.green-btn {
    background: #008d48;
    color: #fff;
}

.green-btn:hover {
    background: #15803d;
    transform: translateY(-2px);
}

.orange-btn {
    background: var(--orange);
    color: #fff;
}

.orange-btn:hover {
    background: #ea580c;
    transform: translateY(-2px);
}


/* =====================================================
   HERO STATS
===================================================== */

.hero-stats {
    display: flex;

    gap: 45px;

    margin-top: 50px;
}

.hero-stats h3 {
    font-size: 30px;
    color: #fff;
}

.hero-stats span {
    font-size: 13px;
    color: #cbd5e1;
}


/* =====================================================
   HERO IMAGE
===================================================== */

.hero-image {
    display: flex;
    justify-content: center;
}

.hero-image img {
    width: 100%;
    max-width: 550px;

    height: 500px;

    object-fit: cover;

    border-radius: 15px;

    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
}


/* =====================================================
   SECTION TITLE
===================================================== */

.section-title {
    text-align: center;

    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 38px;

    line-height: 1.2;

    margin-bottom: 12px;
}


/* =====================================================
   CATEGORIES
===================================================== */

.categories {
    padding: 100px 0;

    background:
        linear-gradient(
            145deg,
            rgba(10, 80, 120, 0.92),
            rgba(10, 80, 120, 0.5)
        );
}

.categories .section-title h2 {
    color: #88b9d5;
}

.categories .section-title p {
    color: #9bb3c1;
}

.category-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 25px;
}

.category-grid .card {
    background: #fff;

    border: 1px solid var(--border);

    border-radius: 10px;

    overflow: hidden;

    padding: 20px;

    transition: 0.3s ease;
}

.category-grid .card:hover {
    transform: translateY(-8px);

    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.category-grid .card img {
    margin: auto;

    height: 230px;
}

.category-grid .card h3 {
    padding: 20px 0;

    font-size: 18px;
}

.category-grid .card li {
    list-style: none;

    font-size: 12px;
}

.category-grid .card .tabs {
    display: inline-flex;

    margin: 10px 0;
}

.category-grid .card .tabs li {
    padding: 5px 20px;

    border: 1px solid #999;

    margin: 10px 10px 0;
}

.category-grid .card .tabs li:hover {
    background: var(--blue);
    color: #fff;
}


/* =====================================================
   WHY US
===================================================== */

.why-us {
    padding: 100px 0;

    background: #e1f5fd;
}

.why-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 25px;
}

.why-card {
    padding: 35px 25px;

    background: #fff;

    border: 1px solid var(--border);

    border-radius: 10px;

    transition: 0.3s ease;
}

.why-card:hover {
    transform: translateY(-5px);

    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.why-card h3 {
    font-size: 20px;

    margin-bottom: 12px;

    color: var(--dark-green);
}

.why-card p {
    color: var(--gray);

    font-size: 14px;
}


/* =====================================================
   PRODUCTS HERO
===================================================== */

.products-hero {
    position: relative;

    width: 100%;

    min-height: 420px;

    margin-top: 82px;

    display: flex;

    align-items: center;

    overflow: hidden;

    background:
        url("../images/hero/solar-fix.jpg")
        center / cover no-repeat;
}

.products-hero-overlay {
    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(2, 6, 23, 0.92),
            rgba(2, 6, 23, 0.55)
        );
}

.products-hero-content {
    position: relative;

    z-index: 2;

    width: 100%;

    color: #fff;
}

.products-eyebrow {
    display: inline-block;

    margin-bottom: 18px;

    color: #4ade80;

    font-size: 13px;

    font-weight: 700;

    letter-spacing: 2px;

    text-transform: uppercase;
}

.products-hero h1 {
    max-width: 700px;

    margin-bottom: 20px;

    font-size: clamp(42px, 5vw, 68px);

    line-height: 1.08;
}

.products-hero p {
    max-width: 650px;

    color: #e2e8f0;

    font-size: 16px;

    line-height: 1.8;
}


/* =====================================================
   PRODUCTS SECTION
===================================================== */

.products-section {
    width: 100%;

    padding: 70px 0;

    background: #fff;
}

.products-layout {
    width: 100%;

    max-width: 1400px;

    margin: 0 auto;

    padding: 0 30px;

    display: flex;

    align-items: flex-start;

    gap: 35px;
}


/* =====================================================
   PRODUCT SIDEBAR
===================================================== */

.products-sidebar {
    width: 260px;

    min-width: 260px;

    flex: 0 0 260px;

    position: sticky;

    top: 105px;

    align-self: flex-start;

    background: #fff;

    border: 1px solid var(--border);

    border-radius: 12px;

    padding: 20px;

    max-height: calc(100vh - 125px);

    overflow-y: auto;

    z-index: 10;
}

.products-sidebar::-webkit-scrollbar {
    width: 4px;
}

.products-sidebar::-webkit-scrollbar-thumb {
    background: var(--green);

    border-radius: 10px;
}


/* =====================================================
   SIDEBAR HEADING
===================================================== */

.sidebar-heading {
    padding: 0 12px 15px;

    border-bottom: 1px solid var(--border);

    margin-bottom: 5px;
}

.sidebar-heading span {
    font-size: 12px;

    font-weight: 700;

    letter-spacing: 0.5px;

    color: var(--gray);
}


/* =====================================================
   CATEGORY MENU
===================================================== */

.category-menu,
.submenu {
    list-style: none;

    margin: 0;

    padding: 0;
}

.category-menu > li {
    border-bottom: 1px solid var(--border);
}


/* =====================================================
   CATEGORY BUTTON
===================================================== */

.category-btn {
    width: 100%;

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 15px 12px;

    border: 0;

    background: transparent;

    cursor: pointer;

    text-align: left;

    color: var(--dark);

    font-family: inherit;

    font-size: 14px;

    transition: 0.25s ease;
}

.category-btn:hover,
.category-btn.active {
    color: var(--blue);

    background: #f0fdf4;
}


/* =====================================================
   ARROW
===================================================== */

.arrow {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    width: 24px;
    height: 24px;

    font-size: 20px;

    font-weight: 600;

    transition: transform 0.3s ease;
}

.has-submenu.open .arrow {
    transform: rotate(45deg);
}


/* =====================================================
   SUBMENU
===================================================== */

.submenu {
    max-height: 0;

    overflow: hidden;

    background: #f8fafc;

    transition:
        max-height 0.35s ease,
        padding 0.35s ease;
}

.has-submenu.open .submenu {
    max-height: 300px;
}


/* =====================================================
   SUB CATEGORY
===================================================== */

.sub-category {
    width: 100%;

    display: block;

    padding: 11px 20px;

    border: 0;

    background: transparent;

    color: var(--gray);

    text-align: left;

    cursor: pointer;

    font-family: inherit;

    font-size: 13px;

    transition: 0.25s ease;
}

.sub-category:hover,
.sub-category.active {
    color: var(--blue);

    background: #ecfdf5;

    padding-left: 25px;
}


/* =====================================================
   PRODUCTS CONTENT
===================================================== */

.products-content {
    flex: 1;

    min-width: 0;
}


/* =====================================================
   TOP BAR
===================================================== */

.products-topbar {
    width: 100%;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    margin-bottom: 30px;
}

.products-topbar h2 {
    font-size: 28px;

    line-height: 1.2;

    margin-bottom: 4px;
}

.products-topbar p {
    color: var(--gray);

    font-size: 13px;
}


/* =====================================================
   SEARCH
===================================================== */

.product-search {
    margin-left: auto;
}

.product-search input {
    width: 280px;

    padding: 12px 15px;

    border: 1px solid var(--border);

    border-radius: 6px;

    outline: none;

    font-size: 14px;
}

.product-search input:focus {
    border-color: var(--green);

    box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.1);
}


/* =====================================================
   PRODUCTS GRID
===================================================== */

.products-grid {
    width: 100%;

    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 25px;
}


/* =====================================================
   PRODUCT CARD
===================================================== */

.product-card {
    overflow: hidden;

    background: #fff;

    border: 1px solid var(--border);

    border-radius: 10px;

    transition: 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);

    box-shadow:
        0 15px 35px rgba(0, 0, 0, 0.08);
}


/* =====================================================
   PRODUCT IMAGE
===================================================== */

.product-image {
    width: 100%;

    height: 230px;

    display: flex;

    align-items: center;

    justify-content: center;

    background: #fff;

    overflow: hidden;
}

.product-image img {
    width: 100%;

    height: 100%;

    object-fit: contain;

    padding: 15px;

    transition: 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.04);
}


/* =====================================================
   PRODUCT INFO
===================================================== */

.product-info {
    padding: 20px;
}

.product-category {
    font-size: 11px;

    text-transform: uppercase;

    color: var(--blue);

    font-weight: 600;

    letter-spacing: 0.5px;
}

.product-info h3 {
    margin: 7px 0;

    font-size: 18px;

    line-height: 1.3;
}

.product-info p {
    color: var(--gray);

    font-size: 13px;

    min-height: 42px;
}


/* =====================================================
   PRODUCT BOTTOM
===================================================== */

.product-bottom {
    margin-top: 18px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 10px;
}

.product-bottom strong {
    color: var(--blue);

    font-size: 18px;
}

.get-quote-btn {
    border: 0;

    background: var(--blue);

    color: #fff;

    padding: 10px 14px;

    border-radius: 5px;

    cursor: pointer;

    font-weight: 600;

    transition: 0.3s ease;
}

.get-quote-btn:hover {
    background: var(--dark-green);
}


/* =====================================================
   NO PRODUCTS
===================================================== */

.no-products {
    grid-column: 1 / -1;

    text-align: center;

    padding: 70px 20px;

    color: var(--gray);
}


/* =====================================================
   MOBILE FILTER
===================================================== */

.mobile-filter {
    display: none;

    width: 100%;

    margin-bottom: 20px;
}

.mobile-filter button {
    width: 100%;

    padding: 13px 18px;

    border: 0;

    border-radius: 8px;

    background: var(--blue);

    color: #fff;

    font-weight: 600;

    cursor: pointer;
}


/* =====================================================
   CTA
===================================================== */

.cta {
    padding: 70px 0;

    background: var(--dark-green);
}

.cta-box {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;
}

.cta h2 {
    color: #fff;

    font-size: 34px;
}

.cta p {
    color: #bbf7d0;

    margin-top: 5px;
}


/* =====================================================
   PAGE BANNER
===================================================== */

.page-banner {
    position: relative;

    width: 100%;

    min-height: 420px;

    margin-top: 82px;

    display: flex;

    align-items: center;

    overflow: hidden;

    background-size: cover;

    background-position: center;
}

.about-banner {
    background:
        url("../images/hero/about-banner.jpg")
        center / cover no-repeat;
}

.contact-banner {
    background:
        url("../images/hero/contact-banner.jpg")
        center / cover no-repeat;
}

.banner-overlay {
    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(2, 6, 23, 0.92),
            rgba(2, 6, 23, 0.55)
        );
}

.banner-content {
    position: relative;

    z-index: 2;

    color: #fff;
}

.banner-content span {
    display: inline-block;

    margin-bottom: 18px;

    color: #4ade80;

    letter-spacing: 2px;

    font-size: 13px;

    font-weight: 600;
}

.banner-content h1 {
    max-width: 700px;

    font-size: 58px;

    line-height: 1.1;

    margin-bottom: 18px;
}

.banner-content p {
    max-width: 600px;

    color: #d1d5db;

    font-size: 17px;
}


/* =====================================================
   ABOUT
===================================================== */

.about-company {
    padding: 90px 0;

    background: #fff;
}

.about-grid {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 60px;

    align-items: center;
}

.about-image img {
    width: 100%;

    border-radius: 18px;

    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.12);
}

.about-content h2 {
    font-size: 38px;

    margin-bottom: 20px;
}

.about-content p {
    color: var(--gray);

    margin-bottom: 18px;

    line-height: 1.8;
}

.about-highlights {
    margin-top: 35px;

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 20px;
}

.about-highlights div {
    background: #f8fafc;

    padding: 20px;

    border-radius: 12px;

    text-align: center;

    border: 1px solid var(--border);
}

.about-highlights strong {
    display: block;

    color: var(--green);

    font-size: 28px;
}

.about-highlights span {
    font-size: 13px;

    color: var(--gray);
}


/* =====================================================
   VISION
===================================================== */

.vision-section {
    background: #f8fafc;

    padding: 90px 0;
}

.vision-grid {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 30px;
}

.vision-card {
    background: #fff;

    padding: 40px;

    border-radius: 16px;

    border: 1px solid var(--border);

    transition: 0.3s;
}

.vision-card:hover {
    transform: translateY(-8px);

    box-shadow:
        0 15px 35px rgba(0, 0, 0, 0.08);
}

.vision-card h3 {
    color: var(--dark-green);

    margin-bottom: 15px;

    font-size: 24px;
}

.vision-card p {
    color: var(--gray);

    line-height: 1.8;
}


/* =====================================================
   CONTACT
===================================================== */

.contact-section {
    padding: 90px 0;

    background: #fff;
}

.contact-grid {
    display: grid;

    grid-template-columns: 380px 1fr;

    gap: 50px;
}

.contact-info h2 {
    font-size: 34px;

    margin-bottom: 30px;
}

.info-card {
    background: #f8fafc;

    padding: 22px;

    margin-bottom: 18px;

    border-radius: 12px;

    border: 1px solid var(--border);

    transition: 0.3s;
}

.info-card:hover {
    border-color: var(--green);

    transform: translateX(5px);
}

.info-card h3 {
    margin-bottom: 10px;

    color: var(--dark-green);
}

.info-card p {
    color: var(--gray);

    line-height: 1.7;
}


/* =====================================================
   CONTACT FORM
===================================================== */

.contact-form-box {
    background: #fff;

    border-radius: 18px;

    padding: 35px;

    border: 1px solid var(--border);

    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.06);
}

.contact-form-box h2 {
    margin-bottom: 25px;

    font-size: 30px;
}

.contact-form-box form {
    display: grid;

    gap: 18px;
}

.contact-form-box input,
.contact-form-box select,
.contact-form-box textarea {
    width: 100%;

    padding: 15px;

    border: 1px solid #d1d5db;

    border-radius: 8px;

    font-size: 15px;

    transition: 0.3s;
}

.contact-form-box input:focus,
.contact-form-box select:focus,
.contact-form-box textarea:focus {
    outline: none;

    border-color: var(--green);

    box-shadow:
        0 0 0 4px rgba(22, 163, 74, 0.15);
}

.contact-form-box textarea {
    resize: vertical;

    min-height: 140px;
}


/* =====================================================
   MAP
===================================================== */

.map-section {
    padding: 80px 0;

    background: #f8fafc;
}

.map-section h2 {
    text-align: center;

    margin-bottom: 30px;

    font-size: 34px;
}

.map-section iframe {
    width: 100%;

    height: 420px;

    border: none;

    border-radius: 16px;

    box-shadow:
        0 15px 35px rgba(0, 0, 0, 0.08);
}


/* =====================================================
   FOOTER
===================================================== */

footer {
    background: #020617;

    color: #fff;
}

.footer-grid {
    padding-top: 70px;

    padding-bottom: 60px;

    display: grid;

    grid-template-columns: 1.5fr 1fr 1fr;

    gap: 60px;
}

.footer-grid h2 {
    margin-bottom: 15px;
}

.footer-grid h3 {
    margin-bottom: 18px;
}

.footer-grid p,
.footer-grid a {
    color: #94a3b8;

    font-size: 14px;
}

.footer-grid a {
    display: block;

    margin-bottom: 8px;

    transition: 0.3s ease;
}

.footer-grid a:hover {
    color: #4ade80;
}

.copyright {
    text-align: center;

    border-top: 1px solid #1e293b;

    padding: 20px;

    color: #64748b;

    font-size: 13px;
}


/* =====================================================
   POPUP
===================================================== */

.popup {
    position: fixed;

    inset: 0;

    z-index: 10000;

    display: none;

    align-items: center;

    justify-content: center;

    background: rgba(15, 23, 42, 0.75);

    padding: 20px;
}

.popup.active {
    display: flex;
}

.popup-content {
    position: relative;

    width: 100%;

    max-width: 500px;

    background: #fff;

    border-radius: 12px;

    padding: 40px;

    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.25);
}

#closePopup {
    position: absolute;

    top: 15px;

    right: 20px;

    font-size: 30px;

    cursor: pointer;

    color: var(--gray);
}

.popup-content h2 {
    margin-bottom: 25px;
}

.popup-content form {
    display: flex;

    flex-direction: column;

    gap: 12px;
}

.popup-content input,
.popup-content select,
.popup-content textarea {
    width: 100%;

    padding: 13px 15px;

    border: 1px solid var(--border);

    border-radius: 6px;

    outline: none;
}

.popup-content textarea {
    min-height: 100px;

    resize: vertical;
}

.popup-content button {
    border: 0;

    padding: 14px;

    background: var(--blue);

    color: #fff;

    border-radius: 6px;

    cursor: pointer;

    font-weight: 600;
}


/* =====================================================
   WHATSAPP
===================================================== */

.whatsapp-btn {
    position: fixed;

    right: 20px;

    bottom: 80px;

    width: 55px;

    height: 55px;

    border-radius: 50%;

    background: #25d366;

    color: #fff;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 30px;

    z-index: 9999;

    box-shadow:
        0 5px 20px rgba(0, 0, 0, 0.2);

    transition: 0.3s ease;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
}


/* =====================================================
   CALL BUTTON
===================================================== */

.floating.call {
    position: fixed;

    right: 20px;

    bottom: 150px;

    width: 55px;

    height: 55px;

    border-radius: 50%;

    background: var(--blue);

    color: #fff;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 0;

    z-index: 9999;

    box-shadow:
        0 5px 20px rgba(0, 0, 0, 0.2);
}

.floating.call::before {
    content: "☎";

    font-size: 22px;
}


/* =====================================================
   GO TOP
===================================================== */

.go-top {
    position: fixed;

    right: 25px;

    bottom: 25px;

    width: 48px;

    height: 48px;

    display: flex;

    align-items: center;

    justify-content: center;

    border: none;

    border-radius: 50%;

    background: var(--green);

    color: #fff;

    font-size: 24px;

    font-weight: 600;

    cursor: pointer;

    opacity: 0;

    visibility: hidden;

    transform: translateY(15px);

    transition: 0.3s ease;

    z-index: 9999;

    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.18);
}

.go-top.show {
    opacity: 1;

    visibility: visible;

    transform: translateY(0);
}

.go-top:hover {
    background: var(--dark-green);

    transform: translateY(-4px);
}


/* =====================================================
   TABLET
===================================================== */

@media (max-width: 1000px) {

    .main-nav {
        gap: 20px;
    }

    .hero-grid {
        grid-template-columns: 1fr;

        padding-top: 60px;

        padding-bottom: 60px;
    }

    .hero-image {
        display: none;
    }

    .category-grid,
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .banner-content h1 {
        font-size: 46px;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .vision-grid {
        grid-template-columns: 1fr;
    }
}


/* =====================================================
   MOBILE NAVIGATION
===================================================== */

@media (max-width: 768px) {

    .container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .navbar {
        min-height: 70px;

        padding: 0 20px;
    }

    .logo img {
        width: 150px;
    }

    .main-nav {
        position: absolute;

        top: 70px;

        left: 0;

        width: 100%;

        background: #fff;

        border-top: 1px solid var(--border);

        display: flex;

        flex-direction: column;

        align-items: stretch;

        padding: 15px 20px;

        transform: translateY(-20px);

        opacity: 0;

        visibility: hidden;

        transition: 0.3s ease;

        box-shadow:
            0 15px 30px rgba(0, 0, 0, 0.08);
    }

    .main-nav.active {
        transform: translateY(0);

        opacity: 1;

        visibility: visible;
    }

    .nav-link {
        padding: 14px 5px;

        border-bottom: 1px solid #f1f5f9;
    }

    .nav-cta {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }


    /* HERO */

    .hero {
        min-height: auto;

        padding-top: 70px;
    }

    .hero h1 {
        font-size: 42px;
    }

    .hero-content > p:not(.tag) {
        font-size: 15px;
    }

    .hero-stats {
        gap: 25px;

        flex-wrap: wrap;
    }


    /* PRODUCTS */

    .products-layout {
        flex-direction: column;

        padding: 0 20px;
    }

    .mobile-filter {
        display: block;
    }

    .products-sidebar {
        position: static;

        width: 100%;

        min-width: 100%;

        flex: none;

        display: none;

        max-height: none;

        margin-bottom: 25px;
    }

    .products-sidebar.active {
        display: block;
    }

    .products-content {
        width: 100%;
    }

    .products-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .products-topbar {
        align-items: flex-start;
    }


    /* PAGE BANNER */

    .page-banner,
    .products-hero {
        min-height: 340px;

        margin-top: 70px;
    }

    .banner-content h1,
    .products-hero h1 {
        font-size: 36px;
    }

    .banner-content p,
    .products-hero p {
        font-size: 15px;
    }


    /* ABOUT */

    .about-company,
    .vision-section,
    .contact-section,
    .map-section {
        padding: 70px 0;
    }

    .about-highlights {
        grid-template-columns: 1fr;
    }


    /* CTA */

    .cta-box {
        flex-direction: column;

        align-items: flex-start;
    }


    /* FOOTER */

    .footer-grid {
        grid-template-columns: 1fr;

        gap: 35px;
    }
}


/* =====================================================
   SMALL MOBILE
===================================================== */

@media (max-width: 500px) {

    .container {
        padding-left: 18px;

        padding-right: 18px;
    }

    .hero h1 {
        font-size: 34px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .category-grid,
    .product-grid,
    .why-grid {
        grid-template-columns: 1fr;
    }

    .categories,
    .why-us,
    .featured-products {
        padding: 70px 0;
    }


    /* PRODUCTS */

    .products-grid {
        grid-template-columns: 1fr;
    }

    .products-topbar {
        flex-direction: column;

        align-items: flex-start;
    }

    .product-search {
        width: 100%;

        margin-left: 0;
    }

    .product-search input {
        width: 100%;
    }

    .product-bottom {
        align-items: stretch;
    }

    .get-quote-btn {
        padding: 10px 12px;
    }


    /* BANNER */

    .banner-content h1,
    .products-hero h1 {
        font-size: 30px;
    }


    /* POPUP */

    .popup-content {
        padding: 30px 20px;
    }


    /* GO TOP */

    .go-top {
        width: 42px;

        height: 42px;

        right: 15px;

        bottom: 18px;

        font-size: 20px;
    }
}