/* =========================================
   PREMIUM SERVICES PAGE STYLES
   ========================================= */

/* Services Hero Section - Ultra Premium */
.services-hero-section {
    background: linear-gradient(135deg, rgba(90, 172, 78, 0.95), rgba(35, 72, 33, 0.95)),
        url('../img/hero/hero_bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 160px 20px 100px;
    position: relative;
    overflow: hidden;
}

.services-hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 2px, transparent 2px);
    background-size: 60px 60px;
    animation: moveBackground 25s linear infinite;
}

@keyframes moveBackground {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }

    100% {
        transform: translate(60px, 60px) rotate(360deg);
    }
}

.services-hero-section::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 120px;
    background: linear-gradient(to top, white, transparent);
}

.services-hero-container {
    max-width: 950px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.services-hero-content h1 {
    font-size: 72px;
    font-weight: 900;
    color: white;
    margin-bottom: 30px;
    animation: fadeInUp 0.8s ease, glow 3s ease-in-out infinite;
    text-shadow: 0 5px 25px rgba(0, 0, 0, 0.4);
    letter-spacing: -2px;
}

@keyframes glow {

    0%,
    100% {
        text-shadow: 0 5px 25px rgba(0, 0, 0, 0.4);
    }

    50% {
        text-shadow: 0 5px 35px rgba(255, 255, 255, 0.3), 0 0 50px rgba(255, 255, 255, 0.2);
    }
}

.services-hero-content .subtitle {
    font-size: 32px;
    font-weight: 700;
    color: #6dc568;
    margin-bottom: 25px;
    animation: fadeInUp 1s ease;
    text-shadow: 0 3px 15px rgba(0, 0, 0, 0.3);
}

.services-hero-content .tagline {
    font-size: 22px;
    color: rgba(255, 255, 255, 0.98);
    line-height: 1.8;
    animation: fadeInUp 1.2s ease;
    max-width: 750px;
    margin: 0 auto;
    font-weight: 400;
}

/* Comprehensive Services Section - Ultra Premium */
.comprehensive-services-section {
    padding: 120px 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8fffe 30%, #f0f9ef 70%, #e8f5e7 100%);
    position: relative;
    overflow: hidden;
}

.comprehensive-services-section::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(90, 172, 78, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 10s ease-in-out infinite;
}

.comprehensive-services-section::after {
    content: '';
    position: absolute;
    bottom: -10%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(76, 211, 227, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 12s ease-in-out infinite reverse;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(-40px, -40px) scale(1.1);
    }
}

.comprehensive-services-section .section-title {
    text-align: center;
    margin-bottom: 70px;
    position: relative;
    z-index: 2;
}

.comprehensive-services-section .section-title h2 {
    font-size: 56px;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
    letter-spacing: -1px;
}

.comprehensive-services-section .section-title p {
    font-size: 20px;
    color: var(--text-gray);
    font-weight: 500;
}

/* Service Tabs - Premium Design */
.service-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 60px;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.tab-btn {
    padding: 18px 40px;
    background: white;
    border: 3px solid transparent;
    border-radius: 50px;
    font-size: 17px;
    font-weight: 700;
    color: var(--text-dark);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.tab-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.tab-btn i {
    font-size: 22px;
    position: relative;
    z-index: 1;
    transition: transform 0.4s ease;
}

.tab-btn span {
    position: relative;
    z-index: 1;
}

.tab-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(90, 172, 78, 0.25);
    border-color: var(--primary-light);
}

.tab-btn:hover i {
    transform: scale(1.2) rotate(10deg);
}

.tab-btn.active {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border-color: var(--primary-color);
    box-shadow: 0 15px 50px rgba(90, 172, 78, 0.4);
    transform: translateY(-5px);
}

.tab-btn.active::before {
    opacity: 0;
}

/* Tab Content */
.tab-content {
    display: none;
    animation: fadeIn 0.6s ease;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Services Grid - Ultra Premium */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 40px;
    position: relative;
    z-index: 2;
}

/* Service Card - Premium Design */
.service-card {
    background: white;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 3px solid transparent;
    position: relative;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color), var(--primary-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 0 30px 80px rgba(90, 172, 78, 0.25);
    border-color: var(--primary-light);
}

/* Service Image */
.service-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    position: relative;
}

