﻿body {
    font-family: "Lato", sans-serif !important;
}
h1, h2, h3, h4, h5, h6 {
    font-family: "Merriweather", serif !important;
}
p {
    font-family: "Lato", sans-serif !important;
    font-size: 18px !important;
}
li {
    font-family: "Lato", sans-serif !important;
}
ul.list-unstyled li {
    font-size: 18px;
}
.navbar{
    padding:0!important;
}
.navbar-nav .nav-link {
    color: #005c8f;
    font-weight: 600;
    margin: 0 14px;
    font-size: 18px;
    font-family: "Lato", sans-serif !important;
}
.navbar {
    z-index: 1030; /* Always above content */
}
.custom_menu_left{
   position:relative;
   margin-left:4rem !important;

}
/* Dropdown Menu Styling */
.navbar .dropdown-menu {
    border: none;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    background-color: #ffffff;
    padding: 10px 0;
    min-width: 180px;
    z-index: 1000;
}


.navbar .dropdown-item {
    font-weight: 500;
    color: #005c8f;
    padding: 8px 20px;
    font-family: "Merriweather", serif;
    transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
}

   
    .navbar .dropdown-item:hover {
        background-color: #f0f0f0;
        color: #c8251b;
    }


.navbar-nav li.active > a {
    color: #c8251b !important;
    font-weight: 700;
}

    .navbar-nav li.active > a.dropdown-toggle {
        color: #c8251b !important;
    }
#loader-container {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8); /* semi-transparent white background */
    z-index: 9999; /* Ensure the loader appears on top of other content */
}

.loader {
    border: 16px solid #f3f3f3; /* Light grey border */
    border-top: 16px solid #3498db; /* Blue border on top */
    border-radius: 50%;
    width: 120px;
    height: 120px;
    animation: spin 2s linear infinite; /* Animation for spinning */
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -60px; /* Half of the height */
    margin-left: -60px; /* Half of the width */
}

.loader-text {
    text-align: center;
    margin-top: 10%;
    font-size: 24px;
    color: #333;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.pagination {
    text-align: center;
    margin-top: 20px;
}

    .pagination a {
        padding: 8px 12px;
        margin: 5px;
        border: 1px solid #ddd;
        color: #000;
        text-decoration: none;
        display: inline-block;
    }

    .pagination .active {
        background-color: #005c8f;
        color: #fff !important;
        border: 1px solid #005c8f;
    }
.contact-btn {
    font-family: "Merriweather", serif !important;
    background-color: #c8251b !important;
    color: white !important;
    font-weight: bold;
    border-radius: 6px;
    padding: 6px 18px;
}


a{
    text-decoration:none !important;
}

.footer {
    font-family: "Merriweather", serif;
    background-color: #0074a6;
    color: #fff;
    padding: 60px 40px 30px;
}

.footer-logo {
    max-width: 100px;
    margin-bottom: 20px;
}

.footer h5, .footer h6 {
    font-weight: bold;
}

.footer a {
    color: #fff;
    text-decoration: none;
}

    .footer a:hover {
        text-decoration: underline;
    }

.newsletter-wrapper {
    display: flex;
    max-width: 280px;
    margin-top: 15px;
}

    .newsletter-wrapper input {
        flex: 1;
        border: none;
        padding: 8px 12px;
        border-radius: 6px 0 0 6px;
    }

    .newsletter-wrapper button {
        background-color: #d72027;
        color: white;
        border: none;
        padding: 8px 16px;
        border-radius: 0 6px 6px 0;
    }

.social-icons i {
    font-size: 18px;
    margin-right: 12px;
    cursor: pointer;
}

.footer .copyright {
    font-size: 13px;
    margin-top: 30px;
}
.carousel-item {
    background-size: cover;
    background-position: center;
    position: relative;
}
.carousel-item img {
    width: 100vw; 
    height: 500px; 
    object-fit: cover; 
    display:block;
}
.carousel-content {
    font-family: "Merriweather", serif;
    position: absolute;
    top: 20%;
    left: 8%;
    width: 38% !important;
    color: white;
    z-index: 2;
}

.carousel-content h1 {
    font-size: 2.5rem;
    font-weight: 600;
    color: #005c8f;
}

.carousel-content p {
    font-size: 1.2rem;
    color: #303030;
}

/* indicators */
.carousel-indicators {
    position: absolute !important;
    left: 8% !important;
    bottom: 20px !important;
    margin: 0 !important;
    justify-content: flex-start !important;
    width: auto !important;
    color: #005c8f !important;
    
}

.carousel-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    opacity: 0.6;
    background-color: #005c8f !important;
}

