/*=============================================================
    SERVICES PAGE - PIXEL PERFECT CSS
    File: services.css
    Author: Wshyah Engineering Consultancy
=============================================================*/

/*=============================================================
    1. SERVICES PAGE CONTAINER
=============================================================*/
.services_page {
    background: var(--white);
}

.breadcrumb.services_bread .page_small_des {
    font-weight: var(--font-weight-bold);
    line-height: 55px;
    font-size: 32px;
    color: #1D3B4C;
}

.services .heading h2 {
    text-align: center;
    margin-bottom: 45px;
    font-weight: var(--font-weight-bold);
    font-size: 43px;
    color: #1D3B4C;
}

/*=============================================================
    2. ACHIEVEMENTS SERVICES SECTION
=============================================================*/
.achivement_serv {
    padding: 10px 0 45px;
    background: var(--white);
}

.achive_serv_item {
    /* background: var(--light-bg); */
    border-radius: 16px;
    padding: 50px 40px;
    text-align: right;
    height: 100%;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: var(--transition-smooth);
}

.achive_serv_item:hover {
    /* background: var(--primary-color); */
    /* transform: translateY(-8px); */
    /* box-shadow: 0 20px 60px rgba(26, 77, 111, 0.2); */
}

.achive_serv_item:hover h4,
.achive_serv_item:hover p {
    /* color: var(--white); */
}

.achive_serv_item:hover .counter-item {
    /* color: var(--accent-color); */
}

.achive_serv_item h4 {
    font-size: 23px;
    font-weight: var(--font-weight-bold);
    color: #1D3B4C;
    margin-bottom: 13px;
    transition: var(--transition-smooth);
}

.achive_serv_item .counter-item {
    font-size: 64px;
    font-weight: var(--font-weight-bold);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    line-height: 1;
    margin-bottom: 10px;
    transition: var(--transition-smooth);
}

.achive_serv_item .counter-item span {
    display: inline-block;
}

.achive_serv_item p {
    font-size: 17px;
    font-weight: var(--font-weight-regular);
    color: #59706F;
    line-height: 1.7;
    transition: var(--transition-smooth);
    text-align: center;
}

/*=============================================================
    3. VIDEO BANNER SECTION
=============================================================*/
.vid_banner {
    position: relative;
    height: 600px;
    width: 100%;
    overflow: hidden;
    margin: 0;
}

.vid_banner .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.vid_banner .overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.4));
    z-index: 2;
}

.vid_banner .overlay img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vid_banner .play_btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

.vid_banner .play_btn a img {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 93px;
    height: 93px;
    /* background: rgba(199, 149, 109, 0.9); */
    border-radius: 50%;
    transition: var(--transition-smooth);
}

.vid_banner .play_btn a:hover {
    background: var(--accent-color);
    transform: scale(1.1);
    box-shadow: 0 15px 50px rgba(199, 149, 109, 0.4);
}

.vid_banner .play_btn img {
    width: 40px;
    height: 40px;
}

/*=============================================================
    4. SERVICES GRID SECTION
=============================================================*/
.services {
    padding: 59px 0;
    background: var(--white);
}

.services .row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.services .col-md-6 {
    margin-bottom: 30px;
}

.services .col-md-8 {
    width: 66.666667%;
    padding: 0 15px;
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
}

.service_item {
    background: #F1F1F1;
    border-radius: 16px;
    padding: 29px 33px;
    height: 100%;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    transition: var(--transition-smooth);
    position: relative;
}

.service_item:hover {
    /* background: var(--primary-color); */
    /* transform: translateY(-5px); */
    /* box-shadow: 0 20px 60px rgba(26, 77, 111, 0.2); */
}

.service_item:hover .numberd {
    /* color: var(--accent-color); */
}

.service_item:hover h2 {
   color: var(--accent-color); 
}

.service_item:hover p {
    /* color: rgba(255, 255, 255, 0.9); */
}

.service_item:hover .full_w_btn {
    /* background: var(--accent-color); */
    /* border-color: var(--accent-color); */
    /* color: var(--white); */
}

.service_item .numberd {
    font-size: 23px;
    font-weight: var(--font-weight-medium);
    color: #000000;
    margin-bottom: 20px;
    display: block;
    transition: var(--transition-smooth);
}

.service_item h2 {
    font-size: 28px;
    font-weight: var(--font-weight-medium);
    color: #59706F;
    margin-bottom: 16px;
    line-height: 1.4;
    transition: var(--transition-smooth);
}

.service_item p {
    font-size: 17px;
    font-weight: var(--font-weight-regular);
    color: #59706F;
    line-height: 1.7;
    margin-bottom: 30px;
    flex: 1;
    transition: var(--transition-smooth);
}

.full_w_btn {
    display: block;
    width: 100%;
    padding: 14px 30px;
    background: var(--accent-color);
    border: 2px solid var(--accent-color);
    color: var(--white);
    font-size: 15px;
    font-weight: var(--font-weight-medium);
    text-align: center;
    border-radius: 8px;
    transition: var(--transition-smooth);
    margin-top: auto;
}

