/* Manhattan Media Hub - Professional Website Styles */
/* Deployment-Safe Critical CSS */

/* CRITICAL: Force center alignment for all main sections */
.case-studies-cta,
.why-choose-cta {
    text-align: center !important;
    margin: 80px auto 0 !important;
    max-width: 900px !important;
    display: block !important;
}

.calendar-content {
    text-align: center !important;
    max-width: 900px !important;
    margin: 0 auto !important;
}

.booking-options {
    text-align: center !important;
    max-width: 700px !important;
    margin: 0 auto !important;
}

/* CRITICAL: Force 2x2 services grid layout */
.services-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    grid-template-rows: 1fr 1fr !important;
    grid-template-areas: 
        "card1 card2"
        "card3 card4" !important;
    gap: 32px !important;
    max-width: 900px !important;
    margin: 60px auto 0 !important;
}

.service-card:nth-child(1) { grid-area: card1 !important; }
.service-card:nth-child(2) { grid-area: card2 !important; }
.service-card:nth-child(3) { grid-area: card3 !important; }
.service-card:nth-child(4) { grid-area: card4 !important; }

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

:root {
    /* Colors - Updated to match Original Manhattan Media Hub */
    --primary-color: #007bff;
    --primary-dark: #0056b3;
    --secondary-color: #6c757d;
    --accent-color: #ff6b35;
    --text-dark: #212529;
    --text-light: #6c757d;
    --background-light: #f8f9fa;
    --background-white: #ffffff;
    --border-color: #dee2e6;
    
    /* Typography - Enhanced for Professional Agency Look */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    --font-size-4xl: 2.25rem;
    --font-size-5xl: 3rem;
    
    /* Professional Agency Spacing */
    --section-padding: 100px 0;
    --container-padding: 0 20px;
    --element-margin: 24px;
    --border-radius: 12px;
    --box-shadow: 0 10px 30px rgba(0, 123, 255, 0.1);
    --font-size-4xl: 2.25rem;
    --font-size-5xl: 3rem;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 0.75rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4rem;
    
    /* Border Radius */
    --border-radius: 0.5rem;
    --border-radius-lg: 1rem;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

body {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--background-white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
}

h1 {
    font-size: var(--font-size-5xl);
}

h2 {
    font-size: var(--font-size-4xl);
}

h3 {
    font-size: var(--font-size-3xl);
}

h4 {
    font-size: var(--font-size-2xl);
}

p {
    margin-bottom: var(--spacing-md);
    color: var(--text-light);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-sm) var(--spacing-xl);
    font-size: var(--font-size-base);
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-md) var(--spacing-lg);
    max-width: 1200px;
    margin: 0 auto;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.nav-logo h2 {
    color: var(--primary-color);
    margin-bottom: 0;
}

.logo-image {
    height: 40px;
    width: auto;
}

.logo-text {
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-link {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-dark);
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 8px 0;
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

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

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

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    padding: 120px 0 100px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 70% 30%, rgba(0, 123, 255, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-2xl);
    align-items: center;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--text-dark);
    letter-spacing: -0.02em;
}

.highlight {
    color: var(--primary-color);
}

.hero-description {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 40px;
    color: var(--text-light);
    max-width: 90%;
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-2xl);
    align-items: center;
}

