@media (max-width: 768px) {
    .only-larger{
        display: none;
    }
    .custom-navbar, nav, .navbar{
        background-color: #ffffff !important;
    }
    .navbar-toggler{
        color: white !important;
    }
    .toggle-menu img{
        height: 40px !important;
        width: 40px !important;
        /* background-color: #084527; */
        border-radius: 5px;
    }
    .navbar-toggler-icon{
        color: white !important;
        background-color: white;
    }
    .carousel-item, .container-fluid {
        height: 1100px !important;
    }
    .hero-section-h1{
        margin-top: 80px !important;
        font-size: 35px !important;
        line-height: 44px;
    }
    .hero-section-btn1{
        margin-left: 15%;
    }
    .img-fluid{
        margin-bottom: 50px;
    }
    .hero-section-h1{
        text-align: center;
    }
    .service-h2{
        margin-left: 7%;
    }
    .services-section p{
        padding: 0 10px;
    }
    .testimonial-section{
        max-height: 100vh !important;
    }
    .review-btn{
        position: relative;
        bottom: 50vh !important;
    }
    .custom-footer {
        background: #ffffff;
        padding: 40px 0;
        position: relative;
        overflow: hidden;
    }
    .custom-footer-div::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 170% !important;
        background: url('images/freepik__adjust__39940-removebg-preview.png') no-repeat center center/cover;
        opacity: 0.2; /* Adjust opacity (0.1 - 1) */
        z-index: 1;
    }
 
}
@media (max-width: 768px) {
    .form-left {
        flex: 1 100%;
        min-height: 200px;
    }
    .form-right {
        flex: 1 100%;
    }
    .only-larger{
        display: none;
    }
    .product-container {
        text-align: justify !important;
        padding: 0px;
    }
    .product-container img {
        width: 300px;
    }
    .highlight {
        text-align: center;
    }
    .display-flex{
        display: flex !important;
    }
    .product-description{
        margin: 0px !important;
        margin-top: 20px;
        text-align: justify !important;
    }
    .custom-container{
        height: 250px !important;
        padding: 0 !important;
        margin: 0%;
        /* background: url('images/productHeaderBG.webp') no-repeat center center/cover !important; */
        background-color: green;
    }
    .custom-heading{
        font-size: 24px !important;
    }
    .text-section {
        max-width: 700px;
        margin: 0 auto;
        position: relative;
        right: 0px !important;
        bottom: 40px !important;
    }
    
    .text-section p{
        font-size: 20px !important;
    }

    /* hero section  */
    .services-text h2, .services-text p{
        text-align: center !important;
        margin-bottom: 5vh !important;
    }
    .services-text{
        max-width: 95vw !important;
    }
    .services-btn{
        margin-left: 10vw;
    }
    .services-section{
        height: 50vh !important;
    }

    .main-title{
        color: #161616;
        font-size: 24px !important; 
        text-align: center !important;
    }
    .services-text-p{
        font-weight: 100 !important;
    }
    .section-text{
        padding: 10px;
    }
}



body{
    font-family: Poppins, sans-serif;
   
}
a{
    text-decoration: none !important;
}
.custom-header {
    background: #0B2341;
    /* background-color: #FFB724; */
    padding: 10px 30px;
    color: #ff9a02;
    }
.social-icons i{
    color: #ff9a02;
    padding: 0 5px;
    font-weight: bolder;
    font-size: 18px;
}
.social-icons{
    font-weight: bolder;
}
.social-icons a{
    color: #ffffff;
}
.main-title {
    color: #161616;
    font-weight: bold;
    font-size: 38px;
    /* text-align: center; */
}
        .custom-navbar {
            position: relative;
            /* background: linear-gradient(90deg, #7bc043 25%, #0a0e20 25%); */
            /* background: linear-gradient(140deg, #7bc043 33%, #0a0e20 33%); */
            background-color: white;
            padding: 15px 0;
        }
        .navbar-brand {
            color: white;
            font-weight: bold;
        }
        .navbar-nav .nav-link {
            color: #02450f;
            font-size: 18px;
            font-weight: bold;
        }
        .nav-link {
            margin-right: 25px;
        }
        .navbar-nav .nav-link:hover {
            color: #7bc043;
        }
        .logo-img{
            height: 50px !important;
        }
        .cta-btn {
            background: #7bc043;
            color: white;
            border-radius: 5px;
        }
        .cta-btn:hover {
            background: #689f38;
        }

        
