/* =========================================================
   RICHWOOD ENTERPRISES LIMITED
   CUSTOM STYLES
   Bootstrap 5.3 compatible
   ========================================================= */


/* =========================================================
   1. VARIABLES
   ========================================================= */

:root {
    --richwood-red: #b51218;
    --richwood-red-dark: #850c11;
    --richwood-orange: #f36b21;
    --richwood-orange-light: #ff8a3d;

    --dark: #171717;
    --dark-2: #222222;
    --text: #444444;
    --muted: #777777;
    --light: #f7f7f7;
    --border: #e7e7e7;
    --white: #ffffff;

    --shadow-sm: 0 5px 20px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 10px 35px rgba(0, 0, 0, 0.10);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.15);

    --transition: all 0.3s ease;
}


/* =========================================================
   2. GENERAL
   ========================================================= */

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;

    font-family:
        "Segoe UI",
        Roboto,
        Arial,
        sans-serif;

    color: var(--text);
    background: var(--white);

    line-height: 1.7;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

p:last-child {
    margin-bottom: 0;
}


/* =========================================================
   3. TOP BAR
   ========================================================= */

.top-bar {
    background: var(--dark);
    color: rgba(255, 255, 255, 0.85);

    font-size: 14px;
    padding: 8px 0;
}

.top-bar a {
    color: rgba(255, 255, 255, 0.85);
    transition: var(--transition);
}

.top-bar a:hover {
    color: var(--richwood-orange-light);
}

.top-bar i {
    color: var(--richwood-orange);
}


/* =========================================================
   4. HEADER / NAVIGATION
   ========================================================= */

