﻿/* =========================================
   OUR WORK PAGE - GREEN PREMIUM THEME
========================================= */

.our-work-page {
    font-family: Arial, Helvetica, sans-serif;
    color: #174a2a;
    background: #ffffff;
}

.work-container {
    width: min(1180px, 92%);
    margin: 0 auto;
}

.section-space {
    padding: 75px 0;
}


/* =========================================
   HERO
========================================= */

.work-hero {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    background-image: url('/Images/OurWork/school-main.jpg');
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient( 90deg, rgba(5, 55, 28, 0.97) 0%, rgba(14, 91, 42, 0.84) 42%, rgba(25, 105, 50, 0.18) 100% );
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
    padding: 70px 0;
}

.breadcrumb {
    font-size: 14px;
    margin-bottom: 35px;
    opacity: 0.9;
}

    .breadcrumb span {
        margin: 0 10px;
        color: #c8f2d1;
    }

.hero-small-title {
    display: block;
    font-size: 52px;
    line-height: 1;
    font-weight: 800;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.hero-content h1 {
    max-width: 650px;
    font-size: 38px;
    line-height: 1.15;
    margin: 0 0 20px;
    color: white;
}

    .hero-content h1 span {
        display: block;
        color: #d5f5da;
    }

.hero-content p {
    max-width: 560px;
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 35px;
    color: rgba(255,255,255,0.92);
}

.hero-points {
    display: flex;
    gap: 35px;
    flex-wrap: wrap;
}

.hero-point {
    display: flex;
    align-items: center;
    gap: 12px;
}

.hero-icon {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255,255,255,0.65);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    color: #d9f7df;
    background: rgba(255,255,255,0.08);
}

.hero-point strong,
.hero-point small {
    display: block;
}

.hero-point strong {
    font-size: 14px;
}

.hero-point small {
    margin-top: 4px;
    font-size: 12px;
    opacity: 0.8;
}


/* =========================================
   SECTION HEADINGS
========================================= */

.section-label {
    display: inline-block;
    color: #238b45;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 3px;
    margin-bottom: 12px;
}

.section-heading h2,
.about-content h2,
.client-content h2 {
    font-size: 32px;
    line-height: 1.25;
    margin: 0;
    color: #174a2a;
}

.center-heading {
    text-align: center;
    margin-bottom: 45px;
}


/* =========================================
   ABOUT
========================================= */

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 55px;
    align-items: center;
}

.about-image {
    overflow: hidden;
    border-radius: 18px;
    border: 4px solid #e4f4e8;
    box-shadow: 0 12px 35px rgba(25, 100, 48, 0.15);
}

    .about-image img {
        display: block;
        width: 100%;
        height: 350px;
        object-fit: cover;
        transition: transform 0.5s ease;
    }

    .about-image:hover img {
        transform: scale(1.04);
    }

.about-content p {
    color: #596f61;
    font-size: 16px;
    line-height: 1.8;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 30px;
}

.about-feature {
    display: flex;
    gap: 10px;
    align-items: center;
}