.service-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.5), transparent);
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.15);
}

/* Service Icon */
.service-icon {
    width: 100%;
    height: 250px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.service-icon::before {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }
}

.service-icon i {
    font-size: 80px;
    color: white;
    position: relative;
    z-index: 1;
    transition: transform 0.5s ease;
}

.service-card:hover .service-icon i {
    transform: scale(1.2) rotate(10deg);
}

/* Service Info */
.service-info {
    padding: 35px 30px;
}

.service-info h3 {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 15px;
    line-height: 1.3;
}

.service-info p {
    font-size: 16px;
    color: var(--text-gray);
    line-height: 1.8;
    margin: 0;
}

/* CTA Section - Premium */
.cta-section {
    padding: 110px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 2px, transparent 2px);
    background-size: 50px 50px;
    animation: moveBackground 20s linear infinite;
}

.cta-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(76, 211, 227, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(109, 197, 104, 0.2) 0%, transparent 50%);
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    font-size: 60px;
    font-weight: 900;
    color: white;
    margin-bottom: 25px;
    text-shadow: 0 5px 25px rgba(0, 0, 0, 0.3);
    animation: glow 3s ease-in-out infinite;
    letter-spacing: -1px;
}

.cta-content p {
    font-size: 24px;
    color: rgba(255, 255, 255, 0.98);
    margin-bottom: 60px;
    font-weight: 500;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.cta-buttons .btn-primary,
.cta-buttons .btn-secondary {
    padding: 20px 60px;
    font-size: 18px;
    font-weight: 700;
    border-radius: 50px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 4px solid white;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.cta-buttons .btn-primary::before,
.cta-buttons .btn-secondary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.cta-buttons .btn-primary:hover::before,
.cta-buttons .btn-secondary:hover::before {
    width: 400px;
    height: 400px;
}

.cta-buttons .btn-primary {
    background: white;
    color: var(--primary-color);
}

.cta-buttons .btn-primary:hover {
    transform: translateY(-8px) scale(1.08);
    box-shadow: 0 25px 60px rgba(255, 255, 255, 0.5);
}

.cta-buttons .btn-secondary {
    background: transparent;
    color: white;
}

.cta-buttons .btn-secondary:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-8px) scale(1.08);
}

.cta-buttons .btn-primary i,
.cta-buttons .btn-secondary i {
    position: relative;
    z-index: 1;
}

/* Mobile Responsive */
@media (max-width: 991px) {
    .services-hero-content h1 {
        font-size: 52px;
    }

    .service-tabs {
        gap: 10px;
    }

    .tab-btn {
        padding: 14px 25px;
        font-size: 15px;
    }

    .services-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 30px;
    }
}

