/* Our Team - Staff cards (image, name, title, description, read more) */
.our-team-staff-section { margin-top: 2.5rem; }
.our-team-staff-section__title {
    color: var(--royal-blue, #002366) !important;
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin: 0 0 0.5rem 0;
    line-height: 1.2;
}
.our-team-staff-section__lead {
    color: #555;
    font-size: 1.1rem;
    text-align: center;
    max-width: 520px;
    margin: 0 auto 2.5rem;
    line-height: 1.5;
}
.our-team-staff-grid {
    margin-bottom: 0;
    align-items: start;
}

.our-team-staff-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 35, 102, 0.08);
    transition: box-shadow 0.35s ease, transform 0.35s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid rgba(0, 35, 102, 0.06);
}
.our-team-staff-card:hover {
    box-shadow: 0 12px 36px rgba(0, 35, 102, 0.14);
    transform: translateY(-6px);
}

/* Image: fixed aspect ratio, fills to bottom of area (no blue band) */
.our-team-staff-card__image-wrap {
    position: relative;
    flex-shrink: 0;
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    background: #fff;
    line-height: 0;
    font-size: 0;
}
@supports not (aspect-ratio: 1) {
    .our-team-staff-card__image-wrap { padding-bottom: 100%; aspect-ratio: auto; height: 0; }
}
.our-team-staff-card__image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
    margin: 0;
    vertical-align: bottom;
    transition: transform 0.4s ease;
}
.our-team-staff-card:hover .our-team-staff-card__image {
    transform: scale(1.03);
}
.our-team-staff-card__placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 56px;
    color: var(--royal-blue, #002366);
    opacity: 0.35;
}

