* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
}

html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
    font-family: Arial, sans-serif;
    background-image: url("../assets/images/bg-image.png");
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover; /* makes it fill the entire viewport */
    background-attachment: local; /* optional: for parallax-style effect */
}

/* Give body content space below navbar */
body {
    padding-top: 112px;
    /* adjust based on navbar height */
}

.main-page {
    margin-top: 0px;
}

/* ------------------ Banner ------------------ */
.banner {
    width: 100%;
}

.banner img {
    width: 100%;
    display: block;
}

/* ------------------ Product Section ------------------ */
.product-sec {
    padding: 50px 0;
}

.product-sec h1 {
    font-size: 25px;
    font-weight: 700;
    text-align: center;
    padding: 10px 0;
    text-decoration: underline;
}

.products .card {
    width: 100%;
    height: 175px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #B3C3DC;
    border-radius: 10px;
}

.products .card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    max-width: 250px;
    border-radius: 9px;
}

.products .card-text {
    text-align: center;
    padding: 5px 0;
}

.products .card-text h3 {
    font-size: 18px;
    margin: 1px 0;
    color: #414141;
}

.products .card-text p {
    font-size: 13px;
    color: rgb(103, 103, 103);
    margin: 5px 0;
}

.products .card-text h2 {
    font-size: 20px;
    color: #000;
    font-weight: bold;
    text-decoration: underline;
}

/* ------------------ Why Choose Us ------------------ */
.choose-sec {
    padding: 70px 0;
    background-color: #B3C3DC;
}

.choose-sec h1 {
    font-size: 25px;
    font-weight: bolder;
    text-align: center;
    padding-bottom: 30px;
    text-decoration: underline;
    color: #005BD0;
}

.choose-sec .img-sec img {
    width: 100%;
}

.choose-text {
    display: flex;
    justify-content: start;
    margin-top: 15px;
}

.choose-text h5 {
    display: inline-block;
    font-size: 15px;
    /* make width respected */
    width: 60px;
    /* fixed width */
    min-width: 60px;
    /* prevent shrinking */
    margin-right: 10px;
    /* spacing before text */
    vertical-align: top;
    /* align with text */
}

.choose-text .choose-top-text {
    padding-left: 10px;
}

.choose-text .choose-top-text h4 {
    font-size: 20px;
    padding-bottom: 7px;
}

.choose-text .choose-top-text p {
    font-size: 13px;
    color: #2d2d2d;
}

/* ------------------ Category ------------------ */
.category-sec {
    padding: 50px 0;
}

.category-sec h1 {
    font-size: 25px;
    font-weight: 700;
    text-align: center;
    padding: 10px 0;
    text-decoration: underline;
}

.category {
    width: 100%;
    height: 100%;
    padding: 20px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    border: solid 1px #000;
}

.category .cate {
    transition: all .3s ease-in-out;
    width: 90%;
    background-size: cover;
    background-position: center;
    background-repeat: repeat;
    background-image: url("data:image/svg+xml;utf8,%3Csvg viewBox=%220 0 1000 1000%22 xmlns=%22http://www.w3.org/2000/svg%22%3E%3Cdefs%3E%3CclipPath id=%22a%22%3E%3Cpath fill=%22currentColor%22 d=%22M870 670q-30 170-200 183.5t-346 6Q148 852 96 676t64.5-287.5q116.5-111.5 228-199t256-33q144.5 54.5 200 199T870 670Z%22/%3E%3C/clipPath%3E%3C/defs%3E%3Cg clip-path=%22url(%23a)%22%3E%3Cpath fill=%22%23DFF1B2%22 d=%22M870 670q-30 170-200 183.5t-346 6Q148 852 96 676t64.5-287.5q116.5-111.5 228-199t256-33q144.5 54.5 200 199T870 670Z%22/%3E%3C/g%3E%3C/svg%3E");
}

.category:hover .cate {
    background-image: url("data:image/svg+xml;utf8,%3Csvg viewBox=%220 0 1000 1000%22 xmlns=%22http://www.w3.org/2000/svg%22%3E%3Cdefs%3E%3CclipPath id=%22a%22%3E%3Cpath fill=%22currentColor%22 d=%22M870 670q-30 170-200 183.5t-346 6Q148 852 96 676t64.5-287.5q116.5-111.5 228-199t256-33q144.5 54.5 200 199T870 670Z%22/%3E%3C/clipPath%3E%3C/defs%3E%3Cg clip-path=%22url(%23a)%22%3E%3Cpath fill=%22%23A4DEFA%22 d=%22M870 670q-30 170-200 183.5t-346 6Q148 852 96 676t64.5-287.5q116.5-111.5 228-199t256-33q144.5 54.5 200 199T870 670Z%22/%3E%3C/g%3E%3C/svg%3E");
}

