/*===================================== 
   ULTRA-CLEAN HIGH-CONVERTING SERVICE CARDS
   Optimized for Google Ads & Mobile Traffic
======================================*/

:root {
    --srv-primary: #e26f2d;
    --srv-primary-dark: #bd4f16;
    --srv-whatsapp: #25D366;
    --srv-whatsapp-dark: #128C7E;
    --srv-ink: #241a16;
    --srv-surface: #ffffff;
    --srv-bg: #fdfaf7;
    --srv-border: rgba(100, 69, 54, 0.12);
    --srv-shadow: 0 10px 25px rgba(61, 39, 29, 0.08);
    --srv-shadow-hover: 0 18px 40px rgba(226, 111, 45, 0.2);
}

/* Services Section Wrapper */
.modern-services-section {
    position: relative;
    padding: 50px 0 40px;
    background: radial-gradient(circle at 10% 10%, rgba(226, 111, 45, 0.06), transparent 40%),
                radial-gradient(circle at 90% 90%, rgba(189, 79, 22, 0.05), transparent 40%),
                var(--srv-bg);
}

.services-intro {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 35px;
    padding: 0 15px;
}

.services-intro h2 {
    font-size: clamp(26px, 4vw, 38px);
    font-weight: 700;
    color: var(--srv-ink);
    line-height: 1.25;
    margin-bottom: 8px;
}

.services-intro p {
    font-size: 15px;
    color: #6b5c56;
    line-height: 1.5;
    margin: 0 auto;
}

/* Ultra Minimal Service Card */
.service-modern-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    background: var(--srv-surface);
    border: 1px solid var(--srv-border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--srv-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.service-modern-card:hover {
    transform: translateY(-4px);
    border-color: rgba(226, 111, 45, 0.35);
    box-shadow: var(--srv-shadow-hover);
}

/* Card Image - Portrait aspect ratio with top alignment so heads/faces are NEVER cut off */
.service-card-image {
    position: relative;
    width: 100%;
    height: 270px;
    overflow: hidden;
    background: #eedfd7;
    display: block;
}

.service-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center; /* Always focus top to show face/head clearly */
    transition: transform 0.4s ease;
}

.service-modern-card:hover .service-card-image img {
    transform: scale(1.04);
}

/* Card Content Body (Name + CTAs only) */
.service-card-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 16px;
    text-align: center;
}

.service-card-title {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 14px;
}

.service-card-title a {
    color: var(--srv-ink);
    text-decoration: none;
    transition: color 0.2s ease;
}

.service-card-title a:hover {
    color: var(--srv-primary-dark);
}

/* Actions Bar - Dual CTA Buttons with Icons */
.service-card-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: auto;
}

.service-btn-call,
.service-btn-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 44px;
    padding: 10px 10px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none !important;
    text-align: center;
    transition: all 0.25s ease;
    white-space: nowrap;
}

/* Icon compatibility for FontAwesome 4 & 5/6 */
.service-btn-call i,
.service-btn-whatsapp i {
    font-size: 16px;
    line-height: 1;
    display: inline-block;
}

/* Call Button */
.service-btn-call {
    background: linear-gradient(135deg, var(--srv-primary), var(--srv-primary-dark));
    color: #ffffff !important;
    box-shadow: 0 3px 10px rgba(226, 111, 45, 0.25);
}

.service-btn-call:hover,
.service-btn-call:focus {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(226, 111, 45, 0.38);
    color: #ffffff !important;
}

/* WhatsApp Button */
.service-btn-whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: #ffffff !important;
    box-shadow: 0 3px 10px rgba(37, 211, 102, 0.25);
}

.service-btn-whatsapp:hover,
.service-btn-whatsapp:focus {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.38);
    color: #ffffff !important;
}

/* Responsive Rules */
@media (max-width: 1199px) {
    .service-card-image {
        height: 240px;
    }
}

@media (max-width: 991px) {
    .modern-services-section {
        padding: 40px 0 30px;
    }

    .service-card-image {
        height: 250px;
    }
}

