@import url('https://fonts.googleapis.com/css2?family=Lexend:wght@100..900&display=swap');

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Lexend", sans-serif;
}

:root {
    --primary-color: #fd0d08;
    --secondary-color: #000000;
    --third-color: #7ed957;
    --white-color: #fff;
}

body,
html {
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

::selection {
    background-color: var(--primary-color);
    color: var(--white-color);
}

/* ===== TOP BAR ===== */
.top-bar {
    background: var(--secondary-color);
    color: #fff;
    font-size: 0.9rem;
    padding: 8px 0;
}

.top-bar i {
    color: var(--third-color);
    margin-right: 6px;
}

.top-bar a {
    color: #fff;
    text-decoration: none;
    transition: 0.3s;
}

.top-bar a:hover {
    color: var(--third-color);
}

/* ===== NAVBAR ===== */
.navbar {
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.navbar-brand h3 {
    color: var(--primary-color);
    font-weight: 700;
    margin: 0;
}

.navbar-nav .nav-link {
    color: var(--secondary-color);
    font-weight: 500;
    margin: 0 10px;
    transition: 0.3s;
    font-family: "Lexend", sans-serif;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-color) !important;
    border-bottom: 2px solid var(--primary-color);
}

.quote-btn {
    background: var(--primary-color);
    color: #fff !important;
    padding: 12px 25px !important;
    border-radius: 8px;
    font-weight: 600;
    transition: 0.3s;
    display: inline-block;
}

.quote-btn:hover {
    background: var(--third-color);
    color: #000 !important;
}

/* ===== OFFCANVAS MENU ===== */
.custom-offcanvas {
    background: var(--white-color);
    width: 280px;
    border-left: 4px solid var(--primary-color);
    transform: translateX(100%);
    transition: transform 0.4s ease-in-out;
}

.custom-offcanvas.show {
    transform: translateX(0);
}

.offcanvas-header {
    background: #f9f9f9;
}

.offcanvas .nav-link {
    font-weight: 500;
    color: var(--secondary-color);
    margin: 10px 0;
    transition: 0.3s;
    font-size: 17px;
}

.offcanvas .nav-link:hover,
.offcanvas .nav-link.active {
    color: var(--primary-color);
    transform: translateX(5px);
}

.offcanvas .quote-btn {
    background: var(--primary-color);
    color: #fff !important;
    border-radius: 6px;
    font-weight: 600;
    transition: 0.3s;
}

.offcanvas .quote-btn:hover {
    background: var(--third-color);
    color: #000 !important;
}

.navbar-toggler {
    padding: var(--bs-navbar-toggler-padding-y) var(--bs-navbar-toggler-padding-x);
    font-size: var(--bs-navbar-toggler-font-size);
    line-height: 1;
    color: rgb(255 255 255) !important;
    background-color: transparent;
    border: var(--bs-border-width) solid var(--bs-navbar-toggler-border-color);
    border-radius: var(--bs-navbar-toggler-border-radius);
    transition: var(--bs-navbar-toggler-transition);
}

/* ===== ANIMATION ===== */
.offcanvas-end.custom-offcanvas {
    animation: slideInRight 0.4s ease;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* ===== HERO SECTION ===== */
.hero {
    background-size: cover;
    background-position: center;
    height: 85vh;
    position: relative;
    display: flex;
    align-items: center;
    color: #fff;
    overflow: hidden;
}

.hero::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.527);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin-left: 15% !important;
    animation: fadeInUp 1.2s ease-in-out;
}

.hero-content h5 {
    color: var(--third-color);
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 60px;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1rem;
    margin-bottom: 25px;
    color: #ddd;
}

@media(max-width:768px) {
    .hero-content h5 {
        font-size: 40px;
        text-align: start;
    }

    .hero-content h1 {
        text-align: start;
    }

    .hero-content p {
        font-size: 15px;
        text-align: start;
        max-width: 500px !important;
    }
}

@media(max-width:610px) {
    .hero-content h5 {
        font-size: 30px;
        text-align: start;
    }

    .hero-content h1 {
        text-align: start;
        font-size: 20px;
    }

    .hero-content p {
        font-size: 13px;
        text-align: start;
        max-width: 300px !important;
    }

    .hero-btn {
        padding: 5px 15px !important;
        font-size: 16px !important;
    }

    .hero-btn-outline {
        padding: 5px 15px !important;
        font-size: 16px !important;
    }
}

@media(max-width:470px) {
    .hero-content {
        margin-left: 10% !important;
    }

    .hero-content h5 {
        font-size: 20px;
        text-align: start;
    }

    .hero-content h1 {
        text-align: start;
        font-size: 13px;
    }

    .hero-content p {
        font-size: 13px;
        text-align: start;
        max-width: 300px !important;
    }

    .hero-btn {
        padding: 5px 10px !important;
        font-size: 15px !important;
    }

    .hero-btn-outline {
        padding: 5px 10px !important;
        font-size: 15px !important;
    }
}

