﻿.about-us-hero-section {
    height: 50vh;
    background-image: url(/Images/aboutusImage.jpeg);
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative; /* Make the section container relative for positioning overlay */
}

    .about-us-hero-section::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.756); /* Semi-transparent black overlay */
        z-index: 1; /* Make sure the overlay is above the background but below content */
    }

.about-us-hero-text-div {
    position: relative;
    z-index: 2; /* Ensure the text stays on top of the overlay */
    color: white; /* Make the text readable on dark background */
    text-align: center; /* Center align text for smaller screens */
}

.about-h1 {
    font-size: 80px; /* Default font size for large screens */
    margin: 0;
}

/* Responsive styles */
@media (max-width: 768px) {
    .about-us-hero-section {
        height: 40vh; /* Adjust height for medium screens */
    }

    .about-h1 {
        font-size: 50px; /* Reduce font size for tablets */
    }
}

@media (max-width: 576px) {
    .about-us-hero-section {
        height: 30vh; /* Further adjust height for small screens */
    }

    .about-h1 {
        font-size: 35px; /* Further reduce font size for mobile */
        line-height: 1.2; /* Adjust line-height for better spacing */
    }
}

/* About Second Section Start  */
.about-second-sec {
    padding-top: 50px;
    padding-bottom: 50px;
}

.inner-h1 {
    font-size: 25px;
    color: #25426c;
    font-weight: 700;
}



/* About Second Section End  */

/* ======================================== What We do  */
/* what-we-do Section Start  */
.text-blue {
    color: #37517e !important;
}

.what-we-do-section {
    padding-top: 50px;
    padding-bottom: 50px;
    background-color: #f5f5f5;
}
/* Existing styles for larger screens remain unchanged */
.what-we-do-card {
    height: 270px;
    /* cursor: pointer; */
    transition: all 0.3s ease-in-out;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

    .what-we-do-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
    }

    .what-we-do-card .card-title,
    .what-we-do-card .card-text,
    .what-we-do-card ul li {
        transition: color 0.3s ease;
    }

    .what-we-do-card:hover .card-title,
    .what-we-do-card:hover .card-text,
    .what-we-do-card:hover ul li {
        color: #0066cc;
    }

.why-choose-card {
    height: 270px;
    /* cursor: pointer; */
    transition: all 0.3s ease-in-out;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

    .why-choose-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
    }

    .why-choose-card .card-title,
    .why-choose-card .card-text,
    .why-choose-card ul li {
        transition: color 0.3s ease;
    }

    .why-choose-card:hover .card-title,
    .why-choose-card:hover .card-text,
    .why-choose-card:hover ul li {
        color: #0066cc;
    }

/* Media queries for smaller screens */
@media (max-width: 1400px) {
    .what-we-do-card,
    .why-choose-card {
        height: auto; /* Allow height to adjust based on content */
        padding: 15px; /* Add padding for better spacing on smaller screens */
    }

        .what-we-do-card ul li,
        .why-choose-card ul li {
            margin-bottom: 8px; /* Maintain proper spacing */
            word-wrap: break-word; /* Ensure long text wraps properly */
            overflow-wrap: break-word;
        }

        .what-we-do-card .card-title,
        .what-we-do-card .card-text,
        .why-choose-card .card-title,
        .why-choose-card .card-text {
            font-size: 14px; /* Adjust font size for readability */
            text-align: center; /* Center align text for small screens */
        }
}



.why-choose-us-section {
    padding-bottom: 50px;
    background-color: #f5f5f5;
}

/* Why choose Us Section End  */



/* About Second Section Start  */

.comitment-section {
    padding-top: 50px;
    /* padding-bottom: 50px; */
}
/* About Second Section End  */



/* About Second Section Start  */
/* About Second Section End  */

/* Numbers Section  */

.numbers-section {
    padding-top: 70px;
    padding-bottom: 70px;
    background-color: white;
    color: #37517e;
}

.number-parent-div {
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.number-parent-div-last {
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Apply border on the right for screens larger than 992px */
@media (min-width: 992px) {
    .number-parent-div {
        border-right: 1px solid orange;
    }
}

/* Apply border on the bottom for screens smaller than or equal to 992px */


.number-parent-last-div {
    text-align: center;
    font-weight: 600;
}

.number-p {
    font-size: 40px;
    font-weight: 700;
}

.numberdetails {
    font-size: 18px;
    text-align: center;
}

.plus {
    font-size: 25px;
}

/* Numbers Section End */



/* Why-Clients-Trust  */

.Whyclientstrust-section {
    background-color: #f9f9f9;
}

/* .basic-h1 {
    font-size: 28px;
    font-weight: bold;
    color: #333;
  } */




.client-card {
    background-color: #ffffff;
    border: 2px solid transparent;
    border-radius: 10px;
    transition: all 0.3s ease; /* Transition for all properties */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

    .client-card:hover {
        background-color: #25426c;
        color: #ffffff;
        border-color: #25426c;
        border-radius: 40px; /* Radius transition */
        transition: border-radius 0.5s ease; /* Slow transition for border-radius */
    }


    .client-card img {
        width: 50px;
        height: 50px;
    }

.trust-card-heading {
    font-size: 18px;
    font-weight: bold;
    color: #25426c;
    transition: color 0.3s ease;
}

.client-card:hover .trust-card-heading {
    color: #ffffff;
}

.client-card p {
    font-size: 14px;
    color: #25426c;
}

.client-card:hover p {
    color: #ffffff;
}

/* Why-Clients-Trust End */
/* We-Help-You  */
.we-help-you-section {
    background-color: #f9f9f9;
}

.help-you-left img {
    /* max-width: 100px; */
    height: auto;
}

.help-you-heading {
    font-size: 22px;
    font-weight: bold;
    color: #25426c;
    margin-bottom: 10px;
}

p {
    font-size: 16px;
    color: #555;
}

.border-line-container {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.dotted-line {
    border-left: 2px dotted #25426c;
}

.full-height {
    flex: 1;
}

.circle-top {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #25426c;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    font-weight: bold;
    position: absolute;
    top: -20px;
}

.border-line-container {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Ensures equal spacing between circles and line */
    align-items: center;
}

.dotted-line {
    border-left: 2px dotted #25426c;
    width: 2px;
    height: 100%; /* Full height of the container */
    margin: 0; /* Removes any accidental gaps */
}

.circle-top {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #25426c;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    font-weight: bold;
    z-index: 1; /* Ensure it appears above the line */
    position: relative; /* Keeps it aligned within the container */
}

.full-height {
    flex: 1; /* Makes the line fill the space between circles */
}

/* Responsive Adjustments for Small Screens */
@media (max-width: 992px) {
    .border-line-container {
        display: none; /* Hide the entire container for the border and numbers */
    }

    .dotted-line {
        display: none; /* Remove the dotted line */
    }

    .circle-top {
        display: none; /* Hide the circle numbers */
    }

    .we-help-text-div {
        padding-top: 50px;
    }
}


/* We-Help-You End */