.hero-buttons .btn {
    padding: 16px 32px;
    font-size: 1.05rem;
    font-weight: 600;
    min-width: 220px;
    justify-content: center;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-buttons .btn-primary {
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
}

.hero-buttons .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

.hero-buttons .btn-secondary {
    border-width: 2px;
    border-color: var(--primary-color);
    background: rgba(37, 99, 235, 0.05);
}

.hero-buttons .btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.hero-stats {
    display: flex;
    gap: var(--spacing-xl);
    margin-top: var(--spacing-2xl);
}

.stat {
    text-align: left;
    padding: var(--spacing-lg);
    background: rgba(255, 255, 255, 0.8);
    border-radius: var(--border-radius-lg);
    border-left: 4px solid var(--primary-color);
    backdrop-filter: blur(10px);
    min-width: 140px;
}

.stat h3 {
    font-size: var(--font-size-2xl);
    color: var(--primary-color);
    margin-bottom: var(--spacing-xs);
}

.stat p {
    font-size: var(--font-size-sm);
    color: var(--text-light);
    margin-bottom: 0;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-graphic {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-xl);
}

.hero-graphic i {
    font-size: 100px;
    color: white;
}



/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Problem Section */
.problem-section {
    padding: 80px 0;
    background-color: var(--background-light);
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-xl);
}

.problem-item {
    background: white;
    padding: var(--spacing-2xl);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    text-align: center;
}

.problem-icon {
    width: 80px;
    height: 80px;
    background-color: #fee2e2;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-lg);
}

.problem-icon i {
    font-size: 2rem;
    color: #dc2626;
}

.problem-item h3 {
    margin-bottom: var(--spacing-md);
    color: var(--text-dark);
}

/* Solution Section */
.solution-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.solution-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-2xl);
    align-items: center;
}

.solution-text h2 {
    margin-bottom: var(--spacing-lg);
}

.solution-features {
    margin-top: var(--spacing-xl);
}

.feature {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.feature i {
    color: #10b981;
    font-size: var(--font-size-lg);
}

.solution-graphic {
    width: 250px;
    height: 250px;
    background: linear-gradient(135deg, #10b981, #059669);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-shadow: var(--shadow-xl);
}

.solution-graphic i {
    font-size: 80px;
    color: white;
}

/* Case Studies */
.case-studies {
    padding: 80px 0 60px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    position: relative;
}

.case-studies::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(0, 123, 255, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

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

.case-study-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 123, 255, 0.15);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 123, 255, 0.08);
    position: relative;
}

.case-study-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 30px 80px rgba(0, 123, 255, 0.25);
}

.case-study-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 32px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #0056b3 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.case-study-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.case-study-header h3 {
    margin-bottom: 0;
}

.case-study-tag {
    background: rgba(255, 255, 255, 0.25);
    padding: 8px 16px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.9rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.case-study-subtitle {
    padding: var(--spacing-md) var(--spacing-xl) 0;
    font-weight: 600;
    color: var(--text-dark);
}

.case-study-content {
    padding: var(--spacing-xl);
}

.case-study-content h4 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
    font-size: var(--font-size-lg);
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 24px;
    margin-top: 32px;
}

.result-item {
    text-align: center;
    padding: 24px 16px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 16px;
    border: 2px solid rgba(0, 123, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.result-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.05) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.result-item:hover::before {
    opacity: 1;
}

.result-item:hover {
    transform: translateY(-4px);
    border-color: var(--primary-color);
    box-shadow: 0 12px 30px rgba(0, 123, 255, 0.2);
}

.result-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 8px;
    position: relative;
    z-index: 1;
}

.result-text {
    font-size: 0.875rem;
    color: var(--text-light);
    font-weight: 500;
    position: relative;
    z-index: 1;
}

/* Section CTAs */
.case-studies-cta,
.why-choose-cta {
    text-align: center;
    padding: 60px 40px;
    margin: 80px auto 0;
    max-width: 900px;
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.08) 0%, rgba(0, 86, 179, 0.12) 100%);
    border-radius: 24px;
    border: 2px solid rgba(0, 123, 255, 0.2);
    position: relative;
    overflow: hidden;
    display: block;
}

