/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Modal Styles - Enhanced UX */
.content-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1000;
    overflow-y: auto;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    animation: fadeIn 0.4s ease-out;
}

.content-modal.active {
    display: flex;
    opacity: 1;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-content-wrapper {
    background: white;
    border-radius: 24px;
    box-shadow: 
        0 25px 50px -12px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.05);
    max-width: min(95vw, 800px);
    max-height: min(90vh, 700px);
    width: 100%;
    position: relative;
    transform: translateY(30px) scale(0.95);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    overflow: hidden;
    will-change: transform, opacity;
}

.content-modal.active .modal-content-wrapper {
    transform: translateY(0) scale(1);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 32px 40px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.modal-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
}

.modal-header h2 {
    margin: 0;
    font-size: 1.75rem;
    font-weight: 600;
    letter-spacing: -0.025em;
    line-height: 1.2;
}

.modal-close {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 1.25rem;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.modal-close::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;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.4);
    transform: scale(1.05);
}

.modal-close:hover::before {
    left: 100%;
}

.modal-close:active {
    transform: scale(0.95);
}

.modal-body {
    padding: 40px;
    max-height: calc(min(90vh, 700px) - 140px);
    overflow-y: auto;
    scroll-behavior: smooth;
}

/* Enhanced scrollbar styling */
.modal-body::-webkit-scrollbar {
    width: 6px;
}

.modal-body::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 10px;
}

.modal-body::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 10px;
    transition: all 0.2s ease;
}

.modal-body::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #5a6fd8, #6a4190);
}

.modal-subtitle {
    font-size: 1.125rem;
    color: #64748b;
    margin-bottom: 32px;
    text-align: center;
    font-weight: 400;
    line-height: 1.6;
}

/* Modal animation keyframes */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Content loading animation */
.modal-body > * {
    animation: contentFadeIn 0.6s ease-out backwards;
}

@keyframes contentFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Staggered animation for child elements */
.modal-body > *:nth-child(1) { animation-delay: 0.1s; }
.modal-body > *:nth-child(2) { animation-delay: 0.2s; }
.modal-body > *:nth-child(3) { animation-delay: 0.3s; }
.modal-body > *:nth-child(4) { animation-delay: 0.4s; }

/* Focus ring enhancement */
.modal-close:focus,
.modal-body button:focus,
.modal-body a:focus,
.modal-body input:focus,
.modal-body textarea:focus,
.modal-body select:focus {
    outline: 2px solid #667eea;
    outline-offset: 2px;
    box-shadow: 0 0 0 2px rgba(102, 126, 234, 0.2);
}

/* Improved backdrop click area feedback */
.content-modal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    cursor: pointer;
    z-index: -1;
}

/* Loading state enhancement */
.modal-loading {
    pointer-events: none;
    opacity: 0.7;
}

.modal-loading .modal-content-wrapper {
    position: relative;
    overflow: hidden;
}

.modal-loading .modal-content-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Modal shake animation for UX feedback */
@keyframes modalShake {
    0%, 100% { transform: translateY(0) scale(1); }
    25% { transform: translateY(-2px) scale(1.001); }
    75% { transform: translateY(2px) scale(0.999); }
}

/* Enhanced button interactions */
.modal-body .btn {
    transition: all 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.modal-body .btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s;
}

.modal-body .btn:active::before {
    width: 300px;
    height: 300px;
}

