/* CSS Variables */
:root {
    /* Colors - Psychology themed palette */
    --primary: #4F46E5;
    --primary-dark: #3730A3;
    --primary-light: #6366F1;
    --secondary: #06B6D4;
    --secondary-dark: #0891B2;
    --accent-primary: #6366F1;
    --accent-secondary: #8B5CF6;
    
    /* Neutral Colors */
    --bg-primary: #FFFFFF;
    --bg-secondary: #F8FAFC;
    --bg-tertiary: #F1F5F9;
    --text-primary: #1E293B;
    --text-secondary: #475569;
    --text-muted: #64748B;
    --border: #E2E8F0;
    --border-light: #F1F5F9;
    
    /* Status Colors */
    --success: #10B981;
    --warning: #F59E0B;
    --error: #EF4444;
    --info: #3B82F6;
    
    /* Spacing */
    --container-max-width: 1200px;
    --section-padding: 5rem 0;
    --section-padding-sm: 3rem 0;
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 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;
    
    /* Enhanced Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-glass: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    --shadow-floating: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    
    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.25);
    --glass-border: rgba(255, 255, 255, 0.18);
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
}

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

/* Ultra-smooth scrolling and enhanced animations */
html {
    scroll-behavior: smooth;
}

/* Prevent layout shifts during animations */
* {
    will-change: auto;
}

/* Smooth scroll container */
body {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

/* Fade-in animation for sections */
.fade-in {
    opacity: 0;
    transform: translateY(60px);
    transition: all 1.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Micro-animations for immediate visibility */
.pulse {
    animation: pulse 2s infinite;
}

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

.float {
    animation: float 3s ease-in-out infinite;
}

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

.glow {
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from { box-shadow: 0 0 5px var(--primary), 0 0 10px var(--primary), 0 0 15px var(--primary); }
    to { box-shadow: 0 0 10px var(--primary), 0 0 20px var(--primary), 0 0 30px var(--primary); }
}

/* Additional animation variants - Balanced */
.slide-in-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: all 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(60px);
    transition: all 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.75);
    transition: all 1.1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.scale-in.visible {
    opacity: 1;
    transform: scale(1);
}

/* Enhanced scale animation for about image */
.about-image.scale-in {
    opacity: 0;
    transform: scale(0.6);
    transition: all 1.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.about-image.scale-in.visible {
    opacity: 1;
    transform: scale(1);
    will-change: auto;
}

.rotate-in {
    opacity: 0;
    transform: rotate(-8deg) scale(0.85);
    transition: all 1.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.rotate-in.visible {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

/* Numbers are now static - no animation needed */

/* Enhanced hover effects */
.hover-lift {
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-floating);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Container */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Section Spacing */
section {
    padding: var(--section-padding);
}

section:not(:first-child) {
    border-top: 1px solid var(--border-light);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-light);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    gap: 2rem;
}

.nav-brand a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 700;
    font-size: var(--font-size-xl);
}

.nav-brand i {
    color: var(--primary);
    font-size: 1.5rem;
    animation: pulse 3s infinite;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    margin-left: auto;
}

.nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    transition: all 0.2s ease;
    position: relative;
    border-radius: var(--radius-sm);
    padding: 0.5rem 1rem;
    margin: -0.5rem -1rem;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
    background-color: rgba(79, 70, 229, 0.1);
}

.nav-link:active {
    transform: translateY(1px);
    background-color: rgba(79, 70, 229, 0.15);
}

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

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

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

.nav-toggle span {
    width: 1.5rem;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s ease;
    transform-origin: center;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(0.375rem, 0.375rem);
}

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

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(0.375rem, -0.375rem);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: var(--font-size-sm);
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

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

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

.btn:hover::before {
    left: 100%;
}

.btn-secondary {
    background: var(--secondary);
    color: white;
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    background: var(--secondary-dark);
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

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

.btn-large {
    padding: 1rem 2rem;
    font-size: var(--font-size-base);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    padding: 8rem 0 5rem;
    margin-top: 4rem;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-text h1 {
    font-size: var(--font-size-5xl);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.hero-subtitle {
    font-size: var(--font-size-xl);
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: var(--font-size-3xl);
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.stat-label {
    font-size: var(--font-size-sm);
    color: var(--text-muted);
    margin-top: 0.25rem;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    flex-wrap: nowrap;
    align-items: center;
    margin-top: 2.5rem;
    justify-content: flex-start;
}

.hero-image {
    position: relative;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
}

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

.section-header h2 {
    font-size: var(--font-size-4xl);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.section-header p {
    font-size: var(--font-size-xl);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about {
    background: var(--bg-primary);
}

/* About Section - Split-Screen Design */
.about-intro {
    display: grid;
    grid-template-columns: 40% 60%;
    gap: 0;
    align-items: stretch;
    height: auto;
    margin-bottom: 4rem;
}

.about-text {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--bg-secondary);
    border-radius: var(--radius-xl) 0 0 var(--radius-xl);
}

.about-image {
    position: relative;
    overflow: hidden;
    border-radius: 0 var(--radius-xl) var(--radius-xl) 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: scale-down;
    object-position: center;
}

.about-unified {
    background: white;
    padding: 3rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    margin-top: 3rem;
}

.credentials-section, .specializations-section {
    margin-bottom: 2rem;
}

.credentials-section h4, .specializations-section h4 {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1.5rem;
    text-align: center;
}

.credentials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.credential-item {
    background: var(--bg-tertiary);
    padding: 1rem 1.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
}

.credential-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
    background: rgba(79, 70, 229, 0.1);
    border-color: var(--primary);
}

.credential-item:hover i {
    color: var(--primary);
}

.credential-item i {
    color: var(--primary);
    width: 1.25rem;
    transition: color 0.3s ease;
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 0.75rem;
}

.expertise-item {
    background: var(--bg-tertiary);
    padding: 1rem 1.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
}

.expertise-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
    background: rgba(79, 70, 229, 0.1);
    border-color: var(--primary);
}

.expertise-item:hover i {
    color: var(--primary);
}

.expertise-item i {
    color: var(--primary);
    width: 1.25rem;
    transition: color 0.3s ease;
}

.about-text h3 {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.about-text p {
    font-size: var(--font-size-lg);
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.credentials,
.specializations {
    margin-bottom: 2rem;
}

.credentials h4,
.specializations h4 {
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.credentials ul {
    list-style: none;
}

.credentials li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: var(--text-secondary);
}

.credentials i {
    color: var(--primary);
    width: 1.25rem;
}

.specialty-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
    justify-content: flex-start;
}

.tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-tertiary);
    color: var(--text-primary);
    padding: 0.6rem 1.2rem;
    border-radius: var(--radius-lg);
    font-size: var(--font-size-sm);
    font-weight: 500;
    border: 1px solid var(--border);
    white-space: nowrap;
    min-height: 2.5rem;
    text-align: center;
}


/* Services Section */
.services {
    background: var(--bg-secondary);
}

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

.service-card {
    background: var(--bg-primary);
    padding: 2rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 1px solid var(--border-light);
    display: flex;
    flex-direction: column;
    height: 100%;
    cursor: pointer;
}

.service-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-floating);
    border-color: var(--primary);
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.05), rgba(99, 102, 241, 0.08));
}