/* contact us section  */

.form-container {
    display: flex;
    flex-wrap: wrap;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}
.form-left {
    flex: 1;
    background: url('https://expertbuildcare.in/_next/image?url=%2F_next%2Fstatic%2Fmedia%2FHeroBG2.587f6854.png&w=2048&q=75') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    padding: 20px;
    position: relative;
    border-radius: 10px 0 0 10px;
}

.form-left::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(7, 7, 34, 0.7); /* Adjust opacity as needed */
    /* filter: blur(10px);  */
    z-index: 1; /* Keeps it below the content */
    border-radius: 10px 0 0 10px;
}

.form-left > div {
    position: relative;
    z-index: 2; /* Ensures content stays above the shadow */
}
.form-left i {
    font-size: 50px;
}
.form-right {
    flex: 2;
    padding: 30px;
}
.contact-form-btn {
    color: white;
    background-color: #ff9a02;
    font-size: 18px;
    font-weight: bolder;
}
@media (max-width: 768px) {
    .form-left {
        flex: 1 100%;
        min-height: 400px;
    }
    .form-left h3, .form-left i{
        padding: 5px;
    }
    .form-right {
        flex: 1 100%; 
    }
    .mrg-btm-10{
        margin-bottom: 15px;
    }
    .only-larger{
        display: none;
    }
    .product-container {
        text-align: justify !important;
        padding: 0px;
    }
    .product-container img {
        width: 300px;
    }
    .highlight {
        text-align: center;
    }
    .display-flex{
        display: flex !important;
    }
    
}

.services-section {
    position: relative;
    background-color: #0f2027;
    color: white;
    padding: 100px 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    overflow: hidden;
    height: 100vh;
}

/* Adding the shadow effect to the section */
.services-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgb(8, 2, 38) 40%, rgba(0, 0, 0, 0.3) 100%);
    z-index: 1;
}

.services-text {
    /* max-width: 500px; */
    position: relative;
    z-index: 2;
}

.services-text h2 {
    font-weight: bold;
    font-size: 40px;
}

.services-text h2 span {
    color: #76b82a;
}
.services-text p {
    font-size: 18px;
    margin-bottom: 20px;
    font-weight: lighter !important;
}


.services-btn {
    background-color: #1d7874;
    border: none;
    padding: 10px 25px;
    font-size: 18px;
    font-weight: bold;
    border-radius: 5px;
    color: white;
}

.services-btn:hover {
    background-color: #5a8e1f;
}

.services-image {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 50%;
    background: url('images/AboutUsHero.webp') no-repeat center center/cover;
    z-index: 0;
}
.whatsapp-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 3;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    text-decoration: none;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
}

/* Extra class to avoid conflicts */
.who-we-are {
    max-width: 1100px;
    margin: auto;
}

.section-title {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 20px;
}

.section-text {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 15px;
}

.who-image {
    width: 100%;
    height: auto;
}

/* Custom Banner Section */
.custom-banner {
    position: relative;
    background-color: #0f1027; /* Dark Blue (Matching Image) */
    padding: 60px 30px;
    border-radius: 15px;
    max-width: 1100px;
    margin: auto;
}

/* Banner Text */
.custom-banner-text {
    font-size: 20px;
    font-weight: 600;
    color: #ffffff;
    max-width: 800px;
    margin: auto;
    line-height: 1.6;
}

/* Circular Elements */
.circle {
    position: absolute;
    background-color: #6abf4b; /* Green Matching */
    border-radius: 50%;
}

/* Circle Sizes and Positioning */
.circle-small {
    width: 10px;
    height: 10px;
    left: 10%;
    top: 50%;
}

.circle-medium {
    width: 20px;
    height: 20px;
    right: 10%;
    top: 20%;
}

.circle-large {
    width: 30px;
    height: 30px;
    left: 20%;
    bottom: 10%;
}