.case-studies-cta::before,
.why-choose-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(0, 123, 255, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.case-studies-cta h3,
.why-choose-cta h3 {
    color: var(--text-dark);
    margin-bottom: 20px;
    font-size: 2.2rem;
    font-weight: 800;
    position: relative;
    z-index: 1;
}

.case-studies-cta p,
.why-choose-cta p {
    color: var(--text-light);
    margin-bottom: 32px;
    font-size: 1.1rem;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

.case-studies-cta .btn,
.why-choose-cta .btn {
    box-shadow: 0 12px 30px rgba(0, 123, 255, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: linear-gradient(135deg, var(--primary-color) 0%, #0056b3 100%);
    padding: 18px 36px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 14px;
    position: relative;
    z-index: 1;
    border: none;
}

.case-studies-cta .btn:hover,
.why-choose-cta .btn:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 20px 50px rgba(0, 123, 255, 0.4);
    background: linear-gradient(135deg, #0056b3 0%, var(--primary-color) 100%);
}

/* Process Section */
.process-section {
    padding: 80px 0;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-2xl);
    align-items: stretch;
}

.process-step {
    position: relative;
    background: white;
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-2xl);
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    min-height: 320px;
}

.process-step:hover {
    transform: translateY(-5px);
}

.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: var(--font-size-xl);
    z-index: 1;
}

.step-content {
    margin-top: var(--spacing-lg);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.step-content h3 {
    margin-bottom: var(--spacing-md);
    color: var(--text-dark);
    font-size: var(--font-size-xl);
}

.step-content p {
    flex-grow: 1;
    margin-bottom: var(--spacing-md);
    color: var(--text-light);
    line-height: 1.6;
}

.step-icon {
    width: 60px;
    height: 60px;
    background: var(--background-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    flex-shrink: 0;
}

.step-icon i {
    font-size: var(--font-size-xl);
    color: var(--primary-color);
}

/* Why Choose Us */
.why-choose-us {
    padding: 80px 0;
    background-color: var(--background-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-xl);
}

.feature-card {
    background: white;
    padding: var(--spacing-2xl);
    border-radius: var(--border-radius-lg);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease;
}

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

.feature-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-lg);
}

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

/* Services Section */
.services {
    padding: 80px 0 60px;
    background: linear-gradient(135deg, var(--background-light) 0%, #ffffff 100%);
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 80% 20%, rgba(0, 123, 255, 0.04) 0%, transparent 50%);
    pointer-events: none;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 32px;
    align-items: stretch;
    margin-top: 60px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.service-card {
    background: white;
    padding: 40px 32px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 123, 255, 0.12);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(0, 123, 255, 0.08);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 320px;
    position: relative;
    overflow: hidden;
    width: 100%;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.02) 0%, rgba(0, 86, 179, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--primary-color);
    box-shadow: 0 25px 60px rgba(0, 123, 255, 0.25);
}

.service-card h3 {
    margin: 20px 0;
    color: var(--text-dark);
    font-size: 1.35rem;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.service-card p {
    flex-grow: 1;
    margin-bottom: 0;
    color: var(--text-light);
    line-height: 1.6;
}

.service-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #0056b3 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    flex-shrink: 0;
    box-shadow: 0 10px 25px rgba(0, 123, 255, 0.3);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotateY(10deg);
    box-shadow: 0 15px 35px rgba(0, 123, 255, 0.4);
}