.carousel-indicators .active {
    opacity: 1;
}

@media (max-width: 768px) {
    .carousel-content {
        width: 80%;
    }
}

.services-section {
    background-color: #fff;
    color: #333;
}

.section-title {
    font-family: "Merriweather", serif;
    font-size: 2.5rem;
    font-weight: 600;
    color: #005c8f;
}

.section-subtitle {
    color: #5e5c5c;
    font-size: 1.1rem;
}

.what-we-offer-section {
    background-color: #fff;
}

.offer-image {
    width: 80px;
    height: 80px;
    display:block;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid #005c8f; 
    flex-shrink: 0;
}

.offer-title {
    font-family: "Merriweather", serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: #005c8f;
    margin-bottom: 5px;
    text-align: left;
}

.offer-desc {
    font-size: 18px !important;
    color: #5e5c5c;
    margin-bottom: 8px;
}

.offer-link {
    font-family: "Merriweather", serif;
    font-size: 0.9rem;
    font-weight: 400;
    color: #005c8f;
    text-decoration: none;
    text-align:left !important;
}

    .offer-link:hover {
        text-decoration: underline;
    }
.assessment-cta {
    background-color: #005c8f;
    color: #fff;
}

.cta-title {
    font-family: "Merriweather", serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: #fff;
}

.cta-subtitle {
    font-size: 0.95rem;
    color: #fff;
}

.cta-button {
    font-family: "Merriweather", serif;
    background-color: #fff;
    color: #005c8f;
    padding: 10px 25px;
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s ease;
}

    .cta-button:hover {
        background-color: #fff;
        color: #005c8f;
    }



.delivery-heading {
    font-family: "Merriweather", serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: #005c8f !important;
    margin-bottom: 1rem;
}

.trust-list {
    padding-left: 1rem;
    list-style-type: disc;
    color: #5e5c5c;
}

.icon-li {
    position: relative;
    padding-left: 1.5rem;
}

    .icon-li::before {
        content: "•";
        position: absolute;
        left: 0;
        top: 0;
        color: #666;
        font-size: 1.2rem;
        line-height: 1;
    }
.small-heading {
    color: #c8251b;
    font-size:0.9rem;
}
.right-img {
    max-height: 400px;
    object-fit: cover;
    display: block;
}
.btn-primary {
    padding:10px !important;
    background-color: #005c8f !important;
    font-weight: 600 !important;
    letter-spacing:1px;
    font-family: "Merriweather", serif !important;
}
.cta-bg {
    background-image: url('/Content/Home/Image/cta_bg_1.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    width: 100%;
    min-height: 300px;
    margin-top:50px;
}

/* contact page start */

.contact-info-section{
    background-color:#f0f1f6;
}
.top-heading {
    font-family: "Merriweather", serif !important;
}
.para{
    color:#5e5c5c!important;
}

.get-started-section {
    background-color: #fff;
}

.text-primary {
    color: #005c8f;
}

.social-icon {
    width: 25px;
    height: 25px;
    border: 1px solid #d80027;
    color: #d80027;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    font-size: 14px;
    transition: 0.3s;
}

    .social-icon:hover {
        background-color: #d80027;
        color: white;
    }
.contact-form-section {
    background-color: #fff;

}

.form-label {
    font-weight: 500;
    margin-bottom: 0.2rem;
}

.form-control.no-border {
    border: none;
    border-bottom: 1px solid #ccc;
    border-radius: 0;
    box-shadow: none;
}

    .form-control.no-border:focus {
        border-bottom: 2px solid #005c8f;
        outline: none;
        box-shadow: none;
    }



.map-section {
    position: relative;
    width: 100%;
}

.map-container iframe {
    width: 100%;
    height: 450px;
    border: 0;
}

.contact-overlay {
    position: absolute;
    bottom: 50px;
    right: 100px;
    background-color: #005c8f;
    color: white;
    max-width: 300px;
    border-radius: 4px;
    box-shadow: 0 0 10px rgba(0,0,0,0.15);
    font-size: 15px;
}

    .contact-overlay h5 {
        font-size: 20px;
        margin-bottom: 10px;
    }

    .contact-overlay i {
        color: white;
    }

.address{
    font-size:0.8rem;
   
}
.disability-banner {
    background-color: #c8251b;
    color: white;
    flex-wrap: wrap;
    gap: 1rem;
    font-family: "Merriweather", serif !important;
}
.disability-content {
    margin-left:100px;
}

    .disability-banner h4 {
        font-size: 1.5rem;
    }

    .disability-banner .btn {
        color: #c8251b;
        background:#fff;
        border-radius: 6px;
        margin-right:100px;
        transition: background 0.3s ease;
    }

        .disability-banner .btn:hover {
            background-color: #f1f1f1;
        }
/* About page start */
.about {
    margin: 0 !important;
    padding: 0 !important;
    font-family: "Merriweather", serif;
}
.about-section {
    position: relative;
    background: url(../Image/about-section.jpg) 0px -80px / cover no-repeat;
    height: 300px;
    font-weight: 600;
    object-fit: cover;
    display: block;
}

.about-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: linear-gradient(to right, #fff 100%,transparemnt 100%);
    color: #005c8f;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 10rem; /* Equivalent to ms-5 */
}

    .about-overlay h1 {
        font-weight: 600;
        font-size: 2.5rem;
        letter-spacing:2px;
    }

    .about-overlay p {
        font-size: 1.1rem;
        letter-spacing: 2px;
        color: #c8251b;
    }

.support-section {
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    height: 100%;
}

.support-image {
    position: relative;
    height: 100%;
}

    .support-image img {
        border-radius: 1rem;
        width: 100%;
        height: 450px;
        display: block;
        object-fit:cover;
       
    }

.highlighted {
    color: #c8251b; /* Your red */
}

.vision-section {
    position: relative;
    display: flex;
    align-items: center;
    padding: 60px 0;
    overflow: hidden;
}

    .vision-section::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 80%; 
        height: 100%;
        background-color: #e3f0f7; 
        z-index: 1;
    }

