/* ==========================================================
   ULTRAKIL - MARINE PEST MANAGEMENT PAGE STYLES (Self-Contained)
   ========================================================== */

/* ==================== HERO SECTION ==================== */
.marine-hero-section {
    position: relative;
    width: 100%;
    height: 390px;
    background-image: url('../images/marine.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    font-family: var(--font-main, 'Segoe UI', sans-serif);
}

.marine-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(36, 68, 48, 0.65);
    z-index: 1;
}

.marine-hero-content {
    position: relative;
    z-index: 2;
    color: #ffffff;
    max-width: 800px;
    padding: 0 15px;
    margin-left: 60px;
}

.marine-hero-content h1 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.marine-hero-content p {
    font-size: 14px;
    line-height: 1.6;
    max-width: 540px;
    font-weight: 500;
    opacity: 0.95;
    margin: 0;
}

/* ==================== OVERVIEW / EXPERT SOLUTIONS SECTION ==================== */
.expert-solutions-section {
    padding: 70px 0;
    background-color: #ffffff;
    font-family: var(--font-main, 'Segoe UI', sans-serif);
    overflow: hidden;
}

.es-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 50px;
}

/* Left Column */
.es-left-col {
    flex: 1;
}

.es-subtitle {
    display: block;
    color: #1e5809;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.es-heading {
    font-size: 44px;
    font-weight: 800;
    color: #1a1a1a;
    line-height: 1.18;
    margin: 0 0 22px 0;
    letter-spacing: -0.5px;
}

.es-highlight-box {
    border-left: 4px solid #5aa63c;
    padding-left: 20px;
    font-size: 17px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.5;
    margin-bottom: 22px;
}

.es-desc {
    font-size: 15px;
    color: #666666;
    line-height: 1.7;
    margin: 0 0 25px 0;
}

.mp-features-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 20px;
    margin-bottom: 28px;
}

.mp-feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 700;
    color: #1a1a1a;
}

.mp-feature-item i {
    color: #00b47a;
    font-size: 16px;
    flex-shrink: 0;
}

.es-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #00b47a;
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    padding: 12px 30px;
    border-radius: 30px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.es-btn:hover {
    background-color: #009363;
    transform: translateY(-2px);
}

/* Right Column: Image Composition */
.es-right-col {
    flex: 1.2;
    position: relative;
    display: flex;
    align-items: center;
    padding-left: 40px;
}

.es-image-group {
    position: relative;
    width: 100%;
    max-width: 420px;
}

.es-main-img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: 150px 20px 20px 150px;
    display: block;
}

.es-sub-img {
    position: absolute;
    bottom: 40px;
    left: -80px;
    width: 180px;
    height: 240px;
    object-fit: cover;
    border-radius: 100px 100px 20px 20px;
    border: 8px solid #ffffff;
    z-index: 2;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.es-exp-badge {
    position: absolute;
    bottom: 20px;
    left: -50px;
    background-color: #00a8b4;
    color: #ffffff;
    padding: 15px 20px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 3;
    box-shadow: 0 10px 20px rgba(0, 180, 122, 0.3);
}

.es-exp-num {
    font-size: 30px;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 5px;
}

.es-exp-text {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
}

/* Floating White Cards */
.es-cards-group {
    position: absolute;
    right: -30px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 4;
}

.es-card {
    background-color: #ffffff;
    border-radius: 8px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    width: 280px;
    transition: transform 0.3s ease;
}

.es-card:hover {
    transform: translateX(-5px);
}

.es-card-icon {
    font-size: 24px;
    color: #00b4b4;
}

.es-card-text {
    flex: 1;
}

.es-card-text h4 {
    font-size: 15px;
    font-weight: 800;
    color: #1a1a1a;
    margin: 0 0 5px 0;
}

.es-card-text p {
    font-size: 12px;
    color: #777777;
    margin: 0;
    line-height: 1.4;
}

/* ==================== WHAT WE OFFER / SERVICES GRID ==================== */
.services-offer-section {
    padding: 70px 0;
    background-color: #fbfbfb;
    font-family: var(--font-main, 'Segoe UI', sans-serif);
}

.so-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.so-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px auto;
}

.so-subtitle {
    display: block;
    color: #002b38;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.so-heading {
    color: rgb(33, 92, 29);
    font-size: 40px;
    font-weight: 800;
    line-height: 1.2;
    margin: 0 0 20px 0;
}

.so-desc {
    color: #666666;
    font-size: 14px;
    line-height: 1.7;
    margin: 0;
}

