/* infra about us secton css */
.infrahomeaboutus-title {
    font-size: 28px;
    color: #001f3f;
}

.infrahomeaboutus-desc {
    font-size: 15px;
    color: #555;
}

.infrahomeaboutus-img {
    width: 100%;
    border-radius: 8px;
    height: auto;
}

.infrahomeaboutus-counter {
    font-size: 32px;
    transition: all 0.3s ease-in-out;
}

.infrahomeaboutus-experience-box {
    width: 120px;
    margin: 0px;
}

/* Responsive Styles */
@media (max-width: 991px) {
    .infrahomeaboutus-title {
        font-size: 24px;
        text-align: start;
    }

    .infrahomeaboutus-desc {
        font-size: 14px;
        text-align: start;
    }

    .infrahomeaboutus-counter {
        font-size: 28px;
        text-align: start;
    }

    .infrahomeaboutus-experience-box {
        margin: 0px auto;
    }

    .infrahomeaboutus-wrapper {
        align-items: center;
    }
}

@media (max-width: 576px) {
    .infrahomeaboutus-title {
        font-size: 22px;
    }

    .infrahomeaboutus-desc {
        font-size: 13px;
    }

    .infrahomeaboutus-counter {
        font-size: 24px;
    }

    .infrahomeaboutus-img {
        height: auto;
    }
}


/* our service section css  */
.infrahomeservice-wrapper {
    background-color: #f9f3e7 !important;
    width: 100%;
    position: relative;
    z-index: 1;
}

.infrahomeservice-title {
    font-size: 32px;
    color: #001f3f;
    line-height: 1.4;
}

.infrahomeservice-desc {
    color: #555;
    font-size: 15px;
}

.infrahomeservice-card {
    background-color: #fff;
    border-radius: 8px;
    background-image: url('../img/grid-card.png');
    background-repeat: no-repeat;
    background-position: right bottom;
    background-size: contain;
    transition: 0.3s ease;
}

.infrahomeservice-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    background-image: url('../img/grid-card.png');
    background-color: #f9f3e7;
    border: 1px solid #ff5722;
}

.border-orange {
    border: 1px solid #ff5722;
}

.infrahomeservice-card a {
    font-size: 14px;
    letter-spacing: 0.5px;
    text-decoration: none;
}

.infrahomeservice-card i {
    transition: transform 0.3s ease;
}

.infrahomeservice-card a:hover i {
    transform: translateX(4px);
}

/* Responsive Styles */
/* For mobile view (xs) */
@media (max-width: 575px) {
    .infrahomeservice-title {
        font-size: 24px;
    }

    .infrahomeservice-desc {
        font-size: 14px;
    }

    .infrahomeservice-card {
        margin-bottom: 15px;
        background-size: cover;
        background-position: center;
        padding: 15px;
    }

    .infrahomeservice-card h6 {
        font-size: 18px;
    }

    .infrahomeservice-card p {
        font-size: 12px;
    }
}

/* For tablet view (sm) */
@media (min-width: 576px) and (max-width: 767px) {
    .infrahomeservice-title {
        font-size: 28px;
    }

    .infrahomeservice-desc {
        font-size: 15px;
    }

    .infrahomeservice-card {
        margin-bottom: 20px;
        background-size: cover;
        background-position: center;
        padding: 20px;
    }

    .infrahomeservice-card h6 {
        font-size: 20px;
    }

    .infrahomeservice-card p {
        font-size: 14px;
    }
}

/* For desktop view (md and above) */
@media (min-width: 768px) {
    .infrahomeservice-wrapper {
        padding: 20px !important;
    }

    .infrahomeservice-title {
        font-size: 32px;
    }

    .infrahomeservice-desc {
        font-size: 15px;
    }

    .infrahomeservice-card {
        margin-bottom: 30px;
        background-size: contain;
        background-position: right bottom;
        padding: 25px;
    }

    .infrahomeservice-card h6 {
        font-size: 22px;
    }

    .infrahomeservice-card p {
        font-size: 16px;
    }
}