.header {
    position: sticky;
    top: 0;
    z-index: 1000;

    background: var(--white);

    border-bottom: 1px solid var(--border);

    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

.nav {
    min-height: 82px;
}

.logo-link {
    display: inline-flex;
    align-items: center;
}

.logo {
    display: block;
    width: auto;
    max-width: 190px;
    max-height: 65px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    position: relative;

    display: inline-flex;
    align-items: center;

    padding: 10px 16px;

    color: var(--dark);
    font-size: 15px;
    font-weight: 600;

    transition: var(--transition);
}

.nav-link:hover {
    color: var(--richwood-red);
}

.nav-link::after {
    content: "";

    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 3px;

    height: 2px;

    background: var(--richwood-red);

    transform: scaleX(0);
    transform-origin: center;

    transition: var(--transition);
}

.nav-link:hover::after {
    transform: scaleX(1);
}


/* Quote button */

.nav-link.nav-cta {
    margin-left: 10px;

    padding: 11px 20px;

    color: var(--white);

    background: var(--richwood-red);

    border-radius: 5px;
}

.nav-link.nav-cta:hover {
    color: var(--white);
    background: var(--richwood-red-dark);
}

.nav-link.nav-cta::after {
    display: none;
}


/* =========================================================
   5. MOBILE MENU BUTTON
   ========================================================= */
/* =========================================
   MOBILE MENU
========================================= */

.menu-toggle {
    display: none;
    border: 0;
    background: transparent;
    padding: 8px;
    cursor: pointer;
    z-index: 1100;
}

.menu-icon {
    width: 30px;
    height: 22px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.menu-icon span {
    display: block;
    width: 100%;
    height: 3px;
    /*background: var(--primary);*/
    background-color: black;
    border-radius: 3px;
    transition: all 0.3s ease;
}


/* =========================================
   TABLET / MOBILE
========================================= */

@media (max-width: 991.98px) {

    .menu-toggle {
        display: block;
    }

    .nav {
        position: relative;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;

        width: 100%;

        background: #ffffff;

        padding: 20px;

        flex-direction: column;
        align-items: stretch;

        gap: 5px;

        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);

        z-index: 1000;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu .nav-link {
        display: block;
        width: 100%;

        padding: 13px 15px;

        border-bottom: 1px solid #eeeeee;
    }

    .nav-menu .nav-link:last-child {
        border-bottom: none;
    }

    .nav-menu .nav-cta {
        margin-top: 10px;
        text-align: center;
    }


    /* Hamburger → X */

    .menu-toggle.active .menu-icon span:nth-child(1) {
        transform: translateY(9.5px) rotate(45deg);
    }

    .menu-toggle.active .menu-icon span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active .menu-icon span:nth-child(3) {
        transform: translateY(-9.5px) rotate(-45deg);
    }

}


/* =========================================================
   6. HERO
   ========================================================= */

.hero-section {
    position: relative;

    min-height: 680px;

    display: flex;
    align-items: center;

    overflow: hidden;

    color: var(--white);
    background: linear-gradient(90deg, rgba(133, 12, 17, 0.95), rgba(181, 18, 24, 0.85)), url(../images/hero-home.jpg) center center / cover no-repeat;
 
}

.min-vh-75 {
    min-height: 680px;
}

.hero-subtitle {
    display: inline-flex;
    align-items: center;

    color: var(--richwood-orange-light);

    font-size: 13px;
    font-weight: 700;

    letter-spacing: 1.5px;
}

.hero-title {
    margin: 0;

    font-size: clamp(48px, 6vw, 76px);
    line-height: 1.05;

    font-weight: 800;

    letter-spacing: -2px;
}

.hero-title span {
    color: var(--richwood-orange-light);
}

.hero-text {
    max-width: 650px;

    margin-top: 25px;

    color: rgba(255, 255, 255, 0.88);

    font-size: 18px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}


/* Hero image */

.hero-image-wrapper {
    position: relative;

    overflow: hidden;

    border-radius: 10px;

    box-shadow: var(--shadow-lg);
}

.hero-image-wrapper::after {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            135deg,
            rgba(181, 18, 24, 0.10),
            transparent
        );

    pointer-events: none;
}

.hero-image {
    display: block;

    width: 100%;
    height: 480px;

    object-fit: cover;
}


/* =========================================================
   7. BUTTONS
   ========================================================= */

.btn {
    font-weight: 600;

    border-radius: 5px;

    transition: var(--transition);
}

.btn-primary {
    background: var(--richwood-red);
    border-color: var(--richwood-red);
}

.btn-primary:hover,
.btn-primary:focus {
    background: var(--richwood-red-dark);
    border-color: var(--richwood-red-dark);

    transform: translateY(-2px);
}

.btn-outline-dark:hover {
    background: var(--richwood-red);
    border-color: var(--richwood-red);
}

.btn-outline-light:hover {
    color: var(--richwood-red);
}


/* =========================================================
   8. SECTIONS
   ========================================================= */

.section-padding {
    padding: 90px 0;
}

.section-subtitle {
    display: inline-block;

    color: var(--richwood-red);

    font-size: 13px;
    font-weight: 800;

    letter-spacing: 1.5px;
}

.section-title {
    margin-bottom: 0;

    color: var(--dark);

    font-size: clamp(32px, 4vw, 46px);
    font-weight: 800;

    line-height: 1.2;
}

.section-title span {
    color: var(--richwood-red);
}

.section-description {
    max-width: 760px;

    margin-top: 15px;

    color: var(--muted);

    font-size: 16px;
}


/* =========================================================
   9. INTRO
   ========================================================= */

.intro-section {
    background: var(--white);
}

.intro-section .section-description {
    margin-left: auto;
    margin-right: auto;
}


/* =========================================================
   10. CATEGORY CARDS
   ========================================================= */

.category-card {
    position: relative;

    display: block;

    height: 100%;

    padding: 35px 30px;

    background: var(--white);

    border: 1px solid var(--border);
    border-radius: 8px;

    box-shadow: var(--shadow-sm);

    transition: var(--transition);
}

.category-card:hover {
    color: inherit;

    transform: translateY(-8px);

    border-color: rgba(181, 18, 24, 0.25);

    box-shadow: var(--shadow-md);
}

.category-icon {
    width: 64px;
    height: 64px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 25px;

    color: var(--white);

    background: var(--richwood-red);

    border-radius: 8px;

    font-size: 26px;

    transition: var(--transition);
}

.category-card:hover .category-icon {
    background: var(--richwood-orange);
}

.category-card h3 {
    margin-bottom: 12px;

    color: var(--dark);

    font-size: 21px;
    font-weight: 700;
}

.category-card p {
    color: var(--muted);

    font-size: 14px;
}

.category-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    margin-top: 15px;

    color: var(--richwood-red);

    font-size: 14px;
    font-weight: 700;
}