.service-card:hover .service-icon {
    transform: scale(1.1);
    box-shadow: var(--shadow-lg);
}

.service-card:hover h3 {
    color: var(--primary);
}

.service-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: var(--radius-lg);
    margin-bottom: 1.5rem;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    flex-shrink: 0;
    animation: float 4s ease-in-out infinite;
}

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

.service-card h3 {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    transition: color 0.3s ease;
    flex-shrink: 0;
}

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

.service-features {
    flex-grow: 1;
    margin-bottom: 1.5rem;
}

.service-features ul {
    list-style: none;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
    line-height: 1.4;
}

.service-features li::before {
    content: '✓';
    color: var(--success);
    font-weight: bold;
    font-size: 1rem;
    flex-shrink: 0;
}

.service-duration {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid var(--border-light);
    flex-shrink: 0;
    font-size: var(--font-size-sm);
    font-weight: 500;
}

.service-duration i {
    color: var(--primary);
}

/* Approach Section */
.approach {
    background: var(--bg-primary);
}

.approach-steps {
    display: grid;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.step {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    border-radius: 50%;
    font-size: var(--font-size-lg);
    font-weight: 700;
    flex-shrink: 0;
}

.step-content h3 {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.step-content p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* CTA Section */
.cta {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: var(--font-size-4xl);
    font-weight: 800;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: var(--font-size-xl);
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Contact Section */
.contact {
    background: var(--bg-primary);
    border-top: 1px solid var(--border-light);
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .contact-info {
        grid-template-columns: 1fr;
    }
}

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

.contact-item.clickable {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    border-radius: var(--radius-lg);
    padding: 1rem;
    margin: -1rem;
}

.contact-item.clickable:hover {
    background: linear-gradient(135deg, var(--glass-bg), rgba(255, 255, 255, 0.4));
    transform: translateY(-3px);
    box-shadow: var(--shadow-glass);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
}

.contact-item.clickable:hover .contact-icon {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

.contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: var(--radius-lg);
    flex-shrink: 0;
    box-shadow: var(--shadow-md);
}

.contact-icon i {
    color: white;
    font-size: 1.25rem;
}

.contact-icon i.fab.fa-whatsapp {
    font-size: 1.5rem;
}

.contact-details h4 {
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.contact-details p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Newsletter Section */
.newsletter {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    border-top: 2px solid var(--primary-dark);
    position: relative;
}

.newsletter::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.95) 0%, rgba(99, 102, 241, 0.9) 100%);
    z-index: 1;
}

.newsletter .container {
    position: relative;
    z-index: 2;
}

.newsletter-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.newsletter-text h2 {
    font-size: var(--font-size-3xl);
    font-weight: 800;
    color: white;
    margin-bottom: 1rem;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.newsletter-text p {
    font-size: var(--font-size-lg);
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.newsletter-benefits {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.benefit {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 500;
}

.benefit i {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    width: 1.5rem;
    text-align: center;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem;
    border-radius: 50%;
}

.newsletter-form {
    background: white;
    padding: 2.5rem;
    border-radius: var(--radius-xl);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.15), 0 10px 10px -5px rgba(0, 0, 0, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.newsletter-input-group {
    margin-bottom: 1.5rem;
}

.input-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.newsletter-form .form-group {
    margin-bottom: 0;
}

.newsletter-form input,
.newsletter-form select {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--border);
    border-radius: var(--radius-md);
    font-size: var(--font-size-base);
    font-family: inherit;
    background: var(--bg-primary);
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.newsletter-form input:focus,
.newsletter-form select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.newsletter-form select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 1rem center;
    background-repeat: no-repeat;
    background-size: 1rem;
    padding-right: 3rem;
}

.newsletter-form .btn {
    width: 100%;
    margin-bottom: 1rem;
    justify-content: center;
}

.newsletter-privacy {
    text-align: center;
    color: var(--text-muted);
    line-height: 1.4;
}

.newsletter-privacy i {
    color: var(--success);
    margin-right: 0.5rem;
}

/* Newsletter Success State */
#newsletterSuccessState .success-content {
    text-align: center;
    padding: 2rem 0;
}

#newsletterSuccessState .success-icon {
    font-size: 3rem;
    color: var(--success);
    margin-bottom: 1rem;
}

#newsletterSuccessState h3 {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

#newsletterSuccessState p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* Footer */
.footer {
    background: var(--text-primary);
    color: white;
    padding: 3rem 0 1.5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-brand h3 {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-brand p {
    opacity: 0.8;
    line-height: 1.6;
}

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

.footer-column h4 {
    font-size: var(--font-size-lg);
    font-weight: 600;
    margin-bottom: 1rem;
}

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

.footer-column li {
    margin-bottom: 0.5rem;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 0.25rem 0;
    border-radius: var(--radius-md);
    display: inline-block;
    width: 100%;
}

.footer-column a:hover {
    color: white;
    background: rgba(255, 255, 255, 0.1);
    padding-left: 0.5rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    text-align: center;
    opacity: 0.6;
}

/* Modal Styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000; /* Increased z-index */
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 1rem;
}

.modal.show {
    opacity: 1;
    visibility: visible;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    cursor: pointer;
}

.modal-content {
    background: var(--bg-primary);
    border-radius: var(--radius-xl);
    max-width: 1000px;
    width: 95%;
    max-height: 85vh; /* Reduced to eliminate scrolling */
    overflow-y: auto;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.modal.show .modal-content {
    transform: scale(1);
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem 0; /* Reduced padding for tighter layout */
    margin-bottom: 0.5rem; /* Reduced margin */
}

.modal-header h2 {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: var(--text-primary);
}

.modal-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    background: var(--bg-tertiary);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: var(--border);
}

.modal-close i {
    color: var(--text-secondary);
}

.modal-body {
    padding: 0 1.5rem 1rem; /* Reduced padding for tighter layout */
    flex: 1;
    overflow-y: auto;
    position: relative;
}

.modal-body p {
    color: var(--text-secondary);
    margin-bottom: 0.5rem; /* Reduced margin for tighter layout */
    line-height: 1.4; /* Tighter line height */
    font-size: var(--font-size-sm);
}

/* Form Styles */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

/* Consultation Form Optimizations */
.modal-content .form-grid {
    gap: 1rem;
    margin-bottom: 1rem;
    grid-template-columns: 1fr 1fr; /* 2 columns on desktop for better balance */
}

/* Form row for side-by-side fields */
.modal-content .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.modal-content .form-group {
    margin-bottom: 0.75rem; /* Better spacing for readability */
}

.modal-content .form-group label {
    margin-bottom: 0.5rem; /* Better label spacing */
    font-size: var(--font-size-sm); /* Readable label font */
    font-weight: 600;
    color: var(--text-primary);
}

.modal-content .form-group input,
.modal-content .form-group select,
.modal-content .form-group textarea {
    padding: 0.75rem 1rem; /* Better touch targets */
    font-size: var(--font-size-sm);
    border: 2px solid var(--border);
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
    width: 100%;
}

.modal-content .form-group input:focus,
.modal-content .form-group select:focus,
.modal-content .form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

/* Better textarea sizing */
.modal-content textarea {
    min-height: 100px;
    resize: vertical;
}

/* Character counter styling */
.modal-content .char-counter {
    text-align: right;
    font-size: var(--font-size-xs);
    color: var(--text-muted);
    margin-top: 0.25rem;
}

/* Helper text styling */
.modal-content .helper-text {
    font-size: var(--font-size-xs);
    color: var(--text-muted);
    margin-top: 0.25rem;
    line-height: 1.4;
}

/* Full width for textarea and specific fields */
.modal-content .form-group.full-width {
    grid-column: 1 / -1;
}

/* Two-column fields for better space usage */
.modal-content .form-group.half-width {
    grid-column: span 2;
}

/* Modal body padding is handled by individual rules above */

/* Clean modal content - no background image */
.modal-content {
    background: var(--bg-primary);
}

.modal-body {
    position: relative;
}

.modal-body > * {
    position: relative;
    z-index: 1;
}

/* Tablet Modal Styles */
@media (max-width: 1024px) and (min-width: 769px) {
    .modal-content .form-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
    
    .modal-content .form-row {
        grid-template-columns: 1fr 1fr;
    }
}

/* Mobile Modal Fixes */
@media (max-width: 768px) {
    .modal {
        z-index: 10001; /* Even higher z-index for mobile */
        padding: 0.5rem;
        align-items: flex-start; /* Align to top on mobile */
        padding-top: 1rem; /* Reduced padding for better access */
    }
    
    .modal-content {
        max-height: calc(100vh - 1rem); /* Reduced height for better fit */
        width: 100%;
        margin: 0;
        border-radius: var(--radius-lg); /* Smaller radius on mobile */
        overflow-y: auto; /* Allow scrolling within modal */
        display: flex;
        flex-direction: column;
    }
    
    .modal-header {
        padding: 1rem 1.5rem 0.5rem; /* Reduced bottom padding */
        position: sticky;
        top: 0;
        background: var(--bg-primary);
        z-index: 2;
        border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    }
    
    .modal-body {
        padding: 0.5rem 1.5rem 1.5rem; /* Reduced top padding */
        position: relative;
        z-index: 1;
    }
    
    /* Clean mobile modal */
    .modal-content {
        background: var(--bg-primary) !important;
    }
    
    /* Ensure form fields are accessible */
    .modal-body input,
    .modal-body textarea,
    .modal-body select,
    .modal-body button {
        position: relative;
        z-index: 3;
        pointer-events: auto;
        touch-action: manipulation;
    }
    
    /* Mobile submit button - clean and centered */
    .modal-content .btn-primary,
    .modal-content button[type="submit"],
    .modal-content #submitBtn {
        margin: 1.5rem auto 1rem auto; /* Added bottom margin */
        padding: 1rem 2rem;
        width: 90%; /* Slightly smaller for better mobile UX */
        max-width: 300px;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 1.1rem;
        font-weight: 600;
        border-radius: 8px;
        background: var(--primary);
        color: white;
        border: none;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        min-height: 50px;
        cursor: pointer;
        transition: all 0.3s ease;
    }
    
    .modal-content button[type="submit"]:hover {
        background: var(--primary-dark);
        transform: translateY(-1px);
        box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
    }
    
    /* Clean mobile form spacing */
    .modal-content .privacy-note {
        margin: 1rem 0;
        text-align: center;
        font-size: var(--font-size-xs);
        color: var(--text-muted);
        line-height: 1.4;
    }
    
    /* Ensure form layout works on mobile */
    .modal-content form {
        display: block;
    }
    
    .modal-content .form-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .modal-content .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .modal-content .form-group {
        margin-bottom: 1rem;
    }
    
    /* Modal body padding for mobile */
    .modal-body {
        padding-bottom: 2rem !important;
    }
    
    /* Prevent any content from showing through */
    body.modal-open {
        overflow: hidden !important;
        position: fixed !important;
        width: 100% !important;
    }
}

/* Desktop submit button styles - centered and properly sized */
@media (min-width: 769px) {
    .modal-content button[type="submit"] {
        background: var(--primary);
        color: white;
        border: none;
        border-radius: 8px;
        padding: 1rem 2rem;
        font-size: 1.1rem;
        font-weight: 600;
        width: auto;
        max-width: 300px;
        margin: 1.5rem auto 0 auto; /* Center aligned */
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        cursor: pointer;
        transition: all 0.3s ease;
        display: block;
        text-align: center;
    }
    
    .modal-content button[type="submit"]:hover {
        background: var(--primary-dark);
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    }
}

/* Clean submit button base styles - removed conflicting rules */

.form-column {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.form-group {
    margin-bottom: 0.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: var(--font-size-sm);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid var(--border);
    border-radius: var(--radius-md);
    font-size: var(--font-size-sm);
    font-family: inherit;
    background: var(--bg-primary);
    color: var(--text-primary);
    transition: all 0.3s ease;
    line-height: 1.5;
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 0.75rem center;
    background-repeat: no-repeat;
    background-size: 1rem;
    padding-right: 2.5rem;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.form-group input.error,
.form-group textarea.error,
.form-group select.error {
    border-color: var(--error);
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 3rem;
    max-height: 4rem;
}

.char-counter {
    text-align: right;
    font-size: var(--font-size-xs);
    color: var(--text-muted);
    margin-top: 0.25rem;
}

.helper-text {
    font-size: var(--font-size-xs);
    color: var(--text-muted);
    margin-top: 0.25rem;
    line-height: 1.4;
}

.privacy-note {
    font-size: var(--font-size-xs);
    color: var(--text-muted);
    text-align: center;
    margin: 1rem 0;
    line-height: 1.4;
}

.secondary-cta {
    text-align: center;
    margin-top: 1rem;
}

.schedule-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

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

/* Success State */
.success-content {
    text-align: center;
    padding: 2rem 0;
}

.success-icon {
    font-size: 3rem;
    color: var(--success);
    margin-bottom: 1rem;
}

.success-content h3 {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.success-content p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.success-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Button Loading State */
.btn-loading {
    display: none;
}

.btn.loading .btn-text {
    display: none;
}

.btn.loading .btn-loading {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* Floating Consultation Button */
.floating-consultation {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1000;
}

.floating-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: var(--radius-lg);
    padding: 1rem 1.5rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: var(--shadow-xl);
    transition: all 0.3s ease;
}

.floating-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.floating-btn i {
    font-size: 1.25rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content,
    .about-intro,
    .about-details,
    .newsletter-content {
        grid-template-columns: 1fr;
    }
    
    /* Tablet form layout - 3 columns */
    .modal-content .form-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .about-intro {
        margin-bottom: 3rem;
        min-height: auto;
    }
    
    .about-text {
        padding: 2rem;
        border-radius: var(--radius-xl);
    }
    
    .about-image {
        border-radius: var(--radius-xl);
        order: -1;
    }
    
    .hero-image {
        order: -1;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
    
    .newsletter-benefits {
        justify-content: center;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 3rem 0;
        --font-size-5xl: 2.5rem;
        --font-size-4xl: 2rem;
        --font-size-3xl: 1.5rem;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    /* Enhanced Mobile Navigation */
    .navbar {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        border-bottom: 1px solid var(--border-light);
        z-index: 1000;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(15px);
        flex-direction: column;
        padding: 2rem;
        box-shadow: var(--shadow-xl);
        transform: translateY(-100vh);
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        gap: 1.5rem;
        margin-left: 0;
        border-bottom: 1px solid var(--border-light);
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-toggle {
        display: flex;
        z-index: 1001;
        position: relative;
    }
    
    .nav-link {
        font-size: var(--font-size-lg);
        padding: 0.75rem 0;
        border-bottom: 1px solid var(--border-light);
        width: 100%;
        text-align: center;
        transition: all 0.3s ease;
    }
    
    .nav-link:last-child {
        border-bottom: none;
    }
    
    .nav-link:hover {
        background: var(--bg-tertiary);
        color: var(--primary);
        transform: translateX(5px);
    }
    
    .hero {
        padding: 8rem 0 3rem;
        text-align: center;
    }
    
    .hero-content {
        gap: 2rem;
    }
    
    .hero-title {
        font-size: var(--font-size-4xl);
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: var(--font-size-lg);
        line-height: 1.5;
    }
    
    .hero-stats {
        justify-content: center;
        gap: 1.5rem;
        flex-wrap: wrap;
    }
    
    .stat {
        min-width: 120px;
        padding: 1rem;
    }
    
    .stat-number {
        font-size: var(--font-size-2xl);
    }
    
    .hero-cta {
        justify-content: center;
        gap: 1rem;
        flex-direction: column;
        align-items: center;
    }
    
    .btn-hero-primary,
    .btn-hero-secondary {
        width: 100%;
        max-width: 280px;
        padding: 1rem 1.5rem;
        justify-content: center;
    }
    
    /* Mobile Service Cards */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-card {
        padding: 2rem 1.5rem;
        margin: 0 0.5rem;
    }
    
    .service-icon {
        width: 3.5rem;
        height: 3.5rem;
        margin-bottom: 1rem;
    }
    
    /* Mobile Contact Section - Optimized Card Layout */
    .contact {
        padding: 2.5rem 0;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        max-width: 350px;
        margin: 0 auto;
    }
    
    .contact-item {
        background: rgba(79, 70, 229, 0.05);
        padding: 1.5rem;
        border-radius: var(--radius-lg);
        border: 1px solid rgba(79, 70, 229, 0.1);
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        gap: 1rem;
        text-decoration: none;
        color: inherit;
    }
    
    .contact-item:hover,
    .contact-item.clickable:hover {
        background: rgba(79, 70, 229, 0.1);
        border-color: rgba(79, 70, 229, 0.3);
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(79, 70, 229, 0.15);
    }
    
    .contact-icon {
        background: var(--primary);
        color: white;
        width: 50px;
        height: 50px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }
    
    .contact-icon i {
        font-size: 1.25rem;
    }
    
    .contact-details {
        flex: 1;
        text-align: left;
    }
    
    .contact-details h4 {
        font-size: var(--font-size-md);
        font-weight: 600;
        margin-bottom: 0.25rem;
        color: var(--primary);
    }
    
    .contact-details p {
        font-size: var(--font-size-sm);
        color: var(--text-secondary);
        margin: 0;
        line-height: 1.4;
    }
    
    /* Special styling for WhatsApp */
    .contact-item .contact-icon .fa-whatsapp {
        font-size: 1.5rem;
    }
    
    .contact-item.clickable {
        padding: 1.5rem;
        margin: 0;
        border-radius: var(--radius-lg);
        background: var(--bg-secondary);
    }
    
    /* Mobile Approach Section */
    .approach-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .approach-item {
        padding: 1.5rem;
        text-align: center;
    }
    
    /* Mobile Animation Adjustments */
    .fade-in,
    .slide-in-left,
    .slide-in-right,
    .scale-in,
    .rotate-in {
        transform: translateY(30px);
        transition-duration: 1s;
    }
    
    .slide-in-left {
        transform: translateY(30px);
    }
    
    .slide-in-right {
        transform: translateY(30px);
    }
    
    /* Mobile Floating Button - Centered Design */
    .floating-consultation {
        bottom: 1.5rem;
        left: 50%;
        right: auto;
        transform: translateX(-50%);
    }
    
    .floating-btn {
        padding: 0.75rem 1.5rem;
        font-size: var(--font-size-sm);
        border-radius: var(--radius-xl);
        white-space: nowrap;
        min-width: auto;
        width: auto;
        box-shadow: var(--shadow-xl);
    }
    
    .floating-btn span {
        display: inline;
    }
    
    .form-grid,
    .form-row,
    .input-row {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    /* Reset 3-column layout on mobile */
    .modal-content .form-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    
    .form-column {
        gap: 0.75rem;
    }
    
    .newsletter-form {
        padding: 2rem 1.5rem;
    }
    
    .newsletter-benefits {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .success-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .success-actions .btn {
        width: 100%;
        max-width: 200px;
    }
    
    .modal-content {
        margin: 0.5rem;
        max-height: calc(100vh - 1rem);
        max-width: calc(100vw - 1rem);
    }
    
    .modal-header,
    .modal-body {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
    
    .floating-consultation {
        bottom: 1.5rem;
        right: 1rem;
    }
    
    .floating-btn {
        padding: 0.75rem 1rem;
        border-radius: var(--radius-lg);
        font-size: var(--font-size-sm);
    }
    
    .contact-info {
        grid-template-columns: 1fr;
    }
    
    .step {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    :root {
        --font-size-5xl: 2rem;
        --font-size-4xl: 1.75rem;
        --font-size-3xl: 1.5rem;
        --font-size-2xl: 1.25rem;
    }
    
    .container {
        padding: 0 0.75rem;
    }
    
    /* Extra Small Mobile Hero */
    .hero {
        padding: 7rem 0 2rem;
    }
    
    .hero-title {
        font-size: var(--font-size-3xl);
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: var(--font-size-base);
        margin-bottom: 1.5rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        width: 100%;
    }
    
    .btn-hero-primary,
    .btn-hero-secondary {
        width: 100%;
        max-width: none;
        padding: 1rem 1.5rem;
        font-size: var(--font-size-base);
        min-height: 48px; /* Touch-friendly */
        justify-content: center;
        flex: none;
    }
    
    .hero-stats {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .stat {
        padding: 1rem;
        width: 100%;
        max-width: 200px;
        margin: 0 auto;
    }
    
    /* Touch-Friendly Contact Items */
    .contact-item.clickable {
        padding: 1.25rem;
        min-height: 60px;
        border-radius: var(--radius-md);
    }
    
    .contact-icon {
        width: 2.5rem;
        height: 2.5rem;
    }
    
    .contact-icon i {
        font-size: 1.25rem;
    }
    
    /* Enhanced Mobile Service Cards */
    .service-card {
        padding: 2rem 1rem;
        margin: 0;
        transform: none !important; /* Prevent transform issues on mobile */
    }
    
    .service-card:hover {
        transform: translateY(-2px) !important; /* Subtle hover on mobile */
    }
    
    /* Mobile Navigation Enhancements */
    .nav-toggle {
        padding: 0.5rem;
        min-width: 44px;
        min-height: 44px;
        justify-content: center;
        align-items: center;
    }
    
    .nav-toggle span {
        width: 1.25rem;
        height: 2px;
    }
    
    .nav-menu {
        top: 70px;
        padding: 1.5rem 1rem;
    }
    
    .nav-link {
        padding: 1rem 0.5rem;
        font-size: var(--font-size-base);
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Approach Items Mobile */
    .approach-item {
        padding: 1.25rem 1rem;
        text-align: left;
    }
    
    .approach-number {
        font-size: var(--font-size-lg);
        width: 2rem;
        height: 2rem;
        line-height: 2rem;
    }
    
    /* Newsletter Mobile */
    .newsletter-form {
        padding: 1.5rem 1rem;
        margin: 0 0.5rem;
    }
    
    .newsletter-benefits {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    /* Footer Mobile - Optimized Single Column Layout */
    .footer {
        padding: 2.5rem 0 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2.5rem;
    }
    
    .footer-brand {
        order: 1;
        margin-bottom: 1rem;
    }
    
    .footer-brand h3 {
        font-size: var(--font-size-xl);
        margin-bottom: 0.5rem;
    }
    
    .footer-brand p {
        font-size: var(--font-size-sm);
        max-width: 280px;
        margin: 0 auto;
    }
    
    .footer-links {
        order: 2;
        grid-template-columns: 1fr;
        gap: 2rem;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .footer-column {
        background: rgba(255, 255, 255, 0.05);
        padding: 1.5rem;
        border-radius: var(--radius-lg);
        border: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .footer-column h4 {
        font-size: var(--font-size-md);
        margin-bottom: 1rem;
        color: white;
        font-weight: 600;
    }
    
    .footer-column ul {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .footer-column li {
        margin-bottom: 0;
    }
    
    .footer-column a {
        padding: 0.75rem 1rem;
        border-radius: var(--radius-md);
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
        font-size: var(--font-size-sm);
        font-weight: 500;
        transition: all 0.3s ease;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .footer-column a:hover {
        background: rgba(255, 255, 255, 0.15);
        border-color: rgba(255, 255, 255, 0.3);
        color: white;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    }
    
    .footer-bottom {
        order: 3;
        margin-top: 1rem;
        padding-top: 1.5rem;
        font-size: var(--font-size-xs);
        line-height: 1.4;
    }
    
    .footer-social {
        justify-content: center;
        gap: 1rem;
    }
    
    .footer-social a {
        width: 44px;
        height: 44px;
        font-size: var(--font-size-lg);
    }
    
    /* Mobile Floating Button - Centered Design */
    .floating-consultation {
        bottom: 1rem;
        left: 50%;
        right: auto;
        transform: translateX(-50%);
    }
    
    .floating-btn {
        padding: 0.75rem 1.5rem;
        font-size: var(--font-size-sm);
        border-radius: var(--radius-xl);
        min-height: 44px;
        width: auto;
        white-space: nowrap;
        box-shadow: var(--shadow-xl);
    }
    
    /* Reduce Motion on Very Small Screens */
    .fade-in,
    .slide-in-left,
    .slide-in-right,
    .scale-in,
    .rotate-in {
        transform: translateY(20px);
        transition-duration: 0.8s;
    }
    
    /* Modal Mobile */
    .modal-content {
        margin: 0.25rem;
        max-height: calc(100vh - 0.5rem);
    }
    
    .modal-header,
    .modal-body {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .form-grid,
    .form-row {
        gap: 1rem;
    }
    
    .form-column {
        gap: 0.5rem;
    }
    
    .about-text {
        padding: 1.5rem;
    }
}
    
    .btn-large {
        padding: 0.875rem 1.5rem;
    }
    
    .modal-header h2 {
        font-size: var(--font-size-xl);
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Focus styles for keyboard navigation */
.btn:focus-visible,
.nav-link:focus-visible,
input:focus,
textarea:focus,
select:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* Remove default focus outline for mouse users but keep for keyboard users */
.btn:focus:not(:focus-visible),
.nav-link:focus:not(:focus-visible) {
    outline: none;
}

/* Enhanced Hero CTA Buttons */
.btn-hero-primary,
.btn-hero-secondary {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.75rem;
    border-radius: var(--radius-lg);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-lg);
    min-width: 200px;
    max-width: 250px;
    justify-content: flex-start;
    flex: 1;
}

.btn-hero-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    border: none;
}

.btn-hero-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 40px -12px rgba(79, 70, 229, 0.35);
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
}

.btn-hero-secondary {
    background: white;
    color: var(--text-primary);
    border: 2px solid var(--border);
}

.btn-hero-secondary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
    background: rgba(79, 70, 229, 0.1);
    border-color: var(--primary);
}

.btn-hero-primary i,
.btn-hero-secondary i {
    font-size: 1.25rem;
    flex-shrink: 0;
}

.btn-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
}

.btn-text strong {
    font-size: 1rem;
    line-height: 1.2;
}

.btn-text small {
    font-size: 0.875rem;
    opacity: 0.8;
    font-weight: 400;
    line-height: 1.2;
}

/* Hero CTA styles defined above */

/* Enhanced nav-link interactions handled above */

/* Print styles */
@media print {
    .navbar,
    .floating-consultation,
    .modal {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    .hero {
        padding: 2rem 0;
        margin-top: 0;
    }
    
    section {
        padding: 1rem 0;
        break-inside: avoid;
    }
}

/* Toast Notification */
.toast-notification {
    position: fixed;
    top: 2rem;
    right: 2rem;
    background: var(--success);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    z-index: 10000;
    transform: translateX(400px);
    opacity: 0;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 500;
    max-width: 400px;
}

.toast-notification.show {
    transform: translateX(0);
    opacity: 1;
}

/* Consistent hover effects for About Us card headings */
.credential-item:hover h4,
.expertise-item:hover h4 {
    color: var(--primary);
}

/* Policy Modals */
.policy-modal {
    z-index: 10002;
}

.policy-modal-content {
    max-width: 800px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
}

.policy-modal-body {
    padding: 1.5rem 2rem 2rem;
    max-height: calc(90vh - 120px);
    overflow-y: auto;
}

.policy-content {
    line-height: 1.6;
    color: var(--text-primary);
}

.policy-content h3 {
    color: var(--primary);
    margin: 2rem 0 1rem 0;
    font-size: 1.2rem;
    font-weight: 600;
}

.policy-content p {
    margin-bottom: 1rem;
}

.policy-content ul {
    margin: 1rem 0 1.5rem 1.5rem;
    padding: 0;
}

.policy-content li {
    margin-bottom: 0.5rem;
    list-style-type: disc;
}

.policy-content strong {
    color: var(--primary);
    font-weight: 600;
}

/* Enhanced close button styling */
.policy-modal .close-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.policy-modal .close-btn:hover {
    background-color: var(--bg-secondary);
    color: var(--primary);
    transform: scale(1.1);
}

.policy-modal .close-btn:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* Mobile policy modal adjustments */
@media (max-width: 768px) {
    .policy-modal-content {
        width: 95%;
        margin: 1rem auto;
        max-height: calc(100vh - 2rem);
    }
    
    .policy-modal-body {
        padding: 1rem 1.5rem 1.5rem;
        max-height: calc(100vh - 140px);
    }
    
    .policy-content h3 {
        font-size: 1.1rem;
        margin: 1.5rem 0 0.75rem 0;
    }
}

/* Service Card Highlight Effect */
.service-card.highlighted {
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(79, 70, 229, 0.3);
    border: 2px solid var(--primary);
    transition: all 0.3s ease;
}

.service-card.highlighted .service-icon {
    transform: scale(1.1);
    color: var(--primary);
}

.service-card.highlighted h3 {
    color: var(--primary);
}

/* Enhanced Floating Pages Animation - Sophisticated Book Effect */
.page-turn-container {
    position: relative;
    overflow: hidden;
    perspective: 1200px;
    perspective-origin: center center;
}

.page-turn-section {
    position: relative;
    transform-style: preserve-3d;
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
    will-change: transform;
    backface-visibility: hidden;
}

/* Floating States - Multi-directional Movement */
.page-turn-section.floating {
    animation: gentleFloat 6s ease-in-out infinite;
    transform: translateZ(20px) rotateY(-1deg) rotateX(1deg);
    box-shadow: 
        0 15px 35px rgba(0, 0, 0, 0.1),
        0 5px 15px rgba(0, 0, 0, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.page-turn-section.lifting {
    transform: translateZ(40px) rotateY(-3deg) rotateX(2deg) translateY(-10px);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.15),
        0 10px 30px rgba(0, 0, 0, 0.1),
        inset 0 2px 0 rgba(255, 255, 255, 0.2);
    z-index: 15;
}

.page-turn-section.settling {
    transform: translateZ(30px) rotateY(-2deg) rotateX(1deg) translateY(-5px);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.12),
        0 8px 25px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    z-index: 12;
}

.page-turn-section.overlapping {
    transform: translateZ(50px) rotateY(-1deg) rotateX(0.5deg) translateY(-15px);
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.2),
        0 15px 35px rgba(0, 0, 0, 0.1),
        inset 0 3px 0 rgba(255, 255, 255, 0.25);
    z-index: 20;
}

/* Enhanced Page Shadows with Multiple Layers */
.page-turn-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: -8px;
    width: 8px;
    height: 100%;
    background: linear-gradient(90deg, 
        rgba(0, 0, 0, 0.15) 0%, 
        rgba(0, 0, 0, 0.08) 30%,
        rgba(0, 0, 0, 0.03) 70%,
        transparent 100%);
    transform: translateZ(-2px);
    opacity: 0;
    transition: all 0.4s ease;
    border-radius: 0 4px 4px 0;
}

.page-turn-section.floating::before,
.page-turn-section.lifting::before,
.page-turn-section.settling::before,
.page-turn-section.overlapping::before {
    opacity: 1;
}

/* Enhanced Page Corners with Realistic Folding */
.page-turn-section::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, 
        rgba(0, 0, 0, 0.12) 0%, 
        rgba(0, 0, 0, 0.06) 50%,
        transparent 100%);
    transform: translateZ(2px);
    opacity: 0;
    transition: all 0.4s ease;
    border-radius: 0 0 0 8px;
}

.page-turn-section.floating::after,
.page-turn-section.lifting::after,
.page-turn-section.settling::after,
.page-turn-section.overlapping::after {
    opacity: 1;
}

/* Gentle Floating Animation */
@keyframes gentleFloat {
    0%, 100% {
        transform: translateZ(20px) rotateY(-1deg) rotateX(1deg) translateY(0px);
    }
    25% {
        transform: translateZ(25px) rotateY(-0.5deg) rotateX(1.5deg) translateY(-2px);
    }
    50% {
        transform: translateZ(20px) rotateY(-1.5deg) rotateX(0.5deg) translateY(-1px);
    }
    75% {
        transform: translateZ(25px) rotateY(-0.8deg) rotateX(1.2deg) translateY(-3px);
    }
}

/* Page Edge Highlights */
.page-turn-section.floating::before,
.page-turn-section.lifting::before,
.page-turn-section.settling::before,
.page-turn-section.overlapping::before {
    box-shadow: 
        inset 0 0 10px rgba(255, 255, 255, 0.1),
        0 0 5px rgba(0, 0, 0, 0.1);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .page-turn-container {
        perspective: 800px;
    }
    
    .page-turn-section.floating {
        animation-duration: 8s;
    }
    
    .page-turn-section.lifting {
        transform: translateZ(30px) rotateY(-2deg) rotateX(1deg) translateY(-8px);
    }
    
    .page-turn-section.settling {
        transform: translateZ(25px) rotateY(-1.5deg) rotateX(0.8deg) translateY(-4px);
    }
    
    .page-turn-section.overlapping {
        transform: translateZ(35px) rotateY(-1deg) rotateX(0.5deg) translateY(-12px);
    }
}