.service-icon i {
    font-size: 2.2rem;
    color: white;
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon i {
    transform: scale(1.1);
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    text-align: center;
}

.cta-content h2 {
    color: white;
    margin-bottom: var(--spacing-lg);
}

.cta-content p {
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-2xl);
    color: rgba(255, 255, 255, 0.9);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

.cta-buttons .btn-primary {
    background-color: white;
    color: var(--primary-color);
}

.cta-buttons .btn-primary:hover {
    background-color: var(--background-light);
}

.cta-buttons .btn-secondary {
    border-color: white;
    color: white;
}

.contact-info {
    color: rgba(255, 255, 255, 0.9);
}

/* Calendar Section */
.calendar-section {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 50%, #e8f2ff 100%);
    padding: 80px 0 60px;
    position: relative;
}

.calendar-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 70%, rgba(0, 123, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.calendar-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    padding: 0 20px;
}

.booking-options {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.contact-form {
    text-align: left;
}

.calendar-header {
    margin-bottom: 48px;
}

.calendar-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 20px;
    text-align: center;
}

.calendar-header p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.calendar-header h2 {
    color: var(--text-dark);
    margin-bottom: var(--spacing-lg);
    font-size: var(--font-size-4xl);
}

.calendar-header p {
    color: var(--text-light);
    font-size: var(--font-size-lg);
    line-height: 1.7;
    max-width: 800px;
    margin: 0 auto;
}

.calendar-header p {
    color: var(--text-light);
    font-size: var(--font-size-lg);
    line-height: 1.7;
    max-width: 800px;
    margin: 0 auto;
}

.calendar-widget {
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    margin-bottom: var(--spacing-3xl);
    overflow: hidden;
}



/* Booking Options & Form Styles */
.booking-options {
    max-width: 800px;
    margin: 0 auto;
}

.booking-tabs {
    display: flex;
    margin-bottom: 32px;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 123, 255, 0.12);
    border: 1px solid rgba(0, 123, 255, 0.1);
    max-width: 400px;
    margin: 0 auto 32px;
}

.tab-btn {
    flex: 1;
    padding: 20px 24px;
    background: transparent;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-light);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 14px;
    margin: 4px;
    position: relative;
}

.tab-btn:hover {
    background: rgba(0, 123, 255, 0.08);
    color: var(--primary-color);
}

.tab-btn.active {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 4px 16px rgba(0, 123, 255, 0.25);
    transform: translateY(-1px);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.contact-form {
    background: white;
    padding: 48px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 123, 255, 0.15);
    border: 1px solid rgba(0, 123, 255, 0.08);
    backdrop-filter: blur(10px);
    position: relative;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.9) 0%, rgba(248, 250, 252, 0.8) 100%);
    border-radius: 20px;
    z-index: -1;
}

.form-row {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 24px !important;
    margin-bottom: 24px !important;
    align-items: end !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.form-group {
    margin-bottom: 24px !important;
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.form-group:last-of-type {
    margin-bottom: 32px !important;
}

/* Ensure form-row children are properly sized */
.form-row .form-group {
    width: 100% !important;
    min-width: 0 !important;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    text-align: left;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 18px 20px;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    font-size: 1rem;
    font-family: var(--font-family);
    background: #fafbfc;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-sizing: border-box;
    min-height: 56px;
    display: block;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: white;
    box-shadow: 0 0 0 4px rgba(0, 123, 255, 0.12), 0 4px 20px rgba(0, 123, 255, 0.08);
    transform: translateY(-1px);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
    font-family: var(--font-family);
    line-height: 1.5;
    margin-bottom: 8px;
}

.contact-form .btn {
    width: 100%;
    margin-top: 40px;
    justify-content: center;
    padding: 20px 36px;
    font-size: 1.15rem;
    font-weight: 700;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #0056b3 100%);
    box-shadow: 0 12px 35px rgba(0, 123, 255, 0.35);
    border: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: none;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
}

.contact-form .btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 18px 45px rgba(0, 123, 255, 0.45);
    background: linear-gradient(135deg, #0056b3 0%, var(--primary-color) 100%);
}

/* Logo Improvements */
.nav-logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.logo-image {
    height: 45px;
    width: auto;
    flex-shrink: 0;
}

.logo-text {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.2;
}

/* Responsive Design for Forms */
@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .booking-tabs {
        flex-direction: column;
    }
    
    .tab-btn {
        border-bottom: 1px solid var(--border-color);
    }
    
    .tab-btn:last-child {
        border-bottom: none;
    }
    
    .contact-form {
        padding: 24px;
        margin: 16px;
    }
    
    /* Compact mobile sections */
    .section-header {
        margin-bottom: 32px;
    }
    
    .calendar-header {
        margin-bottom: 24px;
    }
}

@media (max-width: 480px) {
    /* Logo responsive design */
    .nav-logo {
        gap: var(--spacing-sm);
    }
    
    .logo-image {
        height: 35px;
    }
    
    .logo-text {
        font-size: var(--font-size-lg);
    }
}

/* Footer */
.footer {
    background-color: var(--text-dark);
    color: white;
    padding: var(--spacing-3xl) 0 var(--spacing-xl);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-2xl);
    margin-bottom: var(--spacing-xl);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-lg);
}