/* get start section css */
.infrahomestart-section {
    background-image: url('../img/infra-benner.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 400px;
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    padding-top: 50px !important;
}


.infrahomestart-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 33, 71, 0.85);
    /* Dark blue overlay */
    z-index: 0;
}

.infrahomestart-content {
    position: relative;
    z-index: 2;
}

.infrahomestart-subtitle {
    color: #ff5722;
    font-weight: 600;
}

.infrahomestart-title {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.3;
    color: #ffffff;
}

.infrahomestart-desc {
    font-size: 15px;
    line-height: 1.6;
    color: #e0e0e0;
}

.btn-orange {
    background-color: #ff5722;
    color: white;
    border: none;
    font-weight: 600;
    transition: 0.3s ease;
}

.btn-orange:hover {
    background-color: #e64a19;
    color: white;
}

.infrahomestart-image {
    position: relative;
    z-index: 2;
    padding-right: 40px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.infrahomestart-builder {
    max-width: 100%;
    height: 430px;
    display: block;
    margin-bottom: 30px;
    object-fit: contain;
}


/* ---------- Responsive Styles ---------- */

@media (max-width: 991.98px) {
    .infrahomestart-section {
        flex-direction: row;
        height: auto;
        /* padding: 60px 20px; */
        text-align: center;
    }

    .infrahomestart-title {
        font-size: 30px;
        text-align: start;
    }

    .infrahomestart-desc {
        font-size: 14px;
        text-align: start;
    }

    .infrahomestart-image {
        justify-content: center;
        padding-right: 0;
        margin-top: 30px;
    }

    .infrahomestart-builder {
        height: auto;
        max-height: 380px;
        margin-bottom: -48px;
    }

    .infrahomestart-subtitle {
        text-align: start;
    }

    .infrahomestart-content {
        text-align: start;
    }
}

@media (max-width: 575.98px) {
    .infrahomestart-title {
        font-size: 24px;
    }

    .infrahomestart-builder {
        max-height: 320px;
        margin-bottom: -62px
    }

    .btn-orange {
        padding: 10px 20px;
        font-size: 14px;
    }
}


/* our project section css  */
.infrahomeprojects-title {
    font-size: 32px;
    font-weight: 700;
    color: #000;
}

.infrahomeprojects-subtitle {
    font-size: 15px;
    color: #000;
    max-width: 600px;
    margin: auto;
}

.infrahomeprojects-section {
    background: #f9f3e7;
    background-size: cover;
    background-position: center;
    position: relative;
}

.infrahomeprojects-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* background-color: rgba(0, 0, 0, 0.6); */
    z-index: 0;
}

.infrahomeprojects-section .container-fluid {
    position: relative;
    z-index: 2;
}

.filter-item {
    display: none;
}

.filter-item.show {
    display: block;
}

