/* =========================
   SERVICES SECTION (SAFE VERSION)
   ========================= */

.services-section {
    padding: 100px 20px;
    background: #ffffff;
    color: #1a3c34;
    text-align: center;
    overflow: visible;
    /* IMPORTANT FIX */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    /* prevents edge clipping */
    box-sizing: border-box;
}


/* =========================
   HEADER (GLOBAL SAFE FIX)
   ========================= */

.section-header {
    margin-bottom: 40px;
    padding: 0 10px;
    box-sizing: border-box;
}

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 15px;
    color: #1a3c34;
    line-height: 1.2;
    word-break: break-word;
}

.section-header p {
    color: #666;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
    padding: 0 10px;
}

.text-orange {
    color: #ff7b00;
}


/* =========================
   GRID
   ========================= */

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}


/* =========================
   CARD
   ========================= */

.service-card {
    background: #152923;
    border-radius: 25px;
    overflow: hidden;
    position: relative;
    transition: 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
    text-align: left;
}


/* =========================
   IMAGE FIX (PREVENT CROPPING)
   ========================= */

.service-img {
    height: 250px;
    overflow: hidden;
    position: relative;
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}


/* =========================
   CONTENT
   ========================= */

.service-content {
    padding: 30px;
}

.icon-box {
    width: 50px;
    height: 50px;
    background: #ff7b00;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: -55px;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 22px;
    margin-bottom: 12px;
    color: #fff;
}

.service-card p {
    color: #a0a0a0;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 25px;
}


/* =========================
   BUTTON
   ========================= */

.booking-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: transparent;
    border: 1px solid #ff7b00;
    color: #ff7b00;
    padding: 12px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
}


/* =========================
   HOVER
   ========================= */

.service-card:hover {
    transform: translateY(-10px);
    border-color: #ff7b00;
}

.service-card:hover .service-img img {
    transform: scale(1.05);
}


/* =====================================================
   📱 MOBILE FIX (THIS IS WHAT WAS MISSING)
   ===================================================== */

@media (max-width: 768px) {
    .services-section {
        padding: 70px 15px;
    }
    .section-header h2 {
        font-size: 2.2rem;
    }
    .section-header p {
        font-size: 0.95rem;
    }
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }
    .service-img {
        height: 200px;
    }
    .service-content {
        padding: 22px;
    }
    .service-card h3 {
        font-size: 18px;
    }
    .service-card p {
        font-size: 13px;
    }
}


/* SMALL PHONES */

@media (max-width: 480px) {
    .services-section {
        padding: 60px 12px;
    }
    .section-header h2 {
        font-size: 1.8rem;
        line-height: 1.2;
    }
    .section-header p {
        font-size: 0.9rem;
    }
    .services-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .service-img {
        height: 190px;
    }
    .service-card:hover {
        transform: none;
    }
    .service-card:hover .service-img img {
        transform: none;
    }
}