/* Body: name, title, description, read more — no flex-grow to avoid extra gap below image */
.our-team-staff-card__body {
    padding: 1.5rem 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 0 1 auto;
    min-width: 0;
}
.our-team-staff-card__name {
    color: var(--royal-blue, #002366);
    font-size: 1.35rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    line-height: 1.3;
    letter-spacing: -0.02em;
}
.our-team-staff-card__title {
    color: #555;
    font-size: 0.9rem;
    font-weight: 600;
    margin: 0 0 0.75rem 0;
    padding: 0.35em 0.75em 0.3em;
    display: inline-block;
    max-width: fit-content;
    background: rgba(0, 35, 102, 0.06);
    color: var(--royal-blue, #002366);
    border-radius: 6px;
    line-height: 1.3;
}
.our-team-staff-card__desc-wrap {
    color: #444;
    font-size: 0.95rem;
    line-height: 1.65;
    margin: 0;
    min-height: 0;
}
.our-team-staff-card__desc-wrap.our-team-staff-card__desc--collapsed {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.our-team-staff-card__desc-wrap p:first-child { margin-top: 0; }
.our-team-staff-card__desc-wrap p:last-child { margin-bottom: 0; }

/* Read more button */
.our-team-staff-card__read-more,
.our-team-staff-card__show-more {
    display: inline-flex;
    align-items: center;
    gap: 0.35em;
    margin-top: 0.75rem;
    padding: 0.5em 0;
    background: none;
    border: none;
    color: var(--royal-blue, #002366);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: color 0.2s ease, gap 0.2s ease;
}
.our-team-staff-card__read-more:hover,
.our-team-staff-card__show-more:hover {
    color: var(--royal-blue-light, #003d99);
}
.our-team-staff-card__read-more::after,
.our-team-staff-card__show-more::after {
    content: '\2192';
    font-size: 1.1em;
    transition: transform 0.2s ease;
}
.our-team-staff-card__read-more.is-expanded::after,
.our-team-staff-card__show-more.is-expanded::after {
    content: '\2190';
}
.our-team-staff-card__read-more:hover::after,
.our-team-staff-card__show-more:hover::after {
    transform: translateX(3px);
}
.our-team-staff-card__read-more.is-expanded:hover::after,
.our-team-staff-card__show-more.is-expanded:hover::after {
    transform: translateX(0) translateY(-2px);
}
.our-team-staff-card__read-more.is-hidden,
.our-team-staff-card__show-more.is-hidden { display: none !important; }

@media (max-width: 768px) {
    .our-team-staff-section__title { font-size: 1.65rem; }
    .our-team-staff-section__lead { font-size: 1rem; margin-bottom: 2rem; }
    .our-team-staff-card__body { padding: 1.25rem; }
    .our-team-staff-card__name { font-size: 1.2rem; }
}

/* Look Around Gallery - Image & Video Gallery */
.look-around-gallery-hero .section-title { color: var(--royal-blue) !important; font-size: 2rem; font-weight: 700; margin-bottom: 0.5rem; }
.look-around-lead { color: #555; font-size: 1.1rem; margin-bottom: 0; max-width: 600px; margin-left: auto; margin-right: auto; }
.look-around-lead p:last-child { margin-bottom: 0; }
.look-around-lead a { color: var(--royal-blue, #1a365d); text-decoration: underline; }
.look-around-lead ul, .look-around-lead ol { padding-left: 1.25rem; margin-bottom: 0.5rem; }

.look-around-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 0;
}
.look-around-gallery__item { min-width: 0; }
.look-around-gallery__card {
    display: block;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 35, 102, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    color: inherit;
    background: var(--light-blue, #E6F2FF);
}
.look-around-gallery__card:hover {
    box-shadow: 0 12px 32px rgba(0, 35, 102, 0.2);
    transform: translateY(-4px);
}
.look-around-gallery__card[data-gallery-index],
.look-around-gallery__card--video { cursor: pointer; }
.look-around-gallery__thumb-wrap {
    position: relative;
    overflow: hidden;
    background: #1a1a2e;
    padding-bottom: 75%; /* fallback aspect ratio 4:3 */
}
@supports (aspect-ratio: 4 / 3) {
    .look-around-gallery__thumb-wrap { padding-bottom: 0; aspect-ratio: 4 / 3; }
}
.look-around-gallery__thumb-img,
.look-around-gallery__thumb-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}
.look-around-gallery__card:hover .look-around-gallery__thumb-img,
.look-around-gallery__card:hover .look-around-gallery__thumb-video { transform: scale(1.05); }
.look-around-gallery__play {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 64px;
    height: 64px;
    margin: -32px 0 0 -32px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s ease, background 0.2s ease;
}
.look-around-gallery__play::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 52%;
    transform: translate(-50%, -50%);
    border: 14px solid transparent;
    border-left-color: var(--royal-blue, #002366);
    border-left-width: 20px;
    margin-left: 4px;
}
.look-around-gallery__card--video:hover .look-around-gallery__play {
    transform: scale(1.1);
    background: #fff;
}
.look-around-gallery__caption {
    padding: 1rem;
    font-weight: 600;
    color: var(--royal-blue, #002366);
    font-size: 1rem;
    background: #fff;
}

/* Gallery lightbox with prev/next */
.look-around-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0.25s ease, opacity 0.25s ease;
}
.look-around-lightbox--open {
    visibility: visible;
    opacity: 1;
}
.look-around-lightbox__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    cursor: pointer;
}
.look-around-lightbox__inner {
    position: relative;
    width: 100%;
    max-width: 960px;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}
.look-around-lightbox__close {
    position: absolute;
    top: -48px;
    right: 0;
    width: 44px;
    height: 44px;
    padding: 0;
    border: none;
    background: #fff;
    color: #333;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    border-radius: 8px;
    z-index: 2;
    transition: background 0.2s ease, color 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}
.look-around-lightbox__close:hover { background: var(--royal-blue); color: #fff; }
.look-around-lightbox__prev,
.look-around-lightbox__next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    padding: 0;
    border: none;
    background: rgba(255, 255, 255, 0.95);
    color: var(--royal-blue, #002366);
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
    border-radius: 50%;
    z-index: 2;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}
.look-around-lightbox__prev { left: -66px; }
.look-around-lightbox__next { right: -66px; }
.look-around-lightbox__prev:hover,
.look-around-lightbox__next:hover {
    background: #fff;
    transform: translateY(-50%) scale(1.08);
}
@media (max-width: 1100px) {
    .look-around-lightbox__prev { left: 8px; }
    .look-around-lightbox__next { right: 8px; }
}
.look-around-lightbox__content {
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    max-width: 100%;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.look-around-lightbox__img,
.look-around-lightbox__video {
    max-width: 100%;
    max-height: 75vh;
    width: auto;
    height: auto;
    display: block;
    vertical-align: middle;
}
.look-around-lightbox__video {
    width: 100%;
}
.look-around-lightbox__caption {
    padding: 12px 20px;
    background: #111;
    color: #eee;
    margin: 0;
    font-size: 15px;
    width: 100%;
    text-align: center;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .look-around-gallery { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1rem; }
    .look-around-gallery__play { width: 52px; height: 52px; margin: -26px 0 0 -26px; }
    .look-around-gallery__play::after { border-left-width: 14px; margin-left: 2px; }
}

/* Legacy gallery grid (keep for any other partials) */
.gallery-grid { margin-bottom: 0; }
.gallery-item { border-radius: 12px; overflow: hidden; box-shadow: 0 5px 20px rgba(0, 35, 102, 0.1); transition: all 0.3s ease; height: 100%; }
.gallery-item:hover { box-shadow: 0 10px 30px rgba(0, 35, 102, 0.2); transform: translateY(-4px); }
.gallery-item__link { display: block; text-decoration: none; color: inherit; height: 100%; }
.gallery-item__image-wrap { position: relative; padding-bottom: 75%; overflow: hidden; background: var(--light-blue, #E6F2FF); }
.gallery-item__image { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.gallery-item:hover .gallery-item__image { transform: scale(1.05); }
.gallery-item__title { display: block; padding: 1rem; font-weight: 600; color: var(--royal-blue, #002366); font-size: 1rem; }
.gallery-section .section-title { color: var(--royal-blue) !important; font-size: 2rem; font-weight: 700; }

/* Royal Blue Theme for Nursing Care */
:root {
    --royal-blue: #002366;
    --royal-blue-light: #003d99;
    --royal-blue-dark: #001a4d;
    --royal-blue-accent: #4169E1;
    --white: #ffffff;
    --light-blue: #E6F2FF;
    --soft-blue: #B3D9FF;
}

/* Page Title Banner - New Style */
.page-title {
    position: relative;
    padding: 120px 0 80px;
    overflow: hidden;
    background-color: var(--royal-blue);
    width: 100%;
    display: block;
}

.page-title-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.3;
    z-index: 1;
}

.page-title .auto-container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.page-title h1 {
    color: var(--white) !important;
    font-size: 56px;
    font-weight: 700;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
}

@media (max-width: 768px) {
    .page-title {
        padding: 80px 0 50px;
    }
    
    .page-title h1 {
        font-size: 36px !important;
    }
}

/* Ensure banner is visible */
.page-banner-section {
    display: block !important;
    visibility: visible !important;
}

/* Hero Section - Royal Blue Theme */
.main-slider .image-layer {
    background-color: var(--royal-blue) !important;
    opacity: 0.9;
}

.main-slider .swiper-slide {
    background: linear-gradient(135deg, var(--royal-blue) 0%, var(--royal-blue-light) 100%);
}

.main-slider h2 {
    color: var(--white) !important;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    line-height: 1.2;
}

.main-slider p {
    color: #ffffff !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    font-size: 18px;
    line-height: 1.6;
}

/* Buttons - Royal Blue */
.thm-btn {
    background-color: var(--royal-blue) !important;
    color: var(--white) !important;
    border: 2px solid var(--royal-blue) !important;
    transition: all 0.3s ease;
}

.thm-btn:hover {
    background-color: var(--royal-blue-light) !important;
    border-color: var(--royal-blue-light) !important;
    color: var(--white) !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 35, 102, 0.3);
}

/* Feature Boxes */
.feature-one__box,
.feature-two__box {
    background-color: var(--white);
    border: 2px solid var(--light-blue);
    transition: all 0.3s ease;
}

.feature-one__box:hover,
.feature-two__box:hover {
    border-color: var(--royal-blue);
    box-shadow: 0 5px 20px rgba(0, 35, 102, 0.15);
    transform: translateY(-5px);
}

.feature-one__box i,
.feature-two__box i {
    color: var(--royal-blue) !important;
}

.feature-one__box p,
.feature-two__box p {
    color: var(--royal-blue) !important;
    font-weight: 600;
    font-size: 17px;
    line-height: 1.4;
}

/* Block Titles */
.block-title p {
    color: var(--royal-blue-accent) !important;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.block-title h2 {
    color: var(--royal-blue) !important;
    font-weight: 700;
}

.block-text {
    color: #333 !important;
    line-height: 1.8;
    font-size: 16px;
}

/* Feature-one (Our Nursing Services) - clear headings and text on light background */
.feature-one .block-title h2 {
    color: var(--royal-blue) !important;
    font-size: 2rem;
    line-height: 1.3;
}

.feature-one .block-title p {
    color: var(--royal-blue-accent) !important;
}

/* Call to Action Section */
.call-to-action {
    background: linear-gradient(135deg, var(--royal-blue) 0%, var(--royal-blue-light) 100%) !important;
    position: relative;
}

.call-to-action::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 35, 102, 0.9);
    z-index: 1;
}

.call-to-action .container {
    position: relative;
    z-index: 2;
}

.call-to-action h3 {
    color: var(--white) !important;
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.3;
}

.call-to-action p span {
    color: #ffffff !important;
    font-weight: 600;
}

/* Trusted Company Section */
.trusted-company__box {
    background-color: var(--white);
    border-left: 4px solid var(--royal-blue);
    transition: all 0.3s ease;
}

.trusted-company__box:hover {
    box-shadow: 0 5px 20px rgba(0, 35, 102, 0.15);
    transform: translateX(5px);
}

.trusted-company__box span:first-child {
    background-color: var(--royal-blue) !important;
    color: var(--white) !important;
}

/* How It Works: high-contrast white text on dark blue for readability */
.trusted-company .block-title p {
    color: #E6F2FF !important;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.trusted-company .block-title h2 {
    color: #ffffff !important;
    font-size: 2.25rem;
    line-height: 1.3;
}

.trusted-company__image p {
    color: #ffffff !important;
    font-size: 16px;
    line-height: 1.7;
}

.trusted-company__list-item {
    color: #ffffff !important;
}

.trusted-company__list-item i {
    color: #E6F2FF !important;
}

.trusted-company__list-text {
    color: #ffffff !important;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
}

/* Section Backgrounds */
section {
    position: relative;
}

.feature-one,
.feature-two {
    background-color: var(--light-blue);
}

/* Services Section - Royal Blue Theme */
.service-1-section {
    padding: 100px 0;
    background-color: var(--white);
}

.section_heading_title_big {
    color: var(--royal-blue) !important;
    font-size: 42px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

.mb_90 {
    margin-bottom: 90px;
}

.service-2-block-wrap {
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 35, 102, 0.1);
    transition: all 0.3s ease;
}

.service-2-block-wrap:hover {
    box-shadow: 0 10px 30px rgba(0, 35, 102, 0.2);
    transform: translateY(-5px);
}

.service-2-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
    position: relative;
}

.service-2-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-2-block-wrap:hover .service-2-image img {
    transform: scale(1.05);
}

.service-2-block {
    padding: 30px;
    background-color: var(--white);
}

.service-2-title {
    color: var(--royal-blue) !important;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
}

.service-2-text {
    color: #333 !important;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 0;
}

/* Service Details Page */
.service-details-section {
    background-color: var(--white);
}

.service-details-title {
    color: var(--royal-blue) !important;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
}

.service-details-description {
    color: #555 !important;
    font-size: 18px;
    line-height: 1.8;
}

.service-sidebar {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
}

.service-sidebar h3 {
    color: var(--royal-blue) !important;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 20px;
}

.service-sidebar ul li a {
    transition: all 0.3s ease;
}

.service-sidebar ul li a:hover {
    color: var(--royal-blue) !important;
    background-color: var(--light-blue);
}


/* Page Header Section - default gradient when no custom banner image */
.page-header-section {
    position: relative;
    padding: 120px 0 80px;
    overflow: hidden;
}
.page-header-section:not(.page-banner-custom-image) {
    background: linear-gradient(135deg, var(--royal-blue) 0%, var(--royal-blue-light) 100%);
}

/* Overlay: strong when default blue; lighter when custom image so image shows through */
.page-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 35, 102, 0.95);
    z-index: 1;
}
.page-banner-custom-image .page-header-overlay {
    background: rgba(0, 0, 0, 0.25);
}

.page-header-section .container {
    position: relative;
    z-index: 2;
}

.page-header-title {
    color: var(--white) !important;
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 15px;
    text-transform: capitalize;
}

.page-header-subtitle {
    color: var(--white) !important;
    font-size: 20px;
    font-weight: 400;
    margin: 0;
    margin-top: 15px;
}

/* Page header divider line (Afroways-style) */
.page-header-divider {
    width: 60px;
    height: 3px;
    background-color: var(--white);
    margin: 0 auto 15px;
    border: none;
}

/* Solid royal blue page banner hero only when no custom image (inline style from CMS has image/color) */
.page-banner-hero.page-header-section:not(.page-banner-custom-image) {
    background: var(--royal-blue);
}

/* CMS custom banner: inline style uses !important; use CSS vars for title/subtitle/divider so theme doesn't override */
.page-header-section.page-banner-custom-image {
    /* Inline style sets background-image/background-color !important */
}
.page-header-section.page-banner-custom-image .page-header-title {
    color: var(--banner-title-color, var(--white)) !important;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.page-header-section.page-banner-custom-image .page-header-subtitle {
    color: var(--banner-subtitle-color, var(--white)) !important;
}
.page-header-section.page-banner-custom-image .page-header-divider {
    background-color: var(--banner-title-color, var(--white));
}

.page-banner-hero .page-header-title {
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Topbar / contact bar - royal blue (Afroways-style) */
.main-header .topbar {
    background-color: var(--royal-blue) !important;
}

.main-header .topbar__left > a,
.main-header .topbar__right > a {
    color: var(--white) !important;
}

.main-header .topbar__left > a:hover,
.main-header .topbar__right > a:hover {
    color: var(--soft-blue) !important;
}

.main-header .topbar__right > a > i,
.main-header .topbar__social a {
    color: var(--white) !important;
}

.main-header .topbar__social a:hover {
    color: var(--soft-blue) !important;
}

.main-header .topbar__social {
    background-color: transparent !important;
}

/* About Section */
.about-section {
    background-color: var(--white);
}

.section-title {
    margin-bottom: 30px;
}

.section-title-tag {
    color: var(--royal-blue-accent) !important;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 10px;
}

.section-title-heading {
    color: var(--royal-blue) !important;
    font-size: 36px;
    font-weight: 700;
    margin: 0;
}

.about-text {
    color: #555 !important;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-feature-box {
    text-align: center;
    padding: 30px;
    background: var(--white);
    border: 2px solid var(--light-blue);
    border-radius: 10px;
    transition: all 0.3s ease;
    height: 100%;
}

.about-feature-box:hover {
    border-color: var(--royal-blue);
    box-shadow: 0 10px 30px rgba(0, 35, 102, 0.15);
    transform: translateY(-5px);
}

.feature-icon {
    margin-bottom: 20px;
}

.feature-title {
    color: var(--royal-blue) !important;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
}

.feature-text {
    color: #555 !important;
    font-size: 15px;
    line-height: 1.7;
    margin: 0;
}

.mission-vision-section {
    background: var(--light-blue) !important;
}

/* Page Banner Section */
.page-banner-section {
    position: relative !important;
    padding: 120px 0 80px !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    overflow: hidden !important;
    min-height: 300px !important;
    background-color: var(--royal-blue) !important;
    background-image: linear-gradient(135deg, var(--royal-blue) 0%, var(--royal-blue-light) 100%) !important;
    display: block !important;
    visibility: visible !important;
    width: 100% !important;
}

.page-banner-overlay {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: linear-gradient(135deg, rgba(0, 35, 102, 0.9) 0%, rgba(0, 61, 153, 0.9) 100%) !important;
    z-index: 1 !important;
    display: block !important;
}

.page-banner-section .container,
.page-banner-section .auto-container {
    position: relative;
    z-index: 2;
}

.page-banner-title {
    color: var(--white) !important;
    font-size: 56px !important;
    font-weight: 700 !important;
    margin-bottom: 20px !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    display: block !important;
    visibility: visible !important;
}

.page-banner-subtitle {
    color: var(--white) !important;
    font-size: 22px !important;
    font-weight: 400 !important;
    margin: 0 !important;
    line-height: 1.6 !important;
    display: block !important;
    visibility: visible !important;
}

/* Contact Cards Section */
.contact-cards-section {
    padding: 60px 0;
    background-color: #f8f9fa;
    margin-top: -40px;
    position: relative;
    z-index: 3;
}

.contact-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 35, 102, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 35, 102, 0.2);
}

.contact-card-icon {
    width: 80px;
    height: 80px;
    background: var(--royal-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: all 0.3s ease;
}

.contact-card:hover .contact-card-icon {
    background: var(--royal-blue-light);
    transform: scale(1.1);
}

.contact-card-icon i {
    color: var(--white);
    font-size: 32px;
}

.contact-card-title {
    color: var(--royal-blue) !important;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
}

.contact-card-text {
    color: #555;
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
}

.contact-card-text a {
    color: var(--royal-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-card-text a:hover {
    color: var(--royal-blue-light);
    text-decoration: underline;
}

/* Section Padding */
.section-padding {
    padding: 100px 0;
    background-color: #fff;
    width: 100%;
    display: block;
    clear: both;
}

/* Auto Container - matches main.css */
.auto-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    width: 100%;
    box-sizing: border-box;
}

@media (min-width: 1200px) {
    .auto-container {
        max-width: 1200px;
    }
}

/* Content Section Styling */
.section-padding {
    clear: both;
    overflow: hidden;
}

.section-padding h2 {
    color: var(--royal-blue) !important;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    margin-top: 0;
    line-height: 1.3;
}

.section-padding h3 {
    color: var(--royal-blue) !important;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 15px;
    margin-top: 0;
    line-height: 1.3;
}

.section-padding p {
    color: #555;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 15px;
    margin-top: 0;
}

.section-padding .row {
    display: flex;
    flex-wrap: wrap;
    margin-left: -15px;
    margin-right: -15px;
    clear: both;
}

.section-padding .row::before,
.section-padding .row::after {
    content: "";
    display: table;
    clear: both;
}

.section-padding .row [class*="col-"] {
    position: relative;
    width: 100%;
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box;
    float: left;
}

.section-padding .row .col-lg-6 {
    width: 50%;
}

.section-padding .row .col-lg-4 {
    width: 33.333333%;
}

.section-padding .row .col-lg-12 {
    width: 100%;
}

.section-padding img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.section-padding .img-fluid {
    width: 100%;
    height: auto;
    display: block;
}

.section-padding .rounded {
    border-radius: 10px;
}

.section-padding .shadow {
    box-shadow: 0 5px 20px rgba(0, 35, 102, 0.15);
}

.section-padding .mb-5 {
    margin-bottom: 3rem !important;
}

.section-padding .align-items-center {
    align-items: center;
}

@media (max-width: 991px) {
    .section-padding {
        padding: 60px 0;
    }
    
    .section-padding h2 {
        font-size: 28px;
    }
    
    .section-padding h3 {
        font-size: 24px;
    }
    
    .section-padding .mb-5 {
        margin-bottom: 2rem !important;
    }
    
    .section-padding .row .col-lg-6,
    .section-padding .row .col-lg-4 {
        width: 100%;
        float: none;
        margin-bottom: 30px;
    }
}

/* Contact Section */
.contact-section {
    background-color: var(--white);
}

.contact-form-wrapper {
    background: var(--white) !important;
    padding: 50px !important;
    border-radius: 10px !important;
    box-shadow: 0 5px 30px rgba(0, 35, 102, 0.1) !important;
    margin-bottom: 30px !important;
    height: 100%;
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

@media (max-width: 991px) {
    .contact-form-wrapper {
        padding: 30px;
        margin-bottom: 40px;
    }
}

.contact-form-title {
    color: var(--royal-blue) !important;
    font-size: 32px !important;
    font-weight: 700 !important;
    margin-bottom: 10px !important;
    display: block !important;
}

.contact-form-subtitle {
    color: #666 !important;
    font-size: 16px !important;
    margin-bottom: 30px !important;
    display: block !important;
    line-height: 1.6 !important;
}

.contact-form .form-group {
    margin-bottom: 25px !important;
    display: block !important;
    width: 100% !important;
}

.contact-form label {
    color: var(--royal-blue-dark) !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    margin-bottom: 8px !important;
    display: block !important;
    width: 100% !important;
}

.contact-form .required {
    color: #dc3545;
}

.contact-form .form-control,
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea {
    border: 2px solid #e6eaef !important;
    border-radius: 8px !important;
    padding: 14px 18px !important;
    font-size: 16px !important;
    transition: all 0.3s ease !important;
    width: 100% !important;
    background: #fff !important;
    font-family: inherit !important;
    color: #333 !important;
    box-sizing: border-box !important;
    display: block !important;
}

.contact-form .form-control:focus,
.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--royal-blue) !important;
    outline: none !important;
    box-shadow: 0 0 0 4px rgba(0, 35, 102, 0.1) !important;
    background: #fff !important;
}

.contact-form textarea.form-control,
.contact-form textarea {
    resize: vertical;
    min-height: 150px;
}

.contact-form .form-control::placeholder,
.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #999 !important;
    opacity: 0.7 !important;
}

.contact-submit-btn,
.contact-form .thm-btn,
.contact-form button[type="submit"] {
    padding: 16px 40px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.3s ease !important;
    background-color: var(--royal-blue) !important;
    color: var(--white) !important;
    border: 2px solid var(--royal-blue) !important;
    cursor: pointer !important;
    margin-top: 10px !important;
}

.contact-submit-btn:hover,
.contact-form .thm-btn:hover,
.contact-form button[type="submit"]:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 20px rgba(0, 35, 102, 0.3) !important;
    background-color: var(--royal-blue-light) !important;
    border-color: var(--royal-blue-light) !important;
}

.contact-1-image-wrap {
    margin-bottom: 30px;
    width: 100%;
}

.contact-1-image-wrap iframe {
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 35, 102, 0.15);
    width: 100%;
    display: block;
}

.contact-info-wrapper {
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 35, 102, 0.1);
}

@media (max-width: 991px) {
    .contact-info-wrapper {
        padding: 30px;
    }
}

.contact-info-title {
    color: var(--royal-blue) !important;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 30px;
}

.contact-info-item {
    display: flex;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #e6eaef;
}

.contact-info-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.contact-info-icon {
    width: 60px;
    height: 60px;
    background: var(--royal-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
}

.contact-info-icon i {
    color: white;
    font-size: 22px;
}

.contact-info-content {
    flex: 1;
}

.contact-info-content h5 {
    color: var(--royal-blue) !important;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
}

.contact-info-content p {
    color: #555;
    line-height: 1.8;
    margin: 0;
}

.contact-info-content a {
    color: var(--royal-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info-content a:hover {
    color: var(--royal-blue-light);
    text-decoration: underline;
}

.contact-info-note {
    color: #888;
    font-size: 14px;
}

/* FAQ Section */
.faq-section {
    background-color: var(--white);
}

.faq-item {
    transition: all 0.3s ease;
}

.faq-item.active .faq-question {
    background: var(--royal-blue) !important;
}

.faq-item.active .faq-question h4,
.faq-item.active .faq-question i {
    color: var(--white) !important;
}

.faq-item.active .faq-answer {
    display: block !important;
}

.faq-question:hover {
    background: var(--royal-blue-light) !important;
}

.faq-question:hover h4,
.faq-question:hover i {
    color: var(--white) !important;
}

.faq-answer {
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .main-slider h2 {
        font-size: 2rem !important;
    }
    
    .block-title h2 {
        font-size: 1.8rem !important;
    }
    
    .section_heading_title_big {
        font-size: 28px !important;
    }
    
    .service-2-image {
        height: 250px;
    }
    
    .service-2-block {
        padding: 20px;
    }
    
    .service-details-title {
        font-size: 28px;
    }
    
    .page-header-title {
        font-size: 32px !important;
    }
    
    .page-header-subtitle {
        font-size: 16px !important;
    }
    
    .page-banner-title {
        font-size: 36px !important;
    }
    
    .page-banner-subtitle {
        font-size: 18px !important;
    }
    
    .contact-cards-section {
        padding: 40px 0;
        margin-top: -20px;
    }
    
    .contact-card {
        padding: 30px 20px;
        margin-bottom: 20px;
    }
    
    .contact-card-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 20px;
    }
    
    .contact-card-icon i {
        font-size: 28px;
    }
    
    .contact-card-title {
        font-size: 18px;
    }
    
    .contact-card-text {
        font-size: 14px;
    }
    
    .section-title-heading {
        font-size: 28px !important;
    }
    
    .contact-form-wrapper,
    .contact-info-wrapper {
        padding: 25px;
        margin-bottom: 30px;
    }
    
    .page-banner-title {
        font-size: 36px !important;
    }
    
    .page-banner-subtitle {
        font-size: 16px !important;
    }
    
    .contact-1-image-wrap iframe {
        height: 350px !important;
    }
    
    .contact-info-item {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-info-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .contact-form-wrapper,
    .contact-info-wrapper {
        padding: 25px !important;
    }
    
    .contact-form-title {
        font-size: 24px !important;
    }
    
    .contact-info-title {
        font-size: 24px !important;
    }
}
/* Contact Page Specific Fixes - High Priority */
section.page-banner-section {
    display: block !important;
    visibility: visible !important;
    background: linear-gradient(135deg, #002366 0%, #003d99 100%) !important;
    padding: 120px 0 80px !important;
    min-height: 300px !important;
    position: relative !important;
    width: 100% !important;
}

section.page-banner-section .page-banner-overlay {
    display: block !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: linear-gradient(135deg, rgba(0, 35, 102, 0.9) 0%, rgba(0, 61, 153, 0.9) 100%) !important;
    z-index: 1 !important;
}

section.page-banner-section .container {
    position: relative !important;
    z-index: 2 !important;
}

section.page-banner-section h1.page-banner-title {
    color: #ffffff !important;
    font-size: 56px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    display: block !important;
    visibility: visible !important;
}

section.page-banner-section p.page-banner-subtitle {
    color: #ffffff !important;
    font-size: 22px !important;
    display: block !important;
    visibility: visible !important;
}

/* Contact Form Styles - High Specificity */
.contact-form-wrapper {
    background: #ffffff !important;
    padding: 50px !important;
    border-radius: 10px !important;
    box-shadow: 0 5px 30px rgba(0, 35, 102, 0.1) !important;
    margin-bottom: 30px !important;
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.contact-form-wrapper h3.contact-form-title {
    color: #002366 !important;
    font-size: 32px !important;
    font-weight: 700 !important;
    margin-bottom: 10px !important;
    display: block !important;
}

.contact-form-wrapper p.contact-form-subtitle {
    color: #666 !important;
    font-size: 16px !important;
    margin-bottom: 30px !important;
    display: block !important;
}

.contact-form-wrapper .form-group {
    margin-bottom: 25px !important;
    display: block !important;
    width: 100% !important;
}

.contact-form-wrapper label {
    color: #001a4d !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    margin-bottom: 8px !important;
    display: block !important;
    width: 100% !important;
}

.contact-form-wrapper .form-control,
.contact-form-wrapper input[type="text"],
.contact-form-wrapper input[type="email"],
.contact-form-wrapper input[type="tel"],
.contact-form-wrapper textarea {
    border: 2px solid #e6eaef !important;
    border-radius: 8px !important;
    padding: 14px 18px !important;
    font-size: 16px !important;
    width: 100% !important;
    background: #ffffff !important;
    color: #333333 !important;
    box-sizing: border-box !important;
    display: block !important;
    font-family: inherit !important;
    transition: all 0.3s ease !important;
}

.contact-form-wrapper .form-control:focus,
.contact-form-wrapper input:focus,
.contact-form-wrapper textarea:focus {
    border-color: #002366 !important;
    outline: none !important;
    box-shadow: 0 0 0 4px rgba(0, 35, 102, 0.1) !important;
    background: #ffffff !important;
}

.contact-form-wrapper textarea {
    resize: vertical !important;
    min-height: 150px !important;
}

.contact-form-wrapper .form-control::placeholder,
.contact-form-wrapper input::placeholder,
.contact-form-wrapper textarea::placeholder {
    color: #999999 !important;
    opacity: 0.7 !important;
}

.contact-form-wrapper .thm-btn,
.contact-form-wrapper button[type="submit"],
.contact-submit-btn {
    padding: 16px 40px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
    width: 100% !important;
    background-color: #002366 !important;
    color: #ffffff !important;
    border: 2px solid #002366 !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.3s ease !important;
    margin-top: 10px !important;
}

.contact-form-wrapper .thm-btn:hover,
.contact-form-wrapper button[type="submit"]:hover,
.contact-submit-btn:hover {
    background-color: #003d99 !important;
    border-color: #003d99 !important;
    color: #ffffff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 20px rgba(0, 35, 102, 0.3) !important;
}

/* Contact Cards */
.contact-cards-section {
    padding: 60px 0 !important;
    background-color: #f8f9fa !important;
    margin-top: -40px !important;
    position: relative !important;
    z-index: 3 !important;
    display: block !important;
}

.contact-card {
    background: #ffffff !important;
    padding: 40px 30px !important;
    border-radius: 10px !important;
    text-align: center !important;
    box-shadow: 0 5px 20px rgba(0, 35, 102, 0.1) !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    height: 100% !important;
}

.contact-card-icon {
    width: 80px !important;
    height: 80px !important;
    background: #002366 !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-bottom: 25px !important;
}

.contact-card-icon i {
    color: #ffffff !important;
    font-size: 32px !important;
}

.contact-card-title {
    color: #002366 !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    margin-bottom: 15px !important;
    display: block !important;
}

.contact-card-text {
    color: #555555 !important;
    font-size: 16px !important;
    line-height: 1.6 !important;
    display: block !important;
}

.contact-card-text a {
    color: #002366 !important;
    text-decoration: none !important;
}

.contact-card-text a:hover {
    color: #003d99 !important;
    text-decoration: underline !important;
}

/* Mobile nav: hide middle chevrons next to "Our Care" and "Services" (keep right-side expand button) */
.mobile-nav__content .main-menu__list .dropdown > a .fa-chevron-down {
    display: none;
}