.full_w_btn:hover {
    background: var(--accent-dark);
    border-color: var(--accent-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(199, 149, 109, 0.3);
}

/* Centered larger service item */
.services .col-md-8 .service_item {
    max-width: 600px;
    width: 100%;
}

/*=============================================================
    5. CERTIFICATIONS SECTION
=============================================================*/
.certifications-section {
    padding: 10px 0 50px;
    background: var(--white);
}

.certifications-section .container {
    max-width: 1000px;
}

.section-title {
    font-size: 43px;
    font-weight: var(--font-weight-bold);
    color: #1D3B4C;
    text-align: center;
    margin-bottom: 46px;
}

.cert-row {
    display: flex;
    align-items: center;
    padding: 30px 0;
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition-smooth);
}

.cert-row:last-child {
    border-bottom: none;
}

.cert-row:hover {
    /* background: var(--light-bg); */
    /* padding-left: 20px; */
    /* padding-right: 20px; */
    /* border-radius: 12px; */
}

.cert-date {
    font-size: 19px;
    font-weight: var(--font-weight-regular);
    color: #59706F;
    padding: 0 15px;
}

.cert-title {
    font-size: 19px;
    font-weight: var(--font-weight-bold);
    color: #59706F;
    padding: 0 15px;
}

.cert-org {
    font-size: 19px;
    font-weight: var(--font-weight-regular);
    color: #59706F;
    padding: 0 15px;
}

.certifications-section .col-md-2 {
    width: 16.666667%;
}

.certifications-section .col-md-5 {
    width: 41.666667%;
}

/*=============================================================
    6. RESPONSIVE DESIGN - SERVICES PAGE
=============================================================*/

/* Tablets and below (max-width: 991px) */
@media (max-width: 991px) {
    .achivement_serv {
        padding: 60px 0;
    }
    
    .achive_serv_item {
        min-height: 280px;
        padding: 40px 30px;
        margin-bottom: 20px;
    }
    
    .achive_serv_item .counter-item {
        font-size: 56px;
    }
    
    .vid_banner {
        height: 500px;
    }
    
    .vid_banner .play_btn a {
        width: 80px;
        height: 80px;
    }
    
    .vid_banner .play_btn img {
        width: 32px;
        height: 32px;
    }
    
    .services {
        padding: 60px 0;
    }
    
    .service_item {
        min-height: 260px;
        padding: 35px 30px;
    }
    
    .service_item h2 {
        font-size: 22px;
    }
    
    .services .col-md-8 {
        width: 100%;
    }
    
    .certifications-section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 36px;
        margin-bottom: 50px;
    }
    
    .cert-row {
        flex-direction: column;
        align-items: flex-start;
        padding: 25px 0;
    }
    
    .cert-date,
    .cert-title,
    .cert-org {
        width: 100%;
        padding: 5px 15px;
    }
    
    .cert-date {
        margin-bottom: 8px;
    }
    
    .cert-title {
        margin-bottom: 8px;
    }
}

/* Mobile devices (max-width: 767px) */
@media (max-width: 767px) {
    .achivement_serv {
        padding: 50px 0;
    }
    
    .achive_serv_item {
        min-height: 250px;
        padding: 35px 25px;
    }
    
    .achive_serv_item .counter-item {
        font-size: 48px;
    }
    
    .vid_banner {
        height: 400px;
    }
    
    .vid_banner .play_btn a {
        width: 70px;
        height: 70px;
    }
    
    .vid_banner .play_btn img {
        width: 28px;
        height: 28px;
    }
    
    .services {
        padding: 50px 0;
    }
    
    .services .col-md-6,
    .services .col-md-8 {
        width: 100%;
    }
    
    .service_item {
        min-height: 240px;
        padding: 30px 25px;
        margin-bottom: 20px;
    }
    
    .service_item h2 {
        font-size: 20px;
    }
    
    .certifications-section {
        padding: 50px 0;
    }
    
    .section-title {
        font-size: 28px;
        margin-bottom: 40px;
    }
    
    .cert-row {
        padding: 20px 0;
    }
    
    .cert-title {
        font-size: 17px;
    }
    
    .cert-org {
        font-size: 14px;
    }
}

/* Small mobile devices (max-width: 480px) */
@media (max-width: 480px) {
    .achive_serv_item .counter-item {
        font-size: 42px;
    }
    
    .vid_banner {
        height: 300px;
    }
    
    .vid_banner .play_btn a {
        width: 60px;
        height: 60px;
    }
    
    .vid_banner .play_btn img {
        width: 24px;
        height: 24px;
    }
    
    .service_item h2 {
        font-size: 18px;
    }
    
    .service_item p {
        font-size: 14px;
    }
    
    .full_w_btn {
        font-size: 14px;
        padding: 12px 24px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .cert-date {
        font-size: 14px;
    }
    
    .cert-title {
        font-size: 16px;
    }
    
    .cert-org {
        font-size: 13px;
    }
}

/*=============================================================
    7. UTILITY CLASSES FOR SERVICES PAGE
=============================================================*/
.col-md-4 {
    width: 33.333333%;
    padding: 0 15px;
}

.col-md-6 {
    width: 50%;
    padding: 0 15px;
}

.col-md-8 {
    width: 66.666667%;
    padding: 0 15px;
}

@media (max-width: 991px) {
    .col-md-4,
    .col-md-6,
    .col-md-8 {
        width: 100%;
    }
}

/*=============================================================
    8. FANCYBOX VIDEO MODAL STYLING
=============================================================*/
.fancybox-slide--video .fancybox-content {
    background: #000;
}

.fancybox-video {
    width: 100%;
    height: 100%;
}

/*=============================================================
    END OF SERVICES PAGE CSS
=============================================================*/