/* ==================== GOOGLE FONTS ==================== */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

/* ==================== CSS VARIABLES ==================== */
:root {
    --header-height: 5rem;

    /* Colors */
    --primary-color: #E41E25;
    --primary-color-alt: #c41a20;
    --title-color: #222222;
    --text-color: #555555;
    --body-color: #FFFFFF;
    --container-color: #F8F9FA;
    --dark-color: #111111;

    /* Font and typography */
    --body-font: 'Poppins', sans-serif;
    --h1-font-size: 2.5rem;
    --h2-font-size: 2rem;
    --h3-font-size: 1.5rem;
    --normal-font-size: 1rem;
    --small-font-size: 0.875rem;

    /* Font weight */
    --font-medium: 500;
    --font-semi-bold: 600;
    --font-bold: 700;

    /* Margins */
    --mb-0-5: 0.5rem;
    --mb-1: 1rem;
    --mb-1-5: 1.5rem;
    --mb-2: 2rem;

    /* z-index */
    --z-tooltip: 10;
    --z-fixed: 100;
}

/* ==================== BASE STYLES ==================== */
* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--body-font);
    font-size: var(--normal-font-size);
    background-color: var(--body-color);
    color: var(--text-color);
    background: #949494;
}

h1,
h2,
h3 {
    color: var(--title-color);
    font-weight: var(--font-semi-bold);
}

ul {
    list-style: none;
    color: white;
    font-family: Lato;
    font-size: 18.1px;
    line-height: 31.46px;
    letter-spacing: 0px;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

/* ==================== REUSABLE CSS CLASSES ==================== */
.section {
    padding: 6rem 0 2rem;
}

.section__title {
    font-family: Exo;
    font-weight: 700;
    font-style: Bold;
    font-size: 27px;
    text-align: center;
    line-height: 46.8px;
    letter-spacing: 0%;
    vertical-align: middle;
    color: white;
    font-family: Exo;
    font-weight: 600;
    font-style: SemiBold;
    font-size: 49.8px;
    line-height: 60.91px;
    letter-spacing: 0px;
    text-align: start;
}

.section__subtitle {
    font-family: Kanit;
    font-weight: 500;
    font-size: 23.59px;
    leading-trim: NONE;
    line-height: 16.85px;
    letter-spacing: 0px;
    text-transform: uppercase;
    color: #5D0003;

}

.section__tagline {
    color: #5A0305;
    margin-bottom: var(--mb-2);
    font-weight: var(--font-medium);
    font-family: Exo;
    font-weight: 800;
    font-size: 19px;
    vertical-align: middle;
    text-transform: capitalize;
}

.container {
    max-width: 1024px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 1.5rem;
    margin-bottom: 46px;
}

.text-center {
    text-align: center;
}

/* ==================== BUTTON ==================== */
.button {
    display: inline-block;
    background-color: #363636;
    color: #fff;
    padding: 1rem 2rem;
    border-radius: 2px;
    transition: background-color .3s;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    width: 100% !important;
    font-family: Exo;
    font-weight: 800;
    font-size: 32px;
    line-height: 22px;
    vertical-align: middle;
}

.button:hover {
    background-color: #5D0003;
}

.button--header {
    padding: 0.75rem 1.5rem;
}

/* ==================== HEADER ==================== */

.container {
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
}

/* Header */
.navbar {
    /* background: #000; */
    color: #fff;
    padding: 15px 0;
    position: absolute;
    width: 100%;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-image: url(./assets/Header.png);
    padding: 0;
    clip-path: polygon(0% 0%, 100% 0%, 97% 100%, 1% 100%);
}

.nav-background-shape {
    /* Position the shape absolutely within the wrapper */
    position: absolute;
    top: 0;
    right: 0;
    /* This dark area should cover from the start of the "Services" link to the right edge */
    width: 350px;
    /* Adjust this to cover the desired area (Services, Contact, and the overhang) */
    height: 100%;
    background-color: #6a1a1e;
    /* Dark red/maroon color from the image */
    z-index: 5;
    /* Below the links, above the main content */

    /* Creates the diagonal cut on the left side */
    clip-path: polygon(15% 0%, 100% 0%, 100% 100%, 0% 100%);
    /* Adjust '15%' to control the steepness/position of the diagonal cut */
}

.logo {
    width: 80px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 69px;
    font-family: Exo;
    font-weight: 700;
    font-size: 17px;
    line-height: 22px;
    vertical-align: middle;
    margin-right: 48px;
}

.nav-links li a {
    color: black;
    font-weight: 700;
    font-size: 17px;
    line-height: 22px;
    vertical-align: middle;
}

.btn {
    padding: 10px 20px;
    color: white;
    border-radius: 5px;
    margin-left: 20px;
    font-family: Exo;
    font-weight: 800;
    font-style: ExtraBold;
    font-size: 18px;
    leading-trim: NONE;
    line-height: 28px;
    letter-spacing: 0%;
    vertical-align: middle;
    text-transform: uppercase;


}

/* Hero */
.hero {
    background: url('assets/Section.jpg') center/cover no-repeat;
    color: white;
    text-align: center;
    padding: 100px 20px;
}

.hero h2 {
    font-size: 40px;
    font-weight: bold;
}

/* ==================== HERO ==================== */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    background-image: url('./assets/jcp2.png');
    background-size: cover;
    background-position: center;
    color: #fff;

}