.category-link i {
    transition: var(--transition);
}

.category-card:hover .category-link i {
    transform: translateX(5px);
}


/* =========================================================
   11. PRODUCT CARDS
   ========================================================= */

.product-card {
    height: 100%;

    overflow: hidden;

    background: var(--white);

    border: 1px solid var(--border);
    border-radius: 8px;

    box-shadow: var(--shadow-sm);

    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-7px);

    box-shadow: var(--shadow-md);
}

.product-image {
    position: relative;

    overflow: hidden;

    aspect-ratio: 1 / 1;

    background: var(--light);
}

.product-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-badge {
    position: absolute;

    top: 15px;
    left: 15px;

    padding: 6px 12px;

    color: var(--white);

    background: var(--richwood-red);

    border-radius: 4px;

    font-size: 11px;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-content {
    padding: 25px;
}

.product-category {
    display: block;

    margin-bottom: 7px;

    color: var(--richwood-orange);

    font-size: 11px;
    font-weight: 800;

    text-transform: uppercase;
    letter-spacing: 1px;
}

.product-content h3 {
    margin-bottom: 10px;

    color: var(--dark);

    font-size: 21px;
    font-weight: 700;
}

.product-content p {
    color: var(--muted);

    font-size: 14px;
}

.product-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    margin-top: 10px;

    color: var(--richwood-red);

    font-size: 14px;
    font-weight: 700;
}

.product-link i {
    transition: var(--transition);
}

.product-link:hover {
    color: var(--richwood-red-dark);
}

.product-link:hover i {
    transform: translateX(5px);
}


/* =========================================================
   12. ABOUT SECTION
   ========================================================= */

.about-image-wrapper {
    position: relative;

    overflow: hidden;

    border-radius: 8px;
}

.about-image-wrapper > img {
    display: block;

    width: 100%;
    height: 550px;

    object-fit: cover;
}

.about-experience {
    position: absolute;

    left: 25px;
    bottom: 25px;

    min-width: 180px;

    padding: 18px 22px;

    color: var(--white);

    background: var(--richwood-red);

    border-radius: 5px;

    box-shadow: var(--shadow-md);
}

.about-experience strong {
    display: block;

    font-size: 22px;
    font-weight: 800;
}

.about-experience span {
    display: block;

    color: rgba(255, 255, 255, 0.85);

    font-size: 13px;
}

.about-preview-section p {
    color: var(--muted);
}

.about-point {
    display: flex;
    align-items: center;
    gap: 10px;

    color: var(--dark);

    font-weight: 600;
}

.about-point i {
    color: var(--richwood-red);

    font-size: 17px;
}


/* =========================================================
   13. WHY RICHWOOD
   ========================================================= */

.why-card {
    height: 100%;

    padding: 35px 28px;

    text-align: center;

    background: var(--white);

    border: 1px solid var(--border);
    border-radius: 8px;

    transition: var(--transition);
}

.why-card:hover {
    transform: translateY(-7px);

    box-shadow: var(--shadow-md);

    border-color: rgba(181, 18, 24, 0.20);
}

.why-icon {
    width: 70px;
    height: 70px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin: 0 auto 22px;

    color: var(--richwood-red);

    background: rgba(181, 18, 24, 0.08);

    border-radius: 50%;

    font-size: 27px;

    transition: var(--transition);
}

.why-card:hover .why-icon {
    color: var(--white);
    background: var(--richwood-red);
}