/* Improved mobile modal experience */
@media (max-width: 768px) {
    .modal-content-wrapper {
        max-width: 100vw !important;
        max-height: 100vh !important;
        border-radius: 0 !important;
        margin: 0 !important;
        width: 100vw !important;
        min-height: 100vh !important;
        box-shadow: none !important;
        padding: 0 !important;
        display: flex;
        flex-direction: column;
    }
    .content-modal.active {
        padding: 0 !important;
        align-items: stretch !important;
        justify-content: flex-start !important;
    }
    .modal-header {
        padding: 18px 12px 12px 18px !important;
        border-radius: 0 !important;
        min-height: 60px;
        font-size: 1.1rem !important;
    }
    .modal-header h2 {
        font-size: 1.1rem !important;
        word-break: break-word;
    }
    .modal-close {
        width: 32px !important;
        height: 32px !important;
        font-size: 1.3rem !important;
        top: 10px;
        right: 10px;
    }
    .modal-body {
        padding: 16px 8px !important;
        max-height: calc(100vh - 60px) !important;
        font-size: 1rem !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
    }
    .modal-subtitle {
        font-size: 1rem !important;
        margin-bottom: 18px !important;
    }
    .btn, button, input, select, textarea {
        font-size: 1rem !important;
    }
    .services-grid, .case-studies-grid, .pricing-options, .stats-grid, .certifications-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }
    .service-card, .case-study-card, .pricing-card, .stat-card, .cert-card {
        padding: 18px 10px !important;
        border-radius: 10px !important;
    }
    .testimonial-card {
        padding: 18px 10px !important;
        border-radius: 10px !important;
    }
    .testimonials-cta, .case-studies-cta, .services-guarantee, .pricing-guarantee, .next-steps {
        padding: 18px 10px !important;
        border-radius: 10px !important;
    }
    .contact-info, .contact-details, .contact-item {
        padding: 0 !important;
        gap: 8px !important;
    }
    .form-row {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }
    .form-group label {
        font-size: 0.95rem !important;
    }
    .form-group input, .form-group select, .form-group textarea {
        font-size: 1rem !important;
        padding: 10px 12px !important;
    }
    .checkbox-group {
        grid-template-columns: 1fr !important;
        gap: 8px !important;
    }
}

/* Dark mode support preparation */
@media (prefers-color-scheme: dark) {
    .content-modal {
        background: rgba(0, 0, 0, 0.9);
    }
    
    .modal-content-wrapper {
        background: #1e293b;
        color: white;
        box-shadow: 
            0 25px 50px -12px rgba(0, 0, 0, 0.6),
            0 0 0 1px rgba(255, 255, 255, 0.1);
    }
    
    .modal-subtitle {
        color: #94a3b8;
    }
}

/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo h3 {
    color: #2563eb;
    font-weight: 700;
    font-size: 1.5rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #64748b;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #2563eb;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #2563eb;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><polygon fill="%23ffffff08" points="0,1000 1000,0 1000,1000"/></svg>');
    background-size: cover;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    color: white;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.gradient-text {
    background: linear-gradient(45deg, #fbbf24, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #e2e8f0;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    color: #cbd5e1;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.btn {
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: #f59e0b;
    color: white;
}

.btn-primary:hover {
    background: #d97706;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(245, 158, 11, 0.3);
}

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

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.hero-social {
    display: flex;
    gap: 1rem;
}

.hero-social a {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.hero-social a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

/* Hero Stats */
.hero-stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fbbf24;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.9rem;
    color: #cbd5e1;
    font-weight: 500;
}

/* Floating Cards */
.hero-visual {
    position: relative;
    height: 500px;
}

.floating-cards {
    position: relative;
    width: 100%;
    height: 100%;
}

.card {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    animation: float 6s ease-in-out infinite;
}

.card i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.card span {
    font-weight: 600;
    font-size: 0.9rem;
}

.card-1 {
    top: 20%;
    left: 10%;
    animation-delay: -1s;
}

.card-2 {
    top: 60%;
    left: 60%;
    animation-delay: -3s;
}

.card-3 {
    top: 10%;
    right: 10%;
    animation-delay: -2s;
}

.card-4 {
    bottom: 20%;
    left: 30%;
    animation-delay: -4s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Section Styles */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
}

/* Case Studies Section */
.case-studies {
    padding: 100px 0;
    background: #f8fafc;
}

.case-studies-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.case-study-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.case-study-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px rgba(0, 0, 0, 0.1);
}

.case-study-card.featured {
    border: 2px solid #2563eb;
    position: relative;
}

.case-study-card.featured::before {
    content: 'Featured Case Study';
    position: absolute;
    top: 0;
    right: 0;
    background: #2563eb;
    color: white;
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
    font-weight: 600;
    border-bottom-left-radius: 8px;
}

.case-study-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem 2rem 1rem;
    border-bottom: 1px solid #f1f5f9;
}

.case-study-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.case-study-meta {
    flex: 1;
}

.case-study-meta h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.25rem;
}

