/* ============================================================
   SERVICE INDEX PAGE — service.css
   Matches the design screenshot exactly
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Open+Sans+Condensed:wght@700&family=Open+Sans:wght@400;500;700&display=swap');

/* ── Tokens ── */
:root {
    --primary:    #004893;   /* primary blue */
    --secondary:  #0092EF;   /* secondary blue */
    --bg-light:   #E6F5FF;   /* background */
    --grad-1:     #E1F3FF;   /* radial gradient start */
    --grad-2:     #0092EF;   /* radial gradient end */
    --container-max: 1200px;
    --container-pad: 20px;
}




.text-cyan { color: var(--cyan) !important; }


/* Hero Section */
.hero-section {
    position: relative;
    min-height: 400px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    width: 100%;
    padding: 0 20px;
}

.hero-text {
    text-align: center;
    max-width: 820px;
    margin: 0 auto;
}

.hero-heading {
    font-size: 44px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 14px;
    line-height: 1.25;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.45);
}

.hero-sub {
    margin: 0 auto 22px;
    max-width: 720px;
    color: #ffffff;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.4);
}

.hero-btn {
    display: inline-block;
    background: var(--secondary);
    color: #fff;
    padding: 12px 28px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.3s ease;
}

.hero-btn:hover {
    background: var(--primary);
    color: #fff;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-section {
        min-height: 450px;
    }
    
    .hero-heading {
        font-size: 34px;
    }

    .hero-sub {
        font-size: 15px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        min-height: 350px;
    }
    
    .hero-heading {
        font-size: 28px;
    }

    .hero-sub {
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .hero-heading {
        font-size: 24px;
    }

    .hero-sub {
        font-size: 13px;
    }
}

/* ===== Services Section ===== */
.section-title {
    margin: 0;
    font-size: 35px;
    font-weight: 700;
    color: #000;
}

.services-bg {
    
    padding: 50px 0 60px;
}

.services-header {
    text-align: center;
    margin-bottom: 45px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 4px 14px rgba(0, 72, 147, 0.10);
}

.service-card-link {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    text-decoration: none;
}

.service-image-wrapper {
    position: relative;
    overflow: hidden;
    background: var(--bg-light);
    aspect-ratio: 350 / 223;
}

.service-image-wrapper img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Fallback title - shows when image missing/broken */
.service-fallback-title {
    position: absolute;
    inset: 0;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    text-align: center;
}

.service-fallback-title span {
    color: var(--primary);
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.4;
}

/* ===== Hover Overlay ===== */
.service-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

/* Light primary halves */
.overlay-half {
    position: absolute;
    left: 0;
    width: 100%;
    height: 50%;
    background: rgba(0, 72, 147, 0.55);   /* #004893 lightened */
    transition: transform 0.45s ease;
}

/* Top half slides DOWN, bottom half slides UP */
.overlay-top {
    top: 0;
    transform: translateY(-100%);
}

.overlay-bottom {
    bottom: 0;
    transform: translateY(100%);
}

.service-card:hover .overlay-top,
.service-card:hover .overlay-bottom {
    transform: translateY(0);
}

/* Center title button - appears on hover */
.overlay-btn {
    position: relative;
    z-index: 2;
    max-width: 85%;
    padding: 12px 26px;
    background: #fff;
    color: var(--primary);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    opacity: 0;
    transform: scale(0.6);
    transition: all 0.35s ease 0.1s;
    pointer-events: auto;
}

.service-card:hover .overlay-btn {
    opacity: 1;
    transform: scale(1);
}

/* Button hover - fill with primary */
.overlay-btn:hover {
    background: var(--primary);
    color: #fff;
}

/* ===== View All Services - pill button ===== */
.srv-toggle-wrap {
    text-align: center;
    padding: 40px 0 60px;
}

.srv-toggle-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--secondary);
    color: #fff;
    border: none;
    padding: 13px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: background 0.3s ease;
}

.srv-toggle-btn:hover {
    background: var(--primary);
}

.srv-toggle-btn .btn-arrow i {
    transition: transform 0.3s ease;
}

