.banner img {
    width: 100%;
    height: 100%;
    color: white;
}


/* Container for the section */
.about-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #fff;
    border-radius: 8px;
    padding: 2rem;
    margin: 2rem auto;
    max-width: 1200px;
    /* Adjust as needed */
}

.about-content {
    flex: 1;
    margin-right: 2rem;
}

.about-content h2 {
    font-size: 2rem;
    color: #2661a9;
    /* Example color for the heading */
    margin-bottom: 1rem;
}

.about-content p {
    line-height: 1.5;
    margin-bottom: 1.5rem;
    color: #555;
    text-align: justify;
    hyphens: auto;
}

.about-content a.button {
    display: inline-block;
    background-color: #2661a9;
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.about-content a.button:hover {
    background-color: #00509e;
}

.about-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.about-image img {
    max-width: 100%;
    border-radius: 8px;
}

/* Principle Section */
.principle-section {
    text-align: center;
    padding: 20px 20px;
}

.principle-heading {
    font-size: 28px;
    font-weight: bold;
    color: #222;
}

.principle-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-bottom: 10px;
    width: 100%;

}

/* Wrapper for Horizontal Scroll */
.principle-wrapper {
    display: flex;
    gap: 10px;
    /* scroll-snap-type: x mandatory; */
    overflow-x: scroll;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    /* justify-content: center; */
    /* align-items: center; */
    width: 100%;
}

.principle-wrapper::-webkit-scrollbar {
    display: none;
}

.principle {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    width: 100%;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    align-items: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 10px;
}

/* Upper Part: Video + Logo + Heading */
.principle-top {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

/* Video Background */
.principle-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Covers the whole div */
}

/* Overlay Content */
.principle-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: black;
    font-weight: bold;
    z-index: 2;
}

.principle-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 10px;
}

/* Lower Part: Description */
.principle-bottom {
    padding: 15px;
    background-color: #fff;
}

.principle:hover .principle-bottom {
    background-image: linear-gradient(to right, #3eade4, #2661a9);
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    cursor: pointer;
}

.principle:hover .principle-text {
    color: wheat;
}

.principle-title {
    font-size: 25px;
    font-weight: bold;
    color: #2661a9;
    font-weight: bolder;
}

.principle-text {
    font-size: 16px;
    color: #333;
    line-height: 1.5;
}

/* Expertise */
.expertise-section {
    /* max-width: 1200px; */
    width: 90%;
    margin: auto;
    padding: 40px;
    background: white;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 15px;
}

.section-heading {
    color: #2661a9;
    font-size: 26px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
}

.expertise-container {
    display: flex;
    /* align-items: flex-start; */
    align-items: center;
    justify-content: space-between;
    gap: 30px;

}

.expertise-content {
    flex: 1;
    text-align: left;
}

.expertise-content h3 {
    color: #2661a9;
    font-size: 22px;
    font-weight: bold;
    line-height: 1.5;
    margin-bottom: 15px;
    text-align: justify;
    hyphens: auto;
}

.expertise-content h4 {
    color: #2661a9;
    font-size: 20px;
    margin-bottom: 10px;
}

.expertise-content ul {
    list-style-type: disc;
    padding-left: 20px;
    color: #333;

}

.expertise-content ul li {
    margin-bottom: 10px;
    line-height: 1.6;
    text-align: justify;
    hyphens: auto;
}

.expertise-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    /* align-items: flex-start; */
}

.expertise-image img {
    width: 100%;
    max-width: 500px;
    height: 100%;
    max-height: 500px;
    /* Image takes full content height */
    object-fit: cover;
    border-radius: 10px;
}

/* Values */
.core-values-section {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 20px 0;
}

/* Core Values Container */
.core-values-container {
    text-align: center;
    /* background: #3b6cb7; */
    background-image: linear-gradient(to right, #3eade4, #2661a9);
    color: white;
    padding: 50px 20px;
    font-family: 'Arial', sans-serif;
    width: 90%;
    border-radius: 20px;
}

/* Title */
.core-values-title {
    font-size: 28px;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 10px;
    position: relative;
}

/* Title Underline */
.core-values-title::after {
    content: "";
    display: block;
    width: 50px;
    height: 3px;
    background: white;
    margin: 10px auto;
}

/* Description */
.core-values-description {
    font-size: 20px;
    max-width: 800px;
    margin: 0 auto 30px;
    line-height: 1.6;
    text-align: justify;
    hyphens: auto;
}

/* Core Values List */
.core-values-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 20px;
}