.case-study-meta p {
    color: #64748b;
    font-size: 0.9rem;
}

.case-study-result {
    text-align: center;
}

.result-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #10b981;
}

.result-label {
    font-size: 0.8rem;
    color: #64748b;
    font-weight: 500;
}

.case-study-content {
    padding: 1rem 2rem 2rem;
}

.case-study-content > div {
    margin-bottom: 1.5rem;
}

.case-study-content h4 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #1e293b;
}

.case-study-content h4 i {
    font-size: 0.9rem;
}

.challenge h4 { color: #dc2626; }
.challenge h4 i { color: #dc2626; }
.solution h4 { color: #2563eb; }
.solution h4 i { color: #2563eb; }
.results h4 { color: #059669; }
.results h4 i { color: #059669; }

.case-study-content p {
    color: #475569;
    line-height: 1.6;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-top: 1rem;
}

.metric {
    text-align: center;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 8px;
}

.metric-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: #2563eb;
    margin-bottom: 0.25rem;
}

.metric-label {
    font-size: 0.8rem;
    color: #64748b;
    font-weight: 500;
}

.case-studies-cta {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    color: white;
}

.case-studies-cta p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

/* Investment/Pricing Section */
.investment {
    padding: 100px 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.pricing-card {
    background: white;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px rgba(0, 0, 0, 0.1);
}

.pricing-card.popular {
    border-color: #2563eb;
    transform: scale(1.05);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #2563eb;
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.pricing-header {
    text-align: center;
    margin-bottom: 2rem;
}

.pricing-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 1rem;
}

.pricing-amount {
    display: flex;
    align-items: baseline;
    justify-content: center;
    margin-bottom: 1rem;
}

.currency {
    font-size: 1.2rem;
    color: #64748b;
}

.amount {
    font-size: 3rem;
    font-weight: 700;
    color: #2563eb;
    margin: 0 0.25rem;
}

.period {
    font-size: 1rem;
    color: #64748b;
}

.pricing-description {
    color: #64748b;
    text-align: center;
}

.pricing-features ul {
    list-style: none;
    padding: 0;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    color: #475569;
    border-bottom: 1px solid #f1f5f9;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li i {
    color: #10b981;
    font-size: 0.9rem;
}

.pricing-cta {
    margin-top: 2rem;
}

.btn-outline {
    background: transparent;
    color: #2563eb;
    border: 2px solid #2563eb;
}

.btn-outline:hover {
    background: #2563eb;
    color: white;
}

.pricing-note {
    text-align: center;
    color: #64748b;
    font-size: 0.9rem;
}

.pricing-note i {
    color: #2563eb;
    margin-right: 0.5rem;
}

/* Free Audit Banner */
.audit-banner {
    background: linear-gradient(135deg, #10b981, #059669);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 3rem;
    color: white;
}

.audit-content {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.audit-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    flex-shrink: 0;
}

.audit-text {
    flex: 1;
}

.audit-text h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.audit-text p {
    font-size: 1.1rem;
    opacity: 0.9;
}

.audit-cta .btn {
    background: white;
    color: #059669;
    font-weight: 700;
}

.audit-cta .btn:hover {
    background: #f9fafb;
    transform: translateY(-2px);
}

/* About Section */
.about {
    padding: 100px 0;
    background: #f8fafc;
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.about-intro {
    font-size: 1.1rem;
    color: #475569;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.about-highlights {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.highlight {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.highlight i {
    color: #2563eb;
    font-size: 1.5rem;
    margin-top: 0.2rem;
}

.highlight h4 {
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.highlight p {
    color: #64748b;
    font-size: 0.95rem;
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.stat {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.stat h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2563eb;
    margin-bottom: 0.5rem;
}

.stat p {
    color: #64748b;
    font-weight: 500;
}

/* Services Section */
.services {
    padding: 100px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 70px;
    height: 70px;
    border-radius: 12px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

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

.service-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 1rem;
}

.service-card p {
    color: #64748b;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-features {
    list-style: none;
}

.service-features li {
    color: #475569;
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.5rem;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: bold;
}

/* Experience Section */
.experience {
    padding: 100px 0;
    background: #f8fafc;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #e2e8f0;
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    padding-left: 80px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 22px;
    top: 8px;
    width: 16px;
    height: 16px;
    background: #2563eb;
    border-radius: 50%;
    box-shadow: 0 0 0 4px white, 0 0 0 6px #e2e8f0;
}

.timeline-date {
    position: absolute;
    left: -200px;
    top: 0;
    color: #64748b;
    font-weight: 600;
    font-size: 0.9rem;
    width: 150px;
    text-align: right;
}

.timeline-content {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.timeline-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.timeline-content h4 {
    color: #2563eb;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.timeline-content > p {
    color: #64748b;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.timeline-content ul {
    margin-bottom: 1.5rem;
}

.timeline-content li {
    color: #475569;
    margin-bottom: 0.5rem;
}

.skills-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.skills-tags span {
    background: #e0e7ff;
    color: #3730a3;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Testimonials Section */
.testimonials {
    padding: 100px 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: white;
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border-left: 4px solid #2563eb;
}

.testimonial-content p {
    color: #475569;
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.7;
    font-size: 1.05rem;
}

.testimonial-author h4 {
    color: #1e293b;
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.testimonial-author p {
    color: #64748b;
    font-size: 0.9rem;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: #f8fafc;
}

/* Urgency Banner */
.urgency-banner {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 3rem;
    text-align: center;
}

.urgency-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    color: white;
}

.urgency-icon {
    font-size: 1.5rem;
}

.urgency-text p {
    margin: 0;
    font-size: 1.1rem;
}

.spots-left {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-weight: 700;
}

/* Contact Benefits */
.contact-benefits {
    margin-bottom: 3rem;
}

.contact-benefits h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 2rem;
    text-align: center;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.benefit-item {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.benefit-icon {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.benefit-text h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.benefit-text p {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Contact Form Container */
.contact-form-container {
    background: white;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
}

.contact-form-header {
    text-align: center;
    margin-bottom: 2rem;
}

.contact-form-header h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.contact-form-header > p {
    color: #64748b;
    margin-bottom: 1rem;
}

.social-proof-mini {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 8px;
}

.rating-stars {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: #fbbf24;
}

.rating-stars span {
    color: #64748b;
    font-size: 0.9rem;
    margin-left: 0.5rem;
}

/* Calendar Booking */
.calendar-booking {
    margin-bottom: 2rem;
}

.booking-tabs {
    display: flex;
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 1.5rem;
}

.booking-tab {
    flex: 1;
    padding: 1rem;
    background: none;
    border: none;
    cursor: pointer;
    font-weight: 500;
    color: #64748b;
    transition: all 0.3s ease;
}

.booking-tab.active {
    color: #2563eb;
    border-bottom: 2px solid #2563eb;
}

.booking-panel {
    display: none;
}

.booking-panel.active {
    display: block;
}

.booking-panel > p {
    text-align: center;
    margin-bottom: 1.5rem;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.time-slots {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.time-slot {
    padding: 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.time-slot.available:hover {
    border-color: #2563eb;
    background: #f0f9ff;
}

.time-slot.unavailable {
    background: #f8fafc;
    color: #94a3b8;
    cursor: not-allowed;
    opacity: 0.6;
}

.time-slot .time {
    display: block;
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.time-slot .date {
    font-size: 0.9rem;
    color: #64748b;
}

/* Audit Form */
.audit-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.audit-form input,
.audit-form select {
    padding: 12px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.audit-form input:focus,
.audit-form select:focus {
    outline: none;
    border-color: #2563eb;
}

/* Contact Guarantees */
.contact-guarantees {
    display: flex;
    justify-content: space-around;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e2e8f0;
}

.guarantee-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #64748b;
    font-size: 0.9rem;
}

.guarantee-item i {
    color: #10b981;
}

/* Alternative Contact Methods */
.contact-alternatives {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e2e8f0;
}

.contact-alternatives p {
    color: #64748b;
    margin-bottom: 1.5rem;
}

.alternative-methods {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.alt-method {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    text-decoration: none;
    color: #64748b;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
}

.alt-method:hover {
    color: #2563eb;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.alt-method i {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.contact-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

/* Footer */
.footer {
    background: #1e293b;
    padding: 2rem 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-text p {
    color: #94a3b8;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #334155;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: #2563eb;
    color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-cta {
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .audit-content {
        flex-direction: column;
        text-align: center;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-stats {
        grid-template-columns: 1fr 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .case-studies-grid {
        gap: 2rem;
    }

    .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .case-study-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .pricing-card.popular {
        transform: none;
    }

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

    .time-slots {
        grid-template-columns: 1fr;
    }

    .contact-guarantees {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }

    .alternative-methods {
        flex-direction: column;
        align-items: center;
    }

    .timeline-date {
        position: static;
        text-align: left;
        margin-bottom: 0.5rem;
        width: auto;
    }

    .timeline-item {
        padding-left: 60px;
    }

    }

    .timeline::before {
        left: 20px;
    }

    .timeline-item::before {
        left: 12px;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

/* Modal-specific styles for all content sections */

/* About Modal Specific */
.about-content {
    display: grid;
    gap: 40px;
}

.about-intro {
    text-align: center;
}

.about-intro h3 {
    font-size: 1.8rem;
    color: #2d3436;
    margin-bottom: 20px;
}

.about-intro p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #636e72;
    max-width: 800px;
    margin: 0 auto;
}

.about-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.highlight-card {
    text-align: center;
    padding: 30px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.highlight-card:hover {
    transform: translateY(-5px);
}

.highlight-icon {
    font-size: 3rem;
    color: #667eea;
    margin-bottom: 20px;
}

.highlight-card h4 {
    font-size: 1.3rem;
    color: #2d3436;
    margin-bottom: 15px;
}

.highlight-card p {
    color: #636e72;
    line-height: 1.6;
}

.about-journey {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 40px;
    border-radius: 20px;
    text-align: center;
}

.about-journey h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.about-journey p {
    font-size: 1.1rem;
    line-height: 1.8;
    opacity: 0.9;
}

/* Services Modal Specific */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.service-card {
    background: white;
    border: 2px solid #f1f3f4;
    border-radius: 20px;
    padding: 30px;
    transition: all 0.3s ease;
    position: relative;
}

.service-card:hover {
    border-color: #667eea;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.15);
}

.service-card.featured {
    border-color: #667eea;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    transform: scale(1.05);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #667eea;
}

.service-card.featured .service-icon {
    color: white;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.service-card p {
    line-height: 1.6;
    margin-bottom: 20px;
    opacity: 0.8;
}

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

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

.service-features i {
    color: #28a745;
    margin-right: 10px;
}

.service-card.featured .service-features i {
    color: #90ee90;
}

.service-pricing {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding-top: 20px;
    margin-bottom: 25px;
}

.service-card.featured .service-pricing {
    border-top-color: rgba(255, 255, 255, 0.2);
}

.price {
    font-size: 1.5rem;
    font-weight: 700;
    display: block;
}

.price-note {
    font-size: 0.9rem;
    opacity: 0.7;
}

.services-guarantee {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    padding: 30px;
    border-radius: 20px;
    text-align: center;
}

.guarantee-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.guarantee-badge i {
    font-size: 3rem;
}

.guarantee-text h4 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

/* Modal responsive adjustments */
@media (max-width: 768px) {
    .content-modal.active {
        padding: 10px;
    }
    
    .modal-content-wrapper {
        max-width: 100%;
        max-height: 100%;
        border-radius: 0;
    }
    
    .modal-header {
        padding: 20px;
    }
    
    .modal-header h2 {
        font-size: 1.5rem;
    }
    
    .modal-body {
        padding: 20px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .about-highlights {
        grid-template-columns: 1fr;
    }
    
    .highlight-card {
        padding: 25px 20px;
    }
}    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .hero-visual {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        text-align: center;
        max-width: 250px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }

    .case-study-header {
        padding: 1.5rem 1.5rem 1rem;
    }

    .case-study-content {
        padding: 1rem 1.5rem 1.5rem;
    }

    .pricing-card {
        padding: 2rem 1.5rem;
    }

    .contact-form-container {
        padding: 2rem 1.5rem;
    }

    .audit-content {
        padding: 1.5rem;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-header,
.service-card,
.testimonial-card,
.timeline-item {
    animation: fadeInUp 0.6s ease-out;
}