.feature-icon {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    border-radius: 50%;
    background: #e5f5e8;
    color: #238b45;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.about-feature strong,
.about-feature span {
    display: block;
}

.about-feature strong {
    font-size: 13px;
    color: #174a2a;
}

.about-feature span {
    color: #718076;
    font-size: 11px;
    margin-top: 3px;
}


/* =========================================
   SERVICES
========================================= */

.services-section {
    background: linear-gradient( 180deg, #f3faf5 0%, #edf8f0 100% );
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.service-card {
    position: relative;
    background: #ffffff;
    padding: 30px 24px;
    border-radius: 16px;
    border: 1px solid #dceee1;
    transition: all 0.3s ease;
    overflow: hidden;
}

    .service-card::before {
        content: "";
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 4px;
        background: linear-gradient( 90deg, #176b35, #53ad68 );
        transform: scaleX(0);
        transform-origin: left;
        transition: 0.3s ease;
    }

    .service-card:hover::before {
        transform: scaleX(1);
    }

    .service-card:hover {
        transform: translateY(-7px);
        box-shadow: 0 15px 35px rgba(24, 100, 45, 0.14);
        border-color: #bcdcc5;
    }

.service-card-icon {
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e5f5e8;
    border-radius: 50%;
    font-size: 25px;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 17px;
    line-height: 1.3;
    margin: 0 0 12px;
    color: #174a2a;
}

.service-card p {
    font-size: 14px;
    line-height: 1.7;
    color: #687a6e;
    margin: 0;
}


/* =========================================
   MEDIA SECTION
========================================= */

.media-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 45px;
}

.media-heading {
    text-align: center;
    margin-bottom: 25px;
}

.media-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

    .media-title h2 {
        font-size: 25px;
        margin: 0;
        color: #174a2a;
    }

.media-icon {
    font-size: 24px;
    color: #238b45;
}

.media-heading p {
    color: #718078;
    margin: 8px 0 0;
    font-size: 14px;
}


/* =========================================
   PHOTO GALLERY
========================================= */

.photo-gallery {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 12px;
    height: 440px;
}

.photo-item {
    position: relative;
    overflow: hidden;
    border-radius: 14px;
    background: #dfeee2;
    box-shadow: 0 8px 22px rgba(30, 90, 45, 0.10);
}

    .photo-item img {
        width: 100%;
        height: 100%;
        display: block;
        object-fit: cover;
        transition: transform 0.5s ease;
    }

    .photo-item:hover img {
        transform: scale(1.06);
    }

.photo-large {
    height: 440px;
}

.photo-side {
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: 12px;
}

.photo-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px 15px 14px;
    color: white;
    font-size: 14px;
    font-weight: 700;
    background: linear-gradient( transparent, rgba(4, 45, 21, 0.85) );
}


/* =========================================
   VIDEOS
========================================= */

.video-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.video-card {
    background: #f3faf5;
    border-radius: 14px;
    padding: 8px;
    overflow: hidden;
    border: 1px solid #dceee1;
    transition: 0.3s ease;
}

    .video-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 10px 25px rgba(28, 92, 44, 0.12);
    }

.video-wrapper {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 10px;
    background: #071f10;
}

    .video-wrapper video {
        width: 100%;
        height: 100%;
        display: block;
        object-fit: cover;
    }

.video-card h3 {
    font-size: 14px;
    text-align: center;
    margin: 12px 5px 8px;
    color: #174a2a;
}


/* =========================================
   WHY OUR WORK
========================================= */

.why-work {
    background: linear-gradient( 135deg, #eef9f1, #f7fcf8 );
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.why-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.why-icon {
    width: 45px;
    height: 45px;
    min-width: 45px;
    background: linear-gradient( 135deg, #176b35, #3c9b55 );
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 6px 15px rgba(24, 105, 49, 0.18);
}

.why-item h3 {
    margin: 2px 0 7px;
    font-size: 16px;
    color: #174a2a;
}

.why-item p {
    color: #68796e;
    font-size: 13px;
    line-height: 1.6;
    margin: 0;
}


/* =========================================
   CLIENT
========================================= */

.client-section {
    background: #f2faf4;
}

.client-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.8fr 0.9fr;
    gap: 35px;
    align-items: center;
}

.client-content p {
    max-width: 520px;
    color: #65766b;
    line-height: 1.8;
    font-size: 15px;
    margin-top: 22px;
}

.client-location {
    color: #238b45;
    font-weight: 600;
    margin-top: 15px;
}

.client-quote {
    position: relative;
    padding: 30px;
    border: 1px solid #c9e3d0;
    border-radius: 15px;
    text-align: center;
    background: white;
    box-shadow: 0 10px 25px rgba(31, 98, 47, 0.07);
}

.quote-mark {
    display: block;
    font-size: 50px;
    line-height: 25px;
    color: #238b45;
}

.client-quote p {
    font-size: 18px;
    line-height: 1.6;
    color: #285238;
}

.quote-bottom {
    display: block;
    text-align: right;
    font-size: 45px;
    line-height: 20px;
    color: #238b45;
}

.client-image {
    overflow: hidden;
    border-radius: 15px;
    border: 4px solid #dcefe1;
}

    .client-image img {
        display: block;
        width: 100%;
        height: 260px;
        object-fit: cover;
        transition: 0.4s ease;
    }

    .client-image:hover img {
        transform: scale(1.04);
    }


/* =========================================
   CTA
========================================= */

.work-cta {
    background: linear-gradient( 135deg, #063d20 0%, #0b5a2d 55%, #176b35 100% );
    padding: 55px 0;
    color: white;
}

.cta-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

    .cta-content h2 {
        margin: 0 0 8px;
        font-size: 30px;
        color: white;
    }

    .cta-content p {
        margin: 0;
        color: rgba(255,255,255,0.82);
    }

.cta-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 135px;
    padding: 13px 22px;
    border-radius: 7px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    transition: 0.3s ease;
}

.btn-primary {
    background: #36a653;
    color: white;
    box-shadow: 0 7px 18px rgba(0,0,0,0.15);
}

    .btn-primary:hover {
        background: #288b42;
        transform: translateY(-2px);
    }

.btn-outline {
    border: 1px solid rgba(255,255,255,0.8);
    color: white;
    background: rgba(255,255,255,0.05);
}

    .btn-outline:hover {
        background: white;
        color: #0b5a2d;
    }


/* =========================================
   EXTRA GREEN DETAILS
========================================= */

.work-about {
    position: relative;
}

    .work-about::after {
        content: "";
        display: block;
        width: 65px;
        height: 4px;
        background: #36a653;
        margin: 55px auto -20px;
        border-radius: 10px;
    }

.services-section,
.why-work,
.client-section {
    position: relative;
}

.service-card-icon,
.feature-icon {
    transition: 0.3s ease;
}

.service-card:hover .service-card-icon,
.about-feature:hover .feature-icon {
    background: #238b45;
    color: white;
    transform: scale(1.08);
}


/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 1000px) {

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .client-grid {
        grid-template-columns: 1fr 1fr;
    }

    .client-image {
        grid-column: 1 / -1;
    }
}


@media (max-width: 800px) {

    .hero-small-title {
        font-size: 42px;
    }

    .hero-content h1 {
        font-size: 30px;
    }

    .about-grid,
    .media-grid {
        grid-template-columns: 1fr;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .photo-gallery {
        height: 400px;
    }

    .client-grid {
        grid-template-columns: 1fr;
    }

    .client-image {
        grid-column: auto;
    }

    .cta-content {
        flex-direction: column;
        align-items: flex-start;
    }
}


@media (max-width: 550px) {

    .section-space {
        padding: 50px 0;
    }

    .hero-content {
        padding: 50px 0;
    }

    .hero-small-title {
        font-size: 35px;
    }

    .hero-content h1 {
        font-size: 25px;
    }

    .hero-content p {
        font-size: 15px;
    }

    .hero-points {
        gap: 20px;
    }

    .services-grid,
    .why-grid {
        grid-template-columns: 1fr;
    }

    .photo-gallery {
        grid-template-columns: 1fr;
        height: auto;
    }

    .photo-large {
        height: 280px;
    }

    .photo-side {
        height: 400px;
    }

    .section-heading h2,
    .about-content h2,
    .client-content h2 {
        font-size: 27px;
    }

    .cta-buttons {
        width: 100%;
    }

    .btn {
        width: 100%;
    }
}