.why-card h3 {
    margin-bottom: 12px;

    color: var(--dark);

    font-size: 20px;
    font-weight: 700;
}

.why-card p {
    color: var(--muted);

    font-size: 14px;
}


/* =========================================================
   14. CTA
   ========================================================= */

.cta-section {
    padding: 70px 0;

    background: var(--dark);
}

.cta-box {
    position: relative;

    padding: 55px 60px;

    overflow: hidden;

    color: var(--white);

    background:
        linear-gradient(
            120deg,
            var(--richwood-red-dark),
            var(--richwood-red)
        );

    border-radius: 10px;
}

.cta-box::after {
    content: "";

    position: absolute;

    width: 300px;
    height: 300px;

    right: -100px;
    top: -120px;

    background: rgba(255, 255, 255, 0.06);

    border-radius: 50%;
}

.cta-subtitle {
    position: relative;
    z-index: 1;

    color: var(--richwood-orange-light);

    font-size: 12px;
    font-weight: 800;

    letter-spacing: 1.5px;
}

.cta-box h2 {
    position: relative;
    z-index: 1;

    margin-top: 8px;
    margin-bottom: 12px;

    font-size: clamp(30px, 4vw, 44px);
    font-weight: 800;

    line-height: 1.2;
}

.cta-box p {
    position: relative;
    z-index: 1;

    max-width: 650px;

    color: rgba(255, 255, 255, 0.85);
}

.cta-box .btn {
    position: relative;
    z-index: 2;
}


/* =========================================================
   15. FOOTER
   ========================================================= */

.footer {
    color: rgba(255, 255, 255, 0.72);

    background: #111111;
}

.footer-main {
    padding: 70px 0 45px;
}

.footer-brand img {
    width: auto;
    max-width: 180px;
    max-height: 65px;

    margin-bottom: 20px;
}

.footer-brand p {
    max-width: 350px;

    font-size: 14px;
}

.footer h5 {
    margin-bottom: 20px;

    color: var(--white);

    font-size: 16px;
    font-weight: 700;
}

.footer ul {
    margin: 0;
    padding: 0;

    list-style: none;
}

.footer li {
    margin-bottom: 10px;
}

.footer a {
    color: rgba(255, 255, 255, 0.70);

    font-size: 14px;

    transition: var(--transition);
}