.hero__container {
    /* max-width: 600px; */
}

.hero__title {
    font-family: Exo;
    font-weight: 600;
    font-style: SemiBold;
    font-size: 50.8px;
    leading-trim: NONE;
    letter-spacing: 0px;
    width: 67%;
    text-align: start;

}

.address {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 67px;
    padding-bottom: 13px;
    width: 83%;


}

.Add1 {
    display: flex;
    align-items: center;
    gap: 24px;
}

.Add1 .bi-geo-alt-fill,
.Add1 .bi-envelope-fill {
    color: #5D0003;
}

.Add1 p {
    font-family: Exo;
    font-weight: 500;
    font-style: Medium;
    font-size: 15px;
    leading-trim: NONE;
    line-height: 28px;
    letter-spacing: 0%;
    vertical-align: middle;
    color: #000000;
}

.contact__info {
    display: flex;
    margin-top: 31px;
    gap: 10px;
}

.call {
    background: black;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}


.call .bi-telephone-fill {
    font-size: 19px;
}

.callnow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 19px;
}

.hero__contact {
    margin-top: var(--mb-1);
    font-weight: var(--font-medium);
    color: black;
    text-align: start;
}

.welcome {
    font-family: Exo;
    font-weight: 400;
    font-style: Regular;
    font-size: 18px;
    leading-trim: NONE;
    line-height: 30px;
    letter-spacing: -1px;
    vertical-align: middle;
    text-transform: uppercase;
    color: #5D0003;
    text-align: start;
}

.started {
    /* background: #5D0003; */
    padding: 16px 33px 14px 32px;
    display: flex;
    align-items: center;
}

/* ==================== ABOUT US ==================== */
.about {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
    gap: 3rem;
    margin-top: 50px;
    margin-bottom: 57px;
}

.about__description ul li {
    font-family: Lato;
    font-weight: 700;
    font-size: 17.1px;
    line-height: 31.46px;
    letter-spacing: 0px;
}

.about__description ul {
    font-family: Lato;
    font-weight: 400;
    font-style: Regular;
    font-size: 19.1px;
    leading-trim: NONE;
    line-height: 31.46px;
    letter-spacing: 0px;

}

.about__image img {
    border-radius: 8px;
}

.about__description {
    line-height: 1.6;
}

/* ==================== WHAT WE DO (SERVICES) ==================== */
.services {
    background-color: #A3A3A3;
}

.services__category-title {
    margin-top: 4rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-left: 2.5rem;
}

.services__category-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    background-image: url('./assets/icon/pin.png');
    width: 32px;
    height: 57px;
    background-repeat: no-repeat;
}


.services__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.service-card {
    background-color: #171717;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    position: relative;
}

.service-card img {
    width: 80%;
    height: 199px;
    object-fit: cover;
    position: relative;
    top: -10px;
    border-radius: 10px;
}

