/* Services Page Styles */

/* Services Hero Section - Use same structure as about page */
.elementor-element-services-hero {
    min-height: 60vh;
    max-height: none;
    height: auto;
    display: flex;
    align-items: center;
    position: relative;
    background: url('/images/image2.jpg') !important;
    background-size: cover !important;
    background-position: center center !important;
    background-attachment: fixed !important;
    background-repeat: no-repeat !important;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    image-rendering: high-quality;
    image-rendering: auto;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    margin: 0 auto;
    max-width: 95vw;
    backface-visibility: hidden;
}

/* Add dark overlay for better text readability */
.elementor-element-services-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.elementor-element-services-hero > * {
    position: relative;
    z-index: 2;
}

.services-hero-section::before {
    display: none;
}

/* Force services hero background properties */
.services-hero-section * {
    background-size: cover !important;
    background-position: center top !important;
    background-repeat: no-repeat !important;
}

/* Breadcrumb Navigation */
.breadcrumb-nav .breadcrumb {
    background: none;
    padding: 0;
    margin: 0;
    justify-content: center;
}

.breadcrumb-nav .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-nav .breadcrumb-item a:hover {
    color: white;
}

.breadcrumb-nav .breadcrumb-item.active {
    color: white;
}

.breadcrumb-nav .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.6);
}

/* Old hero section rules removed - now using Elementor structure */

.elementor-element-services-hero .e-con-inner {
    text-align: center;
    color: white;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.elementor-element-services-hero h1 {
    font-size: 2.8rem;
    font-weight: 700;
    margin: 0 0 1.5rem 0;
    text-align: center;
    width: 100%;
    line-height: 1.2;
    color: #1f2933;
}

.elementor-element-services-hero p {
    font-size: 1.15rem;
    line-height: 1.7;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    color: #3d4852;
    width: 100%;
}

/* Remove overlay completely for clean background */
.services-hero-section::before {
    display: none;
}

.hero-content {
    /* Remove container styling to eliminate box effect */
    max-width: none;
    margin: 0;
    padding: 0;
    text-align: center;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
    text-align: center;
    color: #1f2933;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    color: #3d4852;
}

/* Services Content Container */
.elementor-element-services-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    padding: 60px 20px;
}

.elementor-element-services-title,
.hero-heading-container {
    width: 100%;
    max-width: 100%;
    margin-bottom: 1.5rem;
    order: 1;
    text-align: center;
    display: block;
}

.elementor-element-services-description {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    order: 2;
    text-align: center;
    display: block;
}

/* Old overlay rules removed - now using clean Elementor structure */

/* Remove old hero styling that conflicts with Elementor structure */

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    background: #0693e3;
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    background: #0576b3;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(6, 147, 227, 0.3);
}

.cta-button i {
    transition: transform 0.3s ease;
}

.cta-button:hover i {
    transform: translateX(5px);
}

/* Services Overview Section */
.services-overview-section {
    padding: 100px 0;
    background: #f8f9fa;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #0693e3, #f4d03f);
    border-radius: 2px;
}

.section-description {
    font-size: 1.2rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.feature-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0693e3, #f4d03f);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #0693e3, #f4d03f);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

.feature-icon i {
    font-size: 2rem;
    color: white;
}

.feature-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 15px;
}

.feature-description {
    color: #666;
    line-height: 1.6;
    font-size: 1rem;
}

/* Main Services Section */
.main-services-section {
    padding: 100px 0;
    background: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.service-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.service-card-link:hover {
    text-decoration: none;
    color: inherit;
}

.service-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    height: 100%;
}

.service-card-link:hover .service-card {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.service-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-card-link:hover .service-image img {
    transform: scale(1.05);
}

.service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(6, 147, 227, 0.8), rgba(6, 147, 227, 0.6));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card-link:hover .service-overlay {
    opacity: 0;
}

.service-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.service-icon i {
    font-size: 2rem;
    color: white;
}

.service-content {
    padding: 30px;
}

.service-title {
    font-size: 1.6rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 15px;
}

.service-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    color: #555;
    font-size: 0.95rem;
}

.service-features li i {
    color: #0693e3;
    font-size: 0.8rem;
}

.service-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(135deg, #0693e3, #f4d03f);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    margin-top: 20px;
    cursor: pointer;
}

.service-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.service-card-link:hover .service-button::before {
    left: 100%;
}

.service-card-link:hover .service-button {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(6, 147, 227, 0.3);
}

.service-button i {
    transition: transform 0.3s ease;
}

.service-card-link:hover .service-button i {
    transform: translateX(3px);
}

/* Process Section */
.process-section {
    padding: 100px 0 0 0;
    background: #f8f9fa;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.process-step {
    text-align: center;
    position: relative;
}

.process-step::after {
    content: '';
    position: absolute;
    top: 40px;
    right: -20px;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, #0693e3, #f4d03f);
    display: none;
}

.process-step:not(:last-child)::after {
    display: block;
}

.step-number {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #0693e3, #f4d03f);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    position: relative;
    z-index: 2;
}