.footer a:hover {
    color: var(--richwood-orange-light);
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.footer-contact i {
    width: 18px;

    margin-top: 5px;

    color: var(--richwood-orange);

    text-align: center;
}

.footer-bottom {
    padding: 20px 0;

    border-top: 1px solid rgba(255, 255, 255, 0.08);

    font-size: 13px;
}

.footer-bottom p {
    margin: 0;
}


/* =========================================================
   16. SOCIAL MEDIA
   ========================================================= */

.social-links {
    display: flex;
    gap: 10px;

    margin-top: 20px;
}

.social-links a {
    width: 38px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: var(--white);

    background: rgba(255, 255, 255, 0.08);

    border-radius: 50%;

    transition: var(--transition);
}

.social-links a:hover {
    color: var(--white);

    background: var(--richwood-red);

    transform: translateY(-3px);
}


/* =========================================================
   17. RESPONSIVE - TABLETS
   ========================================================= */

@media (max-width: 991.98px) {

    .nav {
        min-height: 72px;
    }

    .logo {
        max-width: 160px;
        max-height: 55px;
    }

    .menu-toggle {
        display: block;
    }

    .nav-menu {
        position: absolute;

        top: 100%;
        left: 0;
        right: 0;

        display: none;

        flex-direction: column;
        align-items: stretch;

        padding: 15px;

        background: var(--white);

        border-top: 1px solid var(--border);

        box-shadow: var(--shadow-md);
    }

    .nav-menu.show {
        display: flex;
    }

    .nav-link {
        width: 100%;

        padding: 13px 15px;
    }

    .nav-link::after {
        display: none;
    }

    .nav-link.nav-cta {
        margin-left: 0;
        margin-top: 5px;

        justify-content: center;
    }

    .hero-section {
        min-height: auto;

        padding: 80px 0;
    }

    .min-vh-75 {
        min-height: auto;
    }

    .hero-image {
        height: 420px;
    }

    .section-padding {
        padding: 75px 0;
    }

    .about-image-wrapper > img {
        height: 450px;
    }

    .cta-box {
        padding: 45px;
    }
}


/* =========================================================
   18. RESPONSIVE - MOBILE
   ========================================================= */

@media (max-width: 767.98px) {

    .top-bar {
        font-size: 12px;
    }

    .top-bar .container {
        text-align: center;
    }

    .logo {
        max-width: 145px;
    }

    .hero-section {
        padding: 65px 0;
    }

    .hero-title {
        font-size: 46px;

        letter-spacing: -1.5px;
    }

    .hero-text {
        font-size: 16px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-buttons .btn {
        margin-right: 0 !important;
        width: 100%;
    }

    .hero-image {
        height: 350px;
    }

    .section-padding {
        padding: 60px 0;
    }

    .section-title {
        font-size: 34px;
    }

    .category-card {
        padding: 30px 25px;
    }

    .product-content {
        padding: 22px;
    }

    .about-image-wrapper > img {
        height: 350px;
    }

    .about-experience {
        left: 15px;
        bottom: 15px;
    }

    .cta-section {
        padding: 50px 0;
    }

    .cta-box {
        padding: 35px 25px;
    }

    .cta-box h2 {
        font-size: 32px;
    }

    .footer-main {
        padding: 55px 0 35px;
    }
}


/* =========================================================
   19. SMALL MOBILE
   ========================================================= */

@media (max-width: 575.98px) {

    .hero-title {
        font-size: 40px;
    }

    .hero-image {
        height: 300px;
    }

    .section-title {
        font-size: 30px;
    }

    .category-icon {
        width: 58px;
        height: 58px;

        font-size: 23px;
    }

    .about-image-wrapper > img {
        height: 300px;
    }

    .about-experience {
        min-width: 150px;

        padding: 14px 17px;
    }

    .about-experience strong {
        font-size: 19px;
    }

    .cta-box {
        padding: 30px 20px;
    }
}

.site-footer {
    background: #111;
    color: #fff;
    padding: 50px 0 20px;
}

.shop-location {
    text-align: center;
    padding: 20px;
}

.shop-location i {
    font-size: 28px;
    margin-bottom: 15px;
}
.shop-location p i {
    font-size:14px;
    margin-right:2px;
}

.shop-location h5 {
    font-size: 18px;
    margin-bottom: 10px;
}

.shop-location p {
    color: #bbb;
    line-height: 1.7;
    margin: 0;
}

.footer-bottom {
    border-top: 1px solid #333;
    margin-top: 30px;
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    color: #888;
    margin: 0;
    font-size: 14px;
}

@media (max-width: 767px) {
    .shop-location {
        margin-bottom: 15px;
    }
}

/*********** about **********************/
/* =========================================
   PAGE HERO
========================================= */

.page-hero {
    background:
        linear-gradient(
            90deg,
            rgba(133, 12, 17, 0.95),
            rgba(181, 18, 24, 0.85)
        ),
        url('../images/about.jpg') center center / cover no-repeat;

    padding: 100px 0;
    color: #fff;
}

.page-hero-content {
    max-width: 750px;
}

.page-hero .section-subtitle {
    color: #ff8a3d;
}

.page-hero h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin: 15px 0;
}

.page-hero h1 span {
    color: #ff8a3d;
}

.page-hero p {
    font-size: 1.15rem;
    margin: 0;
    opacity: 0.95;
}


/* =========================================
   ABOUT PAGE
========================================= */

.about-page-section {
    background: #fff;
}

.about-page-section .lead {
    font-size: 1.15rem;
    line-height: 1.8;
}

.about-page-section p {
    line-height: 1.8;
}


/* =========================================
   ABOUT INFO CARDS
========================================= */

.about-info-card {
    background: #fff;
    padding: 45px;
    border: 1px solid #eeeeee;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.about-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.about-info-icon {
    width: 65px;
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(181, 18, 24, 0.08);
    color: var(--primary);

    border-radius: 50%;

    font-size: 25px;

    margin-bottom: 25px;
}

.about-info-card h3 {
    font-size: 1.6rem;
    font-weight: 700;
    margin: 10px 0 15px;
}

.about-info-card p {
    color: #666;
    line-height: 1.8;
}


/* =========================================
   ABOUT POINTS
========================================= */

.about-point {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.about-point-icon {
    flex: 0 0 30px;
    color: var(--primary);
    font-size: 20px;
    padding-top: 3px;
}

.about-point h5 {
    margin: 0 0 5px;
    font-weight: 700;
}

.about-point p {
    margin: 0;
    color: #666;
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 767.98px) {

    .page-hero {
        padding: 70px 0;
    }

    .page-hero h1 {
        font-size: 2.5rem;
    }

    .about-info-card {
        padding: 30px;
    }

}
/************ end about ******************/

/************* contact *************/

/* =========================================
   CONTACT PAGE
========================================= */

.contact-page-hero {
    background:
        linear-gradient(
            90deg,
            rgba(133, 12, 17, 0.95),
            rgba(181, 18, 24, 0.85)
        ),
        url('../images/about.jpg') center center / cover no-repeat;
}


/* =========================================
   CONTACT INFORMATION
========================================= */

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    margin-top: 28px;
}

.contact-info-icon {
    width: 50px;
    height: 50px;

    flex: 0 0 50px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(181, 18, 24, 0.08);
    color: var(--primary);

    border-radius: 50%;

    font-size: 18px;
}

.contact-info-item span {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.contact-info-item a {
    color: #222;
    font-weight: 600;
    text-decoration: none;
}

.contact-info-item a:hover {
    color: var(--primary);
}

.contact-info-item p {
    margin: 0;
    color: #555;
    line-height: 1.7;
}


/* =========================================
   CONTACT FORM
========================================= */

.contact-form-card {
    background: #fff;

    padding: 45px;

    border: 1px solid #eeeeee;

    border-radius: 10px;

    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.06);
}

.contact-form-card h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 10px 0;
}