.footer-logo-image {
    height: 45px;
    width: auto;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: var(--spacing-lg);
    color: white;
}

.footer-logo h3 {
    margin-bottom: 0;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: var(--spacing-sm);
}

.footer-section ul li a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: var(--spacing-lg);
    text-align: center;
    color: #94a3b8;
}

/* Desktop Spacing Enhancements */
@media (min-width: 769px) {
    /* Ensure proper desktop spacing and visibility */
    .container {
        padding: 0 var(--spacing-xl);
    }
    
    .section-header {
        margin-bottom: 60px;
    }
    
    /* Ensure all sections show on desktop */
    .hero-image,
    .solution-image,
    .problem-section,
    .why-choose-us {
        display: block;
    }
    
    .hero-image,
    .solution-image {
        display: flex;
    }
    
    /* Enhanced hero buttons for desktop */
    .hero-buttons {
        gap: var(--spacing-xl);
    }
    
    .hero-buttons .btn {
        padding: var(--spacing-lg) var(--spacing-3xl);
        font-size: var(--font-size-xl);
        min-width: 220px;
    }
    
    .hero-title {
        font-size: var(--font-size-5xl);
        line-height: 1.1;
        margin-bottom: var(--spacing-xl);
    }
    
    .hero-description {
        font-size: var(--font-size-xl);
        margin-bottom: var(--spacing-2xl);
        line-height: 1.7;
    }
    
    .hero-stats {
        gap: var(--spacing-2xl);
    }
    
    .stat {
        padding: var(--spacing-xl);
        min-width: 160px;
    }
    
    .stat h3 {
        font-size: var(--font-size-3xl);
    }
    
    .stat p {
        font-size: var(--font-size-base);
    }
    

    
    /* Services grid for desktop */
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-2xl);
    }
    
    /* Process steps for desktop */
    .process-steps {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--spacing-2xl);
    }
    
    /* Content grids */
    .problem-grid {
        gap: var(--spacing-2xl);
    }
    
    .case-study-grid {
        gap: var(--spacing-2xl);
    }
    
    .features-grid {
        gap: var(--spacing-2xl);
    }
}

/* Tablet View */
@media (min-width: 769px) and (max-width: 1024px) {
    .process-steps {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }
    
    .process-step {
        min-height: auto;
    }
}

/* Large Desktop Enhancements */
@media (min-width: 1200px) {
    .container {
        padding: 0 var(--spacing-2xl);
        max-width: 1320px;
    }
    
    .nav-container {
        max-width: 1320px;
        padding: var(--spacing-md) var(--spacing-2xl);
    }
    
    .services-grid {
        gap: var(--spacing-3xl);
    }
    
    .process-steps {
        gap: var(--spacing-3xl);
    }
    
    .problem-grid,
    .case-study-grid,
    .features-grid {
        gap: var(--spacing-3xl);
    }
    
    .hero-content,
    .solution-content {
        gap: var(--spacing-3xl);
    }
    
    /* Enhanced hero for large desktop */
    .hero-title {
        font-size: calc(var(--font-size-5xl) * 1.2);
    }
    
    .hero-description {
        font-size: calc(var(--font-size-xl) * 1.1);
    }
    
    .hero-buttons .btn {
        padding: calc(var(--spacing-lg) * 1.2) calc(var(--spacing-3xl) * 1.2);
        font-size: calc(var(--font-size-xl) * 1.1);
        min-width: 250px;
    }
}