/* 2x2 Grid of Service Cards */
.so-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.so-card {
    display: flex;
    background-color: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.so-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.so-img-col {
    flex: 0 0 45%;
    position: relative;
}

.so-img-col img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.so-text-col {
    flex: 1;
    padding: 35px 28px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    text-align: left;
}

.so-card-title {
    color: #2ba347;
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 12px 0;
    line-height: 1.3;
}

.so-card-desc {
    color: #666666;
    font-size: 13px;
    line-height: 1.6;
    margin: 0 0 22px 0;
}

.so-btn {
    display: inline-block;
    background-color: #cbfb45;
    color: #1a2a22;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    padding: 10px 24px;
    border-radius: 30px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.so-btn:hover {
    background-color: #b8eb2c;
    transform: translateY(-2px);
}

/* ==================== 24/7 CTA BANNER ==================== */
.mp-cta-section {
    padding: 60px 0;
    background-color: #ffffff;
    font-family: var(--font-main, 'Segoe UI', sans-serif);
}

.mp-cta-container {
    background: linear-gradient(135deg, #0c3321 0%, #1a4f35 100%);
    border-radius: 16px;
    padding: 45px 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    color: #ffffff;
    box-shadow: 0 15px 35px rgba(12, 51, 33, 0.15);
}

.mp-cta-content {
    max-width: 620px;
}

.mp-cta-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(203, 251, 69, 0.18);
    color: #cbfb45;
    font-size: 12px;
    font-weight: 800;
    padding: 5px 14px;
    border-radius: 999px;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.mp-cta-content h2 {
    font-size: 28px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.3;
    margin-bottom: 12px;
}

.mp-cta-content p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    margin: 0;
}

.mp-cta-actions {
    display: flex;
    gap: 15px;
    flex-shrink: 0;
}

.mp-cta-btn {
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    padding: 12px 24px;
    border-radius: 30px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.mp-btn-call {
    background-color: #cbfb45;
    color: #11281c;
    box-shadow: 0 4px 15px rgba(203, 251, 69, 0.25);
}

.mp-btn-call:hover {
    background-color: #b8eb2c;
    transform: translateY(-2px);
}

.mp-btn-outline {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.4);
}

.mp-btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: #ffffff;
    transform: translateY(-2px);
}

/* ==================== MOBILE RESPONSIVE ==================== */
@media (max-width: 991px) {
    .es-container {
        flex-direction: column;
        gap: 80px;
    }
    
    .es-right-col {
        padding-left: 0;
        width: 100%;
        justify-content: center;
        flex-direction: column;
    }
    
    .es-image-group {
        margin-left: 60px;
    }
    
    .es-cards-group {
        position: relative;
        right: 0;
        top: 0;
        transform: none;
        margin-top: 40px;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }

    .so-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .mp-cta-container {
        flex-direction: column;
        text-align: center;
        padding: 40px 30px;
    }

    .mp-cta-actions {
        flex-direction: row;
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .marine-hero-section {
        height: 350px;
    }

    .marine-hero-content h1 {
        margin-top: 60px;
        margin-left: -20px;
        font-size: 30px;
    }

    .marine-hero-content p {
        font-size: 14px;
        max-width: 100%;
        margin-left: -20px;
    }

    .expert-solutions-section {
        padding: 50px 0;
    }

    .es-heading {
        font-size: 32px;
    }
    
    .es-image-group {
        margin-left: 30px;
    }
    
    .es-main-img {
        height: 400px;
        border-radius: 80px 20px 20px 80px;
    }
    
    .es-sub-img {
        width: 140px;
        height: 180px;
        left: -40px;
        bottom: 50px;
    }
    
    .es-exp-badge {
        left: -20px;
        bottom: 10px;
        padding: 10px 15px;
    }
    
    .es-exp-num {
        font-size: 24px;
    }
    
    .es-cards-group {
        flex-direction: column;
        width: 100%;
        align-items: center;
    }
    
    .es-card {
        width: 100%;
        max-width: 300px;
    }

    .mp-features-row {
        grid-template-columns: 1fr;
    }

    .services-offer-section {
        padding: 50px 0;
    }

    .so-heading {
        font-size: 30px;
    }

    .so-card {
        flex-direction: column;
    }
    
    .so-img-col {
        flex: none;
        width: 100%;
        height: 220px;
    }
    
    .so-text-col {
        padding: 25px 20px;
    }

    .mp-cta-content h2 {
        font-size: 22px;
    }

    .mp-cta-actions {
        flex-direction: column;
        width: 100%;
    }

    .mp-cta-btn {
        width: 100%;
        justify-content: center;
    }
}