.contact-form-card > p {
    color: #666;
    margin-bottom: 30px;
}

.contact-form-card .form-label {
    font-weight: 600;
    color: #333;
}

.contact-form-card .form-control,
.contact-form-card .form-select {
    min-height: 50px;

    border: 1px solid #ddd;

    border-radius: 5px;

    padding: 12px 15px;
}

.contact-form-card textarea.form-control {
    min-height: 140px;
}

.contact-form-card .form-control:focus,
.contact-form-card .form-select:focus {
    border-color: var(--primary);

    box-shadow:
        0 0 0 0.2rem rgba(181, 18, 24, 0.12);
}


/* =========================================
   LOCATION CARDS
========================================= */

.location-card {
    background: #fff;

    padding: 15px 25px;

    border: 1px solid #eeeeee;

    border-radius: 10px;

    transition: all 0.3s ease;
}

.location-card:hover {
    transform: translateY(-5px);

    box-shadow:
        0 15px 35px rgba(0, 0, 0, 0.08);
}

.location-icon {
    width: 60px;
    height: 60px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--primary);
    color: #fff;

    border-radius: 50%;

    font-size: 22px;

    margin-bottom: 20px;
}

.location-icon i{color:black; }
.location-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.location-card > p {
    color: #666;
    margin-bottom: 20px;
}