.vision-content {
    flex: 1;
    padding: 40px;
    position: relative;
    z-index: 2;
}

.short-heading {
    color: #005c8f !important;
    margin-bottom: 10px;
}
.vision-content p {
    color: #5e5c5c;
    line-height: 1.6;
}

.vision-image {
    flex: 1;
    position: relative;
    z-index: 2;
}

    .vision-image img {
        width: 100%;
        height:450px;
        display: block;
        object-fit:cover;
    }

.main-heading {
    font-family: "Merriweather", serif !important;
    color: #c8251b;
}

.values-section {
    text-align: center;
    padding: 60px 20px;
    
}

.values-section p {
    max-width: 700px;
    margin: 0 auto 40px auto;
    color: #5e5c5c;
    line-height: 1.6;
}

.values-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px; 
}

.value-item {
    flex: 1 1 200px; /* 3 items per row on big screens */
    max-width: 250px;
    text-align: center;
}
.item-heading {
    font-family: "Merriweather", serif !important;
    color: #333;
    margin-top: 10px;
    font-size:1.2rem;
}
    .value-item img {
        width: 100px;
        height: 100px;
        border-radius: 50%;
        background: #fffff;
        padding:20px;
        border:1px solid #5e5c5c;
    }
@media (max-width: 768px) {
    .value-item {
        flex: 1 1 100%;
        max-width: 600px;
        margin: 0 auto;
    }
}


.why-choose-section {
    background-color: #e8f0f7;
    border-radius: 15px;
  
}

.features-box {
    background-color: #005c8f;
    color: white;
    min-height: 420px !important;
    
}

    .features-box ul li {
        margin-bottom: 1rem;
        line-height: 1.6;
        font-size: 18px;
    }


/* Service Page */

.custom-img {
    border-radius: 10px;
    height:280px;
    display:block;
    object-fit:cover;
   
}
.short-heading {
    font-family: "Merriweather", serif !important;
    color: #000;
}

.delivery-heading {
    font-size: 2rem;
    font-weight: 600;
}

