/* Service Pages Specific Styles */

/* Hero Section */
.service-hero {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    background-size: cover;
    background-position: center;
    padding-top: 80px;
    overflow: hidden;
}

.service-hero .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(43, 59, 76, 0.9), rgba(0, 166, 251, 0.8));
    z-index: 1;
}

.service-icon {
    width: 100px;
    height: 100px;
    background-color: rgba(0, 166, 251, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

/* Wave Bottom for Hero Section */
.wave-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    overflow: hidden;
    line-height: 0;
}

.wave-bottom svg {
    position: relative;
    display: block;
    width: 100%;
    height: 80px;
}

.wave-bottom .shape-fill {
    fill: #FFFFFF;
}

/* Section Header Styles */
.section-header {
    position: relative;
}

.header-underline {
    height: 4px;
    width: 100px;
    margin-top: 20px;
    background: linear-gradient(120deg, var(--secondary), var(--highlight));
    border-radius: 4px;
}

/* Feature Cards */
.feature-card {
    background-color: white;
    border-radius: 10px;
    padding: 24px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
}

/* Solutions Items */
.solution-item {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

.solution-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: all 0.3s ease;
}

.solution-image img:hover {
    transform: scale(1.02);
}

.solution-content h3 {
    position: relative;
    display: inline-block;
}

.solution-content h3:after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--secondary);
    border-radius: 2px;
}

/* Process Timeline */
.process-timeline {
    position: relative;
}

.process-timeline:before {
    content: '';
    position: absolute;
    top: 0;
    left: 32px;
    height: 100%;
    width: 2px;
    background: linear-gradient(to bottom, var(--secondary), var(--highlight));
}

.process-item {
    position: relative;
    padding-left: 80px;
    margin-bottom: 40px;
}

.process-item:last-child {
    margin-bottom: 0;
}

.process-number {
    position: absolute;
    left: 0;
    top: 0;
    width: 64px;
    height: 64px;
    background: white;
    border: 2px solid var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    color: var(--secondary);
    z-index: 1;
}

.process-content {
    background: white;
    padding: 24px 30px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

/* Technology Section */
.tech-category {
    background: white;
    padding: 24px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.tech-category h3 {
    position: relative;
    display: inline-block;
}

.tech-category h3:after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--secondary);
    border-radius: 2px;
}

.tech-category ul {
    color: #4B5563;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(120deg, var(--primary), #1A2A3A);
    position: relative;
    overflow: hidden;
}

.cta-section:before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(0, 166, 251, 0.1);
}

.cta-section:after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(123, 97, 255, 0.1);
}

.btn-primary {
    background: var(--secondary);
    color: white;
    padding: 14px 30px;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary:hover {
    background: #0090DD;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
    padding: 12px 30px;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

/* FAQ Section */
.faq-container {
    border-radius: 10px;
    overflow: hidden;
}

.faq-item {
    background: white;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    margin-bottom: 16px;
    overflow: hidden;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background-color: #F9FAFB;
}

.faq-question h3 {
    font-size: 18px;
    margin: 0;
}

.faq-icon {
    font-size: 24px;
    font-weight: 300;
    color: var(--secondary);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer p {
    padding: 0 20px 20px;
    color: #4B5563;
}

.faq-item.active .faq-question {
    background-color: #F9FAFB;
    border-bottom: 1px solid #E5E7EB;
}

/* Responsive Adjustments */
@media (min-width: 768px) {
    .solution-item {
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }
    
    .solution-item:nth-child(even) {
        grid-template-columns: 1fr 1fr;
    }
    
    .solution-item:nth-child(even) .solution-image {
        order: 2;
    }
    
    .solution-item:nth-child(even) .solution-content {
        order: 1;
    }
    
    .process-timeline:before {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .process-item {
        padding-left: 0;
        width: 50%;
    }
    
    .process-item:nth-child(odd) {
        margin-right: 50%;
        padding-right: 60px;
    }
    
    .process-item:nth-child(even) {
        margin-left: 50%;
        padding-left: 60px;
    }
    
    .process-number {
        left: auto;
        right: -32px;
    }
    
    .process-item:nth-child(even) .process-number {
        right: auto;
        left: -32px;
    }
}

@media (max-width: 767px) {
    .service-hero {
        height: 400px;
        text-align: center;
    }
    
    .service-hero h1 {
        font-size: 2.5rem;
    }
    
    .feature-card {
        margin-bottom: 24px;
    }
    
    .process-item {
        padding-left: 60px;
    }
    
    .process-number {
        width: 44px;
        height: 44px;
        font-size: 16px;
    }
    
    .btn-primary, .btn-secondary {
        display: block;
        width: 100%;
        margin-bottom: 16px;
        text-align: center;
    }
}

/* Mobile Menu CSS Fixes */

/* Base mobile menu styling */
.mobile-menu {
    display: none;  /* Default state is hidden */
    position: absolute;
    top: 64px;
    left: 0;
    width: 100%;
    background-color: white;
    z-index: 9999;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* Ensure hidden class works properly */
.mobile-menu.hidden {
    display: none !important;  /* Use !important to override any inline styles */
}

/* Mobile dropdown content */
.mobile-dropdown-content {
    display: none;
    overflow: hidden;
    background-color: #f8fafc;
    max-height: 0;
    transition: max-height 0.3s ease;
}

.mobile-dropdown-content.hidden {
    display: none !important;
}

/* Mobile menu toggle button */
.mobile-menu-button {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    border: none;
    background-color: transparent;
}

.mobile-menu-button:focus {
    outline: none;
}

/* Add this to your existing style section */
@media (max-width: 767px) {
    .mobile-menu {  
        position: fixed;
        top: 64px;
        max-height: calc(100vh - 64px);
        overflow-y: auto;
        z-index: 9999;
    }
}