/* ==========================================
   Services Page Styles (Premium)
   ========================================== */

/* Reuse Page Header from About (or similar styles) */
.page-header {
    background: linear-gradient(rgba(10, 25, 47, 0.9), rgba(10, 25, 47, 0.85)), url('../images/hero_slide_2.jpg'); /* Different Hero Image if available */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 140px 0 90px;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
    clip-path: polygon(0 0, 100% 0, 100% 90%, 50% 100%, 0 90%);
    margin-bottom: 60px;
    margin-top: 80px;
}

body.light-mode .page-header {
    background: linear-gradient(rgba(240, 242, 245, 0.9), rgba(255, 255, 255, 0.8)), url('../images/hero_slide_2.jpg');
    color: var(--navy-primary);
}   


.page-title {
    color: var(--gold-primary);
    font-size: 3.2rem;
    font-weight: 800;
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease;
}

.breadcrumbs {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    display: inline-flex;
    justify-content: center;
    gap: 15px;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
    padding: 10px 30px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

body.light-mode .breadcrumbs {
    background: rgba(10, 25, 47, 0.05);
    color: var(--text-secondary);
    border-color: rgba(10, 25, 47, 0.1);
}

.breadcrumbs a {
    color: var(--gold-primary);
    text-decoration: none;
    transition: all 0.3s;
    font-weight: 700;
}

.breadcrumbs a:hover {
    color: var(--white);
    transform: translateY(-2px);
}

body.light-mode .breadcrumbs a:hover {
    color: var(--navy-primary);
}


/* Services Intro */
.section-padding {
    padding: 80px 0;
}

.section-subtitle {
    color: var(--gold-primary);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 10px;
}

.section-title-sm {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.section-text {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Service Categories */
.service-category {
    margin-bottom: 80px;
}

.category-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--gold-primary);
    margin-bottom: 30px;
    position: relative;
    padding-right: 20px;
    border-right: 4px solid var(--gold-primary);
}

[dir="ltr"] .category-title {
    padding-right: 0;
    padding-left: 20px;
    border-right: none;
    border-left: 4px solid var(--gold-primary);
}

/* Enhanced Service Card Styles (Wraps existing .service-card from style.css but adds premium hover) */
.service-card {
    background: var(--glass-bg); /* Use glass variable if available, else fallback */
    border: 1px solid var(--glass-border);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.service-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 30px 60px rgba(0,0,0,0.3);
    border-color: var(--gold-primary);
}

.service-icon {
    transition: all 0.5s ease;
}

.service-card:hover .service-icon {
    transform: rotateY(360deg) scale(1.1);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.6);
}

.btn-text {
    background: none;
    border: none;
    color: var(--gold-primary);
    font-weight: 700;
    cursor: pointer;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: auto;
    transition: gap 0.3s ease;
}

.btn-text:hover {
    gap: 15px;
    color: var(--white);
}



/* Services Grid (Desktop Default) */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* Process Section */
.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
    position: relative;
}

/* Connecting Line */
.process-steps::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 10%;
    width: 80%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
    z-index: 0;
    opacity: 0.3;
}

.process-step {
    text-align: center;
    position: relative;
    z-index: 1;
}

.step-icon {
    width: 80px;
    height: 80px;
    background: var(--navy-primary);
    border: 2px solid var(--gold-primary);
    color: var(--gold-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0 auto 20px;
    transition: all 0.4s ease;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.1);
}


.process-step:hover .step-icon {
    background: var(--gold-primary);
    color: var(--navy-primary);
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.4);
}

.process-step h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--white);
}


.process-step p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}
/* CTA Section */
.cta-section {
    background: linear-gradient(rgba(10, 25, 47, 0.95), rgba(10, 25, 47, 0.9)), url('../images/hero_slide_2.jpg');
    background-size: cover;
    background-position: center;
    padding: 100px 0;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}


.cta-content {
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 25px;
    color: var(--white);
    animation: fadeInUp 0.8s ease;
}

.cta-content p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Specific button style for this section if not global */
.btn-outline-light {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
    padding: 14px 35px;
    border-radius: 50px;
    font-weight: 700;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-outline-light:hover {
    background: var(--white);
    color: var(--navy-primary);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

/* Responsive */
@media (max-width: 991px) {
    .page-header {
        padding: 120px 0 80px;
    }
    
    .process-steps {
        grid-template-columns: 1fr 1fr;
        gap: 50px;
    }
    
    .process-steps::before {
        display: none;
    }

    .services-grid {
        grid-template-columns: 1fr 1fr; /* 2 columns on tablet */
    }
}

@media (max-width: 576px) {
    .process-steps {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr; /* 1 column on mobile */
    }

    .page-title {
        font-size: 2.2rem;
    }

    .section-title-sm {
        font-size: 1.8rem;
    }
}