.infrahomeprojects-tabs .btn {
    border: none;
    border-radius: 30px;
    padding: 8px 24px;
    margin: 5px;
    font-weight: 600;
    background: linear-gradient(45deg, #ff9800, #ffc107);
    color: white;
    transition: all 0.3s ease-in-out;
}

.infrahomeprojects-tabs .btn:hover {
    background: linear-gradient(45deg, #e65100, #ff9800);
    color: #fff;
    transform: scale(1.05);
}

.infrahomeprojects-tabs .btn.active {
    background: linear-gradient(45deg, #f44336, #ff9800);
    color: white;
    box-shadow: 0 0 10px rgba(255, 152, 0, 0.7);
}

/* ---------- Tablet View (768px and below) ---------- */
@media (max-width: 768px) {
    .infrahomeprojects-title {
        font-size: 26px;
    }

    .infrahomeprojects-subtitle {
        font-size: 14px;
        padding: 0 15px;
    }

    .infrahomeprojects-tabs .btn {
        padding: 6px 18px;
        font-size: 14px;
    }

    .filter-item {
        margin-bottom: 20px;
    }
}

/* ---------- Mobile View (576px and below) ---------- */
@media (max-width: 576px) {
    .infrahomeprojects-title {
        font-size: 22px;
    }

    .infrahomeprojects-subtitle {
        font-size: 13px;
        padding: 0 10px;
    }

    .infrahomeprojects-tabs {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

    .infrahomeprojects-tabs .btn {
        padding: 6px 14px;
        font-size: 13px;
        margin: 4px;
    }

    #infrahomeprojects-gallery .col-sm-12 {
        padding: 0 10px;
    }

    .infrahomeprojects-section {
        padding-left: 10px;
        padding-right: 10px;
    }
}

/* count section css  */
.infrahomecount1-wrapper {
    background: url('../img/city-d.jpg') no-repeat center center/cover;
    position: relative;
    z-index: 1;
}

.infrahomecount1-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* background-color: rgba(0, 0, 0, 0.5); */
    z-index: -1;
}

.infrahomecount1-box {
    border: 1px solid orange;
    /* background-color: rgba(0, 0, 0, 0.3); */
    border-radius: 6px;
    transition: all 0.3s ease;
}

.infrahomecount1-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 15px rgba(255, 165, 0, 0.6);
}

.infrahomecount1-number {
    font-size: 24px;
    font-weight: bold;
    color: white;
}

/* Tablet View (768px - 991px) */
@media (max-width: 991.98px) {
    .infrahomecount1-box {
        padding: 25px 15px;
    }

    .infrahomecount1-number {
        font-size: 24px;
    }

    .infrahomecount1-box img {
        width: 35px;
        margin-bottom: 10px;
    }
}

/* Mobile View (less than 767px) */
@media (max-width: 767.98px) {
    .infrahomecount1-box {
        margin-bottom: 20px;
        padding: 20px 10px;
    }

    .infrahomecount1-number {
        font-size: 22px;
    }

    .infrahomecount1-box img {
        width: 30px;
        margin-bottom: 8px;
    }
}


/* service page section css  */
.infraservicespage-wrapper {
    background: #fff;
}

.infraservicespage-tabs .nav-link {
    border: 1px solid #ccc;
    border-left: 3px solid #ccc;
    border-radius: 0;
    color: #333;
    padding: 10px 20px;
    transition: all 0.3s ease;
}

.infraservicespage-tabs .nav-link:hover,
.infraservicespage-tabs .nav-link.active {
    background-color: #f7f7f7;
    border-left: 3px solid #ff9800;
    color: #000;
    font-weight: 600;
}

.infraservicespage-documents ul li,
.infraservicespage-documents a {
    font-size: 14px;
    color: #444;
    margin-bottom: 5px;
    display: block;
    text-decoration: none;
}

.infraservicespage-documents a:hover {
    text-decoration: underline;
}

.infraservicespage-certifications img {
    max-width: 100px;
}

.designservice-img {
    width: 100%;
    height: 350px;
    object-fit: cover;
}

.infraservicespage-socialmedia h6 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #333;
}

.infraservicespage-socialmedia p {
    font-size: 14px;
    margin-bottom: 15px;
    color: #555;
}

.infraservicespage-socialmedia ul {
    padding-left: 0;
    margin: 0;
}

.infraservicespage-socialmedia ul li {
    margin-bottom: 10px;
}

.infraservicespage-socialmedia ul li a {
    text-decoration: none;
    color: #007bff;
    font-weight: 500;
    font-size: 15px;
    transition: all 0.3s ease;
}

.infraservicespage-socialmedia ul li a:hover {
    color: #0056b3;
    padding-left: 5px;
}