.card {
    background-color: #ffffff;
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.btn-primary {
    background-color: #005c8f;
    border-color: #005c8f;
    font-weight: 600;
    border-radius: 6px;
    transition: 0.3s ease;
    font-size:0.9rem !important;
}

    .btn-primary:hover {
        background-color: #004b76;
        border-color: #004b76;
    }



.text-G {
    color: #005c8f !important;
    font-family: "Merriweather", serif !important;
}

@media (max-width: 767.98px) {
    .card {
        padding: 1.5rem;
    }

    .delivery-heading {
        font-size: 1.5rem;
    }

    .btn {
        display: inline-block;
        margin-top: 1rem;
        font-family: "Merriweather", serif !important;
    }
}

.attached-card {
    border-radius: 10px !important;
    background-color: #fff !important;
    overflow: hidden !important;
    max-width: 500px !important;
    font-family: "Merriweather", serif !important;
}

.attached-btn {
    background-color: #005c8f !important;
    color: white !important;
    font-weight: 500 !important;
    text-align: center !important;
    padding: 10px !important;
    border: none !important;
    display: block !important;
    width: 100% !important;
    border-top: 1px solid #0074d9 !important;
    border-bottom-left-radius: 10px !important;
    border-bottom-right-radius: 10px !important;
    text-decoration: none !important;
    
}

    .attached-btn:hover {
        background-color: #004b76 !important;
        color: white !important;
    }

.afc-gafc-content-1 {
    background: #eaf3f9;
    padding: 2rem;
    border-radius: 10px;
}
    .afc-gafc-content-1 p{
        color:#5e5c5c;
        font-size:0.9rem;
    }
    .small li {
        list-style-type: disc;
        color: #5e5c5c;
    }
/* Service compare Page */


.comparison-section {
    background-color: #f8f9fa;
}

.comparison-table {
    border-radius: 10px;
    overflow: hidden;
    font-family: "Merriweather", serif !important;
}


.table thead th {
    font-weight: 600;
    font-size: 1rem;
    background-color: #005c8f !important;
    color:#fff;
    padding:15px;
}

.table td,
.table th {
    padding: 1.5rem;
}

.table .bi-check-circle-fill {
    color: #005c8f !important;
}

.table .bi-x-circle-fill {
    color: #c8251b !important;
}

/* Resources Page */
.resources-section {
    position: relative;
    background: url('../Image/Resouces-banner-img.jpg') 0px -80px /cover no-repeat;
    height: 300px;
    overflow: hidden;
    object-fit: cover;
    display: block;
}

.resources-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:linear-gradient(to right, #a8dcff 0%, rgba(255, 255, 255, 0.3) 50%, rgba(255, 255, 255, 0) 100%); 
    color: #005F9E;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 10rem; /* Equivalent to ms-5 */
}
.resources-section p {
    color: #c8251b;
    font-weight:600;
}

.content-card-1 span {
    background-color: #fff;
    color: #000;
    border-radius: 20px;
    padding: 8px 15px;
}

.resource-box {
    display: flex;
    align-items: center;
    background-color: #ffffff;
    border-radius: 4px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
    overflow: hidden;
    width: 100%;
    margin: auto;
    font-family: "Merriweather", serif !important;
}

.resource-icon {
    background-color: #d6e4f0;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.resource-icon-1 {
    background-color: #fff;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.circle-icon {
    width: 30px;
    height: 30px;
    background-color: #005c8f;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 20px;
}
.resource-link {
    padding: 10px 20px;
    text-decoration: underline;
    color: #000;
    font-weight: 500;
    flex-grow: 1;
}

    .resource-link:hover {
        color: #005c8f;
    }

.alt-bg {
    background-color: #e2edf5;
}


/* Careers Page */
.career-image {
    border-radius: 10px;
    width: 100%;
    height: 500px;
    object-fit:cover;
    display:block;
    overflow:hidden;
}

.career-text {
    font-family: "Merriweather", serif !important;
    font-size: 16px;
    color:#5e5c5c;
    line-height: 1.7;
    background-color: #f1f1f1;
    padding: 20px;
    border-radius: 10px;
    height: 500px;
    letter-spacing:1px;
    
}

/* Ensure the row has equal height children */
.equal-height {
    display: flex;
    flex-wrap: wrap;
}

    .equal-height > div {
        display: flex;
        flex-direction: column;
    }

.form-section {
    font-family: "Merriweather", serif !important;
    background-color: #d9e9f5;
    padding: 50px 70px;
    border-radius: 10px;
}


.form-control,
.form-select {
    border-radius: 8px;
    padding: 10px 15px;
    font-size:0.9rem !important;
    
}

.form-label {
    font-weight: 600;
}
/* Event Page */
.card {
    border: none;
    border-radius: 0.5rem;
  
}
.card img{
    height:400px;
}

.card-body {
    background-color: #005c8f;
    color: #fff !important;
    padding: 1.8rem !important;
    border-bottom-left-radius: 0.25rem;
    border-bottom-right-radius: 0.25rem;
}

.card-text {
    color:#fff;
    margin-bottom: 0;
    font-size: 0.95rem;
}
/* Gallery Page */
.portfolio-menu {
    text-align: center;
  
}

    .portfolio-menu ul li {
        display: inline-block;
        font-size:0.8rem;
        margin: 0;
        list-style: none;
        padding: 10px 15px;
        cursor: pointer;
        -webkit-transition: all 05s ease;
        -moz-transition: all 05s ease;
        -ms-transition: all 05s ease;
        -o-transition: all 05s ease;
        transition: all .5s ease;
    }

.portfolio-item {
    /*width:100%;*/
}

    .portfolio-item .item {
        /*width:303px;*/
        float: left;
        margin-bottom: 10px;
    }


    /*AFC page css*/
.eligibility-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 60px 40px;
}

