/* SERVICES PAGE */
.serv-main {
    padding-top: 2.5rem;
    padding-bottom: 1rem;
}

/* Image Hero Banner */
.serv-hero-banner {
    position: relative;
    padding: 8rem 1.5rem 6rem;
    text-align: center;
    background-image: url('../../images/banners/banner-services.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    margin-top: -6rem; /* adjust for main padding */
    margin-bottom: 1rem;
    min-height: 65vh; /* reasonable height for mobile */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.serv-hero-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(0, 31, 63, 0.65), rgba(0, 31, 63, 0.85));
    z-index: 1;
}

.serv-hero-content {
    position: relative;
    z-index: 2;
    max-width: 56rem;
    margin: 0 auto;
}

.serv-hero-title {
    font-size: 2.75rem;
    font-weight: 800;
    letter-spacing: -0.025em;
    color: #ffffff;
    margin-bottom: 1.5rem;
    font-family: "Manrope", sans-serif;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    line-height: 1.2;
}

.serv-hero-title .highlight {
    color: #f28c1b;
}

.serv-hero-desc {
    font-size: 1.125rem;
    color: #e8f0ff;
    font-weight: 400;
    line-height: 1.625;
}

.serv-hero-divider {
    margin-top: 3rem;
    display: flex;
    justify-content: center;
}

.serv-hero-divider .divider-line {
    width: 4rem;
    height: 0.25rem;
    background-color: #b2fef6;
    border-radius: 9999px;
}

/* Standardized Section Headers (Matched to Home Page "Excellence in Care") */
.section-header-block {
    text-align: center;
    max-width: 48rem;
    margin: 0 auto 3.5rem;
}

.section-header-subtitle {
    color: #f28c1b;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.875rem;
    display: block;
    margin-bottom: 0.5rem;
}

.section-header-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #0a1f44;
    font-family: "Manrope", sans-serif;
    margin-top: 0.5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.section-header-title .highlight-orange {
    color: #f28c1b;
}

.section-header-desc {
    color: #43474a;
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0 auto;
}

/* 3-Step Program Section */
.serv-roadmap-section {
    background-color: #f2f4f6;
    padding: 3rem 1.5rem;
    overflow: hidden;
}

.serv-roadmap-container {
    max-width: 80rem;
    margin: 0 auto;
}

.roadmap-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.roadmap-title {
    font-family: "Manrope", sans-serif;
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.roadmap-desc {
    color: #43474a;
    max-width: 42rem;
    margin: 0 auto;
}

/* ROADMAP SECTION REVOLUTIONIZED */
.roadmap-flex-vertical {
    display: flex;
    flex-direction: column;
    gap: 8rem;
    padding-top: 3rem;
}

.roadmap-item-row {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    align-items: center;
}

@media (min-width: 992px) {
    .roadmap-item-row {
        flex-direction: row;
        gap: 0;
    }
    
    .roadmap-item-row.reverse {
        flex-direction: row-reverse;
    }
}

.roadmap-image-column {
    flex: 1;
    position: relative;
    width: 100%;
}

.roadmap-image-column img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    border-radius: 3rem;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.08);
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

@media (min-width: 992px) {
    .roadmap-image-column img {
        height: 480px;
    }
}

.roadmap-item-row:hover .roadmap-image-column img {
    transform: scale(1.02);
}