@media (max-width: 575px) {
    .modern-services-section {
        padding: 30px 0 20px;
    }

    .service-card-image {
        height: 280px;
    }

    .service-card-content {
        padding: 14px 12px;
    }

    .service-card-title {
        font-size: 17px;
        margin-bottom: 12px;
    }

    .service-card-actions {
        grid-template-columns: 1fr 1fr;
        gap: 6px;
    }

    .service-btn-call,
    .service-btn-whatsapp {
        min-height: 42px;
        font-size: 12px;
        padding: 8px 6px;
        gap: 5px;
    }

    .service-btn-call i,
    .service-btn-whatsapp i {
        font-size: 14px;
    }
}

@media (max-width: 360px) {
    .service-card-actions {
        grid-template-columns: 1fr;
    }
}

/* DISABLE UNWANTED LOADING OVERLAY FOR INSTANT PAGE LOAD */
.loading-area {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

/* HERO BANNER MOBILE CTA STACKED (UPER NICHE) CENTERING WITH GAP */
@media (max-width: 767px) {
    .tp-caption[id*="layer-04"] {
        left: 50% !important;
        top: 73% !important;
        margin-left: 0 !important;
        transform: translateX(-50%) !important;
        padding-right: 0 !important;
        padding-left: 0 !important;
        text-align: center !important;
        width: auto !important;
    }
    
    .tp-caption[id*="layer-05"] {
        left: 50% !important;
        top: 86% !important;
        margin-left: 0 !important;
        margin-top: 14px !important;
        transform: translateX(-50%) !important;
        padding-right: 0 !important;
        padding-left: 0 !important;
        text-align: center !important;
        width: auto !important;
    }

    .tp-caption[id*="layer-04"] a {
        display: block !important;
        min-width: 220px !important;
        max-width: 260px !important;
        text-align: center !important;
        font-size: 14px !important;
        padding: 11px 20px !important;
        margin: 0 auto !important;
        box-shadow: 0 4px 12px rgba(0,0,0,0.25) !important;
    }

    .tp-caption[id*="layer-05"] a {
        display: block !important;
        min-width: 220px !important;
        max-width: 260px !important;
        text-align: center !important;
        font-size: 14px !important;
        padding: 11px 20px !important;
        margin: 0 auto !important;
        box-shadow: 0 4px 12px rgba(0,0,0,0.25) !important;
    }

    .tp-caption[id*="layer-01"],
    .tp-caption[id*="layer-02"],
    .tp-caption[id*="layer-03"] {
        left: 50% !important;
        transform: translateX(-50%) !important;
        text-align: center !important;
        width: 90% !important;
    }
}

/* 30s DISCOUNT POPUP MODAL (25% OFF) */
.discount-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeInModal 0.3s ease;
}

@keyframes fadeInModal {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

.discount-modal-box {
    position: relative;
    background: #ffffff;
    border-radius: 20px;
    padding: 30px 25px 25px;
    max-width: 440px;
    width: 100%;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    border: 2px solid #e26f2d;
}

.discount-modal-img {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 14px;
    border: 3.5px solid #e26f2d;
    box-shadow: 0 6px 20px rgba(226, 111, 45, 0.35);
    background: #eedfd7;
}

.discount-modal-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}


.discount-modal-close {
    position: absolute;
    top: 12px;
    right: 15px;
    background: #f1f1f1;
    border: none;
    font-size: 24px;
    font-weight: bold;
    color: #333;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    cursor: pointer;
    line-height: 1;
    transition: background 0.2s;
}

.discount-modal-close:hover {
    background: #e26f2d;
    color: #fff;
}

.discount-badge {
    display: inline-block;
    background: linear-gradient(135deg, #e26f2d, #bd4f16);
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
    padding: 5px 15px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
    box-shadow: 0 4px 12px rgba(226, 111, 45, 0.3);
}

.discount-title {
    font-size: 26px;
    font-weight: 800;
    color: #241a16;
    margin-bottom: 10px;
    line-height: 1.2;
}

.discount-subtitle {
    font-size: 14px;
    color: #555;
    margin-bottom: 22px;
    line-height: 1.4;
}

.discount-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.discount-btn-call,
.discount-btn-whatsapp {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none !important;
    transition: transform 0.2s;
}

.discount-btn-call {
    background: linear-gradient(135deg, #e26f2d, #bd4f16);
    color: #ffffff !important;
    box-shadow: 0 4px 15px rgba(226, 111, 45, 0.3);
}

.discount-btn-whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: #ffffff !important;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.discount-btn-call:hover,
.discount-btn-whatsapp:hover {
    transform: translateY(-2px);
}