.category h6 {
    padding-top: 20px;
}

/* ------------------ Ratings ------------------ */
.rating-sec {
    padding: 50px 0;
}

.rating-sec h1 {
    font-size: 25px;
    font-weight: 700;
    text-align: center;
    padding: 10px 0;
    text-decoration: underline;
}

.rating {
    width: 100%;
    height: 100%;
    padding: 30px 20px;
    border-radius: 10px;
    background-color: #B3C3DC;
    transition: all .3s ease-in-out;
}

.rating:hover {
    background-color: #AEDB3E;
}

.rating h2 {
    font-size: 20px;
    text-transform: uppercase;
    color: #1c1c1c;
    padding: 5px 0;
}

.rating p {
    font-size: 14px;
    color: #4f4f4f;
}

.rating .profile {
    display: flex;
    align-items: center;
}

.rating .profile img {
    width: 60px;
    height: 60px;
    border-radius: 15px;
}

.profile-text {
    padding-left: 10px;
}

.profile-text h4 {
    font-size: 19px;
    color: #000;
}

.profile-text h5 {
    font-size: 15px;
    color: #4f4f4f;
}

/* ------------------ Footer ------------------ */
.footer-sec {
    padding: 40px 0;
    background-color: #B3C3DC;
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-sec img {
    /* width: 100%; */
    height: 130px;
}

.footer-sec ul {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    margin: 0;
    padding: 0;
}

.footer-sec ul li {
    list-style: none;
}

.footer-sec ul li a {
    text-decoration: none;
    font-size: 15px;
    font-weight: bold;
    color: #fff;
}

.socials {
    display: flex;
    justify-content: end;
    align-items: center;
    gap: 10px;
}

.socials .icooned {
    width: 45px;
    height: 45px;
    background-color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 25px;
    transition: all .3s ease-in-out;
}

.socials .icooned:hover {
    background-color: #AEDB3E;
}

.footer-sec .socials {
    min-height: 24px;
    /* Keeps layout stable even if all icons are hidden */
}

/* ===== Bottom Footer Styles ===== */
.inner-foot {
    background-color: #7d2829;
    /* Adjust to your theme color */
    color: #fff;
    font-size: 14px;
}

.bottom-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.bottom-footer h1 {
    font-size: 14px;
    margin: 0;
    color: #fff;
}

.bottom-footer .bot a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 14px;
}

.bottom-footer .bot a:hover {
    color: #ffcc00;
    /* Hover color */
}

/* ===== Responsive Styles ===== */
@media (max-width: 767px) {
    .bottom-footer {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }

    .bottom-footer h1 {
        font-size: 13px;
        margin-bottom: 5px;
    }

    .bottom-footer .bot {
        justify-content: center;
        flex-wrap: wrap;
        gap: 6px;
    }

    .bottom-footer .bot span {
        display: none;
        /* Hide separators on mobile */
    }
}

/* product category catalog */

/* .tools-section {
    background: #fff;
} */

.tool-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.tool-card img {
    transition: transform 0.5s ease;
    height: 230px;
    object-fit: cover;
    width: 100%;
}

.tool-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: background 0.3s ease;
}

.tool-overlay h5 {
    font-size: 1.1rem;
    color: #fff;
    text-transform: capitalize;
    letter-spacing: 0.5px;
}

.tool-card:hover img {
    transform: scale(1.1);
}

.tool-card:hover .tool-overlay {
    background: rgba(0, 0, 0, 0.65);
}

/* why to choose us */
/* .why-prefer {
    background: #fff;
} */

.why-prefer .section-title {
    font-weight: 700;
    text-transform: uppercase;
    color: #333;
}

.why-prefer .section-title span {
    color: #7d2829;
}

.why-item {
    text-align: center;
    transition: 0.3s ease;
}

.why-item .icon-wrap {
    width: 80px;
    height: 80px;
    border: 2px solid #eee;
    border-radius: 50%;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 32px;
    transition: 0.4s ease;
}

.why-item:hover .icon-wrap {
    background: #3f5782;
    color: #fff;
    transform: scale(1.1);
    border-color: #3f5782;
}

.why-item p {
    font-size: 14px;
    color: #fff;
    line-height: 1.4;
    margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .why-item .icon-wrap {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }

    .why-item p {
        font-size: 13px;
    }
}