/* Individual Value Box */
.core-value {
    text-align: center;
    width: 120px;
}

/* Icons */
.core-value img {
    width: 90px;
    margin-bottom: 10px;
}

/* Value Text */
.core-value p {
    font-weight: bold;
    font-size: 16px;
}

/* Footer Text */
.core-values-footer {
    margin-top: 30px;
    font-size: 20px;
    opacity: 0.8;
}

.expertise-content h5 {
    font-size: 1.5rem;
}

/* Responsive Styles */
@media (max-device-width: 768px) {
    .about-section {
        flex-direction: column-reverse;
        padding: 1rem;
        width: 90%;
    }

    .about-content {
        margin-right: 0;
        margin-bottom: 1rem;
    }

    .principle-wrapper {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        /* padding-bottom: 10px; */
        gap: 10px;
    }

    .principle {
        flex: 0 0 90%;
        /* Ensure each card is visible fully */
        scroll-snap-align: center;
        margin-right: 10px;
    }

    /* Hide scrollbar */
    .principle-wrapper::-webkit-scrollbar {
        display: none;
    }

    .expertise-container {
        flex-direction: column;
        text-align: center;
    }

    .expertise-image {
        order: -1;
        justify-content: center;
        align-items: center;
    }

    .expertise-content ul {
        text-align: left;
        display: inline-block;
    }

    .expertise-image img {
        height: auto;
    }

    .core-values-description {
        font-size: 18px;
        text-align: justify;
        hyphens: auto;
        /* margin: 25px; */
        margin: auto 30px;
    }

    .core-values-list {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }

    .core-value {
        width: 45%;
    }

    .core-values-footer {
        font-size: 18px;
    }

    .expertise-content h5 {
        font-size: 1rem;
    }
}


/* Ratd By */
/* Full Section Styling */
.ratedby-section {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: stretch;
    /* Ensures full height */
    padding: 10px;
}

/* Container for Image & Text */
.ratedby-container {
    display: flex;
    align-items: stretch;
    width: 100%;
    max-width: 1200px;
    position: relative;
}

/* Div A: Image */
.ratedby-image-box {
    flex: 1;
    position: relative;
    z-index: 2;
    /* Ensures image appears above text */
    margin-right: -20%;
}

.ratedby-image-box img {
    width: 90%;
    height: 80%;
    object-fit: cover;
    align-items: center;
    justify-content: center;
    margin: 5% auto;
    /* Ensures proper image filling */
    border-radius: 20px;
}

/* Div B: Text Box (Full Height Background) */
.ratedby-text-box {
    flex: 1;
    background-color: #2a74b3;
    color: white;
    display: flex;
    /* align-items: center; */
    padding: 40px;
    border-radius: 20px;
    position: relative;
}

/* Ensuring text starts after image overlay ends */
.ratedby-content {
    margin: auto;
    margin-left: 25%;

    /* Pushes text content down */
}

.ratedby-text-box h2 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
}

.ratedby-text-box hr {
    border: 2px solid white;
    width: 50%;
    margin-bottom: 15px;
}

.ratedby-text-box p {
    font-size: 16px;
    line-height: 1.5;
}

/* Responsive Design */
@media (max-width: 720px) {
    .ratedby-container {
        flex-direction: column;
        text-align: center;
        position: relative;
    }

    .ratedby-image-box {
        max-width: 100%;
        margin: 0;
        position: absolute;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 80%;
        /* Ensures image doesn't take full width */
    }

    .ratedby-image-box img {
        width: 100%;
        height: auto;
        border-radius: 20px;
    }

    .ratedby-text-box {
        flex: 1;
        width: 100%;
        padding: 230px 20px 30px;
        border-radius: 10px;
        margin-top: 25%;
        align-items: center;
        justify-content: center;
    }

    .ratedby-content {
        margin: 0;
        /* Removes auto margin to keep text visible */
    }
}

@media (max-width: 550px) {
    .ratedby-text-box {
        flex: 1;
        width: 100%;
        padding: 170px 20px 30px;
        border-radius: 10px;
        margin-top: 25%;
        align-items: center;
        justify-content: center;
    }
}