/* Responsive Tweaks */
@media (max-width: 768px) {
    .custom-banner {
        padding: 40px 20px;
    }
    .custom-banner-text {
        font-size: 18px;
    }
    .circle-small { left: 5%; top: 60%; }
    .circle-medium { right: 5%; top: 15%; }
    .circle-large { left: 10%; bottom: 5%; }
}

/* Vision & Mission Section */
.vision-mission-section {
    padding: 60px 0;
}

/* Headings */
.vm-heading {
    font-size: 28px;
    font-weight: 800;
    /* color: #0f2027;  */
}

/* Subheadings */
.vm-subheading {
    font-size: 20px;
    font-weight: 700;
    color: #004d00;
    margin-bottom: 15px;
}

/* Paragraph Text */
.vm-text {
    font-size: 16px;
    font-weight: 400;
    color: #4a4a4a; /* Matching text color */
    line-height: 1.6;
    margin-bottom: 10px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .vision-mission-section {
        padding: 40px 20px;
    }
    .vm-heading {
        font-size: 24px;
    }
    .vm-subheading {
        font-size: 18px;
    }
    .vm-text {
        font-size: 14px;
    }
}

/* Core Values Section */
.core-values-section {
    padding: 60px 0;
    text-align: center;
}

/* Title */
.core-values-title {
    font-size: 28px;
    font-weight: 800;
    color: #0f2027; /* Matching Image */
    margin-bottom: 20px;
}

/* Card Styles */
.core-card {
    padding: 25px;
    border-radius: 15px;
    text-align: left;
    box-shadow: 2px 2px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
}

.core-card:hover {
    transform: translateY(-5px);
}

/* Dark Card */
.core-card-dark {
    background-color: #0f2027;
    color: white;
}

/* Light Card */
.core-card-light {
    background-color: white;
    color: #0f2027;
}

/* Icons */
.core-icon {
    font-size: 28px;
    margin-bottom: 10px;
}

/* Headings */
.core-heading {
    font-size: 20px;
    font-weight: 700;
    display: flex;
    align-items: center;
}

/* Green Dot */
.core-dot {
    height: 10px;
    width: 10px;
    background-color: #4CAF50;
    border-radius: 50%;
    display: inline-block;
    margin-left: 8px;
}

/* Text */
.core-text {
    font-size: 16px;
    font-weight: 400;
    margin-top: 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .core-values-section {
        padding: 40px 20px;
    }
    .core-heading {
        font-size: 18px;
    }
    .core-text {
        font-size: 14px;
    }
}



.custom-footer {
    background: #ffffff;
    padding: 40px 0;
    position: relative;
    overflow: hidden;
}
.custom-footer-div::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('images/freepik__adjust__39940-removebg-preview.png') no-repeat center center/cover;
    opacity: 0.1;
    z-index: 1;
}

/* Content should stay above background */
.custom-footer-div{
    position: relative;
    z-index: 2;
}
.custom-footer .background-img {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: auto;
    z-index: -1;
    opacity: 0.5;
}
.custom-footer h5 {
    font-weight: bold;
    color: #ff9a02;
}
.custom-footer h4 {
    font-weight: bold;
    color: #084527 !important;
}
.custom-footer p,
.custom-footer a {
    color: #333;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
    padding: 8px;
    position: relative;
    z-index: 3;
    cursor: pointer;
    border-radius: 4px;
}

.custom-footer a:hover {
    color: #ff9a02;
    text-decoration: none;
    background-color: rgba(255, 154, 2, 0.1);
}
.copyright{
    color: #7f8381 !important;
    text-align: center !important;
    margin-top: 15px;
}
.social-icons-footer {
    margin-bottom: 10px;
    position: relative;
    right: 5px;
    z-index: 3;
}

.social-icons-footer a {
    display: inline-block;
    margin-right: 15px;
    font-size: 20px;
    color: #333;
    transition: color 0.3s ease;
}

.social-icons-footer a:hover {
    color: #ff9a02;
}
.fotter-logo{
    position: relative;
    right: 15px;
}
.custom-footer a:hover {
    color: #ff9a02;
    text-decoration: none;
}
.custom-footer .social-icons i {
    font-size: 20px;
    margin-right: 2px;
    color: #0c3d26;
}

.custom-footer .social-icons i:hover {
    color: #ad8b2b;
}