/* Mobile Optimizations */
@media (max-width: 768px) {
    /* Global mobile spacing */
    .container {
        padding: 0 var(--spacing-lg);
    }
    
    /* Hide sections for streamlined mobile experience */
    .hero-image,
    .solution-image,
    .problem-section,
    .why-choose-us {
        display: none !important;
    }
    
    /* Navigation */
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-lg);
        padding: var(--spacing-xl) 0;
        gap: var(--spacing-lg);
    }

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

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    /* Section spacing optimizations - More compact for mobile */
    .hero {
        padding: 70px 0 40px;
    }
    
    .solution-section,
    .case-studies,
    .process-section,
    .services {
        padding: 40px 0;
    }
    
    .calendar-section {
        padding: 50px 0;
    }
    
    /* Additional mobile-specific hiding to reduce length */
    .hero-stats {
        display: none !important;
    }
    
    /* Hero section mobile optimization */
    .hero-content {
        display: flex;
        flex-direction: column;
        text-align: center;
        gap: var(--spacing-2xl);
    }
    
    .hero-text {
        width: 100%;
    }

    .hero-title {
        font-size: var(--font-size-3xl);
        line-height: 1.2;
        margin-bottom: var(--spacing-lg);
    }
    
    .hero-description {
        font-size: var(--font-size-base);
        margin-bottom: var(--spacing-xl);
        padding: 0 var(--spacing-md);
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: var(--spacing-md);
        margin-bottom: var(--spacing-2xl);
        width: 100%;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
        padding: var(--spacing-md) var(--spacing-xl);
    }

    .hero-stats {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: var(--spacing-md);
        margin-top: var(--spacing-xl);
    }
    
    .stat {
        text-align: center;
        padding: var(--spacing-md);
        background: rgba(37, 99, 235, 0.05);
        border-radius: var(--border-radius);
        border: 1px solid rgba(37, 99, 235, 0.1);
    }
    
    .stat h3 {
        font-size: var(--font-size-lg);
        margin-bottom: var(--spacing-xs);
    }
    
    .stat p {
        font-size: var(--font-size-xs);
        margin-bottom: 0;
    }

    /* Solution section mobile optimization */
    .solution-content {
        display: flex;
        flex-direction: column;
        text-align: center;
        gap: var(--spacing-lg);
    }
    
    .solution-text {
        width: 100%;
    }
    
    /* Content sections mobile optimization */
    .section-header {
        margin-bottom: var(--spacing-2xl);
        padding: 0 var(--spacing-md);
    }
    
    .section-header h2 {
        font-size: var(--font-size-2xl);
        margin-bottom: var(--spacing-md);
    }
    
    .section-subtitle {
        font-size: var(--font-size-base);
    }
    
    /* Grid layouts for mobile */
    .case-study-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }
    
    .case-study-card {
        margin-bottom: var(--spacing-lg);
    }

    .process-steps {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }
    
    .process-step {
        min-height: auto;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: var(--spacing-lg);
    }
    
    /* Services grid mobile responsive - FLEXBOX APPROACH */
    .services-grid {
        display: flex !important;
        flex-direction: column !important;
        grid-template-columns: none !important;
        grid-template-rows: none !important;
        grid-template-areas: none !important;
        gap: 20px !important;
        margin: 40px auto 0 !important;
        max-width: 100% !important;
        padding: 0 20px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .service-card {
        min-height: auto !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        grid-area: none !important;
        display: flex !important;
        flex-direction: column !important;
        text-align: center !important;
        margin: 0 0 20px 0 !important;
        overflow: hidden !important;
        word-wrap: break-word !important;
        float: none !important;
        clear: both !important;
    }
    
    .service-card:nth-child(1), 
    .service-card:nth-child(2), 
    .service-card:nth-child(3), 
    .service-card:nth-child(4) {
        grid-area: none !important;
        float: none !important;
        width: 100% !important;
        margin-bottom: 20px !important;
    }
    
    .service-icon {
        width: 60px !important;
        height: 60px !important;
        background: linear-gradient(135deg, var(--primary-color) 0%, #0056b3 100%) !important;
        border-radius: 50% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        margin: 0 auto 16px !important;
        flex-shrink: 0 !important;
        box-shadow: 0 8px 20px rgba(0, 123, 255, 0.3) !important;
    }
    
    .service-icon i {
        font-size: 22px !important;
        color: white !important;
    }
    
    .service-card h3 {
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        white-space: normal !important;
        font-size: 18px !important;
        line-height: 1.4 !important;
    }
    
    .service-card p {
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        white-space: normal !important;
        font-size: 14px !important;
        line-height: 1.5 !important;
        padding: 24px 20px !important;
        margin: 0 !important;
    }
    
    .service-card h3 {
        font-size: 1.2rem !important;
        margin: 16px 0 !important;
    }
    
    .service-card p {
        font-size: 0.95rem !important;
        line-height: 1.5 !important;
    }

    /* CTA buttons mobile optimization */
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: var(--spacing-md);
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }

    /* Calendar section mobile optimization */
    .calendar-widget {
        margin: 0 -var(--spacing-lg);
        border-radius: 0;
    }


    
    /* Mobile CTA Styles (only for case-studies) */
    .case-studies-cta {
        margin: var(--spacing-lg) -var(--spacing-md) var(--spacing-xl);
        padding: var(--spacing-xl) var(--spacing-lg);
        border-radius: var(--border-radius);
    }
    
    .case-studies-cta h3 {
        font-size: var(--font-size-xl);
        margin-bottom: var(--spacing-md);
        line-height: 1.3;
    }
    
    .case-studies-cta p {
        font-size: var(--font-size-base);
        margin-bottom: var(--spacing-lg);
    }
    
    .case-studies-cta .btn {
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
    }

    /* Logo mobile optimization */
    .nav-logo {
        gap: var(--spacing-sm);
    }
    
    .logo-image {
        height: 35px;
    }

    .logo-text {
        font-size: var(--font-size-base);
        line-height: 1.2;
    }

    /* Footer mobile optimization */
    .footer {
        padding: var(--spacing-2xl) 0 var(--spacing-lg);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
        text-align: center;
    }
    
    .footer-logo {
        flex-direction: column;
        text-align: center;
        gap: var(--spacing-md);
    }

    .footer-logo-image {
        height: 40px;
    }
    
    .footer-section ul {
        margin-top: var(--spacing-md);
    }
}

/* Extra small mobile devices */
@media (max-width: 480px) {
    :root {
        --font-size-5xl: 2rem;
        --font-size-4xl: 1.75rem;
        --font-size-3xl: 1.5rem;
    }

    .container {
        padding: 0 var(--spacing-md);
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .stat {
        max-width: 200px;
        margin: 0 auto;
    }
    

    
    /* Form mobile optimization for very small screens */
    .contact-form {
        padding: var(--spacing-lg);
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: var(--spacing-sm);
        font-size: var(--font-size-base);
    }
    

}

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

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

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

/* Loading states */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

/* Focus styles for accessibility */
.btn:focus,
.nav-link:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Form Validation Styles */
.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: #dc3545 !important;
    background: #fdf2f2 !important;
}

.form-group input.error:focus,
.form-group select.error:focus,
.form-group textarea.error:focus {
    box-shadow: 0 0 0 4px rgba(220, 53, 69, 0.12), 0 4px 20px rgba(220, 53, 69, 0.08) !important;
}

.form-group input.success,
.form-group select.success,
.form-group textarea.success {
    border-color: #28a745 !important;
    background: #f2f8f3 !important;
}

.error-message {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 6px;
    display: none;
    font-weight: 500;
}

.error-message.show {
    display: block;
}