.phase-badge {
    position: absolute;
    top: 2rem;
    left: 2rem;
    padding: 0.6rem 1.5rem;
    border-radius: 3rem;
    color: #ffffff;
    font-weight: 850;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    backdrop-filter: blur(12px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    z-index: 5;
    border: 1px solid rgba(255,255,255,0.2);
}

.bg-step-1 { background-color: rgba(0, 97, 164, 0.9); }
.bg-step-2 { background-color: rgba(19, 105, 100, 0.9); }
.bg-step-3 { background-color: rgba(242, 140, 27, 0.9); }

.roadmap-text-column {
    flex: 1;
    display: flex;
    align-items: center;
    width: 100%;
}

.column-inner {
    padding: 0 1.5rem;
}

@media (min-width: 992px) {
    .column-inner {
        padding: 0 5rem;
    }
}

.roadmap-item-title {
    font-size: 2.2rem;
    font-weight: 900;
    color: #0a1f44;
    margin-bottom: 1.5rem;
    font-family: "Manrope", sans-serif;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

@media (min-width: 992px) {
    .roadmap-item-title {
        font-size: 3rem;
    }
}

.highlight-blue { color: #0061a4; }
.highlight-green { color: #136964; }
.highlight-orange { color: #f28c1b; }

.roadmap-item-desc {
    color: #43474a;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

.roadmap-checklist {
    list-style: none;
    padding: 0;
    margin: 0 0 3rem 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.roadmap-checklist li {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    font-size: 1.1rem;
    font-weight: 700;
    color: #191c1e;
}

.roadmap-checklist li .material-symbols-outlined {
    color: #0077b6;
    font-variation-settings: 'FILL' 1;
    font-size: 1.75rem;
}

.phase-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.25rem 2.5rem;
    background-color: #0a1f44;
    color: #ffffff;
    border-radius: 16px;
    font-weight: 800;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 10px 25px rgba(10, 31, 68, 0.2);
}

.phase-action-btn:hover {
    background-color: #0077b6;
    transform: translateX(12px);
    box-shadow: 0 15px 35px rgba(0, 119, 182, 0.3);
}

/* Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    animation: fadeUpIn 1s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

.roadmap-flex-vertical .roadmap-item-row:nth-child(1) { animation-delay: 0.1s; }
.roadmap-flex-vertical .roadmap-item-row:nth-child(2) { animation-delay: 0.3s; }
.roadmap-flex-vertical .roadmap-item-row:nth-child(3) { animation-delay: 0.5s; }

@keyframes fadeUpIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Features Section */
/* FEATURE CARDS ENHANCED (Text Above Image) */
.serv-features-section {
    padding: 6rem 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

.features-header-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 3.5rem;
    align-items: center;
    text-align: center;
    border-bottom: 1px solid #e1e7ec;
    padding-bottom: 2rem;
}

@media (min-width: 992px) {
    .features-header-wrapper {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
        align-items: flex-end;
    }
}

.features-header-content {
    max-width: 42rem;
}

.features-action {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #0061a4;
    font-family: "Manrope", sans-serif;
    font-weight: 800;
    cursor: pointer;
    text-decoration: none;
    font-size: 1.1rem;
    padding-bottom: 0.5rem;
}

.features-action:hover {
    color: #f28c1b;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.feature-img-full-card {
    position: relative;
    height: 390px;
    border-radius: 2.2rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    box-shadow: 0 25px 55px rgba(0, 0, 0, 0.12);
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    isolation: isolate;
}

.feature-img-full-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.22);
}

.card-bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 1;
}

.feature-img-full-card:hover .card-bg-img {
    transform: scale(1.15);
}

.card-glass-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, 
        rgba(0, 0, 0, 0.95) 0%, 
        rgba(0, 0, 0, 0.65) 45%, 
        transparent 85%);
    z-index: 2;
}

.card-info-content {
    position: relative;
    z-index: 10;
    padding: 2.2rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.feature-icon-circle {
    width: 3.2rem;
    height: 3.2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.6rem;
    box-shadow: 0 8px 15px rgba(0,0,0,0.2);
}

.bg-blue { background-color: #0061a4; }
.bg-green { background-color: #136964; }
.bg-orange { background-color: #f28c1b; }

.feature-icon-circle .material-symbols-outlined {
    color: #ffffff;
    font-size: 1.6rem;
    font-variation-settings: 'FILL' 1;
}

.feature-title-white {
    color: #ffffff;
    font-size: 1.6rem;
    font-weight: 850;
    margin: 0;
    font-family: "Manrope", sans-serif;
    letter-spacing: -0.01em;
}

.feature-desc-white {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1.4rem;
    font-weight: 500;
}

.btn-card-action {
    align-self: flex-start;
    padding: 0.75rem 1.8rem;
    background-color: #000000;
    color: #ffffff;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 800;
    font-size: 0.85rem;
    transition: all 0.4s ease;
    border: 1px solid rgba(255,255,255,0.15);
}

.btn-card-action:hover {
    background-color: #ffffff;
    color: #000000;
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .feature-img-full-card {
        height: 340px;
    }

    .feature-title-white {
        font-size: 1.45rem;
    }
}

/* CTA */
.serv-cta-section {
    padding: 3rem 1.5rem;
    margin-bottom: 0;
}

.cta-banner {
    max-width: 64rem;
    margin: 0 auto;
    border-radius: 3rem;
    background: linear-gradient(to bottom right, #0061a4, #00497d);
    padding: 3rem 1.5rem;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.cta-banner-bg {
    position: absolute;
    inset: 0;
    opacity: 0.1;
}

.cta-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cta-banner-content {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.cta-banner-title {
    font-family: "Manrope", sans-serif;
    font-size: 1.875rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.25;
}

.cta-banner-desc {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.125rem;
    max-width: 42rem;
    margin: 0 auto;
}

.cta-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.btn-cta-primary {
    background-color: #ffffff;
    color: #0061a4;
    padding: 1rem 2.5rem;
    border-radius: 9999px;
    font-family: "Manrope", sans-serif;
    font-weight: 700;
    font-size: 1.125rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}

.btn-cta-primary:hover {
    background-color: #f7f9fb;
    transform: translateY(-2px);
}

.btn-cta-secondary {
    background-color: rgba(232, 240, 255, 0.2);
    backdrop-filter: blur(12px);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 1rem 2.5rem;
    border-radius: 9999px;
    font-family: "Manrope", sans-serif;
    font-weight: 700;
    font-size: 1.125rem;
    cursor: pointer;
    transition: background-color 0.2s;
    text-decoration: none;
}

.btn-cta-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Responsive Settings */
@media (min-width: 640px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .cta-actions {
        flex-direction: row;
    }
}

@media (min-width: 768px) {
    /* Image Hero Banner */
    .serv-hero-banner {
        padding: 4rem 3rem 4rem;
        min-height: 100vh;
    }
    .serv-hero-title {
        font-size: 4.5rem;
    }
    .serv-hero-desc {
        font-size: 1.5rem;
    }

    /* Roadmap */
    .serv-roadmap-section {
        padding: 5rem 3rem;
    }
    .roadmap-title {
        font-size: 2.25rem;
    }
    .roadmap-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    /* Features */
    .features-header-wrapper {
        flex-direction: row;
        align-items: flex-end;
        justify-content: space-between;
        text-align: left;
        border-bottom: none;
        padding-bottom: 0;
    }
    .features-title {
        font-size: 2.25rem;
    }

    /* CTA */
    .serv-cta-section {
        margin-bottom: 2rem;
    }
    .cta-banner {
        padding: 5rem 3rem;
    }
    .cta-banner-title {
        font-size: 3rem;
    }
}

@media (min-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