.eligibility-content {
    flex: 1 1 400px;
    max-width: 600px;
}


    .eligibility-content ul {
        list-style-type: disc;
        padding-left: 20px;
        margin-bottom: 30px;
    }

        .eligibility-content ul li {
            margin-bottom: 10px;
            color: #333;
            line-height: 1.6;
            font-size: 18px !important;
        }



.eligibility-image {
    flex: 1 1 400px;
    text-align: center;
    margin-top: 20px;
    margin-left:120px;
}

    .eligibility-image img {
        width: 100%;
        max-width: 500px;
        border-radius: 8px;
        display:block;
        object-fit:cover;
    }

@media (max-width: 900px) {
    .eligibility-section {
        flex-direction: column;
        text-align: center;
    }

    .eligibility-content {
        max-width: 100%;
    }

    .eligibility-image {
        margin-top: 40px;
    }
}

.get-paid-section {
    position: relative;
    background-image: linear-gradient(to right, rgba(0, 92, 143, 0.95) 0%, rgba(0, 92, 143, 0.8) 50%, rgba(0, 92, 143, 0.0) 80%), url('../Image/afc-get-paid.jpg'); 
    background-size: cover;
    background-position: center;
    min-height: 450px;
    display: flex;
    align-items: center;
    padding: 60px 40px;
    color: white;
}
.btn-danger {
    font-family: "Merriweather", serif !important;
}




.get-paid-content {
    max-width: 700px;
    color: #fff;
    padding-left:80px;
}

    .get-paid-content p {
        font-size: 1.1rem;
        margin-bottom: 10px;
    }

    .get-paid-content h3 {
        font-size: 2rem;
        font-weight: 600;
        margin-bottom: 20px;
        font-family: "Merriweather", serif !important;
    }

    .get-paid-content ul {
        list-style: none;
        padding: 0;
        margin-bottom: 30px;
    }

        .get-paid-content ul li {
            position: relative;
            padding-left: 25px;
            margin-bottom: 10px;
            list-style-type:disc;
        }

       

.btn-red {
    display: inline-block;
    background-color: #e50914;
    color: #fff;
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
}

@media (max-width: 768px) {
    .get-paid-content {
        max-width: 100%;
    }

    .get-paid-section {
        padding: 20px;
        text-align: center;
        justify-content: center;
    }

    .get-paid-overlay {
        padding: 40px 20px;
    }
}

.image-stack {
    display: flex;
    flex-direction: column; 
    gap: 20px; 
}

.red-overlay {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%; 
    height: 100%;
    background-color: rgba(198, 40, 40, 0.95); 
}
 .list li{
     list-style-type:disc;
 }
.team {
    font-family: "Merriweather", serif !important;
}
.Gafc-section {
    position: relative;
    background: url('../Image/about-img.jpg') center center/cover no-repeat;
    height: 300px;
    object-fit: cover;
    display:block;
}
.video-box {
    position: relative;
    width: 100%;
    max-width: 100%;
    border-radius: 8px;
    overflow: hidden;
}

    .video-box img {
        width: 100%;
        height: auto;
        display: block;
    }

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 65px;
    height: 65px;
    background-color:transparent;
    border:5px solid #fff;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
}

    .play-btn::before {
        content: '';
        display: block;
        width: 0;
        height: 0;
        border-left: 18px solid #fff;
        border-top: 10px solid transparent;
        border-bottom: 10px solid transparent;
    }

.video-title {
    margin-top: 40px;
    font-weight: bold;
    color: #005c8f;
}

.resource-links a {
    font-family: "Merriweather", serif;
    display: block;
    color: #005c8f;
    text-decoration: none;
    margin-bottom: 12px;
    
    font-weight: 500;
}

    .resource-links a::after {
        content: " ↗";
        font-size: 1.5em;
        color: #c8251b;
        font-weight: 500;
        
    }

    .resource-links a:hover {
        text-decoration: underline;
        background-color: #005f9e33;
        padding: 2px;
        width:50%;
        
    }

.doc-card {
    font-family: "Merriweather", serif;
    background-color: #fff;
    border-radius: 6px;
    padding: 20px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    border-top: 5px solid #c80000;
    max-width: 350px;
}

    .doc-card h6 {
        font-weight: 600;
        font-size: 1rem;
    }

    .doc-card p {
        font-size: 0.9rem;
        color: #5e5c5c;
    }

    .doc-card ul {
        padding-left: 1rem;
        margin-bottom: 0.5rem;
    }

        .doc-card ul li {
            margin-bottom: 10px;
        }

            .doc-card ul li a {
                color: #c8251b;
                text-decoration: none;
                font-size: 0.95rem;
            }

                .doc-card ul li a:hover {
                    text-decoration: underline;
                }

    .doc-card .note {
        font-size: 0.85rem;
        color: #6c757d;
        margin-top: 20px;
    }