.infraservicespage-midimg {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* ✅ Responsive Fixes */
@media (max-width: 768px) {
    .infraservicespage-tabs .nav-link {
        padding: 8px 15px;
        font-size: 14px;
    }

    .designservice-img,
    .infraservicespage-midimg {
        height: 220px;
    }

    .infraservicespage-socialmedia h6,
    .infraservicespage-socialmedia p {
        text-align: start;
    }

    .infraservicespage-tabs {
        margin-bottom: 20px;
    }
}

@media (max-width: 576px) {
    .infraservicespage-tabs .nav-link {
        font-size: 13px;
    }

    .infraservicespage-socialmedia ul li a {
        font-size: 14px;
    }
}

/* our team section css  */
.infrahometeam-wrapper {
    background-color: #fff;
}

.infrahometeam-img {
    width: 250px;
    height: 250px;
    object-fit: cover;
    margin: 0 auto;
    border: 5px solid #f3f3f3;
    transition: transform 0.3s ease;
    background-color: #f3f3f3;
}

.infrahometeam-card:hover .infrahometeam-img {
    transform: scale(1.05);
}

.infrahometeam-card h5 {
    margin-bottom: 5px;
    color: #222;
}

.infrahometeam-card p {
    margin: 0;
    letter-spacing: 1px;
    font-weight: 500;
}

/* Tablet view */
@media (max-width: 991.98px) {
    .infrahometeam-img {
        width: 200px;
        height: 200px;
    }

    .infrahometeam-card {
        text-align: left;
    }
}

/* Mobile view */
@media (max-width: 575.98px) {
    .infrahometeam-img {
        width: 150px;
        height: 150px;
    }

    .infrahometeam-card {
        text-align: left;
    }
}

/* contact us section css  */
.infrahomecontact-wrapper {
    background-color: #f9f9f9;
}

.infrahomecontact-btn {
    background-color: #ffc107;
    border: none;
    color: #000;
    font-weight: 600;
    transition: all 0.3s ease;
}

.infrahomecontact-btn:hover {
    background-color: #e0a800;
}

.infrahomecontact-info i {
    font-size: 20px;
}

/* <!-- about us section css --> */
.infraservipageabout-mainimg {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.infraservipageabout-subimg {
    width: 100%;
    height: auto;
    border-radius: 6px;
    transition: transform 0.3s ease;
}

.infraservipageabout-subimg:hover {
    transform: scale(1.05);
}

.infraservipageabout-list li {
    font-weight: 500;
    margin-bottom: 10px;
    color: #333;
}


/* our vision and mission section css  */
.infrahomevision-section {
    background-color: #02213b;
    color: white;
    padding: 30px 0;
}

.infrahomevision-title {
    color: #f15a29;
    font-weight: 600;
    font-size: 16px;
}

.infrahomevision-heading {
    font-weight: 800;
    font-size: 32px;
    margin-bottom: 30px;
}

.infrahomevision-box {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.infrahomevision-icon {
    background-color: white;
    padding: 15px;
    margin-right: 20px;
    border-radius: 4px;
}

.infrahomevision-icon img {
    width: 30px;
    height: 30px;
}

.infrahomevision-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 767.98px) {
    .infrahomevision-heading {
        font-size: 24px;
    }
}

/* civil contract section css  */
.infrahomecivilcontract-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: #2c3e50;
}

.infrahomecivilcontract-subtitle {
    font-size: 1.1rem;
    color: #6c757d;
}

.infrahomecivilcontract-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    border-radius: 12px;
}

.infrahomecivilcontract-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.infrahomecivilcontract-img {
    height: 250px;
    object-fit: cover;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}


/* brands section css */
.infrahomebrandssection-title {
    font-size: 2.2rem;
    font-weight: 600;
    color: #34495e;
}

.infrahomebrandssection-subtitle {
    font-size: 1rem;
    color: #7f8c8d;
}

.infrahomebrandssection-logo {
    max-height: 60px;
    transition: transform 0.3s ease, filter 0.3s ease;
    filter: grayscale(100%);
}

.infrahomebrandssection-logo:hover {
    transform: scale(1.1);
    filter: grayscale(0%);
}