/* ============================================
   SERVICES PAGE STYLES - BlueSkyAssist
   ============================================ */

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #374151;
    background: #ffffff;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Navigation */
.navbar {
    background: white;
    border-bottom: 1px solid #e2e8f0;
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0f172a;
    text-decoration: none;
}

.logo span {
    color: #3b82f6;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-link {
    color: #64748b;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-link:hover,
.nav-link.active {
    color: #3b82f6;
}

.btn-primary {
    background: linear-gradient(135deg, #0ea5e9 0%, #3b82f6 100%);
    color: white;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: #0f172a;
}

/* Hero Section */
.services-hero {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.services-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.services-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.services-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.7);
    z-index: 1;
}

.services-hero .container {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 100px 24px;
}

.services-hero-content h1 {
    font-size: 3rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 24px;
    text-shadow: 0 2px 12px rgba(0,0,0,0.4);
    letter-spacing: -0.02em;
    line-height: 1.2;
}


/* Add this to your image bg */

.services-hero {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.services-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.services-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.services-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(30, 136, 229, 0.4); /* Reduced opacity from 0.85 to 0.4 */
    z-index: 2;
}

.services-hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: white;
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
}

.services-hero-content h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.price-highlight {
    color: #FFC107;
    font-weight: 800;
}

.services-hero-content .lead {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-hero {
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary-hero {
    background: #FFC107;
    color: #000;
}

.btn-primary-hero:hover {
    background: #FFB300;
    transform: translateY(-2px);
}

.btn-secondary-hero {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary-hero:hover {
    background: white;
    color: #1E88E5;
}

.price-highlight {
    color: #fbbf24;
}

.lead {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.7;
    margin-bottom: 32px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-hero {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-primary-hero {
    background: linear-gradient(135deg, #0ea5e9 0%, #3b82f6 100%);
    color: white;
}

.btn-primary-hero:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -5px rgba(59, 130, 246, 0.4);
}

.btn-secondary-hero {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-secondary-hero:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
}

/* Services Overview Section */
.services-overview {
    padding: 100px 0;
    background: #f8fafc;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.25rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 16px;
}

.section-header p {
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.125rem;
}

/* Services Grid */
.services-grid-new {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.service-card-new {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.service-card-new:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px -8px rgba(0, 0, 0, 0.1);
}

.service-card-image {
    height: 160px;
    overflow: hidden;
}

.service-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-card-new:hover .service-card-image img {
    transform: scale(1.05);
}

.service-card-content {
    padding: 24px;
}

.service-card-content h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 12px;
    line-height: 1.4;
}

.service-card-content p {
    font-size: 0.875rem;
    color: #64748b;
    margin-bottom: 16px;
    line-height: 1.5;
}

.service-features-list {
    list-style: none;
    margin-bottom: 20px;
}

.service-features-list li {
    font-size: 0.8125rem;
    color: #64748b;
    padding: 4px 0;
    padding-left: 16px;
    position: relative;
}

.service-features-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #3b82f6;
}

.btn-learn-more {
    width: 100%;
    padding: 10px 16px;
    background: transparent;
    color: #3b82f6;
    border: 1px solid #3b82f6;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-learn-more:hover {
    background: #3b82f6;
    color: white;
}

/* ============================================
   MODAL STYLES
   ============================================ */

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 20px;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: white;
    border-radius: 12px;
    max-width: 700px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.9) translateY(20px);
    transition: all 0.3s ease;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.modal-overlay.active .modal {
    transform: scale(1) translateY(0);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    transition: color 0.2s;
    z-index: 10;
}

.modal-close:hover {
    color: #0f172a;
}

.modal-close svg {
    width: 24px;
    height: 24px;
}

.modal-content {
    padding: 32px;
}

.modal-header {
    margin-bottom: 16px;
    padding-right: 40px;
}

.modal-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
    line-height: 1.3;
}

.modal-description {
    color: #64748b;
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: 24px;
}

.modal-section-title {
    font-size: 1rem;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 16px;
}

.modal-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 24px;
    margin-bottom: 32px;
}

.modal-feature {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.875rem;
    color: #374151;
    line-height: 1.5;
}

.modal-feature svg {
    width: 16px;
    height: 16px;
    color: #10b981;
    flex-shrink: 0;
    margin-top: 2px;
}

.modal-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn-modal-primary {
    background: linear-gradient(135deg, #0ea5e9 0%, #3b82f6 100%);
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9375rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-modal-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -5px rgba(59, 130, 246, 0.4);
}

.btn-modal-secondary {
    background: white;
    color: #374151;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9375rem;
    border: 1px solid #d1d5db;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-modal-secondary:hover {
    background: #f9fafb;
    border-color: #9ca3af;
}

/* Prevent body scroll when modal is open */
body.modal-open {
    overflow: hidden;
}

/* Simple Pricing Section */
.simple-pricing {
    padding: 100px 0;
    background: white;
}

.pricing-card-simple {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    padding: 48px;
    background: #f8fafc;
    border-radius: 24px;
    border: 1px solid #e2e8f0;
}

.pricing-header-simple {
    margin-bottom: 8px;
}

.price-tag {
    display: inline-flex;
    align-items: flex-start;
    justify-content: center;
}

.currency {
    font-size: 2rem;
    font-weight: 600;
    color: #0ea5e9;
    line-height: 1;
    margin-top: 8px;
}

.amount {
    font-size: 5rem;
    font-weight: 800;
    color: #0ea5e9;
    line-height: 1;
    letter-spacing: -2px;
}

.per-hour {
    display: block;
    font-size: 1.25rem;
    color: #64748b;
    margin-top: 8px;
    font-weight: 500;
}

.pricing-subtitle {
    color: #94a3b8;
    font-size: 0.875rem;
    margin-bottom: 40px;
    letter-spacing: 0.5px;
}

.pricing-features-simple {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 40px;
    padding: 40px 0;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.feature-item-simple {
    text-align: center;
}

.feature-icon-simple {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    color: #2563eb;
}

.feature-item-simple h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 8px;
}

.feature-item-simple p {
    font-size: 0.875rem;
    color: #64748b;
    line-height: 1.5;
}

.btn-glow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    background: linear-gradient(135deg, #0ea5e9 0%, #3b82f6 100%);
    color: white;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.125rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px -5px rgba(59, 130, 246, 0.4);
}

.btn-glow:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 30px -5px rgba(59, 130, 246, 0.5);
}

/* Cost Comparison Section */
.cost-comparison {
    padding: 100px 0;
    background: #f8fafc;
}

.comparison-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 48px;
}