.step-content {
    background: white;
    padding: 30px 20px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.process-step:hover .step-content {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.step-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 15px;
}

.step-description {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* CTA Section */
.cta-section {
    padding: 20px;
    margin-top: 0;
    background: url('/images/image3.jpg');
    background-size: contain;
    background-position: center 50%;
    background-repeat: no-repeat;
    background-attachment: scroll;
    color: white;
    text-align: center;
    position: relative;
    height: 100vh;
}

.cta-section::before {
    display: none;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 100px 20px;
}

.cta-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.cta-description {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button.primary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.cta-button.secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.cta-button.primary:hover {
    background: rgba(255, 255, 255, 0.3);
}

.cta-button.secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.8);
}

/* Animation Classes */
.elementor-invisible {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.elementor-animation-fadeInUp {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.elementor-animation-fadeIn {
    opacity: 1 !important;
}

.elementor-animation-slideInUp {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.elementor-animation-zoomIn {
    opacity: 1 !important;
    transform: scale(1) !important;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .section-title {
        font-size: 2.4rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
        gap: 30px;
    }
    
    .process-steps {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 30px;
    }
    
    .process-step::after {
        display: none;
    }
}

@media (max-width: 768px) {
    /* Services Hero Section Mobile Fixes */
    .elementor-element-services-hero {
        min-height: 50vh !important;
        padding: 40px 0 !important;
    }
    
    .elementor-element-services-hero .e-con-inner {
        padding: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    .elementor-element-services-content {
        padding: 30px 20px !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
    }
    
    .elementor-element-services-title {
        width: 100% !important;
        margin-bottom: 1.2rem !important;
        order: 1 !important;
    }
    
    .elementor-element-services-hero h1 {
        font-size: 2rem !important;
        margin: 0 0 1.2rem 0 !important;
        text-align: center !important;
        line-height: 1.2 !important;
        text-shadow: 2px 2px 8px rgba(0,0,0,0.8) !important;
        width: 100% !important;
        color: white !important;
    }
    
    .elementor-element-services-description {
        width: 100% !important;
        max-width: 100% !important;
        order: 2 !important;
    }
    
    .elementor-element-services-hero p {
        font-size: 1rem !important;
        margin: 0 auto 1rem auto !important;
        line-height: 1.6 !important;
        text-align: center !important;
        max-width: 100% !important;
        text-shadow: 1px 1px 4px rgba(0,0,0,0.8) !important;
        color: white !important;
        width: 100% !important;
    }
    
    .hero-cta {
        margin-top: 1rem !important;
        text-align: center !important;
        width: 100% !important;
    }
    
    .cta-button {
        padding: 12px 24px !important;
        font-size: 0.95rem !important;
        white-space: nowrap !important;
        max-width: 100% !important;
        width: auto !important;
        min-width: 200px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        box-sizing: border-box !important;
    }
    
    .cta-button span {
        white-space: nowrap !important;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-description {
        font-size: 1rem;
    }
    
    .services-overview-section,
    .main-services-section,
    .process-section,
    .cta-section {
        padding: 60px 0;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-button {
        width: 100%;
        max-width: 300px;
    }
    
    .cta-title {
        font-size: 2.2rem;
    }
    
    .cta-description {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    /* Services Hero Section Small Mobile Fixes */
    .elementor-element-services-hero {
        min-height: 45vh !important;
        padding: 30px 0 !important;
    }
    
    .elementor-element-services-hero .e-con-inner {
        padding: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    .elementor-element-services-content {
        padding: 20px 15px !important;
    }
    
    .elementor-element-services-title {
        margin-bottom: 1rem !important;
    }
    
    .elementor-element-services-hero h1 {
        font-size: 1.6rem !important;
        margin: 0 0 1rem 0 !important;
        line-height: 1.2 !important;
        text-align: center !important;
        width: 100% !important;
    }
    
    .elementor-element-services-hero p {
        font-size: 0.9rem !important;
        margin: 0 auto 1rem auto !important;
        line-height: 1.5 !important;
        text-align: center !important;
        width: 100% !important;
    }
    
    .hero-cta {
        margin-top: 0.8rem !important;
    }
    
    .cta-button {
        padding: 10px 20px !important;
        font-size: 0.85rem !important;
        min-width: 180px !important;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .services-overview-section,
    .main-services-section,
    .process-section,
    .cta-section {
        padding: 40px 0;
    }
    
    .feature-card,
    .service-content,
    .step-content {
        padding: 20px;
    }
    
    .cta-title {
        font-size: 1.8rem;
    }
    
    .cta-description {
        font-size: 0.95rem;
    }
}

/* Loading Animation */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.service-card.loading {
    animation: pulse 2s infinite;
}

/* Hover Effects */
.feature-card,
.process-step {
    cursor: pointer;
}

/* Focus States for Accessibility */
.cta-button:focus,
.service-card-link:focus {
    outline: 3px solid rgba(6, 147, 227, 0.5);
    outline-offset: 2px;
    border-radius: 20px;
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
    .service-card-link {
        margin-bottom: 20px;
    }
    
    .service-card-link:focus {
        outline-offset: 1px;
    }
}

/* Print Styles */
@media print {
    /* Old hero section rules removed */
    .cta-section {
        background: none !important;
        color: black !important;
    }
    
    .service-card,
    .feature-card,
    .process-step {
        box-shadow: none !important;
        border: 1px solid #ddd !important;
    }
}
