/* =========================================
   SERVICE MODAL - PREMIUM DESIGN
   ========================================= */

.service-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 9999;
    overflow-y: auto;
    animation: fadeIn 0.3s ease;
}

.service-modal-overlay.active {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.service-modal {
    background: white;
    border-radius: 30px;
    max-width: 1200px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: slideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 30px 100px rgba(0, 0, 0, 0.5);
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: white;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    color: #333;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: #e74c3c;
    color: white;
    transform: rotate(90deg) scale(1.1);
}

.modal-header {
    background: linear-gradient(135deg, #5AAC4E, #234821);
    padding: 50px 40px 40px;
    border-radius: 30px 30px 0 0;
    text-align: center;
    color: white;
}

.modal-header h2 {
    font-size: 42px;
    font-weight: 900;
    margin-bottom: 15px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.modal-header p {
    font-size: 18px;
    opacity: 0.95;
}

.modal-body {
    padding: 50px 40px;
}

/* Video Section */
.modal-videos {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 50px;
}

.video-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    background: #000;
}

.video-container video {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

.video-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 20px;
    color: white;
    font-size: 18px;
    font-weight: 600;
}

/* Content Section */
.modal-content-section {
    margin-bottom: 50px;
}

.content-with-image {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 40px;
}

.content-text h3 {
    font-size: 32px;
    font-weight: 700;
    color: #0D210B;
    margin-bottom: 20px;
}

.content-text p {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 15px;
}

.content-text ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.content-text ul li {
    padding: 12px 0;
    padding-left: 35px;
    position: relative;
    font-size: 16px;
    color: #333;
}

.content-text ul li::before {
    content: '\f058';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: #5AAC4E;
    font-size: 20px;
}

.content-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.content-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

/* Benefits Grid */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 40px;
}

.benefit-card {
    background: #f8f9fa;
    padding: 30px 25px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.benefit-card:hover {
    background: white;
    border-color: #5AAC4E;
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(90, 172, 78, 0.2);
}

.benefit-card i {
    font-size: 40px;
    color: #5AAC4E;
    margin-bottom: 15px;
}

.benefit-card h4 {
    font-size: 18px;
    font-weight: 700;
    color: #0D210B;
    margin-bottom: 10px;
}

.benefit-card p {
    font-size: 14px;
    color: #666;
    margin: 0;
}

/* Action Buttons */
.modal-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 50px;
    padding-top: 40px;
    border-top: 2px solid #e0e0e0;
}

.btn-book-slot,
.btn-book-session {
    padding: 18px 50px;
    border: none;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    letter-spacing: 0.5px;
}

.btn-book-slot {
    background: linear-gradient(135deg, #5AAC4E, #234821);
    color: white;
    box-shadow: 0 15px 40px rgba(90, 172, 78, 0.5);
}

.btn-book-slot:hover {
    background: linear-gradient(135deg, #234821, #5AAC4E);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 20px 50px rgba(90, 172, 78, 0.7);
    color: white;
}

.btn-book-session {
    background: white;
    color: #5AAC4E;
    border: 3px solid #5AAC4E;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.btn-book-session:hover {
    background: #5AAC4E;
    color: white;
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(90, 172, 78, 0.4);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .service-modal {
        border-radius: 20px;
        max-height: 95vh;
    }

    .modal-header {
        padding: 40px 25px 30px;
    }

    .modal-header h2 {
        font-size: 32px;
    }

    .modal-body {
        padding: 30px 20px;
    }

    .modal-videos {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .video-container video {
        height: 250px;
    }

    .content-with-image {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .content-image img {
        height: 300px;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .modal-actions {
        flex-direction: column;
        gap: 15px;
    }

    .btn-book-slot,
    .btn-book-session {
        width: 100%;
        justify-content: center;
        padding: 16px 40px;
        font-size: 16px;
    }

    .modal-close {
        width: 40px;
        height: 40px;
        font-size: 20px;
        top: 15px;
        right: 15px;
    }
}

@media (max-width: 480px) {
    .modal-header h2 {
        font-size: 26px;
    }

    .modal-header p {
        font-size: 15px;
    }

    .content-text h3 {
        font-size: 24px;
    }

    .video-container video {
        height: 200px;
    }
}