.comparison-table-wrapper {
    overflow-x: auto;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
}

.comparison-table th,
.comparison-table td {
    padding: 20px 24px;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
}

.comparison-table th {
    background: #f8fafc;
    font-weight: 600;
    color: #0f172a;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.comparison-table td {
    color: #64748b;
    font-size: 0.9375rem;
}

.row-label {
    font-weight: 600;
    color: #0f172a;
}

.highlight-green {
    color: #059669;
    font-weight: 600;
}

.baseline {
    color: #0ea5e9;
    font-weight: 600;
}

/* Compare and Save Section */
.compare-save {
    padding: 100px 0;
    background: white;
}

.comparison-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.compare-card {
    background: white;
    border-radius: 16px;
    padding: 32px;
    border: 2px solid #e2e8f0;
    position: relative;
    transition: all 0.3s ease;
}

.compare-card:hover {
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.1);
}

.compare-card.featured {
    border-color: #0ea5e9;
    box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.1);
    transform: scale(1.02);
}

.best-value-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: linear-gradient(135deg, #0ea5e9 0%, #2563eb 100%);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.card-title {
    font-size: 1rem;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 16px;
}

.card-price {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.card-price.high {
    color: #dc2626;
}

.card-price.low {
    color: #059669;
    font-size: 2.5rem;
}

.card-period {
    font-size: 0.875rem;
    color: #94a3b8;
    margin-bottom: 24px;
}

.card-features {
    list-style: none;
}

.card-features li {
    padding: 8px 0;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.card-features.negative li {
    color: #64748b;
}

.card-features.positive li {
    color: #059669;
}

.icon-x {
    color: #dc2626;
    font-weight: 700;
}

.icon-check {
    color: #059669;
    font-weight: 700;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #0ea5e9 0%, #3b82f6 50%, #6366f1 100%);
    padding: 100px 24px;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.75rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.cta-content p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.6;
    margin-bottom: 8px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 32px;
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary-cta {
    background: #f59e0b;
    color: #1e293b;
    border-color: #f59e0b;
}

.btn-primary-cta:hover {
    background: #fbbf24;
    border-color: #fbbf24;
    transform: translateY(-2px);
}

.btn-secondary-cta {
    background: transparent;
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-secondary-cta:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #ffffff;
}

/* Footer */
.footer {
    background: #0f172a;
    padding: 80px 24px 40px;
    color: #94a3b8;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand .logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
    display: inline-block;
    margin-bottom: 16px;
}

.footer-brand .logo span {
    color: #3b82f6;
}

.footer-brand p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #94a3b8;
    max-width: 280px;
}

.footer-links h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 20px;
    text-transform: capitalize;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #3b82f6;
}

.footer-bottom {
    border-top: 1px solid #1e293b;
    padding-top: 40px;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.875rem;
    color: #64748b;
    margin: 0;
}

/* Responsive */
@media (max-width: 1024px) {
    .services-grid-new {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .pricing-features-simple {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .comparison-cards {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
    
    .compare-card.featured {
        transform: none;
        order: -1;
    }
    
    .comparison-table-wrapper {
        overflow-x: scroll;
    }
    
    .comparison-table {
        min-width: 600px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .services-hero-content h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 24px;
        gap: 16px;
        border-bottom: 1px solid #e2e8f0;
        transform: translateY(-150%);
        transition: transform 0.3s ease;
        display: flex;
    }
    
    .nav-menu.active {
        transform: translateY(0);
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .services-hero {
        min-height: 400px;
    }
    
    .services-hero-content h1 {
        font-size: 2rem;
    }
    
    .lead {
        font-size: 1.1rem;
    }
    
    .services-grid-new {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .modal-features {
        grid-template-columns: 1fr;
    }
    
    .modal-content {
        padding: 24px;
    }
    
    .modal-header h2 {
        font-size: 1.25rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .btn-cta {
        width: 100%;
        justify-content: center;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .modal-actions {
        flex-direction: column;
    }
    
    .btn-modal-primary,
    .btn-modal-secondary {
        width: 100%;
        justify-content: center;
    }
}