.comparison-section-banner {
    position: relative;
    background: url('../Image/comparision-banner-image.jpg') 0px -80px /cover no-repeat;
    height: 300px;
    display: block;
    object-fit: cover;
}
section.service_box {
    background: #f8f8f8 !important;
}
.comparison-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, #a8dcff 0%, rgba(255, 255, 255, 0.3) 50%, rgba(255, 255, 255, 0) 100%);
    color: #005F9E;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 10rem; /* Equivalent to ms-5 */
}
.comparison-section-banner p {
    color: #c8251b;
}
.Gafc-section {
    position: relative;
    background: url('../Image/Gafc-banner-image.jpg') 0px -80px /cover no-repeat;
    height: 300px;
    display: block;
    object-fit: cover;
}
.Afc-section {
    position: relative;
    background: url('../Image/afc-banner-image.jpg') 0px -80px/cover no-repeat;
    height: 300px;
    display: block;
    object-fit: cover;
}
.service-section {
    position: relative;
    background: url('../Image/service-banner-image.jpg') 0px -80px/cover no-repeat;
    height: 300px;
    display: block;
    object-fit: cover;
}
.event-section {
    position: relative;
    background: url('../Image/events-banner-section.jpg') 0px -80px/cover no-repeat;
    height: 300px;
    display: block;
    object-fit: cover;
}
.service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, #a8dcff 0%, rgba(255, 255, 255, 0.2) 100%, rgba(255, 255, 255, 0) 100%);
    color: #005F9E;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 10rem; /* Equivalent to ms-5 */
}
.gallery-section {
    position: relative;
    background: url('../Image/events-banner-section.jpg') 0px -80px/cover no-repeat;
    height: 300px;
    display: block;
    object-fit: cover;
}
.career-section {
    position: relative;
    background: url('../Image/career-banner-img.jpg') 0px -80px/cover no-repeat;
    height: 300px;
    display: block;
    object-fit: cover;
}
    .service-overlay p {
        color: #c8251b;
    }
.afc-right {
    background-color: #005F9E;
}
    .afc-right h3 {
        font-family: "Merriweather", serif;
    }
.gafc-left {
    background-color: #C8102E;
}

    .gafc-left h3 {
        font-family: "Merriweather", serif;
    }
.btn-outline-light-1 {
    background-color: #fff !important;
    color: #c8251b !important;
}
.compare-link {
    font-family: "Merriweather", serif;
    color: #c8251b;
    font-weight: 600;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    text-decoration: underline;
}

    .compare-link .link-text {
        text-decoration: underline; 
    }

    .compare-link:hover {
        color: #005c8f;
    }
ul.recent-posts {
    margin-top: 20px;
    margin-left: -3rem;
}
.blog-img {
    overflow: hidden;
}

    .blog-img img {
        width: 100% !important;
    }

.blog-02-content {
    margin-right: 0;
    margin-top: 36px;
}

    .blog-02-content .blog-meta {
        margin-bottom: 12px;
        border-bottom: none;
        padding-bottom: 0;
    }

.blog-meta span {
    margin-right: 24px;
}

    .blog-meta span i {
        font-size: 18px;
        margin-right: 5px;
    }

    .blog-meta span > a {
        font-size: 16px;
        color: #748188;
        font-weight: 400;
        text-decoration: none;
    }

    .blog-meta span:last-child {
        margin-right: 0;
    }

.blog-title h3 {
    font-size: 18px !important;
    margin-top: 10px;
    letter-spacing: -.3px;
    line-height: 1.4;
    font-weight: 600 !important;
}

.blog-standard .blog-02-content p {
    margin-bottom: 28px;
    margin-right: 0px !important;
    text-align: justify !important;
}

#blog_desc p {
    font-size: 15px !important;
    font-family: "Plus Jakarta Sans", sans-serif !important;
    font-weight: normal;
    line-height: 28px;
    color: #5e5c5c;
    margin-bottom: 12px;
}

.mb-30 {
    margin-bottom: 30px;
}

.blog-sidebar .widget {
    padding: 32px 30px 40px 30px;
    border: 2px solid #eeeeee;
}