.serviceHeading {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.serviceHeading span {
    background: #5A0305;
    color: white;
    padding: 10px;
    font-family: Exo;
    font-weight: 700;
    font-size: 15px;
    line-height: 16px;
    vertical-align: middle;
    text-transform: uppercase;
}

.service-card p {
    padding: 2rem;
    color: white;
    font-family: Exo;
    font-weight: 700;
    font-size: 22px;
    line-height: 28.6px;
    vertical-align: middle;
}



/* Overlay hidden by default */
.service-card .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgb(0 0 0 / 38%);
    /* bluish overlay */
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Hover Effect */
.service-card:hover img {
    transform: scale(1.05);
}

.service-card:hover .overlay {
    opacity: 1;
}

/* ==================== CLIENTS ==================== */
.clients__logos {
    display: flex;
    gap: 40px;
    /* space between logos */
    overflow-x: auto;
    /* horizontal scroll */
    overflow-y: hidden;
    /* no vertical scroll */
    scroll-behavior: smooth;
    /* smooth swipe */
    padding: 10px 0;
    -ms-overflow-style: none;
    /* hide scrollbar in IE/Edge */
    scrollbar-width: none;
    /* hide scrollbar in Firefox */
}

.clients__logos::-webkit-scrollbar {
    display: none;
    /* hide scrollbar in Chrome/Safari */
}

.clients__logos img {
    height: 60px;
    /* logo size */
    flex: 0 0 auto;
    /* prevent shrinking */
    transition: transform 0.3s ease;
}

.clients__logos img:hover {
    transform: scale(1.1);
    /* hover zoom effect */
}

/* ==================== CONTACT ==================== */
.contact__container {
    display: grid;
    grid-template-columns: 4fr 3fr;
    background-color: #f0f0f0;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 47px;
}

.formdesign {
    background: white;
    padding: 33px;
    width: 100%;
}

.contact__media {
    background-image: url('./assets/contactImage.png');
    display: flex;
    justify-content: center;
    align-items: center;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.contact__media img {
    width: 150px;
}

.contact__form-container {
    padding: 3rem;
    display: flex;
}

.contact_form .form_group-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.contact_form .form_group-row input {
    width: 100%;
}

.contact__form input,
.contact__form textarea,
.contact__form select {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid #ddd;
    margin-bottom: 1rem;
    border-radius: 0;
    padding-left: 29px;
    margin-top: 10px;
    font-family: Exo;
    font-weight: 500;
    font-size: 15px;
    line-height: 100%;
    vertical-align: middle;
    color: #505050;
    background: #EAEAEA;
}

.contact__form textarea {
    resize: vertical;
}

.contact__form .button {
    width: 100%;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.footer {
    background-color: #B5B5B5;
    color: #ccc;
    padding-top: 4rem;
    font-family: Arial, sans-serif;
}

.footer-col.contact {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 0px 2rem 2rem;
    flex-wrap: wrap;
}

.touch {
    font-family: Exo;
    font-weight: 500;
    font-style: Medium;
    font-size: 17px;
    leading-trim: NONE;
    line-height: 28px;
    letter-spacing: 0%;
    vertical-align: middle;
    color: #5D0003;
}


.footer__subscribe {
    display: flex;
    margin-top: 1rem;
}

.footer__subscribe input {
    padding: 0.5rem;
    border: none;
    border-radius: 4px 0 0 4px;
    outline: none;
    width: 200px;
}

.footer__subscribe .button {
    padding: 0.5rem 1rem;
    background-color: #5D0003;
    color: white;
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
}

.footer__container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    padding: 2rem;
    /* border-top: 1px solid #444; */
}

.footer__logo img {
    height: 40px;
    margin-bottom: 1rem;
}

.footer__col h4 {
    font-family: Exo;
    font-weight: 800;
    font-style: ExtraBold;
    font-size: 22px;
    leading-trim: NONE;
    line-height: 28.6px;
    letter-spacing: 0%;
    vertical-align: middle;
    text-decoration: underline;
    text-decoration-style: solid;
    text-decoration-offset: 0%;
    text-decoration-thickness: 0%;
    color: #000000;

}

.footer__col p {
    font-family: Exo;
    font-weight: 400;
    font-style: Regular;
    font-size: 16px;
    leading-trim: NONE;
    line-height: 28px;
    letter-spacing: 0%;
    vertical-align: middle;
    color: #000000;

}

.footer__col ul {
    list-style: none;
    padding: 0;
}

.footer__col ul li {
    margin-bottom: 0.5rem;
}

.footer__col a {
    font-family: Exo;
    font-weight: 400;
    font-style: Regular;
    font-size: 16px;
    leading-trim: NONE;
    line-height: 28px;
    letter-spacing: 0%;
    vertical-align: middle;
    color: #000000
}

.footer__col a:hover {
    color: #5D0003;
}

.footer__bottom {
    padding: 1.5rem 2rem;
    border-top: 1px solid #444;
    text-align: center;
    color: #000000;
}

.container .footer__bottom p {
    font-family: Exo;
    font-weight: 400;
    font-style: Regular;
    font-size: 15px;
    leading-trim: NONE;
    line-height: 28px;
    letter-spacing: 0%;
    text-align: center;
    vertical-align: middle;

}

.social {
    display: flex;
    align-items: center;
    justify-content: end;
    padding-right: 50px;
    gap: 10px;
    padding-bottom: 10px;
}

/* ==================== MEDIA QUERIES FOR RESPONSIVENESS ==================== */
@media screen and (max-width: 992px) {
    .container {
        padding: 0 1rem;
    }

    .about {
        gap: 2rem;
    }
}

@media screen and (max-width: 768px) {
    :root {
        --h1-font-size: 2rem;
        --h2-font-size: 1.5rem;
    }

    .section {
        padding: 4rem 0 2rem;
    }

    .nav__menu {
        display: none;
        /* Simplification for this example. A real site needs a mobile menu button. */
    }

    .hero {
        /* height: 60vh; */
    }

    .about {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .contact__container {
        grid-template-columns: 1fr;
    }

    .contact__media {
        padding: 2rem;
        display: none;
        /* Hide side logo on mobile */
    }

    .contact__form-container {
        padding: 2rem;

    }

    .footer__bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media screen and (max-width: 576px) {
    .contact_form .form_group-row {
        flex-direction: column;
        gap: 0;
    }

    .hero__container {
        text-align: center;
    }
}


.footerHeading {
    font-family: Exo;
    font-weight: 600;
    font-style: SemiBold;
    font-size: 25.8px;
    leading-trim: NONE;
    line-height: 25px;
    letter-spacing: 0%;
    vertical-align: middle;
    color: black
}

.footer__col .footerPara {
    font-family: Exo;
    font-weight: 400;
    font-style: Regular;
    font-size: 15.1px;
    leading-trim: NONE;
    line-height: 20.5px;
    letter-spacing: 0px;
    vertical-align: middle;
    color: #5D0003;
}




/* Mobile Responsive */
@media (max-width: 784px) {

    /* .nav-links{
        display: none !important;
    } */
    .address {
        flex-direction: column;
        text-align: center;
        display: none;
    }

    .navbar .container {
        position: fixed;
        top: 0;
        width: 100%;
        background: transparent;
        clip-path: none;
        z-index: 11;
    }

    .nav-links {
        display: none;
        z-index: 10000;
        height: 100vh;
        flex-direction: column;
        background: white;
        position: absolute;
        top: 1px;
        right: -1px;
        width: 200px;
        padding: 15px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        margin-right: 0;
        gap: 37px;
    }

    .nav-links.active {
        display: flex;
        height: 100vh;
        position: fixed;
    }


    .menu-toggle {
        display: flex;
        color: black;
        position: absolute;
        right: 24px;

    }

    .hero__title {
        font-size: 35.8px;
        width: 100%;
    }

    #mobilescreen {
        clip-path: none !important;
        width: 100% !important;
    }

    .btn {
        display: none;
    }

    .contact__container {
        display: flex;
    }

    .contact__form-container {
        width: 100%
    }

    .main-wrap {
        flex-direction: column;
    }
}


@media(max-width:600px) {
    .hero {
        background-position: left
    }

    .contact__info {
        flex-wrap: wrap;
        justify-content: center;
    }

    .welcome {
        text-align: center;
    }

    .hero__title {
        text-align: center;
    }
}



.input-group-custom {
    display: flex;
    align-items: center;
    background: #f2f2f2;
    /* field background */
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 34px;
}

.input-group-custom .icon-box {
    background: #600000;
    /* dark red */
    /* color: #fff; */
    padding: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.input-group-custom input,
.input-group-custom select {
    border: none;
    outline: none;
    flex: 1;
    padding: 4px 19px;
    background: #f2f2f2;
}



#menuOverlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    /* transparent black */
    z-index: 1000;
}

.active1 {
    display: flex !important;
}