.location-phone {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.location-phone a {
    color: #333;
    text-decoration: none;
    font-weight: 600;
}

.location-phone a:hover {
    color: var(--primary);
}

.location-phone i {
    color: var(--primary);
    margin-right: 8px;
}

.location-map-link {
    display: inline-flex;

    align-items: center;

    gap: 8px;

    margin-top: 25px;

    color: var(--primary);

    font-weight: 700;

    text-decoration: none;
}

.location-map-link:hover {
    color: var(--orange);
}


/* =========================================
   GOOGLE MAPS
========================================= */

.map-section {
    margin-top: 40px;

    border: 1px solid #eeeeee;

    border-radius: 10px;

    overflow: hidden;

    background: #fff;

    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
}

.map-header {
    padding: 25px 30px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;
}

.map-header h3 {
    margin: 0 0 7px;

    font-size: 1.4rem;

    font-weight: 700;
}

.map-header p {
    margin: 0;

    color: #666;
}

.map-header p i {
    color: var(--primary);
    margin-right: 5px;
}

.map-container {
    width: 100%;
    background: #eee;
}

.map-container iframe {
    display: block;
}


/* =========================================
   CONTACT SOCIAL
========================================= */

.contact-social h5 {
    font-weight: 700;
    margin-bottom: 15px;
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 767.98px) {

    .contact-form-card {
        padding: 25px;
    }

    .location-card {
        padding: 25px;
    }

    .map-header {
        padding: 20px;

        flex-direction: column;

        align-items: flex-start;
    }

    .map-header .btn {
        width: 100%;
    }

    .map-container iframe {
        height: 300px;
    }

}
/************** end contact ***************************/

/************** products page *************/
/* =====================================================
   PRODUCTS PAGE
====================================================== */

.products-hero {
    min-height: 430px;
    display: flex;
    align-items: center;
    position: relative;
    background:
        linear-gradient(
            rgba(0, 0, 0, 0.60),
            rgba(0, 0, 0, 0.60)
        ),
        url('https://placehold.co/1920x700?text=Richwood+Products')
        center / cover no-repeat;
}

.page-hero-content {
    max-width: 750px;
    color: #fff;
}

.hero-label {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.page-hero-content h1 {
    font-size: clamp(42px, 6vw, 68px);
    font-weight: 800;
    margin-bottom: 15px;
}

.page-hero-content p {
    max-width: 650px;
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 0;
}


/* =====================================================
   INTRO
====================================================== */

.products-intro {
    background: #fff;
}

.section-subtitle {
    display: block;
    color: #d71920;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.section-title {
    font-size: 38px;
    font-weight: 800;
    margin-bottom: 18px;
}

.section-description {
    color: #666;
    font-size: 16px;
    line-height: 1.8;
}


/* =====================================================
   PRODUCT CARD
====================================================== */

.product-card {
    height: 100%;
    background: #fff;
    border: 1px solid #e9e9e9;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}


/* =====================================================
   PRODUCT IMAGE
====================================================== */

.product-image {
    position: relative;
    /*height: 240px;*/
    overflow: hidden;
    background: #f2f2f2;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.06);
}

.product-number {
    position: absolute;
    top: 15px;
    right: 15px;

    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #d71920;
    color: #fff;

    border-radius: 50%;

    font-size: 13px;
    font-weight: 700;
}


/* =====================================================
   PRODUCT CONTENT
====================================================== */

.product-content {
    padding: 25px;
}

.product-content h3 {
    font-size: 21px;
    font-weight: 750;
    margin-bottom: 12px;
    color: #222;
}

.product-content p {
    color: #666;
    font-size: 14px;
    line-height: 1.7;
    min-height: 72px;
    margin-bottom: 20px;
}

.product-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    color: #d71920;

    font-size: 14px;
    font-weight: 700;

    text-decoration: none;

    transition: all 0.3s ease;
}

.product-link:hover {
    color: #111;
    gap: 12px;
}


/* =====================================================
   CTA
====================================================== */

.products-cta {
    background: #f5f5f5;
}

.products-cta h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 12px;
}

.products-cta p {
    color: #666;
    line-height: 1.7;
    max-width: 700px;
    margin-bottom: 0;
}


/* =====================================================
   MOBILE
====================================================== */

@media (max-width: 767px) {

    .products-hero {
        min-height: 350px;
    }

    .page-hero-content h1 {
        font-size: 42px;
    }

    .page-hero-content p {
        font-size: 16px;
    }

    .section-title {
        font-size: 30px;
    }

    .product-image {
        height: 220px;
    }

    .products-cta h2 {
        font-size: 30px;
    }

}
/************* end products page**********/


/********** start categories *************/
/* =========================================================
   CATEGORIES PAGE
========================================================= */

.categories-section {
    padding: 70px 0;
}

.category-section {
    margin-bottom: 70px;
}

.category-section:last-child {
    margin-bottom: 0;
}


/* ---------------------------------------------------------
   Category Header
--------------------------------------------------------- */

.category-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;

    margin-bottom: 30px;
    padding-bottom: 15px;

    border-bottom: 1px solid #e5e5e5;
}