.widget-title-2 {
    font-size: 24px;
    border-bottom: 2px solid #ededed;
    margin-bottom: 0;
    padding-bottom: 27px;
    position: relative;
    font-weight: 600 !important;
}

    .widget-title-2::before {
        position: absolute;
        background: #005c8f;
        content: "";
        height: 4px;
        width: 60px;
        left: 0;
        bottom: -3px;
    }

ul {
    margin: 0px;
    padding: 0px;
}

    ul.cat li:first-child {
        border-top: 0;
        padding-top: 0;
    }

    ul.cat li {
        border-top: 1px solid #e8e8e8;
        padding: 15px 0;
        overflow: hidden;
    }

        ul.cat li a {
            display: block;
            color: #222;
            text-decoration: none;
        }

.f-right {
    float: right;
}

.mb-60 {
    margin-bottom: 60px;
}

.widget .recent-posts > li:first-child {
    border: 0;
    padding-top: 0;
}

.widget .recent-posts > li {
    border-top: 1px solid #e8e8e8;
    padding: 20px 0;
    overflow: hidden;
}

.widget-title-2 {
    font-size: 24px;
    border-bottom: 2px solid #ededed;
    margin-bottom: 0;
    padding-bottom: 27px;
    position: relative;
}

    .widget-title-2::before {
        position: absolute;
        background: #005c8f;
        content: "";
        height: 4px;
        width: 60px;
        left: 0;
        bottom: -3px;
    }

.widget-posts-image {
    float: left;
}

    .widget-posts-image img {
        width: 80px;
        height: 80px;
        border-radius: 50%;
        margin-right: 15px;
    }

.widget-posts-body {
    overflow: hidden;
}

.widget-posts-title {
    font-size: 16px !important;
    font-weight: 500 !important;
    margin-bottom: 5px;
    line-height: 1.4;
}

.widget-posts-meta {
    font-size: 14px;
}