@media (max-width: 767px) {
    .services-hero-section {
        min-height: 60vh;
        padding: 130px 20px 90px;
    }

    .services-hero-content h1 {
        font-size: 40px;
    }

    .services-hero-content .subtitle {
        font-size: 24px;
    }

    .services-hero-content .tagline {
        font-size: 18px;
    }

    .comprehensive-services-section {
        padding: 90px 0;
    }

    .comprehensive-services-section .section-title h2 {
        font-size: 40px;
    }

    .service-tabs {
        flex-direction: column;
        align-items: stretch;
    }

    .tab-btn {
        justify-content: center;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .cta-content h2 {
        font-size: 40px;
    }

    .cta-content p {
        font-size: 20px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .cta-buttons .btn-primary,
    .cta-buttons .btn-secondary {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .services-hero-content h1 {
        font-size: 32px;
    }

    .tab-btn {
        padding: 12px 20px;
        font-size: 14px;
    }

    .tab-btn i {
        font-size: 18px;
    }

    .service-image,
    .service-icon {
        height: 200px;
    }

    .service-icon i {
        font-size: 60px;
    }
}
/* Service Modal Styles */
.service-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.service-modal.active {
    display: flex;
}

.service-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

.service-modal-content {
    position: relative;
    background: white;
    border-radius: 30px;
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 30px 100px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.service-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 28px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    box-shadow: 0 5px 20px rgba(90, 172, 78, 0.4);
}

.service-modal-close:hover {
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 8px 30px rgba(90, 172, 78, 0.6);
}

.service-modal-header {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    padding: 50px 40px 40px;
    text-align: center;
    border-radius: 30px 30px 0 0;
    position: relative;
    overflow: hidden;
}

.service-modal-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 30px 30px;
    animation: moveBackground 20s linear infinite;
}

.service-modal-icon {
    width: 100px;
    height: 100px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    position: relative;
}

.service-modal-icon i {
    font-size: 50px;
    color: var(--primary-color);
}

.service-modal-title {
    font-size: 36px;
    font-weight: 900;
    color: white;
    margin: 0;
    text-shadow: 0 3px 15px rgba(0, 0, 0, 0.3);
    position: relative;
}

.service-modal-body {
    padding: 50px 40px;
}

.service-modal-description {
    font-size: 18px;
    line-height: 1.9;
    color: var(--text-gray);
    margin-bottom: 40px;
    text-align: center;
}

.service-modal-benefits,
.service-modal-conditions,
.service-modal-duration {
    margin-bottom: 40px;
}

.service-modal-benefits h3,
.service-modal-conditions h3,
.service-modal-duration h3 {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.service-modal-benefits h3::before {
    content: '';
    font-size: 28px;
}

.service-modal-conditions h3::before {
    content: '';
    font-size: 28px;
}

.service-modal-duration h3::before {
    content: '';
    font-size: 28px;
}

.benefits-list,
.conditions-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.benefits-list li,
.conditions-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    color: var(--text-dark);
    padding: 12px 15px;
    background: linear-gradient(135deg, #f8fffe, #f0f9ef);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.benefits-list li:hover,
.conditions-list li:hover {
    transform: translateX(10px);
    box-shadow: 0 5px 15px rgba(90, 172, 78, 0.15);
}

.benefits-list li i {
    color: var(--primary-color);
    font-size: 18px;
}

.conditions-list li i {
    color: var(--accent-color);
    font-size: 18px;
}

.duration-info {
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-gray);
    background: linear-gradient(135deg, #f0f9ef, #e8f5e7);
    padding: 25px;
    border-radius: 15px;
    border-left: 5px solid var(--primary-color);
}

.service-modal-footer {
    padding: 0 40px 40px;
    text-align: center;
}

.btn-book-service {
    padding: 18px 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    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);
    box-shadow: 0 10px 30px rgba(90, 172, 78, 0.4);
}

.btn-book-service:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(90, 172, 78, 0.6);
}

/* Mobile Responsive for Modal */
@media (max-width: 767px) {
    .service-modal-content {
        max-height: 95vh;
        border-radius: 20px;
    }

    .service-modal-header {
        padding: 40px 25px 30px;
        border-radius: 20px 20px 0 0;
    }

    .service-modal-icon {
        width: 80px;
        height: 80px;
    }

    .service-modal-icon i {
        font-size: 40px;
    }

    .service-modal-title {
        font-size: 28px;
    }

    .service-modal-body {
        padding: 35px 25px;
    }

    .service-modal-description {
        font-size: 16px;
    }

    .benefits-list,
    .conditions-list {
        grid-template-columns: 1fr;
    }

    .service-modal-footer {
        padding: 0 25px 30px;
    }

    .btn-book-service {
        width: 100%;
        padding: 16px 40px;
    }
}

/* Scrollbar Styling for Modal */
.service-modal-content::-webkit-scrollbar {
    width: 8px;
}

.service-modal-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.service-modal-content::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 10px;
}

.service-modal-content::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* Service Modal Image Styles */
.service-modal-image-container {
    margin-bottom: 25px;
}

.service-modal-image {
    width: 100%;
    max-width: 500px;
    height: 300px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    margin: 0 auto;
    display: block;
}

.service-modal-image-container .service-modal-icon {
    width: 100px;
    height: 100px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    position: relative;
}

.service-modal-image-container .service-modal-icon i {
    font-size: 50px;
    color: var(--primary-color);
}

@media (max-width: 767px) {
    .service-modal-image {
        height: 200px;
        max-width: 100%;
    }
    
    .service-modal-image-container .service-modal-icon {
        width: 80px;
        height: 80px;
    }
    
    .service-modal-image-container .service-modal-icon i {
        font-size: 40px;
    }
}