.srv-toggle-btn[data-expanded="true"] .btn-arrow i {
    transform: rotate(180deg);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .section-title { font-size: 28px; }
    .services-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}

@media (max-width: 767.98px) {
    .services-bg { padding: 50px 0 40px; }
    .services-header { margin-bottom: 35px; }
}

@media (max-width: 640px) {
    .services-grid { grid-template-columns: 1fr; }
}


/* ===== CTA Banner Section ===== */
.cta-banner-section {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 55px 0;
    margin-bottom: 45px;
}

/* Light primary overlay */
.cta-banner-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 72, 147, 0.72);   /* primary #004893 lightened */
}

.cta-banner-wrap {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}

/* Left text */
.cta-banner-text h2 {
    margin: 0 0 10px;
    font-size: 32px;
    font-weight: 800;
    color: #fff;
}

.cta-banner-text p {
    margin: 0;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.95);
}

/* Right pill buttons */
.cta-banner-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.cta-btn {
    display: inline-block;
    background: var(--secondary);
    color: #fff;
    padding: 14px 30px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.3s ease;
    white-space: nowrap;
}

.cta-btn:hover {
    background: var(--primary);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .cta-banner-text h2 {
        font-size: 26px;
    }
}

@media (max-width: 767.98px) {
    .cta-banner-section {
        padding: 40px 0;
    }

    .cta-banner-wrap {
        flex-direction: column;
        align-items: flex-start;
        gap: 22px;
    }

    .cta-banner-text h2 {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .cta-banner-text h2 {
        font-size: 21px;
    }

    .cta-banner-btns {
        flex-direction: column;
        width: 100%;
    }

    .cta-btn {
        text-align: center;
        white-space: normal;
    }
}

/* ===== Why Choose Us Section ===== */

section.wcu-section {
    margin-bottom: 40px;
}
.wcu-grid {
    display: grid;
        grid-template-columns: 2.5fr 1fr; 
    gap: 0px;
}


.wcu-panel {
    background: var(--primary);
    margin-left: -100vw;
    padding: 45px 60px 45px 100vw;
}

.wcu-panel h2 {
    margin: 0 0 18px;
    font-size: 32px;
    font-weight: 700;
    color: #fff;
}

.wcu-panel > p {
    margin: 0 0 28px;
    font-size: 15px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.92);
}

/* 2x2 icon items */
.wcu-grid-items {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px 30px;
}

.wcu-grid-items > div {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

/* Icon circle - span with Font Awesome class */
.wcu-grid-items > div > span {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    border: 2px solid #fff;
    background: var(--secondary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.wcu-grid-items h3 {
    margin: 0 0 8px;
    font-size: 17px;
    font-weight: 700;
    color: #fff;
}

.wcu-grid-items p {
    margin: 0;
    font-size: 13px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
}


.wcu-image {
    position: relative;
      overflow: hidden;
    border: 3px solid var(--secondary);
    margin-right: -24vw;
}

.wcu-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    block-size: 100%;   /* fills the box completely */
    object-fit: cover;
    display: block;
}

@media (max-width: 1024px) {
    /* Stack + full width on smaller screens */
    .wcu-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .wcu-panel {
        margin: 0 -20px;
        padding: 45px 20px;
    }

    .wcu-image {
        margin: 0 -20px;
    }

    .wcu-image img {
        position: static;
        block-size: auto;
        aspect-ratio: 16 / 10;
    }

    .wcu-panel h2 {
        font-size: 26px;
    }

    .wcu-grid-items {
        gap: 25px 20px;
    }

    .wcu-grid-items > div > span {
        width: 46px;
        height: 46px;
        font-size: 17px;
    }
}

/* ===== Responsive: 768 ===== */
@media (max-width: 767.98px) {
    .wcu-panel h2 {
        font-size: 24px;
    }

    .wcu-grid-items {
        grid-template-columns: 1fr;
        gap: 25px;
    }
}

/* ===== Responsive: 480 ===== */
@media (max-width: 480px) {
    .wcu-panel h2 {
        font-size: 23px;
    }

    .wcu-grid-items {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    .wcu-image img {
        position: static;
        aspect-ratio: 4 / 3;
    }
}