h6.widget-posts-title a {
    color: #222;
    text-decoration: none;
}
.our-team-image {
    height: auto;
    object-fit: fill;
    width: 50% !important;
}
.custom-form-container {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 40px;
    width: 100%;
    margin: 50px auto;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.form-title {
    text-align: center;
    font-size: 24px;
    font-weight: 500;
    border-bottom: 2px solid #005c8f;
    padding-bottom: 10px;
    margin-bottom: 30px;
    color: #005c8f;
    text-transform: uppercase;
    font-family: "Merriweather", serif !important;
}
.form_field {
    width: 100% !important;
    height: 60px !important;
    padding: 15px !important;
    border-radius: 10px !important;
    color: #5c5c5c !important;
    box-shadow: 0 7px 10px rgba(182, 182, 182, .1) !important;
}
.radiotxt {
    position: relative;
    font-size: 20px;
    margin-right: 20px;
}
.form-check-inline .form-check-input {
    position: static;
    margin-top: 0;
    margin-right: 0.3125rem;
    margin-left: 0;
}
.form-check-inline {
    display: -ms-inline-flexbox;
    display: inline-flex;
    -ms-flex-align: center;
    align-items: center;
    padding-left: 0;
    margin-right: 0.75rem;
}
.form-check-inline{
    display:flex !important;
}
footer {
    width: 100%;
    min-height: 300px;
    background-color: #005c8f;
    padding: 24px;
    margin-top: 85px !important;
}
h5.footerheading {
    font-size: 1.25rem;
    color: #fff;
    margin-bottom: 1rem;
}
p.footerpara {
    color: #fff;
    margin-bottom: 1rem;
    font-size: 16px;
    font-weight: 400;
    line-height: 30px;
}
ul.navbar-nav.text-capital.quickLinks li a {
    font-size: 18px !important;
    font-weight: 600 !important;
}
.portfolio-item .item {
    padding: 8px;
}

.portfolio-item img {
    width: 100%;
    height: 220px; /* ek standard height */
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .portfolio-item img:hover {
        transform: scale(1.05);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    }

    /*======================== Mobile Responsive Code ======================================*/
    @media only screen and (min-width: 360px) and (max-width: 768px) {
        img .img-fluid.rounded-start.right-img.ms-5.myblogImg {
        margin-left: 0% !important;
    }
    /* Image height chhoti karo mobile ke liye */
    .carousel-item img {
        height: 250px;
        object-fit: cover;
    }

    /* Content box responsive karo */
        .carousel-content {
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 100% !important;
            background: rgb(0 0 0 / 32%);
            padding: 15px 20px;
            text-align: center;
            font-size: 12px !important;
        }

            .carousel-content h1 {
                font-size: 18px !important;
                color: #ffffff;
            }

            .carousel-content p {
                font-size: 14px !important;
                color: #ffffff;
                margin-bottom: 0rem;
            }

    /* Indicators center karo */
    .carousel-indicators {
        left: 50% !important;
        transform: translateX(-50%);
        bottom: 10px !important;
        justify-content: center !important;
        width: 100% !important;
    }

        .carousel-indicators [data-bs-target] {
            width: 8px;
            height: 8px;
        }
        .para-text a {
            margin-bottom: 0px;
            font-size: 12px !important;
            color: #fff !important;
            font-weight: 500;
             margin: 4px 11px !important;
            line-height: 25px !important;
        }
    img.logo {
        width: 100%;
        height: 60px !important;
    }
    .right-img {
        max-height: 100% !important;
        object-fit: cover;
        display: block;
    }
    .social-link {
        display: none !important;
    }
    .para-text {
        font-size: 12px !important;
        margin: 4px 10px !important;
    }
    .contact-btn {
        padding: 6px 10px !important;
        margin-top: 0rem !important;
    }
    a.dropdown-item {
        font-size: 12px;
    }
    .section-title {
        font-size: 1.8rem !important;
    }
    .cta-title {
        font-size: 1rem !important;
        line-height: 30px !important;
        color: #fff;
    }
    .footer .col-md-6 {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    .about-section, .service-section, .Afc-section, .Gafc-section,
    .comparison-section-banner, .resources-section, .career-section, .event-section {
        height: 300px;
    }

    .about-overlay {
        background: rgba(255, 255, 255, 0.7);
        padding-left: 2rem;
        padding-right: 2rem;
        text-align: center;
    }
    .service-overlay {
        background: linear-gradient(to right, #a8dcff 0%, rgba(255, 255, 255, 0.2) 100%, rgba(255, 255, 255, 0) 100%);
        padding-left: 2rem;
        padding-right: 2rem;
        text-align: center;
    }
    .comparison-overlay {
        background: linear-gradient(to right, #a8dcff 0%, rgba(255, 255, 255, 0.3) 50%, rgba(255, 255, 255, 0) 100%);
        padding-left: 2rem;
        padding-right: 2rem;
        text-align: center;
    }
    .vision-section {
        flex-direction: column;
        padding: 30px 0;
    }

        .vision-section::before {
            width: 100%;
            height: 50%;
        }

    .vision-content {
        padding: 20px;
    }

    .vision-image img {
        height: 250px;
    }
    .delivery-heading {
        font-size: 1.4rem !important;
    }
    .homecare-section .custom-img {
        height: 180px;
    }

    .homecare-section .row.g-5.align-items-center {
        flex-direction: column;
    }

    .homecare-section .col-6 {
        width: 100%;
        max-width: 100%;
        flex: 0 0 100%;
    }

        .homecare-section .col-6:first-child .d-flex {
            flex-direction: column;
        }

        .homecare-section .col-6:first-child .w-50 {
            width: 100% !important;
            padding: 0 !important;
        }

        .homecare-section .col-6:first-child img {
            margin: 10px 0;
        }
    .compare-link .link-text {
        margin-bottom: 2rem !important;
    }
    .eligibility-image {
        flex: 1 1 0px !important;
         margin-left: 0px !important;
    }
    .get-paid-section {
        min-height: 250px;
        padding: 30px 20px;
        background-position: center center;
        background-size: cover;
        background-image: linear-gradient( to right, rgba(0, 92, 143, 0.9) 0%, rgba(0, 92, 143, 0.8) 70%, rgba(0, 92, 143, 0.0) 100% ), url(../Image/afc-get-paid.jpg);
    }

        .get-paid-section h1,
        .get-paid-section h2,
        .get-paid-section p {
            text-align: center;
            font-size: 1.2rem;
        }
    .main-heading {
        margin-top: 1rem;
    }
    .our-team-section img {
        height: auto;
    }

    .red-overlay {
        position: static;
        width: 100%;
        background: #b71c1c; /* solid red for clarity on mobile */
        padding: 30px 20px;
    }

        .red-overlay .p-5 {
            padding: 15px !important;
        }

    .our-team-section h3 {
        font-size: 1.5rem;
    }

    .our-team-section p,
    .our-team-section li {
        font-size: 1rem;
    }
    .resource-links a {
        font-size:14px !important;
    }
    .newsletter-wrapper {
        flex-direction: column;
        max-width: 100%;
    }

        .newsletter-wrapper input,
        .newsletter-wrapper button {
            width: 100%;
            border-radius: 6px;
        }

        .newsletter-wrapper button {
            margin-top: 10px;
        }
    .form-section {
        padding: 50px 10px !important;
    }
}