.category-header h2 {
    margin: 0 0 8px;
    font-size: 30px;
    line-height: 1.2;
}

.category-header p {
    margin: 0;
    color: #666;
    font-size: 15px;
}

.category-link {
    display: inline-flex;
    align-items: center;

    white-space: nowrap;

    padding: 10px 18px;

    border: 1px solid #ddd;
    border-radius: 4px;

    color: #333;
    text-decoration: none;

    font-size: 14px;
    font-weight: 600;

    transition: all 0.2s ease;
}

.category-link:hover {
    background: #333;
    color: #fff;
    border-color: #333;
}


/* ---------------------------------------------------------
   Product Grid
--------------------------------------------------------- */

.products-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 25px;
}


/* ---------------------------------------------------------
   Product Card
--------------------------------------------------------- */

.product-card {
    background: #fff;

    border: 1px solid #e7e7e7;
    border-radius: 6px;

    overflow: hidden;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.product-card:hover {
    transform: translateY(-4px);

    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.08);
}


/* ---------------------------------------------------------
   Product Image
--------------------------------------------------------- */

.product-image-link {
    display: block;
    text-decoration: none;
}

.product-image {
    position: relative;

    width: 100%;
    height: 230px;

    background: #f6f6f6;

    overflow: hidden;
}

.product-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.04);
}


/* ---------------------------------------------------------
   No Image
--------------------------------------------------------- */

.product-no-image {
    width: 100%;
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #999;
    font-size: 14px;
}


/* ---------------------------------------------------------
   Featured Badge
--------------------------------------------------------- */

.featured-badge {
    position: absolute;

    top: 12px;
    left: 12px;

    padding: 5px 9px;

    background: #222;
    color: #fff;

    border-radius: 3px;

    font-size: 11px;
    font-weight: 600;

    text-transform: uppercase;
}


/* ---------------------------------------------------------
   Product Information
--------------------------------------------------------- */

.product-info {
    padding: 18px;
}

.product-info h3 {
    margin: 0 0 15px;

    font-size: 17px;
    line-height: 1.4;
}

.product-info h3 a {
    color: #222;
    text-decoration: none;
}

.product-info h3 a:hover {
    color: #666;
}

.product-view {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    color: #333;
    text-decoration: none;

    font-size: 13px;
    font-weight: 600;
}

.product-view:hover {
    text-decoration: underline;
}

.product-view span {
    font-size: 16px;
}


/* ---------------------------------------------------------
   No Products
--------------------------------------------------------- */

.no-products {
    text-align: center;

    padding: 80px 20px;
}

.no-products h2 {
    margin-bottom: 10px;
}

.no-products p {
    color: #666;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1100px) {

    .products-grid {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }

}


@media (max-width: 800px) {

    .categories-section {
        padding: 50px 0;
    }

    .category-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 15px;
    }

    .products-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 18px;
    }

}


@media (max-width: 500px) {

    .category-section {
        margin-bottom: 50px;
    }

    .category-header h2 {
        font-size: 24px;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .product-image {
        height: 240px;
    }

}
/******************* end categories ****/

.product-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.product-card-link:hover {
    color: inherit;
}

.product-card-link .product-link {
    text-decoration: none;
}