@media(max-width:400px) {
    .hero {
        height: 50vh;
        width: 100%;
    }

    .hero-content h5 {
        font-size: 20px;
        text-align: start;
    }

    .hero-content h1 {
        text-align: start;
        font-size: 20px !important;
    }

    .hero-content p {
        font-size: 13px;
        text-align: start;
        max-width: 300px !important;
    }

    .hero-btn {
        padding: 5px 10px !important;
        font-size: 11px !important;
    }

    .hero-btn-outline {
        padding: 5px 10px !important;
        font-size: 11px !important;
    }

    .custom-arrow span {
        padding: 3px 5px !important;
    }

}

/* ===== BUTTONS ===== */
.hero-btn {
    background: var(--primary-color);
    color: #fff;
    padding: 10px 25px;
    border-radius: 50px;
    margin-right: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.hero-btn:hover {
    background: var(--third-color);
    color: #000;
}

.hero-btn-outline {
    background: transparent;
    border: 2px solid #fff;
    color: #fff;
    padding: 10px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.hero-btn-outline:hover {
    background: #fff;
    color: var(--primary-color);
}

/* === IMAGE ZOOM ANIMATION === */
.carousel-item .hero {
    transform: scale(1);
    transition: transform 5s ease-in-out;
}

.carousel-item.active .hero {
    transform: scale(1.1);
}

/* === FADE IN === */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== ARROWS ===== */
.custom-arrow {
    bottom: 30px;
    top: auto;
    width: auto;
    height: auto;
    z-index: 5;
    transition: 0.4s;
}

.custom-arrow span {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid #fff;
    padding: 10px 15px;
    border-radius: 50%;
    transition: 0.3s;
}

.custom-arrow i {
    font-size: 1.2rem;
    color: #fff;
}

.custom-arrow:hover span {
    background: var(--third-color);
    border-color: var(--third-color);
}

.carousel-control-prev {
    right: 90px;
    left: auto;
}

.carousel-control-next {
    right: 30px;
}

/* ===== FEATURES SECTION (OVERLAY ON HERO) ===== */

.features-section {
    position: relative;
    margin-top: -150px;
    /* overlaps hero */
    z-index: 3;
    /* above carousel overlay */
}

.feature-card {
    background: #fff;
    border-radius: 12px;
    transition: all 0.4s ease;
    overflow: hidden;
    border-bottom: 3px solid var(--primary-color);
    padding: 50px 20px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.feature-card:hover {
    transform: translateY(-8px);
    border-bottom-color: var(--third-color);
}

.feature-icon i {
    color: var(--primary-color) !important;
    transition: color 0.3s ease;
}

.feature-card:hover .feature-icon i {
    color: #fd0d08;
}

.feature-card h5 {
    font-size: 1rem;
    color: #000;
    font-weight: 600;
}

.feature-number {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    height: 50px;
    width: 50px;
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
    justify-content: center;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .hero-content {
        text-align: center;
        margin-left: 0;
        padding: 0 20px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .carousel-control-prev {
        right: 70px;
    }

    .carousel-control-next {
        right: 15px;
    }

    .features-section {
        margin-top: -60px;
    }
}

.product-section {
    position: relative;
    background: url("../all-images/carousel-img/6.png") no-repeat center center/cover;
    padding: 100px 0;
    overflow: hidden;
}

.product-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    z-index: 1;
}

.product-section .container {
    position: relative;
    z-index: 2;
}

.product-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease;
    display: block;
}

.product-card:hover {
    transform: translateY(-8px);
}

.product-image {
    position: relative;
    width: 100%;
    height: 350px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-content {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--white-color);
    border-radius: 8px;
    padding: 20px 25px;
    width: 85%;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-content small {
    text-transform: uppercase;
    color: var(--primary-color);
    font-weight: 600;
    letter-spacing: 1px;
}

.product-content h5 {
    font-weight: 700;
    color: var(--secondary-color);
    margin-top: 5px;
    margin-bottom: 0;
}

.product-icon {
    background-color: var(--primary-color);
    color: var(--white-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
}

@media (max-width: 768px) {
    .product-content {
        width: 90%;
        bottom: 15px;
        padding: 15px 18px;
    }
}

@media (max-width: 576px) {
    .product-image {
        height: 220px;
    }
}
/* Navbar Dropdown Enhancements */
@media (min-width: 992px) {
    .navbar-nav .dropdown:hover .dropdown-menu {
        display: block;
        margin-top: 0;
    }
}

.navbar .dropdown-menu {
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    padding: 10px;
    min-width: 270px;
}

.navbar .dropdown-item {
    font-size: 0.9rem;
    font-weight: 500;
    padding: 9px 14px;
    border-radius: 8px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    color: var(--secondary-color);
}

.navbar .dropdown-item:hover {
    background-color: #f0f7fb;
    color: var(--primary-color) !important;
    transform: translateX(4px);
}
