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

:root {
    /* Color Palette */
    --primary-color: #1e40af;
    --primary-dark: #1e3a8a;
    --secondary-color: #f59e0b;
    --accent-color: #10b981;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --text-white: #ffffff;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --border-color: #e5e7eb;
    --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);
    
    /* Typography */
    --font-family: '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;
    
    /* Spacing */
    --spacing-1: 0.25rem;
    --spacing-2: 0.5rem;
    --spacing-3: 0.75rem;
    --spacing-4: 1rem;
    --spacing-5: 1.25rem;
    --spacing-6: 1.5rem;
    --spacing-8: 2rem;
    --spacing-10: 2.5rem;
    --spacing-12: 3rem;
    --spacing-16: 4rem;
    --spacing-20: 5rem;
    --spacing-24: 6rem;
    
    /* Border Radius */
    --radius-sm: 0.25rem;
    --radius-md: 0.375rem;
    --radius-lg: 0.5rem;
    --radius-xl: 0.75rem;
    --radius-2xl: 1rem;
    --radius-full: 9999px;
    
    /* Transitions */
    --transition-fast: 150ms ease-in-out;
    --transition-normal: 300ms ease-in-out;
    --transition-slow: 500ms ease-in-out;
}

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

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
    overflow-x: hidden;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-4);
}

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

h1 { font-size: var(--font-size-4xl); }
h2 { font-size: var(--font-size-3xl); }
h3 { font-size: var(--font-size-2xl); }
h4 { font-size: var(--font-size-xl); }
h5 { font-size: var(--font-size-lg); }
h6 { font-size: var(--font-size-base); }

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

/* Buttons */
.btn-primary, .btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-2);
    padding: var(--spacing-3) var(--spacing-6);
    border-radius: var(--radius-lg);
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-normal);
    border: 2px solid transparent;
    cursor: pointer;
    font-size: var(--font-size-base);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--text-white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, var(--primary-dark), #1e3a8a);
}

/* Form Buttons Container */
.form-buttons {
    display: flex;
    gap: var(--spacing-4);
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

.form-buttons .btn-primary,
.form-buttons .btn-whatsapp {
    flex: 1;
    min-width: 200px;
    max-width: 250px;
}

/* WhatsApp Button */
.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-2);
    padding: var(--spacing-3) var(--spacing-6);
    border-radius: var(--radius-lg);
    background: #25D366;
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: var(--font-size-base);
    transition: all var(--transition-fast);
    box-shadow: var(--shadow-md);
    border: none;
    cursor: pointer;
    text-align: center;
}

/* Hero Section WhatsApp Button */
.hero-buttons .btn-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-2);
    padding: var(--spacing-3) var(--spacing-6);
    border-radius: var(--radius-lg);
    background: #25D366;
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: var(--font-size-base);
    transition: all var(--transition-fast);
    box-shadow: var(--shadow-md);
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn-whatsapp:hover {
    background: #128C7E;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: white;
    text-decoration: none;
}

.btn-whatsapp i {
    font-size: 1.2em;
}

/* Form Messages Styling */
.loading-message,
.success-message,
.error-message {
    padding: var(--spacing-4);
    border-radius: var(--radius-lg);
    margin-top: var(--spacing-4);
    display: flex;
    align-items: center;
    gap: var(--spacing-2);
    font-weight: 500;
}

.loading-message {
    background: #e3f2fd;
    color: #1976d2;
    border: 1px solid #bbdefb;
}

.success-message {
    background: #e8f5e8;
    color: #2e7d32;
    border: 1px solid #c8e6c9;
}

.error-message {
    background: #ffebee;
    color: #c62828;
    border: 1px solid #ffcdd2;
}

.loading-message i,
.success-message i,
.error-message i {
    font-size: 1.1em;
}

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

/* WhatsApp Button with Green Color */
.btn-secondary.btn-whatsapp {
    background: #25D366 !important;
    color: white !important;
    border-color: #25D366 !important;
    box-shadow: var(--shadow-md);
}

.btn-secondary.btn-whatsapp:hover {
    background: #128C7E !important;
    border-color: #128C7E !important;
    color: white !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

/* 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-color);
    z-index: 1000;
    transition: all var(--transition-normal);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-4);
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    position: relative;
    width: 100%;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-3);
    transition: transform var(--transition-normal);
    padding: var(--spacing-2) 0;
    flex-shrink: 0;
    z-index: 1002;
    position: relative;
}

.nav-logo:hover {
    transform: scale(1.02);
}

.logo-img {
    width: 75px;
    height: 75px;
    object-fit: contain;
    object-position: center;
    transition: all var(--transition-normal);
    flex-shrink: 0;
}

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

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--spacing-10);
    transition: all var(--transition-normal);
    flex: 1;
    justify-content: flex-end;
}

.nav-menu.active {
    display: flex;
}

.nav-link {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: color var(--transition-fast);
    position: relative;
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

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

.nav-link:focus,
.nav-link:active,
.nav-link:focus-visible {
    outline: none;
    background: none;
    box-shadow: none;
    border: none;
    -webkit-tap-highlight-color: transparent;
    -webkit-focus-ring-color: transparent;
}

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

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


.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
    padding: var(--spacing-2);
    border-radius: var(--radius-md);
    transition: all var(--transition-normal);
    z-index: 1002;
    position: relative;
}

.hamburger:hover {
    background: var(--bg-light);
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    transition: all var(--transition-normal);
    border-radius: var(--radius-sm);
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-4);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-16);
    align-items: center;
}

.hero-content {
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-size: var(--font-size-5xl);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: var(--spacing-6);
    color: var(--text-dark);
}

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

.highlight::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--secondary-color);
    border-radius: var(--radius-sm);
}

.hero-subtitle {
    font-size: var(--font-size-xl);
    color: var(--text-light);
    margin-bottom: var(--spacing-8);
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-4);
    flex-wrap: wrap;
}


.hero-image {
    display: flex;
    justify-content: center;
    animation: fadeInRight 1s ease-out;
}

.hero-card {
    background: var(--bg-white);
    padding: var(--spacing-8);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-xl);
    max-width: 400px;
    width: 100%;
}

.card-header {
    display: flex;
    align-items: center;
    gap: var(--spacing-3);
    margin-bottom: var(--spacing-6);
    padding-bottom: var(--spacing-4);
    border-bottom: 2px solid var(--border-color);
}

.card-header i {
    font-size: var(--font-size-2xl);
    color: var(--primary-color);
}

.card-header h3 {
    margin: 0;
    color: var(--text-dark);
}

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

.card-features li {
    display: flex;
    align-items: center;
    gap: var(--spacing-3);
    padding: var(--spacing-3) 0;
    color: var(--text-light);
    font-weight: 500;
}

.card-features i {
    color: var(--accent-color);
    font-size: var(--font-size-lg);
}

/* Services Overview */
.services-overview {
    padding: var(--spacing-20) 0;
    background: var(--bg-white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-8);
}

.service-card {
    background: var(--bg-white);
    padding: var(--spacing-8);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-lg);
    text-align: center;
    transition: all var(--transition-normal);
    border: 1px solid var(--border-color);
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.service-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-2xl);
    border-color: var(--primary-color);
    background: linear-gradient(135deg, var(--bg-white), rgba(30, 64, 175, 0.02));
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s;
}

.service-card:hover::before {
    left: 100%;
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: var(--radius-2xl);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-6);
    transition: all var(--transition-normal);
    position: relative;
    box-shadow: var(--shadow-md);
}

.service-icon::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: var(--radius-2xl);
    z-index: -1;
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.service-card:hover .service-icon {
    transform: scale(1.15) rotate(5deg);
    box-shadow: var(--shadow-xl);
}

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

.service-icon i {
    font-size: var(--font-size-2xl);
    color: var(--text-white);
}

.service-card h3 {
    color: var(--text-dark);
    margin-bottom: var(--spacing-4);
    font-size: var(--font-size-xl);
    font-weight: 700;
    line-height: 1.3;
    position: relative;
}

.service-card h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: var(--radius-full);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.service-card:hover h3::after {
    opacity: 1;
}

.service-card p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: var(--font-size-base);
    margin-bottom: 0;
    font-weight: 400;
}

/* About Section */
.about {
    padding: var(--spacing-20) 0;
    background: var(--bg-light);
}

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

.about-text h2 {
    color: var(--primary-color);
    font-size: var(--font-size-2xl);
    margin-bottom: var(--spacing-2);
}

.about-text h3 {
    color: var(--text-dark);
    font-size: var(--font-size-xl);
    margin-bottom: var(--spacing-4);
}

.about-text p {
    font-size: var(--font-size-base);
    line-height: 1.6;
    margin-bottom: var(--spacing-6);
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-6);
    max-width: 100%;
    margin: var(--spacing-8) auto;
    justify-content: center;
    width: 100%;
}

.about-stats .stat-number {
    color: var(--primary-color) !important;
    font-size: var(--font-size-3xl) !important;
    font-weight: 900 !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    line-height: 1;
}

.about-stats .stat-label {
    color: #333 !important;
    font-size: var(--font-size-sm) !important;
    font-weight: 600 !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: var(--spacing-2);
}

.stat {
    text-align: center;
    padding: var(--spacing-6);
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: var(--radius-xl);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 120px;
    border: 1px solid rgba(59, 130, 246, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), #3b82f6);
}

.stat:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.stat-number {
    display: block;
    font-size: var(--font-size-5xl);
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: var(--spacing-3);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    line-height: 1;
    position: relative;
    z-index: 1;
}

.stat-label {
    font-size: var(--font-size-base);
    color: #333 !important;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.2;
    white-space: nowrap;
    word-wrap: normal;
    position: relative;
    z-index: 1;
}

.about-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-xl);
    transition: transform var(--transition-normal);
}

.about-image img:hover {
    transform: scale(1.02);
}

/* Services Section */
.services {
    padding: var(--spacing-20) 0;
    background: var(--bg-white);
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-16);
}

.section-header h2 {
    color: var(--primary-color);
    font-size: var(--font-size-4xl);
    margin-bottom: var(--spacing-4);
}

.section-header h3 {
    color: var(--text-dark);
    font-size: var(--font-size-2xl);
    margin-bottom: var(--spacing-4);
}

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

.services-grid-detailed {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-8);
}

.service-item {
    background: var(--bg-white);
    padding: var(--spacing-8);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transition: transform var(--transition-normal);
}

.service-item:hover::before {
    transform: scaleX(1);
}

.service-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.service-item .service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-6);
    transition: all var(--transition-normal);
}

.service-item:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-item .service-icon i {
    font-size: var(--font-size-xl);
    color: var(--text-white);
}

.service-item h4 {
    color: var(--text-dark);
    font-size: var(--font-size-xl);
    margin-bottom: var(--spacing-4);
}

.service-item p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Why Choose Us Section */
.why-choose-us {
    padding: var(--spacing-20) 0;
    background: var(--bg-light);
}

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

.why-text h2 {
    color: var(--primary-color);
    font-size: var(--font-size-3xl);
    margin-bottom: var(--spacing-4);
}

.why-text h3 {
    color: var(--text-dark);
    font-size: var(--font-size-2xl);
    margin-bottom: var(--spacing-6);
}

.why-text p {
    font-size: var(--font-size-lg);
    line-height: 1.7;
    margin-bottom: var(--spacing-8);
}

.progress-section {
    background: var(--bg-white);
    padding: var(--spacing-8);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-md);
}

.progress-item {
    margin-bottom: var(--spacing-6);
}

.progress-item:last-child {
    margin-bottom: 0;
}

.progress-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-2);
    font-weight: 600;
    color: var(--text-dark);
}

.progress-bar {
    height: 8px;
    background: var(--border-color);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: var(--radius-full);
    transition: width 2s ease-in-out;
}

.why-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-xl);
    transition: transform var(--transition-normal);
}

.why-image img:hover {
    transform: scale(1.02);
}

/* CTA Section removed */

/* Contact Section */
.contact {
    padding: var(--spacing-20) 0;
    background: var(--bg-white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-16);
}

.contact-form {
    background: var(--bg-light);
    padding: var(--spacing-8);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-md);
}

.contact-form h2 {
    color: var(--text-dark);
    margin-bottom: var(--spacing-2);
}

.contact-form p {
    color: var(--text-light);
    margin-bottom: var(--spacing-6);
}

.required {
    color: #ef4444;
}

.form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-6);
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: var(--spacing-2);
}

.form-group input,
.form-group textarea {
    padding: var(--spacing-4);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-lg);
    font-size: var(--font-size-base);
    transition: border-color var(--transition-fast);
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-8);
}

.contact-details h3 {
    color: var(--text-dark);
    margin-bottom: var(--spacing-6);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-4);
    margin-bottom: var(--spacing-6);
}

.contact-item i {
    font-size: var(--font-size-xl);
    color: var(--primary-color);
    margin-top: var(--spacing-1);
}

.contact-item h4 {
    color: var(--text-dark);
    margin-bottom: var(--spacing-1);
    font-size: var(--font-size-lg);
}

.contact-item p {
    color: var(--text-light);
    margin: 0;
}

.contact-item a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.contact-item a:hover {
    color: var(--primary-dark);
}

.map-container {
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.map-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

/* Simple Contact Form Messages */
.form-messages {
    margin-top: 16px;
}

.loading-message {
    background: #3b82f6;
    color: white;
    padding: 16px;
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
}

.success-message {
    background: #10b981;
    color: white;
    padding: 16px;
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
}

.error-message {
    background: #ef4444;
    color: white;
    padding: 16px;
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
}

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

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

.footer-section h3,
.footer-section h4 {
    color: white !important;
    margin-bottom: var(--spacing-4);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Desktop Footer - Address in One Line */
@media (min-width: 769px) {
    /* All contact info in one line on desktop */
    .contact-info-footer p {
        white-space: nowrap !important;
        display: flex !important;
        align-items: center !important;
        gap: 0.5rem !important;
        margin-bottom: 0.5rem !important;
    }
    
    .contact-info-footer p i {
        flex-shrink: 0 !important;
        width: 20px !important;
        text-align: center !important;
    }
    
    /* Ensure address specifically stays in one line */
    .contact-info-footer p:first-child,
    .contact-info-footer p:contains("1037 Coney Island Ave") {
        white-space: nowrap !important;
        overflow: visible !important;
        text-overflow: clip !important;
        min-width: max-content !important;
    }
    
    /* Footer section should be wide enough for address */
    .footer-section:has(.contact-info-footer) {
        min-width: 350px !important;
    }
}

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

.footer-logo-img {
    width: 65px;
    height: 65px;
    object-fit: contain;
    object-position: center;
    transition: all var(--transition-normal);
    flex-shrink: 0;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: var(--spacing-4);
}

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

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

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-section ul li a:hover {
    color: var(--text-white);
}

.social-links {
    display: flex;
    gap: var(--spacing-4);
    margin-top: var(--spacing-4);
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: var(--text-white);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-full);
    text-decoration: none;
    transition: all var(--transition-normal);
}

.social-links a:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.contact-info-footer p {
    display: flex;
    align-items: center;
    gap: var(--spacing-2);
    margin-bottom: var(--spacing-3);
    color: var(--text-white);
    font-size: var(--font-size-base);
    line-height: 1.6;
}

.contact-info-footer p a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.contact-info-footer p a:hover {
    color: #ffffff;
}

.contact-info-footer i {
    color: var(--primary-color);
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-sm);
    flex-shrink: 0;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--spacing-6);
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

/* About and Contact Page Styles */
.about-hero,
.contact-hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--text-white);
    text-align: center;
}

.about-hero h1,
.contact-hero h1 {
    font-size: var(--font-size-4xl);
    font-weight: 800;
    margin-bottom: var(--spacing-6);
    color: var(--text-white);
}

.about-hero p,
.contact-hero p {
    font-size: var(--font-size-xl);
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto;
}

.about-content {
    padding: var(--spacing-20) 0;
    background: var(--bg-white);
}

.about-text {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-text h2 {
    color: var(--primary-color);
    font-size: var(--font-size-2xl);
    margin-bottom: var(--spacing-4);
}

.about-text p {
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--text-light);
    margin-bottom: var(--spacing-4);
}

.contact-content {
    padding: var(--spacing-20) 0;
    background: var(--bg-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-16);
    align-items: start;
}

/* Services Page Specific Styles */
.services-hero {
    position: relative;
    height: 70vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.8), rgba(30, 58, 138, 0.9));
    z-index: 2;
    display: flex;
    align-items: center;
}

.services-hero .hero-content {
    text-align: center;
    color: var(--text-white);
    max-width: 800px;
    margin: 0 auto;
}

.services-hero .hero-title {
    font-size: var(--font-size-5xl);
    font-weight: 800;
    margin-bottom: var(--spacing-6);
    color: var(--text-white);
}

.services-hero .hero-subtitle {
    font-size: var(--font-size-xl);
    margin-bottom: var(--spacing-8);
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: var(--spacing-8);
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    padding: var(--spacing-6);
    border-radius: var(--radius-xl);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-number {
    display: block;
    font-size: var(--font-size-4xl);
    font-weight: 800;
    color: var(--text-white);
    margin-bottom: var(--spacing-2);
}

.stat-label {
    font-size: var(--font-size-sm);
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Service Highlights */
.service-highlights {
    padding: var(--spacing-20) 0;
    background: var(--bg-light);
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-8);
    margin-top: var(--spacing-12);
}

.highlight-card {
    background: var(--bg-white);
    padding: var(--spacing-8);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: all var(--transition-normal);
    border: 1px solid var(--border-color);
}

.highlight-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.highlight-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-6);
    transition: all var(--transition-normal);
}

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

.highlight-icon i {
    font-size: var(--font-size-2xl);
    color: var(--text-white);
}

.highlight-card h3 {
    color: var(--text-dark);
    margin-bottom: var(--spacing-4);
    font-size: var(--font-size-xl);
}

.highlight-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Detailed Services */
.detailed-services {
    padding: var(--spacing-20) 0;
    background: var(--bg-white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-8);
    margin-top: var(--spacing-12);
    justify-items: stretch;
}

.service-card {
    background: var(--bg-white);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: all var(--transition-normal);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: 280px;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.service-image {
    height: 200px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

.service-content {
    padding: var(--spacing-5);
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: flex-start;
}

.service-content .service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-6);
    transition: all var(--transition-normal);
}

.service-card:hover .service-content .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-content .service-icon i {
    font-size: var(--font-size-xl);
    color: var(--text-white);
}

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

.service-content p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: var(--spacing-6);
}

.service-features {
    list-style: none;
    padding: 0;
    flex-grow: 1;
}

.service-features li {
    padding: var(--spacing-2) 0;
    color: var(--text-light);
    position: relative;
    padding-left: var(--spacing-6);
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

/* Why Hire Us Section */
.why-hire-us {
    padding: var(--spacing-20) 0;
    background: var(--bg-light);
}

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

.why-text h2 {
    color: var(--primary-color);
    font-size: var(--font-size-3xl);
    margin-bottom: var(--spacing-4);
}

.why-text p {
    font-size: var(--font-size-lg);
    line-height: 1.7;
    margin-bottom: var(--spacing-8);
    color: var(--text-light);
}

.progress-section {
    background: var(--bg-white);
    padding: var(--spacing-8);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-md);
}

.progress-item {
    margin-bottom: var(--spacing-6);
}

.progress-item:last-child {
    margin-bottom: 0;
}

.progress-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-2);
    font-weight: 600;
    color: var(--text-dark);
}

.progress-bar {
    height: 8px;
    background: var(--border-color);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: var(--radius-full);
    transition: width 2s ease-in-out;
}

.why-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-xl);
    transition: transform var(--transition-normal);
}

.why-image img:hover {
    transform: scale(1.02);
}

/* Services CTA */
.services-cta {
    padding: var(--spacing-20) 0;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--text-white);
    text-align: center;
}

.services-cta h2 {
    font-size: var(--font-size-4xl);
    margin-bottom: var(--spacing-6);
    color: var(--text-white);
}

.services-cta p {
    font-size: var(--font-size-xl);
    margin-bottom: var(--spacing-8);
    color: rgba(255, 255, 255, 0.9);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.services-cta .btn-primary {
    background: var(--text-white);
    color: var(--primary-color);
    font-size: var(--font-size-lg);
    padding: var(--spacing-4) var(--spacing-8);
}

.services-cta .btn-primary:hover {
    background: var(--bg-light);
    transform: translateY(-3px);
}

/* Active Navigation Link */
.nav-link.active {
    color: var(--primary-color);
    position: relative;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-color);
}

/* ===========================================
   COMPREHENSIVE RESPONSIVE DESIGN
   =========================================== */

/* Desktop (1367px and up) */
@media (min-width: 1367px) {
    .container {
        max-width: 1400px;
    }
    
    .hero-title {
        font-size: var(--font-size-5xl);
    }
    
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--spacing-8);
    }
    
    .footer-content {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }
}

/* Laptop (1025px - 1366px) */
@media (max-width: 1366px) and (min-width: 1025px) {
    .container {
        max-width: 1200px;
    }
    
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--spacing-6);
    }
    
    .hero-buttons {
        flex-direction: row;
        gap: var(--spacing-4);
    }
    
}

/* Tablet (768px - 1024px) */
@media (max-width: 1024px) and (min-width: 769px) {
    .container {
        padding: 0 var(--spacing-6);
    }
    
    .hamburger {
        display: flex !important;
    }
    
    .nav-menu {
        gap: var(--spacing-6);
    }
    
    .nav-link {
        font-size: var(--font-size-sm);
        padding: var(--spacing-2) var(--spacing-3);
    }
    
    .hero-title {
        font-size: var(--font-size-4xl);
    }
    
    .hero-subtitle {
        font-size: var(--font-size-xl);
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-6);
        justify-items: stretch;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-8);
        text-align: center;
    }
    
    .why-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-8);
    }
    
    .contact-form-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-8);
    }
    
    .footer-content {
        grid-template-columns: 2fr 1fr 1fr 1fr;
        gap: var(--spacing-6);
    }
    
    .hero-buttons {
        flex-direction: row;
        gap: var(--spacing-4);
        justify-content: center;
    }
}

/* ===========================================
   CRITICAL BREAKPOINT FIX (max-width: 691px)
   =========================================== */
@media (max-width: 691px) {
    /* Base Mobile Settings */
    .container {
        padding: 0 15px;
        max-width: 100%;
        overflow-x: hidden;
    }
    
    /* Prevent horizontal scroll */
    body {
        overflow-x: hidden;
        width: 100%;
    }
    
    /* Navigation - Fixed overlapping issues */
    .navbar {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1000;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        box-shadow: 0 2px 10px rgba(30, 64, 175, 0.1);
        height: 60px; /* Reduced height for small screens */
        width: 100%;
    }
    
    .nav-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px 15px;
        max-width: 100%;
        width: 100%;
    }
    
    .nav-logo {
        display: flex;
        align-items: center;
        gap: 8px;
        z-index: 1002;
        flex-shrink: 0;
    }
    
    .logo-img {
        width: 35px;
        height: 35px;
        flex-shrink: 0;
    }
    
    .logo-text {
        font-size: 14px;
        font-weight: 600;
        white-space: nowrap;
        flex-shrink: 0;
    }
    
    /* Hamburger Menu - Fixed positioning */
    .hamburger {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 25px;
        height: 25px;
        cursor: pointer;
        z-index: 1002;
        position: relative;
        flex-shrink: 0;
    }
    
    .hamburger .bar {
        width: 20px;
        height: 2px;
        background: #000000 !important;
        margin: 2px 0;
        transition: all 0.3s ease;
        border-radius: 1px;
    }
    
    .hamburger.active .bar:nth-child(1) {
        transform: rotate(45deg) translate(4px, 4px);
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: rotate(-45deg) translate(4px, -4px);
    }
    
    /* Mobile Menu */
    .nav-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background: var(--bg-white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: left 0.3s ease;
        z-index: 1001;
        padding: 70px 15px 20px;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-link {
        font-size: 16px;
        padding: 12px 15px;
        width: 100%;
        text-align: center;
        border-bottom: 1px solid var(--border-color);
        margin: 3px 0;
        display: block;
        text-decoration: none;
        color: var(--text-dark);
        transition: all 0.3s ease;
    }
    
    .nav-link:hover {
        background: var(--bg-light);
        color: var(--primary-color);
    }
    
    /* Hero Sections - Fixed overlapping */
    .hero,
    .about-hero,
    .contact-hero,
    .services-hero,
    .tax-hero,
    .licensing-hero,
    .accounting-hero,
    .registration-hero,
    .audit-hero,
    .loan-hero {
        padding: 100px 0 40px; /* Adequate top padding for fixed navbar */
        min-height: 60vh;
        display: flex;
        align-items: center;
        width: 100%;
        overflow-x: hidden;
    }
    
    .hero-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 20px;
        width: 100%;
        max-width: 100%;
    }
    
    .hero-content {
        width: 100%;
        max-width: 100%;
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: var(--font-size-4xl);
        font-weight: 800;
        line-height: 1.1;
        margin-bottom: var(--spacing-6);
        color: var(--text-dark);
    }
    
    .hero-subtitle {
        font-size: var(--font-size-xl);
        font-weight: 500;
        line-height: 1.6;
        margin-bottom: var(--spacing-6);
        color: var(--text-light);
    }
    
    .hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 12px;
        width: 100%;
        align-items: center;
    }
    
    
    .btn-primary,
    .btn-secondary,
    .btn-contact-modern {
        width: 100%;
        max-width: 250px;
        padding: 12px 16px;
        font-size: 14px;
        text-align: center;
        justify-content: center;
        border-radius: 6px;
        transition: all 0.3s ease;
    }
    
    /* Service Grids - Fixed stacking */
    .services-grid,
    .services-grid-detailed,
    .highlights-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 15px;
        margin: 30px 0;
        width: 100%;
        justify-items: stretch;
    }
    
    .service-card,
    .service-item,
    .highlight-card {
        padding: var(--spacing-5);
        margin-bottom: 15px;
        border-radius: var(--radius-lg);
        box-shadow: var(--shadow-md);
        background: var(--bg-white);
        width: 100%;
        height: auto;
    }
    
    .service-card h3,
    .service-item h3,
    .highlight-card h3 {
        font-size: var(--font-size-xl);
        font-weight: 700;
        line-height: 1.3;
        margin-bottom: var(--spacing-4);
        color: var(--text-dark);
    }
    
    .service-card p,
    .service-item p,
    .highlight-card p {
        font-size: var(--font-size-base);
        line-height: 1.7;
        color: var(--text-light);
        font-weight: 400;
    }
    
    /* About Section - Fixed stats stacking */
    .about-content {
        display: flex;
        flex-direction: column;
        gap: var(--spacing-12);
        text-align: center;
        padding: var(--spacing-16) 0;
        width: 100%;
    }
    
    .about-text {
        width: 100%;
        padding: 0 var(--spacing-6);
        margin-bottom: var(--spacing-8);
    }
    
    .about-stats {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: var(--spacing-8);
        margin: var(--spacing-12) 0;
        width: 100%;
        padding: 0 var(--spacing-4);
    }
    
    .stat {
        text-align: center;
        padding: var(--spacing-8);
        background: var(--bg-white);
        border-radius: var(--radius-xl);
        box-shadow: var(--shadow-sm);
        width: 100%;
        height: 140px;
        min-height: 140px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: all var(--transition-normal);
    }
    
    .stat:hover {
        transform: translateY(-4px);
        box-shadow: var(--shadow-lg);
    }
    
    .stat-number {
        font-size: var(--font-size-5xl);
        font-weight: 900;
        color: var(--primary-color);
        display: block;
        margin-bottom: var(--spacing-2);
    }
    
    .stat-label {
        font-size: var(--font-size-base);
        color: var(--text-dark);
        font-weight: 700;
        white-space: nowrap;
        word-wrap: normal;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }
    
    /* Why Choose Us - Fixed layout */
    .why-content {
        display: flex;
        flex-direction: column;
        gap: 25px;
        text-align: center;
        width: 100%;
    }
    
    .why-text {
        width: 100%;
        padding: 0 15px;
    }
    
    .why-image {
        width: 100%;
        margin: 15px 0;
    }
    
    .why-image img {
        width: 100%;
        height: 200px;
        object-fit: cover;
        border-radius: 8px;
    }
    
    /* Contact Forms - Fixed layout */
    .contact-form-content {
        display: flex;
        flex-direction: column;
        gap: 25px;
        width: 100%;
    }
    
    .contact-form-wrapper {
        width: 100%;
        padding: 0 15px;
    }
    
    .contact-form {
        width: 100%;
    }
    
    .form-row {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }
    
    .form-group {
        width: 100%;
    }
    
    .form-group input,
    .form-group textarea {
        width: 100%;
        padding: 12px;
        font-size: 14px;
        border: 2px solid var(--border-color);
        border-radius: 6px;
        transition: border-color 0.3s ease;
        box-sizing: border-box;
    }
    
    .form-group input:focus,
    .form-group textarea:focus {
        outline: none;
        border-color: var(--primary-color);
    }
    
    .btn-primary {
        width: 100%;
        padding: 12px 16px;
        font-size: 14px;
        border-radius: 6px;
    }
    
    /* Contact Info Sidebar */
    .contact-info-section {
        padding: 30px 0;
    }
    
    .contact-info-content {
        display: flex;
        flex-direction: column;
        gap: 25px;
        width: 100%;
    }
    
    .contact-details {
        width: 100%;
        padding: 0 15px;
    }
    
    .contact-items {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }
    
    .contact-item {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 12px;
        background: var(--bg-light);
        border-radius: 6px;
    }
    
    .contact-icon {
        width: 35px;
        height: 35px;
        background: #000000 !important;
        color: white;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        font-size: 14px;
    }
    
    /* Footer - Fixed stacking */
    .footer {
        padding: 30px 0 15px;
    }
    
    .footer-content {
        display: flex;
        flex-direction: column;
        gap: 25px;
        text-align: center;
        width: 100%;
    }
    
    .footer-section {
        width: 100%;
        padding: 0 15px;
    }
    
    .footer-section h4 {
        font-size: 16px;
        margin-bottom: 12px;
        color: var(--text-white);
    }
    
    .footer-section ul {
        list-style: none;
        padding: 0;
    }
    
    .footer-section ul li {
        margin-bottom: 8px;
    }
    
    .footer-section ul li a {
        color: var(--text-white);
        text-decoration: none;
        transition: color 0.3s ease;
        font-size: 14px;
    }
    
    .footer-section ul li a:hover {
        color: var(--text-white);
        opacity: 0.8;
    }
    
    .social-links {
        display: flex;
        justify-content: center;
        gap: 12px;
        margin-top: 15px;
    }
    
    .social-links a {
        width: 35px;
        height: 35px;
        background: var(--bg-light);
        color: var(--text-dark);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        transition: all 0.3s ease;
        font-size: 14px;
    }
    
    .social-links a:hover {
        background: #000000 !important;
        color: white;
        transform: translateY(-2px);
    }
    
    /* Typography - Fixed sizing */
    h1 { 
        font-size: 24px; 
        line-height: 1.3;
        margin-bottom: 15px;
        word-wrap: break-word;
    }
    h2 { 
        font-size: 20px; 
        line-height: 1.4;
        margin-bottom: 12px;
        word-wrap: break-word;
    }
    h3 { 
        font-size: 18px; 
        line-height: 1.4;
        margin-bottom: 12px;
        word-wrap: break-word;
    }
    h4 { 
        font-size: 16px; 
        line-height: 1.4;
        margin-bottom: 8px;
        word-wrap: break-word;
    }
    
    .section-header h2 {
        font-size: 20px;
        text-align: center;
    }
    
    .section-header h3 {
        font-size: 18px;
        text-align: center;
    }
    
    .section-header p {
        font-size: 14px;
        text-align: center;
    }
    
    /* Section Spacing - Fixed overlapping */
    section {
        padding: 30px 0;
        margin: 0;
        width: 100%;
        overflow-x: hidden;
    }
    
    /* All hero sections with proper top spacing */
    .hero,
    .about-hero,
    .contact-hero,
    .services-hero,
    .tax-hero,
    .licensing-hero,
    .accounting-hero,
    .registration-hero,
    .audit-hero,
    .loan-hero {
        padding: 100px 0 40px;
    }
    
    .services-overview,
    .about,
    .services,
    .why-choose-us {
        padding: 40px 0;
    }
    
    .contact-form-section,
    .contact-info-section {
        padding: 30px 0;
    }
    
    /* Image Responsiveness */
    img {
        max-width: 100%;
        height: auto;
        display: block;
    }
    
    .hero-background img,
    .about-image img,
    .why-image img,
    .service-image img {
        width: 100%;
        height: auto;
        object-fit: cover;
        border-radius: 6px;
    }
    
    /* Map Responsiveness */
    .map-wrapper {
        width: 100%;
        height: 250px;
        border-radius: 6px;
        overflow: hidden;
    }
    
    .map-wrapper iframe {
        width: 100%;
        height: 100%;
        border: none;
    }
}

/* ===========================================
   COMPREHENSIVE MOBILE FIXES (max-width: 767px)
   =========================================== */
@media (max-width: 767px) {
    /* Base Mobile Settings */
    .container {
        padding: 0 20px;
        max-width: 100%;
    }
    
    /* Prevent horizontal scroll */
    body {
        overflow-x: hidden;
    }
    
    /* Navigation - Fixed overlapping issues */
    .navbar {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1000;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        box-shadow: 0 2px 10px rgba(30, 64, 175, 0.1);
        height: 70px; /* Fixed navbar height */
    }
    
    .nav-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 15px 20px;
        max-width: 100%;
    }
    
    .nav-logo {
        display: flex;
        align-items: center;
        gap: 10px;
        z-index: 1002;
    }
    
    .logo-img {
        width: 45px;
        height: 45px;
        flex-shrink: 0;
    }
    
    .logo-text {
        font-size: 16px;
        font-weight: 600;
        white-space: nowrap;
    }
    
    /* Hamburger Menu - Fixed positioning */
    .hamburger {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 30px;
        height: 30px;
        cursor: pointer;
        z-index: 1002;
        position: relative;
    }
    
    .hamburger .bar {
        width: 25px;
        height: 3px;
        background: #000000 !important;
        margin: 3px 0;
        transition: all 0.3s ease;
        border-radius: 2px;
    }
    
    .hamburger.active .bar:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }
    
    /* Mobile Menu */
    .nav-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background: var(--bg-white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: left 0.3s ease;
        z-index: 1001;
        padding: 80px 20px 20px;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-link {
        font-size: 18px;
        padding: 15px 20px;
        width: 100%;
        text-align: center;
        border-bottom: 1px solid var(--border-color);
        margin: 5px 0;
        display: block;
        text-decoration: none;
        color: var(--text-dark);
        transition: all 0.3s ease;
    }
    
    .nav-link:hover {
        background: var(--bg-light);
        color: var(--primary-color);
    }
    
    /* Hero Sections - Fixed overlapping */
    .hero {
        padding: 120px 0 60px; /* Increased top padding to account for fixed navbar */
        min-height: 70vh;
        display: flex;
        align-items: center;
    }
    
    .hero-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 30px;
    }
    
    .hero-content {
        width: 100%;
        max-width: 100%;
        padding: 0 20px;
    }
    
    .hero-title {
        font-size: 28px;
        line-height: 1.3;
        margin-bottom: 20px;
        color: var(--text-dark);
    }
    
    .hero-subtitle {
        font-size: 16px;
        line-height: 1.6;
        margin-bottom: 30px;
        color: var(--text-light);
    }
    
    .hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 15px;
        width: 100%;
        align-items: center;
    }
    
    .btn-primary,
    .btn-secondary,
    .btn-contact-modern {
        width: 100%;
        max-width: 280px;
        padding: 15px 20px;
        font-size: 16px;
        text-align: center;
        justify-content: center;
        border-radius: 8px;
        transition: all 0.3s ease;
    }
    
    /* Service Grids - Fixed stacking */
    .services-grid,
    .services-grid-detailed,
    .highlights-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
        margin: 40px 0;
        justify-items: stretch;
    }
    
    .service-card,
    .service-item,
    .highlight-card {
        padding: 25px;
        margin-bottom: 20px;
        border-radius: 12px;
        box-shadow: 0 4px 15px rgba(30, 64, 175, 0.1);
        background: var(--bg-white);
    }
    
    .service-card h3,
    .service-item h3,
    .highlight-card h3 {
        font-size: 20px;
        margin-bottom: 15px;
        color: var(--text-dark);
    }
    
    .service-card p,
    .service-item p,
    .highlight-card p {
        font-size: 14px;
        line-height: 1.6;
        color: var(--text-light);
    }
    
    /* About Section - Fixed stats stacking */
    .about-content {
        display: flex;
        flex-direction: column;
        gap: 30px;
        text-align: center;
        padding: 40px 0;
    }
    
    .about-text {
        width: 100%;
        padding: 0 20px;
    }
    
    .about-stats {
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
        margin: 30px 0;
    }
    
    .stat {
        text-align: center;
        padding: 20px;
        background: var(--bg-light);
        border-radius: 12px;
        width: 100%;
        max-width: 200px;
        height: 110px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        min-height: 110px;
    }
    
    .stat-number {
        font-size: 32px;
        font-weight: 900;
        color: var(--primary-color);
        display: block;
        margin-bottom: 8px;
    }
    
    .stat-label {
        font-size: 14px;
        color: var(--text-dark);
        font-weight: 600;
        white-space: nowrap;
        word-wrap: normal;
    }
    
    /* Why Choose Us - Fixed layout */
    .why-content {
        display: flex;
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
    
    .why-text {
        width: 100%;
        padding: 0 20px;
    }
    
    .why-image {
        width: 100%;
        margin: 20px 0;
    }
    
    .why-image img {
        width: 100%;
        height: 250px;
        object-fit: cover;
        border-radius: 12px;
    }
    
    /* Contact Forms - Fixed layout */
    .contact-form-content {
        display: flex;
        flex-direction: column;
        gap: 30px;
    }
    
    .contact-form-wrapper {
        width: 100%;
        padding: 0 20px;
    }
    
    .contact-form {
        width: 100%;
    }
    
    .form-row {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }
    
    .form-group {
        width: 100%;
    }
    
    .form-group input,
    .form-group textarea {
        width: 100%;
        padding: 15px;
        font-size: 16px;
        border: 2px solid var(--border-color);
        border-radius: 8px;
        transition: border-color 0.3s ease;
    }
    
    .form-group input:focus,
    .form-group textarea:focus {
        outline: none;
        border-color: var(--primary-color);
    }
    
    .btn-primary {
        width: 100%;
        padding: 15px 20px;
        font-size: 16px;
        border-radius: 8px;
    }
    
    /* Contact Info Sidebar */
    .contact-info-section {
        padding: 40px 0;
    }
    
    .contact-info-content {
        display: flex;
        flex-direction: column;
        gap: 30px;
    }
    
    .contact-details {
        width: 100%;
        padding: 0 20px;
    }
    
    .contact-items {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }
    
    .contact-item {
        display: flex;
        align-items: center;
        gap: 15px;
        padding: 15px;
        background: var(--bg-light);
        border-radius: 8px;
    }
    
    .contact-icon {
        width: 40px;
        height: 40px;
        background: #000000 !important;
        color: white;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }
    
    /* Footer - Fixed stacking */
    .footer {
        padding: 40px 0 20px;
    }
    
    .footer-content {
        display: flex;
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
    
    .footer-section {
        width: 100%;
        padding: 0 20px;
    }
    
    .footer-section h4 {
        font-size: 18px;
        margin-bottom: 15px;
        color: var(--text-white);
    }
    
    .footer-section ul {
        list-style: none;
        padding: 0;
    }
    
    .footer-section ul li {
        margin-bottom: 10px;
    }
    
    .footer-section ul li a {
        color: var(--text-white);
        text-decoration: none;
        transition: color 0.3s ease;
    }
    
    .footer-section ul li a:hover {
        color: var(--text-white);
        opacity: 0.8;
    }
    
    .social-links {
        display: flex;
        justify-content: center;
        gap: 15px;
        margin-top: 20px;
    }
    
    .social-links a {
        width: 40px;
        height: 40px;
        background: var(--bg-light);
        color: var(--text-dark);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        transition: all 0.3s ease;
    }
    
    .social-links a:hover {
        background: #000000 !important;
        color: white;
        transform: translateY(-2px);
    }
    
    /* Typography - Fixed sizing */
    h1 { 
        font-size: 28px; 
        line-height: 1.3;
        margin-bottom: 20px;
    }
    h2 { 
        font-size: 24px; 
        line-height: 1.4;
        margin-bottom: 15px;
    }
    h3 { 
        font-size: 20px; 
        line-height: 1.4;
        margin-bottom: 15px;
    }
    h4 { 
        font-size: 18px; 
        line-height: 1.4;
        margin-bottom: 10px;
    }
    
    .section-header h2 {
        font-size: 24px;
        text-align: center;
    }
    
    .section-header h3 {
        font-size: 20px;
        text-align: center;
    }
    
    .section-header p {
        font-size: 16px;
        text-align: center;
    }
    
    /* Section Spacing - Fixed overlapping */
    section {
        padding: 40px 0;
        margin: 0;
    }
    
    /* Hero sections with proper top spacing for fixed navbar */
    .hero,
    .about-hero,
    .contact-hero,
    .services-hero,
    .tax-hero,
    .licensing-hero,
    .accounting-hero,
    .registration-hero,
    .audit-hero,
    .loan-hero {
        padding: 120px 0 60px; /* Extra top padding for fixed navbar */
        min-height: 70vh;
    }
    
    /* Page headers and main sections */
    .services-overview,
    .about,
    .services,
    .why-choose-us {
        padding: 50px 0;
    }
    
    .contact-form-section,
    .contact-info-section {
        padding: 40px 0;
    }
    
    /* Ensure all page headers are visible */
    .page-header {
        padding: 120px 0 40px;
        margin-top: 0;
    }
    
    /* Service page headers */
    .service-hero,
    .tax-hero,
    .licensing-hero,
    .accounting-hero,
    .registration-hero,
    .audit-hero,
    .loan-hero {
        padding: 120px 0 60px;
    }
    
    /* Image Responsiveness */
    img {
        max-width: 100%;
        height: auto;
        display: block;
    }
    
    .hero-background img,
    .about-image img,
    .why-image img,
    .service-image img {
        width: 100%;
        height: auto;
        object-fit: cover;
        border-radius: 8px;
    }
    
    /* Map Responsiveness */
    .map-wrapper {
        width: 100%;
        height: 300px;
        border-radius: 8px;
        overflow: hidden;
    }
    
    .map-wrapper iframe {
        width: 100%;
        height: 100%;
        border: none;
    }
}

/* ===========================================
   SMALL MOBILE FIXES (max-width: 480px)
   =========================================== */
@media (max-width: 480px) {
    /* Base Settings */
    .container {
        padding: 0 15px;
    }
    
    /* Navigation - Smaller screens */
    .nav-container {
        padding: 12px 15px;
    }
    
    .logo-img {
        width: 40px;
        height: 40px;
    }
    
    .logo-text {
        font-size: 14px;
    }
    
    .hamburger {
        width: 25px;
        height: 25px;
    }
    
    .hamburger .bar {
        width: 20px;
        height: 2px;
    }
    
    .nav-link {
        font-size: 16px;
        padding: 12px 15px;
    }
    
    /* Hero Sections - Smaller screens */
    .hero,
    .about-hero,
    .contact-hero,
    .services-hero,
    .tax-hero,
    .licensing-hero,
    .accounting-hero,
    .registration-hero,
    .audit-hero,
    .loan-hero {
        padding: 100px 0 40px; /* Adequate top padding for fixed navbar */
        min-height: 60vh;
    }
    
    .hero-title {
        font-size: 24px;
        line-height: 1.3;
        margin-bottom: 15px;
    }
    
    .hero-subtitle {
        font-size: 14px;
        line-height: 1.5;
        margin-bottom: 25px;
    }
    
    .hero-buttons {
        gap: 12px;
    }
    
    .btn-primary,
    .btn-secondary,
    .btn-contact-modern {
        padding: 12px 16px;
        font-size: 14px;
        max-width: 260px;
    }
    
    /* Service Cards - Smaller screens */
    .service-card,
    .service-item,
    .highlight-card {
        padding: 20px;
        margin-bottom: 15px;
    }
    
    .service-card h3,
    .service-item h3,
    .highlight-card h3 {
        font-size: 18px;
        margin-bottom: 12px;
    }
    
    .service-card p,
    .service-item p,
    .highlight-card p {
        font-size: 13px;
        line-height: 1.5;
    }
    
    /* Stats - Smaller screens */
    .about-stats {
        gap: 15px;
        margin: 25px 0;
    }
    
    .stat {
        padding: 15px;
        max-width: 180px;
    }
    
    .stat-number {
        font-size: 24px;
        margin-bottom: 6px;
    }
    
    .stat-label {
        font-size: 12px;
        white-space: nowrap;
        word-wrap: normal;
    }
    
    /* Contact Forms - Smaller screens */
    .form-group input,
    .form-group textarea {
        padding: 12px;
        font-size: 14px;
    }
    
    .btn-primary {
        padding: 12px 16px;
        font-size: 14px;
    }
    
    /* Contact Info - Smaller screens */
    .contact-item {
        padding: 12px;
        gap: 12px;
    }
    
    .contact-icon {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
    
    /* Footer - Smaller screens */
    .footer {
        padding: 30px 0 15px;
    }
    
    .footer-content {
        gap: 25px;
    }
    
    .footer-section {
        padding: 0 15px;
    }
    
    .footer-section h4 {
        font-size: 16px;
        margin-bottom: 12px;
        color: var(--text-white);
    }
    
    .footer-section ul li {
        margin-bottom: 8px;
    }
    
    .footer-section ul li a {
        font-size: 14px;
    }
    
    .social-links {
        gap: 12px;
        margin-top: 15px;
    }
    
    .social-links a {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
    
    /* Typography - Smaller screens */
    h1 { 
        font-size: 24px; 
        line-height: 1.3;
        margin-bottom: 15px;
    }
    h2 { 
        font-size: 20px; 
        line-height: 1.4;
        margin-bottom: 12px;
    }
    h3 { 
        font-size: 18px; 
        line-height: 1.4;
        margin-bottom: 12px;
    }
    h4 { 
        font-size: 16px; 
        line-height: 1.4;
        margin-bottom: 8px;
    }
    
    .section-header h2 {
        font-size: 20px;
    }
    
    .section-header h3 {
        font-size: 18px;
    }
    
    .section-header p {
        font-size: 14px;
    }
    
    /* Section Spacing - Smaller screens */
    section {
        padding: 30px 0;
    }
    
    /* All hero sections with proper top spacing */
    .hero,
    .about-hero,
    .contact-hero,
    .services-hero,
    .tax-hero,
    .licensing-hero,
    .accounting-hero,
    .registration-hero,
    .audit-hero,
    .loan-hero {
        padding: 100px 0 40px; /* Adequate top padding for fixed navbar */
    }
    
    .services-overview,
    .about,
    .services,
    .why-choose-us {
        padding: 40px 0;
    }
    
    .contact-form-section,
    .contact-info-section {
        padding: 30px 0;
    }
    
    /* Image Responsiveness - Smaller screens */
    .hero-background img,
    .about-image img,
    .why-image img,
    .service-image img {
        height: 200px;
    }
    
    .map-wrapper {
        height: 250px;
    }
}

/* ===========================================
   TABLET LANDSCAPE FIXES (768px - 1024px)
   =========================================== */
@media (max-width: 1024px) and (min-width: 768px) {
    .container {
        padding: 0 30px;
    }
    
    .nav-menu {
        gap: 20px;
    }
    
    .nav-link {
        font-size: 15px;
        padding: 8px 16px;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .about-stats {
        flex-direction: row;
        justify-content: center;
        gap: 30px;
        flex-wrap: wrap;
    }
    
    .why-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .contact-form-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-content {
        grid-template-columns: 2fr 1fr 1fr 1fr;
        gap: 30px;
    }
}

/* ===========================================
   MOBILE LANDSCAPE FIXES (max-height: 500px)
   =========================================== */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        padding: 60px 0 30px;
        min-height: 50vh;
    }
    
    .hero-title {
        font-size: 24px;
        margin-bottom: 15px;
    }
    
    .hero-subtitle {
        font-size: 14px;
        margin-bottom: 20px;
    }
    
    .hero-buttons {
        flex-direction: row;
        gap: 15px;
        justify-content: center;
    }
    
    .btn-primary,
    .btn-secondary,
    .btn-contact-modern {
        max-width: 200px;
        padding: 10px 15px;
        font-size: 14px;
    }
    
    .nav-menu {
        padding: 60px 20px 20px;
    }
    
    .nav-link {
        padding: 10px 20px;
        font-size: 16px;
    }
}

/* ===========================================
   HAMBURGER MENU STYLES
   =========================================== */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
    padding: var(--spacing-2);
    border-radius: var(--radius-md);
    transition: all var(--transition-normal);
    z-index: 1002;
    position: relative;
}

/* Mobile Navigation - Consolidated Fix */
@media (max-width: 768px) {
    .navbar {
        height: 70px;
        width: 100%;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1000;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        box-shadow: 0 2px 10px rgba(30, 64, 175, 0.1);
    }
    
    .nav-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 15px 20px;
        max-width: 100%;
        width: 100%;
        height: 70px;
    }
    
    .nav-logo {
        display: flex;
        align-items: center;
        gap: 10px;
        flex-shrink: 0;
        z-index: 1002;
    }
    
    .logo-img {
        width: 45px;
        height: 45px;
        flex-shrink: 0;
    }
    
    .logo-text {
        font-size: 16px;
        font-weight: 600;
        white-space: nowrap;
        flex-shrink: 0;
    }
    
    .hamburger {
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 30px;
        height: 30px;
        cursor: pointer;
        z-index: 1002;
        position: fixed;
        top: 20px;
        right: 20px;
        flex-shrink: 0;
        background: transparent;
        border: none;
        outline: none;
        padding: 0;
        margin: 0;
    }
    
    .hamburger .bar {
        width: 25px;
        height: 3px;
        background: #000000 !important;
        margin: 3px 0;
        transition: all 0.3s ease;
        border-radius: 2px;
    }
    
    .hamburger.active .bar:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background: var(--bg-white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: left 0.3s ease;
        z-index: 1001;
        padding: 80px 20px 20px;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-link {
        font-size: 18px;
        padding: 15px 20px;
        width: 100%;
        text-align: center;
        border-bottom: 1px solid var(--border-color);
        margin: 3px 0;
        display: block;
        text-decoration: none;
        color: var(--text-dark);
        transition: all 0.3s ease;
    }
    
    .nav-link:hover {
        background: var(--bg-light);
        color: var(--primary-color);
    }
}

/* ===========================================
   SMALL MOBILE DEVICES (480px and below)
   =========================================== */
@media (max-width: 480px) {
    .navbar {
        height: 60px;
    }
    
    .nav-container {
        padding: 10px 15px;
        height: 60px;
    }
    
    .nav-logo {
        gap: 8px;
    }
    
    .logo-img {
        width: 35px;
        height: 35px;
    }
    
    .logo-text {
        font-size: 14px;
    }
    
    .hamburger {
        display: flex !important;
        width: 25px;
        height: 25px;
        flex-shrink: 0;
    }
    
    .hamburger .bar {
        width: 20px;
        height: 2px;
    }
    
    .nav-menu {
        padding: 70px 15px 20px;
    }
    
    .nav-link {
        font-size: 16px;
        padding: 12px 15px;
    }
}

/* ===========================================
   VERY SMALL MOBILE DEVICES (375px and below)
   =========================================== */
@media (max-width: 375px) {
    .nav-container {
        padding: 8px 12px;
    }
    
    .logo-text {
        font-size: 13px;
    }
    
    .hamburger {
        display: flex !important;
        width: 22px;
        height: 22px;
        flex-shrink: 0;
    }
    
    .hamburger .bar {
        width: 18px;
        height: 2px;
    }
}

/* ===========================================
   MINIMUM WIDTH DEVICES (320px and below)
   =========================================== */
@media (max-width: 320px) {
    .nav-container {
        padding: 6px 10px;
    }
    
    .logo-text {
        font-size: 12px;
    }
    
    .hamburger {
        display: flex !important;
        width: 20px;
        height: 20px;
        flex-shrink: 0;
    }
    
    .hamburger .bar {
        width: 16px;
        height: 1px;
    }
}

/* ===========================================
   OVERLAY FOR MOBILE MENU
   =========================================== */
@media (max-width: 767px) {
    .nav-menu::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(30, 64, 175, 0.5);
        z-index: -1;
        opacity: 0;
        transition: opacity 0.3s ease;
    }
    
    .nav-menu.active::before {
        opacity: 1;
    }
}

/* ===========================================
   SCROLL BEHAVIOR FIXES
   =========================================== */
@media (max-width: 767px) {
    html {
        scroll-behavior: smooth;
    }
    
    body {
        -webkit-overflow-scrolling: touch;
    }
    
    /* Prevent zoom on input focus */
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    textarea {
        font-size: 16px;
    }
}

/* ===========================================
   TOUCH IMPROVEMENTS
   =========================================== */
@media (max-width: 767px) {
    .btn-primary,
    .btn-secondary,
    .btn-contact-modern,
    .btn-whatsapp,
    .nav-link,
    .social-links a {
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
    }
    
    .btn-primary:active,
    .btn-secondary:active,
    .btn-contact-modern:active,
    .btn-whatsapp:active {
        transform: scale(0.98);
    }
    
    /* Hero Buttons Mobile Layout */
    .hero-buttons {
        flex-direction: column;
        gap: var(--spacing-3);
        width: 100%;
    }
    
    .hero-buttons .btn-contact-modern,
    .hero-buttons .btn-whatsapp {
        width: 100%;
        max-width: 100%;
        justify-content: center;
        padding: 14px 20px;
        font-size: 16px;
        border-radius: 8px;
        min-height: 48px;
        display: flex;
        align-items: center;
        text-align: center;
    }
    
    .hero-buttons .btn-secondary.btn-whatsapp {
        background: #25D366 !important;
        color: white !important;
        border-color: #25D366 !important;
    }
    
    .hero-buttons .btn-whatsapp i {
        font-size: 18px;
    }
    
    /* Form Buttons Mobile Layout */
    .form-buttons {
        flex-direction: column;
        gap: var(--spacing-3);
        width: 100%;
    }
    
    .form-buttons .btn-primary,
    .form-buttons .btn-whatsapp {
        width: 100%;
        max-width: 100%;
        justify-content: center;
        padding: 14px 20px;
        font-size: 16px;
        border-radius: 8px;
        min-height: 48px;
        display: flex;
        align-items: center;
        text-align: center;
    }
    
    .form-buttons .btn-whatsapp i {
        font-size: 18px;
    }
}

/* ===========================================
   SMALL MOBILE OPTIMIZATION (max-width: 500px)
   =========================================== */
@media (max-width: 500px) {
    /* Base container settings */
    .container {
        padding: 0 12px;
        max-width: 100%;
        overflow-x: hidden;
    }
    
    /* Prevent horizontal scroll */
    body {
        overflow-x: hidden;
        width: 100%;
    }
    
    /* Navigation - Optimized for small screens */
    .navbar {
        height: 55px;
        width: 100%;
    }
    
    .nav-container {
        padding: 8px 12px;
        width: 100%;
        max-width: 100%;
    }
    
    .nav-logo {
        gap: 6px;
        flex-shrink: 0;
    }
    
    .logo-img {
        width: 28px;
        height: 28px;
        flex-shrink: 0;
    }
    
    .logo-text {
        font-size: 11px;
        white-space: nowrap;
        flex-shrink: 0;
    }
    
    .hamburger {
        display: flex !important;
        width: 22px;
        height: 22px;
        flex-shrink: 0;
    }
    
    .hamburger .bar {
        width: 18px;
        height: 2px;
    }
    
    /* Mobile menu adjustments */
    .nav-menu {
        padding: 65px 12px 20px;
    }
    
    .nav-link {
        font-size: 15px;
        padding: 10px 12px;
    }
    
    /* Hero sections - Optimized spacing */
    .hero,
    .about-hero,
    .contact-hero,
    .services-hero,
    .tax-hero,
    .licensing-hero,
    .accounting-hero,
    .registration-hero,
    .audit-hero,
    .loan-hero {
        padding: 90px 0 30px;
        min-height: 60vh;
        width: 100%;
        overflow-x: hidden;
    }
    
    .hero-container {
        width: 100%;
        max-width: 100%;
        gap: 18px;
    }
    
    .hero-content {
        width: 100%;
        padding: 0 12px;
    }
    
    .hero-title {
        font-size: 22px;
        line-height: 1.3;
        margin-bottom: 12px;
        word-wrap: break-word;
    }
    
    .hero-subtitle {
        font-size: 13px;
        line-height: 1.5;
        margin-bottom: 20px;
        word-wrap: break-word;
    }
    
    .hero-buttons {
        gap: 10px;
        width: 100%;
    }
    
    .btn-primary,
    .btn-secondary,
    .btn-contact-modern {
        width: 100%;
        max-width: 220px;
        padding: 12px 16px;
        font-size: 13px;
        border-radius: 6px;
    }
    
    /* Service grids - Single column */
    .services-grid,
    .services-grid-detailed,
    .highlights-grid {
        gap: 12px;
        margin: 25px 0;
        width: 100%;
        justify-items: stretch;
    }
    
    .service-card,
    .service-item,
    .highlight-card {
        padding: 18px;
        margin-bottom: 12px;
        border-radius: 8px;
        width: 100%;
    }
    
    .service-card h3,
    .service-item h3,
    .highlight-card h3 {
        font-size: 17px;
        margin-bottom: 10px;
    }
    
    .service-card p,
    .service-item p,
    .highlight-card p {
        font-size: 12px;
        line-height: 1.5;
    }
    
    /* About section - Optimized stats */
    .about-content {
        gap: var(--spacing-10);
        padding: var(--spacing-12) 0;
        width: 100%;
    }
    
    .about-text {
        width: 100%;
        padding: 0 var(--spacing-4);
        margin-bottom: var(--spacing-6);
    }
    
    .about-stats {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: var(--spacing-4);
        margin: var(--spacing-8) 0;
        width: 100%;
        padding: 0 var(--spacing-2);
    }
    
    .stat {
        padding: var(--spacing-4);
        width: 100%;
        height: 120px;
        min-height: 120px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        background: var(--bg-white);
        border-radius: var(--radius-lg);
        box-shadow: var(--shadow-sm);
        transition: all var(--transition-normal);
    }
    
    .stat-number {
        font-size: var(--font-size-4xl);
        font-weight: 900;
        color: var(--primary-color);
        margin-bottom: var(--spacing-1);
    }
    
    .stat-label {
        font-size: var(--font-size-sm);
        font-weight: 700;
        color: var(--text-dark);
        white-space: nowrap;
        word-wrap: normal;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }
    
    /* Why Choose Us - Optimized layout */
    .why-content {
        gap: 20px;
        width: 100%;
    }
    
    .why-text {
        width: 100%;
        padding: 0 12px;
    }
    
    .why-image {
        width: 100%;
        margin: 12px 0;
    }
    
    .why-image img {
        width: 100%;
        height: 180px;
        border-radius: 6px;
    }
    
    /* Contact forms - Full width inputs */
    .contact-form-content {
        gap: 20px;
        width: 100%;
    }
    
    .contact-form-wrapper {
        width: 100%;
        padding: 0 12px;
    }
    
    .contact-form {
        width: 100%;
    }
    
    .form-row {
        gap: 12px;
    }
    
    .form-group {
        width: 100%;
    }
    
    .form-group input,
    .form-group textarea {
        width: 100%;
        padding: 12px;
        font-size: 14px;
        border-radius: 6px;
        box-sizing: border-box;
    }
    
    .btn-primary {
        width: 100%;
        padding: 12px 16px;
        font-size: 13px;
        border-radius: 6px;
    }
    
    /* Contact info - Optimized layout */
    .contact-info-section {
        padding: 25px 0;
    }
    
    .contact-info-content {
        gap: 20px;
        width: 100%;
    }
    
    .contact-details {
        width: 100%;
        padding: 0 12px;
    }
    
    .contact-items {
        gap: 12px;
    }
    
    .contact-item {
        gap: 10px;
        padding: 10px;
        border-radius: 6px;
    }
    
    .contact-icon {
        width: 32px;
        height: 32px;
        font-size: 13px;
    }
    
    /* Footer - Optimized layout */
    .footer {
        padding: 25px 0 12px;
    }
    
    .footer-content {
        gap: 20px;
        width: 100%;
    }
    
    .footer-section {
        width: 100%;
        padding: 0 12px;
    }
    
    .footer-section h4 {
        font-size: 15px;
        margin-bottom: 10px;
        color: var(--text-white);
    }
    
    .footer-section ul li {
        margin-bottom: 6px;
    }
    
    .footer-section ul li a {
        font-size: 13px;
    }
    
    .social-links {
        gap: 10px;
        margin-top: 12px;
    }
    
    .social-links a {
        width: 32px;
        height: 32px;
        font-size: 13px;
    }
    
    /* Typography - Optimized sizing */
    h1 { 
        font-size: 22px; 
        line-height: 1.3;
        margin-bottom: 12px;
        word-wrap: break-word;
    }
    h2 { 
        font-size: 19px; 
        line-height: 1.4;
        margin-bottom: 10px;
        word-wrap: break-word;
    }
    h3 { 
        font-size: 17px; 
        line-height: 1.4;
        margin-bottom: 10px;
        word-wrap: break-word;
    }
    h4 { 
        font-size: 15px; 
        line-height: 1.4;
        margin-bottom: 6px;
        word-wrap: break-word;
    }
    
    .section-header h2 {
        font-size: 19px;
    }
    
    .section-header h3 {
        font-size: 17px;
    }
    
    .section-header p {
        font-size: 13px;
    }
    
    /* Section spacing - Optimized */
    section {
        padding: 25px 0;
        margin: 0;
        width: 100%;
        overflow-x: hidden;
    }
    
    .services-overview,
    .about,
    .services,
    .why-choose-us {
        padding: 35px 0;
    }
    
    .contact-form-section,
    .contact-info-section {
        padding: 25px 0;
    }
    
    /* Image responsiveness */
    img {
        max-width: 100%;
        height: auto;
        display: block;
    }
    
    .hero-background img,
    .about-image img,
    .why-image img,
    .service-image img {
        width: 100%;
        height: auto;
        object-fit: cover;
        border-radius: 6px;
    }
    
    /* Map responsiveness */
    .map-wrapper {
        width: 100%;
        height: 220px;
        border-radius: 6px;
    }
}

/* ===========================================
   IPHONE STANDARD OPTIMIZATION (max-width: 375px)
   =========================================== */
@media (max-width: 375px) {
    /* Optimized for iPhone X/12 standard width */
    .container {
        padding: 0 10px;
        max-width: 100%;
        overflow-x: hidden;
    }
    
    /* Navigation - iPhone optimized */
    .navbar {
        height: 50px;
        width: 100%;
    }
    
    .nav-container {
        padding: 6px 10px;
        width: 100%;
        max-width: 100%;
    }
    
    .nav-logo {
        gap: 5px;
        flex-shrink: 0;
    }
    
    .logo-img {
        width: 26px;
        height: 26px;
        flex-shrink: 0;
    }
    
    .logo-text {
        font-size: 10px;
        white-space: nowrap;
        flex-shrink: 0;
    }
    
    .hamburger {
        display: flex !important;
        width: 20px;
        height: 20px;
        flex-shrink: 0;
    }
    
    .hamburger .bar {
        width: 16px;
        height: 2px;
    }
    
    /* Mobile menu - iPhone optimized */
    .nav-menu {
        padding: 60px 10px 15px;
    }
    
    .nav-link {
        font-size: 14px;
        padding: 8px 10px;
    }
    
    /* Hero sections - iPhone optimized */
    .hero,
    .about-hero,
    .contact-hero,
    .services-hero,
    .tax-hero,
    .licensing-hero,
    .accounting-hero,
    .registration-hero,
    .audit-hero,
    .loan-hero {
        padding: 80px 0 25px;
        min-height: 55vh;
        width: 100%;
        overflow-x: hidden;
    }
    
    .hero-container {
        width: 100%;
        max-width: 100%;
        gap: 15px;
    }
    
    .hero-content {
        width: 100%;
        padding: 0 10px;
    }
    
    .hero-title {
        font-size: 20px;
        line-height: 1.3;
        margin-bottom: 10px;
        word-wrap: break-word;
    }
    
    .hero-subtitle {
        font-size: 12px;
        line-height: 1.5;
        margin-bottom: 18px;
        word-wrap: break-word;
    }
    
    .hero-buttons {
        gap: 8px;
        width: 100%;
    }
    
    .form-buttons .btn-primary,
    .form-buttons .btn-whatsapp {
        width: 100%;
        max-width: 100%;
        padding: 12px 18px;
        font-size: 14px;
        border-radius: 6px;
        min-height: 46px;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
    }
    
    .form-buttons .btn-whatsapp i {
        font-size: 15px;
    }
    
    /* Hero Buttons iPhone */
    .hero-buttons .btn-contact-modern,
    .hero-buttons .btn-whatsapp {
        width: 100%;
        max-width: 100%;
        padding: 12px 18px;
        font-size: 14px;
        border-radius: 6px;
        min-height: 46px;
    }
    
    .hero-buttons .btn-whatsapp i {
        font-size: 15px;
    }
    
    .hero-buttons .btn-secondary.btn-whatsapp {
        background: #25D366 !important;
        color: white !important;
        border-color: #25D366 !important;
    }
    
    /* Service grids - iPhone optimized */
    .services-grid,
    .services-grid-detailed,
    .highlights-grid {
        gap: 10px;
        margin: 20px 0;
        width: 100%;
        justify-items: stretch;
    }
    
    .service-card,
    .service-item,
    .highlight-card {
        padding: 15px;
        margin-bottom: 10px;
        border-radius: 6px;
        width: 100%;
    }
    
    .service-card h3,
    .service-item h3,
    .highlight-card h3 {
        font-size: 16px;
        margin-bottom: 8px;
    }
    
    .service-card p,
    .service-item p,
    .highlight-card p {
        font-size: 11px;
        line-height: 1.5;
    }
    
    /* About section - iPhone optimized */
    .about-content {
        gap: var(--spacing-8);
        padding: var(--spacing-10) 0;
        width: 100%;
    }
    
    .about-text {
        width: 100%;
        padding: 0 var(--spacing-3);
        margin-bottom: var(--spacing-4);
    }
    
    .about-stats {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: var(--spacing-3);
        margin: var(--spacing-6) 0;
        width: 100%;
        padding: 0 var(--spacing-1);
    }
    
    .stat {
        padding: var(--spacing-3);
        width: 100%;
        height: 100px;
        min-height: 100px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        background: var(--bg-white);
        border-radius: var(--radius-lg);
        box-shadow: var(--shadow-sm);
        transition: all var(--transition-normal);
    }
    
    .stat-number {
        font-size: var(--font-size-3xl);
        font-weight: 900;
        color: var(--primary-color);
        margin-bottom: var(--spacing-1);
    }
    
    .stat-label {
        font-size: var(--font-size-xs);
        font-weight: 700;
        color: var(--text-dark);
        white-space: nowrap;
        word-wrap: normal;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }
    
    /* Why Choose Us - iPhone optimized */
    .why-content {
        gap: 18px;
        width: 100%;
    }
    
    .why-text {
        width: 100%;
        padding: 0 10px;
    }
    
    .why-image {
        width: 100%;
        margin: 10px 0;
    }
    
    .why-image img {
        width: 100%;
        height: 160px;
        border-radius: 5px;
    }
    
    /* Contact forms - iPhone optimized */
    .contact-form-content {
        gap: 18px;
        width: 100%;
    }
    
    .contact-form-wrapper {
        width: 100%;
        padding: 0 10px;
    }
    
    .contact-form {
        width: 100%;
    }
    
    .form-row {
        gap: 10px;
    }
    
    .form-group {
        width: 100%;
    }
    
    .form-group input,
    .form-group textarea {
        width: 100%;
        padding: 10px;
        font-size: 14px;
        border-radius: 5px;
        box-sizing: border-box;
    }
    
    .btn-primary {
        width: 100%;
        padding: 10px 14px;
        font-size: 12px;
        border-radius: 5px;
    }
    
    /* Contact info - iPhone optimized */
    .contact-info-section {
        padding: 20px 0;
    }
    
    .contact-info-content {
        gap: 18px;
        width: 100%;
    }
    
    .contact-details {
        width: 100%;
        padding: 0 10px;
    }
    
    .contact-items {
        gap: 10px;
    }
    
    .contact-item {
        gap: 8px;
        padding: 8px;
        border-radius: 5px;
    }
    
    .contact-icon {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }
    
    /* Footer - iPhone optimized */
    .footer {
        padding: 20px 0 10px;
    }
    
    .footer-content {
        gap: 18px;
        width: 100%;
    }
    
    .footer-section {
        width: 100%;
        padding: 0 10px;
    }
    
    .footer-section h4 {
        font-size: 14px;
        margin-bottom: 8px;
        color: var(--text-white);
    }
    
    .footer-section ul li {
        margin-bottom: 5px;
    }
    
    .footer-section ul li a {
        font-size: 12px;
    }
    
    .social-links {
        gap: 8px;
        margin-top: 10px;
    }
    
    .social-links a {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }
    
    /* Typography - iPhone optimized */
    h1 { 
        font-size: 20px; 
        line-height: 1.3;
        margin-bottom: 10px;
        word-wrap: break-word;
    }
    h2 { 
        font-size: 18px; 
        line-height: 1.4;
        margin-bottom: 8px;
        word-wrap: break-word;
    }
    h3 { 
        font-size: 16px; 
        line-height: 1.4;
        margin-bottom: 8px;
        word-wrap: break-word;
    }
    h4 { 
        font-size: 14px; 
        line-height: 1.4;
        margin-bottom: 5px;
        word-wrap: break-word;
    }
    
    .section-header h2 {
        font-size: 18px;
    }
    
    .section-header h3 {
        font-size: 16px;
    }
    
    .section-header p {
        font-size: 12px;
    }
    
    /* Section spacing - iPhone optimized */
    section {
        padding: 20px 0;
        margin: 0;
        width: 100%;
        overflow-x: hidden;
    }
    
    .services-overview,
    .about,
    .services,
    .why-choose-us {
        padding: 30px 0;
    }
    
    .contact-form-section,
    .contact-info-section {
        padding: 20px 0;
    }
    
    /* Image responsiveness - iPhone optimized */
    img {
        max-width: 100%;
        height: auto;
        display: block;
    }
    
    .hero-background img,
    .about-image img,
    .why-image img,
    .service-image img {
        width: 100%;
        height: auto;
        object-fit: cover;
        border-radius: 5px;
    }
    
    /* Map responsiveness - iPhone optimized */
    .map-wrapper {
        width: 100%;
        height: 200px;
        border-radius: 5px;
    }
}

/* ===========================================
   MINIMUM WIDTH OPTIMIZATION (max-width: 320px)
   =========================================== */
@media (max-width: 320px) {
    /* Base settings for minimum viable width */
    .container {
        padding: 0 8px;
        max-width: 100%;
        overflow-x: hidden;
    }
    
    /* Prevent horizontal scroll */
    body {
        overflow-x: hidden;
        width: 100%;
    }
    
    /* Navigation - Minimum width optimized */
    .navbar {
        height: 45px;
        width: 100%;
    }
    
    .nav-container {
        padding: 5px 8px;
        width: 100%;
        max-width: 100%;
    }
    
    .nav-logo {
        gap: 4px;
        flex-shrink: 0;
    }
    
    .logo-img {
        width: 22px;
        height: 22px;
        flex-shrink: 0;
    }
    
    .logo-text {
        font-size: 9px;
        white-space: nowrap;
        flex-shrink: 0;
    }
    
    .hamburger {
        display: flex !important;
        width: 18px;
        height: 18px;
        flex-shrink: 0;
    }
    
    .hamburger .bar {
        width: 14px;
        height: 1px;
    }
    
    /* Mobile menu - Minimum width optimized */
    .nav-menu {
        padding: 55px 8px 15px;
    }
    
    .nav-link {
        font-size: 13px;
        padding: 6px 8px;
    }
    
    /* Hero sections - Minimum width optimized */
    .hero,
    .about-hero,
    .contact-hero,
    .services-hero,
    .tax-hero,
    .licensing-hero,
    .accounting-hero,
    .registration-hero,
    .audit-hero,
    .loan-hero {
        padding: 70px 0 20px;
        min-height: 50vh;
        width: 100%;
        overflow-x: hidden;
    }
    
    .hero-container {
        width: 100%;
        max-width: 100%;
        gap: 12px;
    }
    
    .hero-content {
        width: 100%;
        padding: 0 8px;
    }
    
    .hero-title {
        font-size: 18px;
        line-height: 1.3;
        margin-bottom: 8px;
        word-wrap: break-word;
    }
    
    .hero-subtitle {
        font-size: 11px;
        line-height: 1.5;
        margin-bottom: 15px;
        word-wrap: break-word;
    }
    
    .hero-buttons {
        gap: 6px;
        width: 100%;
    }
    
    .form-buttons .btn-primary,
    .form-buttons .btn-whatsapp {
        width: 100%;
        max-width: 100%;
        padding: 10px 14px;
        font-size: 13px;
        border-radius: 5px;
        min-height: 42px;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
    }
    
    .form-buttons .btn-whatsapp i {
        font-size: 13px;
    }
    
    /* Hero Buttons Minimum Width */
    .hero-buttons .btn-contact-modern,
    .hero-buttons .btn-whatsapp {
        width: 100%;
        max-width: 100%;
        padding: 10px 14px;
        font-size: 13px;
        border-radius: 5px;
        min-height: 42px;
    }
    
    .hero-buttons .btn-whatsapp i {
        font-size: 13px;
    }
    
    .hero-buttons .btn-secondary.btn-whatsapp {
        background: #25D366 !important;
        color: white !important;
        border-color: #25D366 !important;
    }
    
    /* Service grids - Minimum width optimized */
    .services-grid,
    .services-grid-detailed,
    .highlights-grid {
        gap: 8px;
        margin: 15px 0;
        width: 100%;
        justify-items: stretch;
    }
    
    .service-card,
    .service-item,
    .highlight-card {
        padding: 12px;
        margin-bottom: 8px;
        border-radius: 5px;
        width: 100%;
    }
    
    .service-card h3,
    .service-item h3,
    .highlight-card h3 {
        font-size: 15px;
        margin-bottom: 6px;
    }
    
    .service-card p,
    .service-item p,
    .highlight-card p {
        font-size: 10px;
        line-height: 1.4;
    }
    
    /* About section - Minimum width optimized */
    .about-content {
        gap: 15px;
        padding: 15px 0;
        width: 100%;
    }
    
    .about-text {
        width: 100%;
        padding: 0 8px;
    }
    
    .about-stats {
        display: grid;
        grid-template-columns: 1fr;
        gap: 8px;
        margin: 15px 0;
        width: 100%;
    }
    
    .stat {
        padding: 8px;
        width: 100%;
        max-width: 120px;
        height: 70px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        min-height: 70px;
    }
    
    .stat-number {
        font-size: 18px;
        margin-bottom: 3px;
    }
    
    .stat-label {
        font-size: 9px;
        white-space: nowrap;
        word-wrap: normal;
    }
    
    /* Why Choose Us - Minimum width optimized */
    .why-content {
        gap: 15px;
        width: 100%;
    }
    
    .why-text {
        width: 100%;
        padding: 0 8px;
    }
    
    .why-image {
        width: 100%;
        margin: 8px 0;
    }
    
    .why-image img {
        width: 100%;
        height: 140px;
        border-radius: 4px;
    }
    
    /* Contact forms - Minimum width optimized */
    .contact-form-content {
        gap: 15px;
        width: 100%;
    }
    
    .contact-form-wrapper {
        width: 100%;
        padding: 0 8px;
    }
    
    .contact-form {
        width: 100%;
    }
    
    .form-row {
        gap: 8px;
    }
    
    .form-group {
        width: 100%;
    }
    
    .form-group input,
    .form-group textarea {
        width: 100%;
        padding: 8px;
        font-size: 14px;
        border-radius: 4px;
        box-sizing: border-box;
    }
    
    .form-buttons .btn-primary,
    .form-buttons .btn-whatsapp {
        width: 100%;
        padding: 12px 16px;
        font-size: 14px;
        border-radius: 6px;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
    }
    
    .form-buttons .btn-whatsapp i {
        font-size: 14px;
    }
    
    /* Hero Buttons Small Mobile */
    .hero-buttons .btn-contact-modern,
    .hero-buttons .btn-whatsapp {
        width: 100%;
        padding: 12px 16px;
        font-size: 14px;
        border-radius: 6px;
        min-height: 44px;
    }
    
    .hero-buttons .btn-whatsapp i {
        font-size: 14px;
    }
    
    .hero-buttons .btn-secondary.btn-whatsapp {
        background: #25D366 !important;
        color: white !important;
        border-color: #25D366 !important;
    }
    
    /* Contact info - Minimum width optimized */
    .contact-info-section {
        padding: 15px 0;
    }
    
    .contact-info-content {
        gap: 15px;
        width: 100%;
    }
    
    .contact-details {
        width: 100%;
        padding: 0 8px;
    }
    
    .contact-items {
        gap: 8px;
    }
    
    .contact-item {
        gap: 6px;
        padding: 6px;
        border-radius: 4px;
    }
    
    .contact-icon {
        width: 26px;
        height: 26px;
        font-size: 11px;
    }
    
    /* Footer - Minimum width optimized */
    .footer {
        padding: 15px 0 8px;
    }
    
    .footer-content {
        gap: 15px;
        width: 100%;
    }
    
    .footer-section {
        width: 100%;
        padding: 0 8px;
    }
    
    .footer-section h4 {
        font-size: 13px;
        margin-bottom: 6px;
        color: var(--text-white);
    }
    
    .footer-section ul li {
        margin-bottom: 4px;
    }
    
    .footer-section ul li a {
        font-size: 11px;
    }
    
    .social-links {
        gap: 6px;
        margin-top: 8px;
    }
    
    .social-links a {
        width: 26px;
        height: 26px;
        font-size: 11px;
    }
    
    /* Typography - Minimum width optimized */
    h1 { 
        font-size: 18px; 
        line-height: 1.3;
        margin-bottom: 8px;
        word-wrap: break-word;
    }
    h2 { 
        font-size: 16px; 
        line-height: 1.4;
        margin-bottom: 6px;
        word-wrap: break-word;
    }
    h3 { 
        font-size: 15px; 
        line-height: 1.4;
        margin-bottom: 6px;
        word-wrap: break-word;
    }
    h4 { 
        font-size: 13px; 
        line-height: 1.4;
        margin-bottom: 4px;
        word-wrap: break-word;
    }
    
    .section-header h2 {
        font-size: 16px;
    }
    
    .section-header h3 {
        font-size: 15px;
    }
    
    .section-header p {
        font-size: 11px;
    }
    
    /* Section spacing - Minimum width optimized */
    section {
        padding: 15px 0;
        margin: 0;
        width: 100%;
        overflow-x: hidden;
    }
    
    .services-overview,
    .about,
    .services,
    .why-choose-us {
        padding: 25px 0;
    }
    
    .contact-form-section,
    .contact-info-section {
        padding: 15px 0;
    }
    
    /* Image responsiveness - Minimum width optimized */
    img {
        max-width: 100%;
        height: auto;
        display: block;
    }
    
    .hero-background img,
    .about-image img,
    .why-image img,
    .service-image img {
        width: 100%;
        height: auto;
        object-fit: cover;
        border-radius: 4px;
    }
    
    /* Map responsiveness - Minimum width optimized */
    .map-wrapper {
        width: 100%;
        height: 180px;
        border-radius: 4px;
    }
}

/* ===========================================
   GLOBAL TEXT ALIGNMENT - CENTER BY DEFAULT
   =========================================== */
/* Center align all content by default */
body,
.container,
section,
.hero,
.hero-content,
.about-text,
.services-grid,
.service-card,
.why-text,
.contact-content,
.contact-form,
h1, h2, h3, h4, h5, h6,
p,
li,
.stat,
.stat-number,
.stat-label {
  text-align: center;
}

/* Hero sections - Center aligned */
.hero,
.about-hero,
.contact-hero,
.services-hero,
.tax-hero,
.licensing-hero,
.accounting-hero,
.registration-hero,
.audit-hero,
.loan-hero {
  text-align: center;
}

.hero-container {
  text-align: center;
  align-items: center;
}

.hero-content {
  text-align: center;
}

.hero-title {
  text-align: center;
}

.hero-subtitle {
  text-align: center;
}

/* Hero buttons - Center aligned */
.hero-buttons {
  text-align: center;
  align-items: center;
  justify-content: center;
  display: flex;
  flex-direction: row;
  gap: 20px;
  flex-wrap: wrap;
}

.hero-buttons .btn-primary,
.hero-buttons .btn-secondary {
  text-align: center;
  justify-content: center;
  display: inline-flex;
  align-items: center;
}

/* Section headers - Center aligned */
.section-header {
  text-align: center;
}

.section-header h2 {
  text-align: center;
}

.section-header h3 {
  text-align: center;
}

.section-header p {
  text-align: center;
}

/* Service cards - Center aligned */
.service-card,
.service-item,
.highlight-card {
  text-align: center;
}

.service-card h3,
.service-item h3,
.highlight-card h3 {
  text-align: center;
}

.service-card p,
.service-item p,
.highlight-card p {
  text-align: center;
}

/* Service features - Center aligned */
.service-features {
  text-align: center;
}

.service-features li {
  text-align: center;
}

.service-link {
  text-align: center;
  justify-content: center;
}

/* About section - Center aligned */
.about-content {
  text-align: center;
  align-items: center;
}

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

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

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

/* Stats - Custom layout: first two side by side, third in center */
.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: auto;
  gap: 20px;
  align-items: center;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

/* All three stats in the same row */
.about-stats .stat:nth-child(1),
.about-stats .stat:nth-child(2),
.about-stats .stat:nth-child(3) {
  grid-column: auto;
  grid-row: 1;
  text-align: center;
}

.stat {
  text-align: center;
  padding: 20px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-number {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.stat-label {
  text-align: center;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}

/* Why Choose Us - Center aligned */
.why-content {
  text-align: center;
  align-items: center;
}

.why-text {
  text-align: center;
}

.why-text h2 {
  text-align: center;
}

.why-text p {
  text-align: center;
}

/* Progress section - Center aligned */
.progress-section {
  text-align: center;
}

.progress-item {
  text-align: center;
}

.progress-label {
  text-align: center;
  justify-content: center;
}

/* Contact forms - Center aligned */
.contact-form-content {
  text-align: center;
  align-items: center;
}

.contact-form-wrapper {
  text-align: center;
}

.form-group {
  text-align: center;
}

.form-group label {
  text-align: center;
}

.form-group input,
.form-group textarea {
  text-align: center;
}

.btn-primary {
  text-align: center;
  justify-content: center;
}

/* Contact info - Center aligned */
.contact-info-content {
  text-align: center;
  align-items: center;
}

.contact-details {
  text-align: center;
}

.contact-item {
  text-align: center;
  justify-content: center;
}

/* CTA sections - Center aligned */
.services-cta,
.about-cta,
.contact-cta {
  text-align: center;
}

.cta-content {
  text-align: center;
  align-items: center;
}

.cta-content h2 {
  text-align: center;
}

.cta-content p {
  text-align: center;
}

/* ===========================================
   FOOTER - LEFT ALIGNED FOR BETTER READABILITY
   =========================================== */
.footer-content {
  text-align: left;
  align-items: flex-start;
}

.footer-section {
  text-align: left;
}

.footer-section h4 {
  text-align: left;
}

.footer-section ul {
  text-align: left;
}

.footer-section ul li {
  text-align: left;
}

.footer-section ul li a {
  text-align: left;
}

/* Footer contact info - Left aligned */
.footer-section .contact-item {
  text-align: left;
  justify-content: flex-start;
}

.footer-section .contact-item p {
  text-align: left;
}

.footer-section .contact-item a {
  text-align: left;
}

/* Footer copyright - Left aligned */
.footer-bottom {
  text-align: left;
}

.footer-bottom p {
  text-align: left;
}

/* ===========================================
   TABLET RESPONSIVE ADJUSTMENTS (max-width: 1024px)
   =========================================== */
@media (max-width: 1024px) and (min-width: 769px) {
  /* Stats layout for tablet */
  .about-stats {
    max-width: 700px;
    gap: 15px;
  }
  
  .stat {
    padding: 18px;
  }
  
  .stat-number {
    font-size: 2.2rem;
  }
  
  .stat-label {
    font-size: 0.95rem;
  }
  
  /* Services grid - 2 columns on tablet */
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-6);
  }
}

/* ===========================================
   MOBILE RESPONSIVE ADJUSTMENTS (max-width: 480px)
   =========================================== */
@media (max-width: 480px) {
  /* Keep center alignment on mobile for main content */
  .hero-container { 
    grid-template-columns: 1fr !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
  .hero-title, .hero-subtitle { margin-left: 0; margin-right: 0; }

  /* Buttons: stack and full width */
  .hero-buttons {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    width: 100% !important;
    gap: 12px !important;
  }
  
  .hero-buttons a,
  .cta-content .btn-primary,
  .btn-primary, .btn-secondary {
    display: block !important;
    width: 100% !important;
    max-width: 280px !important;
    box-sizing: border-box;
    text-align: center; /* keep label centered in the button */
    margin-bottom: 0 !important;
  }

  /* Navigation: ensure logo/menu don't overlap */
  .nav-container { padding-left: 12px; padding-right: 12px; }
  .nav-logo { flex: 0 0 auto; }
  .nav-menu { width: 100%; }

  /* Stats layout: all three in one row on mobile - optimized */
  .about-stats { 
    grid-template-columns: 1fr 1fr 1fr !important; 
    gap: 6px !important; 
    max-width: 100% !important;
    margin: 0 auto !important;
    padding: 0 10px !important;
  }
  
  /* All three stats in one row */
  .about-stats .stat:nth-child(1),
  .about-stats .stat:nth-child(2),
  .about-stats .stat:nth-child(3) {
    grid-column: auto !important;
    text-align: center !important;
    padding: 8px 4px !important;
    min-width: 0 !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border-radius: 6px !important;
  }
  
  .stat-number {
    font-size: 1.2rem !important;
    line-height: 1.1 !important;
    font-weight: 700 !important;
    margin-bottom: 2px !important;
  }
  
  .stat-label {
    font-size: 0.65rem !important;
    line-height: 1.2 !important;
    word-wrap: break-word !important;
    font-weight: 500 !important;
    opacity: 0.9 !important;
  }
}

/* ===========================================
   EXTRA SMALL MOBILE OPTIMIZATION (max-width: 375px)
   =========================================== */
@media (max-width: 375px) {
  .about-stats { 
    gap: 4px !important; 
    padding: 0 8px !important;
  }
  
  .about-stats .stat:nth-child(1),
  .about-stats .stat:nth-child(2),
  .about-stats .stat:nth-child(3) {
    padding: 6px 2px !important;
  }
  
  .stat-number {
    font-size: 1rem !important;
  }
  
  .stat-label {
    font-size: 0.6rem !important;
  }
}

/* ===========================================
   MOBILE SERVICES GRID (max-width: 480px)
   =========================================== */
@media (max-width: 480px) {
  /* Services grid - 1 column on mobile */
  .services-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
  
  /* Contact form full width */
  .contact-content { 
    grid-template-columns: 1fr !important; 
    gap: 16px !important; 
  }
  
  .form-group input, 
  .form-group textarea, 
  .btn-primary { 
    width: 100% !important; 
  }

  /* Remove accidental centering on focused elements */
  :focus { 
    outline: none; 
  }

  /* Padding so top section doesn't "push in" */
  header, 
  .navbar, 
  .hero { 
    padding-top: 14px !important; 
  }

  /* Prevent images or cards from centering their text */
  .about-image img, 
  .why-image img, 
  .hero-image img { 
    margin-left: 0; 
    margin-right: 0; 
    max-width: 100%; 
    height: auto; 
  }
  
  /* Keep footer left-aligned on mobile */
  .footer-content {
    text-align: left !important;
    align-items: flex-start !important;
  }
  
  .footer-section {
    text-align: left !important;
  }
  
  .footer-section h4 {
    text-align: left !important;
  }
  
  .footer-section ul {
    text-align: left !important;
  }
  
  .footer-section ul li {
    text-align: left !important;
  }
  
  .footer-section ul li a {
    text-align: left !important;
  }
  
  .footer-section .contact-item {
    text-align: left !important;
    justify-content: flex-start !important;
  }
  
  .footer-section .contact-item p {
    text-align: left !important;
  }
  
  .footer-section .contact-item a {
    text-align: left !important;
  }
  
  .footer-bottom {
    text-align: left !important;
  }
  
  .footer-bottom p {
    text-align: left !important;
  }
}

/* ===========================================
   SERVICES PAGE MOBILE FIXES
   =========================================== */
@media (max-width: 767px) {
    /* Services Hero Section - Mobile fixes */
    .services-hero {
        padding: 100px 0 40px;
        min-height: 60vh;
        width: 100%;
        overflow-x: hidden;
    }
    
    .services-hero .hero-title {
        font-size: 24px;
        line-height: 1.3;
        margin-bottom: 15px;
        word-wrap: break-word;
    }
    
    .services-hero .hero-subtitle {
        font-size: 14px;
        line-height: 1.5;
        margin-bottom: 25px;
        word-wrap: break-word;
    }
    
    /* Hero Stats - Mobile stacking */
    .hero-stats {
        display: flex;
        flex-direction: column;
        gap: 15px;
        align-items: center;
        margin-top: 25px;
        width: 100%;
    }
    
    .stat-item {
        text-align: center;
        padding: 15px;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 8px;
        backdrop-filter: blur(10px);
        width: 100%;
        max-width: 200px;
    }
    
    .stat-number {
        font-size: 24px;
        font-weight: 900;
        color: var(--primary-color);
        display: block;
        margin-bottom: 5px;
    }
    
    .stat-label {
        font-size: 12px;
        color: var(--text-white);
        font-weight: 600;
    }
    
    /* Service Highlights - Mobile fixes */
    .service-highlights {
        padding: 40px 0;
    }
    
    .highlights-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
        margin: 30px 0;
        width: 100%;
    }
    
    .highlight-card {
        padding: 20px;
        text-align: center;
        background: var(--bg-white);
        border-radius: 12px;
        box-shadow: 0 4px 15px rgba(30, 64, 175, 0.1);
        width: 100%;
    }
    
    .highlight-icon {
        width: 60px;
        height: 60px;
        background: #000000 !important;
        color: white;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 15px;
        font-size: 24px;
    }
    
    .highlight-card h3 {
        font-size: 18px;
        margin-bottom: 12px;
        color: var(--text-dark);
    }
    
    .highlight-card p {
        font-size: 14px;
        line-height: 1.6;
        color: var(--text-light);
    }
    
    /* Detailed Services - Mobile fixes */
    .detailed-services {
        padding: 40px 0;
    }
    
    .services-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 25px;
        margin: 30px 0;
        width: 100%;
    }
    
    .service-card {
        background: var(--bg-white);
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 4px 15px rgba(30, 64, 175, 0.1);
        width: 100%;
        margin-bottom: 20px;
    }
    
    .service-image {
        width: 100%;
        height: 200px;
        overflow: hidden;
    }
    
    .service-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.3s ease;
    }
    
    .service-card:hover .service-image img {
        transform: scale(1.05);
    }
    
    .service-content {
        padding: 25px;
    }
    
    .service-icon {
        width: 50px;
        height: 50px;
        background: #000000 !important;
        color: white;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 15px;
        font-size: 20px;
    }
    
    .service-card h3 {
        font-size: var(--font-size-xl);
        font-weight: 700;
        line-height: 1.3;
        margin-bottom: var(--spacing-4);
        color: var(--text-dark);
    }
    
    .service-card p {
        font-size: var(--font-size-base);
        line-height: 1.7;
        color: var(--text-light);
        font-weight: 400;
        margin-bottom: 15px;
    }
    
    .service-features {
        list-style: none;
        padding: 0;
        margin-bottom: 20px;
    }
    
    .service-features li {
        padding: 8px 0;
        border-bottom: 1px solid var(--border-color);
        font-size: 14px;
        color: var(--text-dark);
        position: relative;
        padding-left: 20px;
    }
    
    .service-features li:before {
        content: "✓";
        position: absolute;
        left: 0;
        color: var(--primary-color);
        font-weight: bold;
    }
    
    .service-link {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        color: var(--primary-color);
        text-decoration: none;
        font-weight: 600;
        font-size: 14px;
        transition: color 0.3s ease;
    }
    
    .service-link:hover {
        color: var(--accent-color);
    }
    
    /* Why Hire Us Section - Mobile fixes */
    .why-hire-us {
        padding: 40px 0;
        background: var(--bg-light);
    }
    
    .why-content {
        display: flex;
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
    
    .why-text {
        width: 100%;
        padding: 0 20px;
    }
    
    .why-text h2 {
        font-size: 24px;
        margin-bottom: 15px;
        color: var(--text-dark);
    }
    
    .why-text p {
        font-size: 16px;
        line-height: 1.6;
        color: var(--text-light);
        margin-bottom: 25px;
    }
    
    .progress-section {
        width: 100%;
    }
    
    .progress-item {
        margin-bottom: 20px;
    }
    
    .progress-label {
        display: flex;
        justify-content: space-between;
        margin-bottom: 8px;
        font-size: 14px;
        color: var(--text-dark);
    }
    
    .progress-bar {
        width: 100%;
        height: 8px;
        background: var(--border-color);
        border-radius: 4px;
        overflow: hidden;
    }
    
    .progress-fill {
        height: 100%;
        background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
        border-radius: 4px;
        transition: width 2s ease-in-out;
    }
    
    .why-image {
        width: 100%;
        margin: 20px 0;
    }
    
    .why-image img {
        width: 100%;
        height: 250px;
        object-fit: cover;
        border-radius: 12px;
    }
    
    /* Services CTA Section - Mobile fixes */
    .services-cta {
        padding: 40px 0;
        background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
        color: white;
        text-align: center;
    }
    
    .cta-content h2 {
        font-size: 24px;
        margin-bottom: 15px;
    }
    
    .cta-content p {
        font-size: 16px;
        margin-bottom: 25px;
        opacity: 0.9;
    }
    
    .btn-contact-modern {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        background: white;
        color: var(--primary-color);
        padding: 15px 25px;
        border-radius: 8px;
        text-decoration: none;
        font-weight: 600;
        font-size: 16px;
        transition: all 0.3s ease;
        width: 100%;
        max-width: 250px;
        justify-content: center;
    }
    
    .btn-contact-modern:hover {
        background: var(--accent-color);
        color: white;
        transform: translateY(-2px);
    }
}

/* ===========================================
   MINIMUM SCREEN FIXES (max-width: 200px)
   =========================================== */
@media (max-width: 200px) {
    .container {
        padding: 0 5px;
    }
    
    .nav-container {
        padding: 4px 5px;
    }
    
    .logo-img {
        width: 20px;
        height: 20px;
    }
    
    .logo-text {
        font-size: 8px;
    }
    
    .hamburger {
        display: flex !important;
        width: 16px;
        height: 16px;
        flex-shrink: 0;
    }
    
    .hamburger .bar {
        width: 12px;
        height: 1px;
    }
    
    .hero-title {
        font-size: 16px;
    }
    
    .hero-subtitle {
        font-size: 10px;
    }
    
    .btn-primary,
    .btn-secondary,
    .btn-contact-modern {
        max-width: 150px;
        padding: 6px 8px;
        font-size: 10px;
    }
    
    .service-card,
    .service-item,
    .highlight-card {
        padding: 10px;
    }
    
    .stat {
        padding: 8px;
        max-width: 100px;
    }
    
    .stat-number {
        font-size: 18px;
    }
    
    .stat-label {
        font-size: 8px;
    }
}

/* ===========================================
   MOBILE TOP SECTION FIXES
   =========================================== */
@media (max-width: 767px) {
    /* Ensure all page headers are visible on mobile */
    body {
        padding-top: 0; /* Remove any body padding */
    }
    
    /* All hero sections and page headers */
    .hero,
    .about-hero,
    .contact-hero,
    .services-hero,
    .tax-hero,
    .licensing-hero,
    .accounting-hero,
    .registration-hero,
    .audit-hero,
    .loan-hero,
    .page-header,
    .main-header {
        padding-top: 120px !important; /* Force top padding for fixed navbar */
        margin-top: 0 !important;
    }
    
    /* Service page specific fixes */
    .tax-hero,
    .licensing-hero,
    .accounting-hero,
    .registration-hero,
    .audit-hero,
    .loan-hero {
        padding-top: 120px !important;
        min-height: 70vh;
    }
    
    /* About and Contact page fixes */
    .about-hero,
    .contact-hero {
        padding-top: 120px !important;
        min-height: 70vh;
    }
    
    /* Services page fixes */
    .services-hero {
        padding-top: 120px !important;
        min-height: 70vh;
    }
    
    /* Main index page fixes */
    .hero {
        padding-top: 120px !important;
        min-height: 70vh;
    }
}

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

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Tablet Styling */
@media (max-width: 1024px) and (min-width: 769px) {
    .nav-menu {
        gap: var(--spacing-8);
    }
    
    .nav-link {
        font-size: var(--font-size-sm);
    }
    
    .about-stats .stat-number {
        font-size: var(--font-size-4xl) !important;
        color: var(--primary-color) !important;
        font-weight: 900 !important;
    }
    
    .about-stats .stat-label {
        font-size: var(--font-size-xs) !important;
        color: #222 !important;
        font-weight: 700 !important;
    }
}

/* Logo Responsive Styling */
@media (max-width: 768px) {
    .logo-img {
        width: 65px;
        height: 65px;
    }
    
    .footer-logo-img {
        width: 60px;
        height: 60px;
    }
}

@media (max-width: 480px) {
    .logo-img {
        width: 55px;
        height: 55px;
    }
    
    .footer-logo-img {
        width: 50px;
        height: 50px;
    }
    
    .nav-logo {
        gap: var(--spacing-2);
    }
    
    .logo-text {
        font-size: var(--font-size-base);
    }
    
    .about-stats .stat-number {
        font-size: var(--font-size-4xl) !important;
        color: var(--primary-color) !important;
        font-weight: 900 !important;
    }
    
    .about-stats .stat-label {
        font-size: var(--font-size-xs) !important;
        color: #222 !important;
        font-weight: 700 !important;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-container {
        justify-content: space-between;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--bg-white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: var(--spacing-8);
        transition: left var(--transition-normal);
        box-shadow: var(--shadow-lg);
        gap: var(--spacing-8);
    }

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

    .hamburger {
        display: flex;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

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

    .hamburger.active .bar:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: var(--spacing-8);
        text-align: center;
    }

    .hero-title {
        font-size: var(--font-size-3xl);
    }

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

    .about-content,
    .why-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-8);
    }

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

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

    .hero-card {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--spacing-3);
    }

    .hero {
        padding: 100px 0 60px;
    }

    .hero-title {
        font-size: var(--font-size-3xl);
        font-weight: 800;
        line-height: 1.1;
        margin-bottom: var(--spacing-6);
        color: var(--text-dark);
    }

    .hero-subtitle {
        font-size: var(--font-size-xl);
        font-weight: 500;
        line-height: 1.6;
        margin-bottom: var(--spacing-6);
        color: var(--text-light);
    }

    .btn-primary,
    .btn-secondary {
        padding: var(--spacing-3) var(--spacing-6);
        font-size: var(--font-size-base);
        font-weight: 600;
    }

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

    .section-header h2 {
        font-size: var(--font-size-2xl);
    }

    .section-header h3 {
        font-size: var(--font-size-xl);
    }

    .about-text h2,
    .why-text h2 {
        font-size: var(--font-size-xl);
    }

    .about-text h3,
    .why-text h3 {
        font-size: var(--font-size-lg);
    }

    .cta-content h2 {
        font-size: var(--font-size-2xl);
    }

    .cta-content p {
        font-size: var(--font-size-lg);
    }
}

/* Background Image Rules - Prevent Repetition and Ensure Proper Scaling */
/* Apply these rules to any element that uses background images */
[style*="background-image"],
.background-image,
.hero-background,
.hero-background img,
.background-img {
    background-repeat: no-repeat !important;
    background-size: cover !important;
    background-position: center !important;
}

/* Specific rules for hero background images */
.hero-background {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Responsive background images */
@media (max-width: 768px) {
    .hero-background img {
        object-fit: cover;
        object-position: center;
    }
}

@media (max-width: 480px) {
    .hero-background img {
        object-fit: cover;
        object-position: center;
    }
}

/* ===========================================
   FINAL RESPONSIVE IMPROVEMENTS
   =========================================== */

/* Ensure all images have proper scaling and no repetition */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Fluid typography for better readability */
@media (max-width: 768px) {
    html {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 13px;
    }
}

/* Ensure no horizontal scroll */
body {
    overflow-x: hidden;
}

/* Improve touch targets for mobile */
@media (max-width: 768px) {
    .nav-link,
    .btn-primary,
    .btn-secondary,
    .btn-contact-modern,
    .social-links a {
        min-height: 44px;
        min-width: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    }
    
/* Improve form accessibility on mobile */
@media (max-width: 768px) {
    .form-group input,
    .form-group textarea {
        font-size: 16px; /* Prevents zoom on iOS */
        padding: var(--spacing-4);
    }
}

/* Ensure proper spacing on all devices */
@media (max-width: 480px) {
    .container {
        padding: 0 var(--spacing-3);
}

section {
        padding: var(--spacing-8) 0;
    }
    
    .hero {
        padding: var(--spacing-12) 0;
    }
}

/* Fix any potential layout issues */
@media (max-width: 768px) {
    .services-grid-detailed {
        grid-template-columns: 1fr;
        gap: var(--spacing-6);
    }
    
    .highlights-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-6);
    }
    
    .team-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-6);
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-4);
    }
}

/* Ensure proper button spacing on mobile */
@media (max-width: 768px) {
    .hero-buttons {
        gap: var(--spacing-4);
        margin-top: var(--spacing-6);
    }
    
    .btn-contact-modern {
        margin-bottom: var(--spacing-4);
    }
}

/* Specific image classes to prevent repetition and ensure proper scaling */
.logo-img,
.footer-logo-img {
    object-fit: contain;
    object-position: center;
}

.about-image img,
.why-image img,
.service-image img,
.map-image {
    object-fit: cover;
    object-position: center;
    width: 100%;
    display: block;
}

/* Hero background image specific rules */
.hero-background img {
    object-fit: cover;
    object-position: center;
    width: 100%;
    height: 100%;
    display: block;
}

/* About Page Specific Styles */
.about-hero {
    position: relative;
    height: 70vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.about-hero .hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.about-hero .hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-hero .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.8), rgba(30, 58, 138, 0.9));
    z-index: 2;
    display: flex;
    align-items: center;
}

.about-hero .hero-content {
    text-align: center;
    color: var(--text-white);
    max-width: 800px;
    margin: 0 auto;
}

.about-hero h1 {
    font-size: var(--font-size-5xl);
    font-weight: 800;
    margin-bottom: var(--spacing-6);
    color: var(--text-white);
}

.about-hero p {
    font-size: var(--font-size-xl);
    margin-bottom: var(--spacing-8);
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

/* Company Introduction */
.company-intro {
    padding: var(--spacing-20) 0;
    background: var(--bg-white);
}

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

.intro-text h2 {
    color: var(--primary-color);
    font-size: var(--font-size-3xl);
    margin-bottom: var(--spacing-6);
}

.intro-text p {
    font-size: var(--font-size-lg);
    line-height: 1.7;
    color: var(--text-light);
    margin-bottom: var(--spacing-6);
}

.intro-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-xl);
    transition: transform var(--transition-normal);
}

.intro-image img:hover {
    transform: scale(1.02);
}

/* Key Stats Section */
.key-stats {
    position: relative;
    padding: var(--spacing-20) 0;
    overflow: hidden;
}

.stats-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.stats-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.stats-overlay {
    position: relative;
    z-index: 2;
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.8), rgba(30, 58, 138, 0.9));
    padding: var(--spacing-20) 0;
}

.stats-content {
    text-align: center;
    color: var(--text-white);
    position: relative;
    z-index: 2;
}

.stats-content h2 {
    font-size: var(--font-size-4xl);
    font-weight: 800;
    margin-bottom: var(--spacing-4);
    color: var(--text-white);
    position: relative;
}

.stats-content h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: var(--radius-full);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-8);
    margin-top: var(--spacing-16);
}

.stat-item {
    text-align: center;
    background: rgba(255, 255, 255, 0.95);
    padding: var(--spacing-10);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-xl);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transition: transform var(--transition-normal);
}

.stat-item:hover::before {
    transform: scaleX(1);
}

.stat-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.stat-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-6);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    position: relative;
}

.stat-icon::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: var(--radius-full);
    z-index: -1;
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.stat-item:hover .stat-icon {
    transform: scale(1.1);
}

.stat-item:hover .stat-icon::before {
    opacity: 1;
}

.stat-icon i {
    font-size: var(--font-size-2xl);
    color: var(--text-white);
}

.stat-number {
    display: block;
    font-size: var(--font-size-5xl);
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: var(--spacing-2);
    transition: all var(--transition-normal);
}

.stat-label {
    font-size: var(--font-size-lg);
    color: var(--text-dark);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-item:hover .stat-number {
    transform: scale(1.05);
}

/* Mission & Vision */
.mission-vision {
    padding: var(--spacing-20) 0;
    background: var(--bg-light);
}

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

.mission-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-xl);
    transition: transform var(--transition-normal);
}

.mission-image img:hover {
    transform: scale(1.02);
}

.mission-text {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-8);
}

.mission-card,
.vision-card {
    background: var(--bg-white);
    padding: var(--spacing-8);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    border-left: 4px solid var(--primary-color);
}

.mission-card:hover,
.vision-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.mission-icon,
.vision-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-4);
}

.mission-icon i,
.vision-icon i {
    font-size: var(--font-size-xl);
    color: var(--text-white);
}

.mission-card h3,
.vision-card h3 {
    color: var(--text-dark);
    font-size: var(--font-size-xl);
    margin-bottom: var(--spacing-4);
}

.mission-card p,
.vision-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Why Choose Us About */
.why-choose-about {
    padding: var(--spacing-20) 0;
    background: var(--bg-white);
}

.why-choose-about .why-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-16);
    align-items: center;
}

.why-choose-about h2 {
    color: var(--primary-color);
    font-size: var(--font-size-3xl);
    margin-bottom: var(--spacing-8);
}

.trust-points {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-6);
}

.trust-item {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-4);
    padding: var(--spacing-6);
    background: var(--bg-light);
    border-radius: var(--radius-xl);
    transition: all var(--transition-normal);
}

.trust-item:hover {
    background: var(--bg-white);
    box-shadow: var(--shadow-md);
    transform: translateX(8px);
}

.trust-item i {
    font-size: var(--font-size-2xl);
    color: var(--primary-color);
    margin-top: var(--spacing-1);
    flex-shrink: 0;
}

.trust-item h4 {
    color: var(--text-dark);
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-2);
}

.trust-item p {
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

.why-choose-about .why-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-xl);
    transition: transform var(--transition-normal);
}

.why-choose-about .why-image img:hover {
    transform: scale(1.02);
}

/* Our Team */
.our-team {
    padding: var(--spacing-20) 0;
    background: var(--bg-light);
}

.team-header {
    text-align: center;
    margin-bottom: var(--spacing-16);
}

.team-header h2 {
    color: var(--primary-color);
    font-size: var(--font-size-3xl);
    margin-bottom: var(--spacing-4);
}

.team-header p {
    font-size: var(--font-size-lg);
    color: var(--text-light);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-8);
}

.team-member {
    background: var(--bg-white);
    padding: var(--spacing-8);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: all var(--transition-normal);
    border: 1px solid var(--border-color);
}

.team-member:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.member-photo {
    width: 120px;
    height: 120px;
    margin: 0 auto var(--spacing-6);
    border-radius: var(--radius-full);
    overflow: hidden;
    border: 4px solid var(--primary-color);
    transition: all var(--transition-normal);
}

.team-member:hover .member-photo {
    transform: scale(1.05);
    border-color: var(--secondary-color);
}

.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-member h4 {
    color: var(--text-dark);
    font-size: var(--font-size-xl);
    margin-bottom: var(--spacing-2);
}

.member-role {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: var(--spacing-4);
}

.member-bio {
    color: var(--text-light);
    line-height: 1.6;
    font-size: var(--font-size-sm);
}

/* Testimonials */
.testimonials {
    position: relative;
    padding: var(--spacing-20) 0;
    background: #ffffff;
    overflow: hidden;
}

/* Removed background image and overlay for clean design */

.testimonials-content {
    text-align: center;
    color: var(--text-dark);
}

.testimonials-content h2 {
    font-size: var(--font-size-4xl);
    font-weight: 800;
    margin-bottom: var(--spacing-12);
    color: var(--text-dark);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-8);
}

.testimonial-card {
    background: var(--text-white);
    padding: var(--spacing-8);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-light);
    transition: all var(--transition-normal);
    color: var(--text-dark);
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.testimonial-content p {
    font-size: var(--font-size-lg);
    line-height: 1.6;
    margin-bottom: var(--spacing-6);
    color: var(--text-dark);
    font-style: italic;
}

.testimonial-author h4 {
    color: var(--text-dark);
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-1);
}

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

/* About CTA */
.about-cta {
    position: relative;
    padding: var(--spacing-20) 0;
    background: #ffffff;
    overflow: hidden;
}

/* Removed background image and overlay for clean design */

.about-cta .cta-content {
    text-align: center;
    color: var(--text-dark);
}

.about-cta h2 {
    font-size: var(--font-size-4xl);
    font-weight: 800;
    margin-bottom: var(--spacing-6);
    color: var(--text-dark);
}

.about-cta p {
    font-size: var(--font-size-xl);
    margin-bottom: var(--spacing-8);
    color: var(--text-light);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.about-cta .btn-primary {
    background: var(--primary-color);
    color: var(--text-white);
    font-size: var(--font-size-lg);
    padding: var(--spacing-4) var(--spacing-8);
}

.about-cta .btn-primary:hover {
    background: var(--primary-700);
    transform: translateY(-3px);
}

/* Why Partner Section */
.why-partner-section {
    padding: var(--spacing-20) 0;
    background: var(--bg-light);
}

.why-partner-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-16);
    align-items: center;
}

.why-partner-text h2 {
    font-size: var(--font-size-4xl);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: var(--spacing-8);
    text-align: left;
}

.why-points {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-6);
}

.why-point {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-4);
    padding: var(--spacing-4);
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

.why-point:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.why-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-size: var(--font-size-lg);
}

.why-text h4 {
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: var(--spacing-2);
}

.why-text p {
    color: var(--text-light);
    line-height: 1.6;
}

.why-partner-image {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.why-partner-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

.why-partner-image:hover img {
    transform: scale(1.05);
}

/* Responsive Design for Why Partner Section */
@media (max-width: 768px) {
    .why-partner-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-8);
    }
    
    .why-partner-text h2 {
        font-size: var(--font-size-3xl);
        text-align: center;
    }
    
    .why-partner-image img {
        height: 300px;
    }
}

/* Tax Preparation Page Styles */
.breadcrumb {
    background: var(--bg-light);
    padding: var(--spacing-4) 0;
    border-bottom: 1px solid var(--border-color);
}

.breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: var(--spacing-2);
    font-size: var(--font-size-sm);
}

.breadcrumb-nav a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color var(--transition-normal);
}

.breadcrumb-nav a:hover {
    color: var(--primary-dark);
}

.breadcrumb-separator {
    color: var(--text-light);
    margin: 0 var(--spacing-1);
}

.breadcrumb-current {
    color: var(--text-dark);
    font-weight: 500;
}

/* Tax Hero Section */
.tax-hero {
    position: relative;
    height: 70vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.tax-hero .hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.tax-hero .hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tax-hero .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.8), rgba(30, 58, 138, 0.9));
    z-index: 2;
    display: flex;
    align-items: center;
}

.tax-hero .hero-content {
    text-align: center;
    color: var(--text-white);
    max-width: 800px;
    margin: 0 auto;
}

.tax-hero h1 {
    font-size: var(--font-size-5xl);
    font-weight: 800;
    margin-bottom: var(--spacing-6);
    line-height: 1.2;
}

.tax-hero p {
    font-size: var(--font-size-xl);
    margin-bottom: var(--spacing-8);
    opacity: 0.95;
    line-height: 1.6;
    color: var(--text-white);
}

/* Tax Overview Section */
.tax-overview {
    padding: var(--spacing-20) 0;
    background: var(--bg-white);
}

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

.overview-text h2 {
    font-size: var(--font-size-4xl);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: var(--spacing-6);
}

.overview-text p {
    font-size: var(--font-size-lg);
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: var(--spacing-6);
}

.overview-stats {
    display: flex;
    gap: var(--spacing-8);
    margin-top: var(--spacing-8);
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: var(--font-size-3xl);
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: var(--spacing-2);
}

.stat-label {
    font-size: var(--font-size-sm);
    color: var(--text-light);
    font-weight: 500;
}

.overview-image {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.overview-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

.overview-image:hover img {
    transform: scale(1.05);
}

/* Tax Services Detailed Section */
.tax-services-detailed {
    padding: var(--spacing-20) 0;
    background: var(--bg-light);
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-16);
}

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

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

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-8);
}

.service-card-detailed {
    background: var(--bg-white);
    padding: var(--spacing-8);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    border: 1px solid var(--border-color);
}

.service-card-detailed:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.service-card-detailed .service-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-size: var(--font-size-xl);
    margin-bottom: var(--spacing-6);
}

.service-card-detailed h3 {
    font-size: var(--font-size-xl);
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: var(--spacing-4);
}

.service-card-detailed p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: var(--spacing-6);
}

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

.service-features li {
    padding: var(--spacing-2) 0;
    color: var(--text-light);
    position: relative;
    padding-left: var(--spacing-6);
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: 600;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-2);
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    margin-top: auto;
    padding-top: var(--spacing-4);
    transition: all var(--transition-normal);
}

.service-link:hover {
    color: var(--primary-dark);
    transform: translateX(4px);
}

.service-link i {
    transition: transform var(--transition-normal);
}

.service-link:hover i {
    transform: translateX(4px);
}

/* Why Choose Tax Section */
.why-choose-tax {
    padding: var(--spacing-20) 0;
    background: var(--bg-white);
}

.why-choose-tax .why-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-16);
    align-items: center;
}

.why-choose-tax h2 {
    font-size: var(--font-size-4xl);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: var(--spacing-8);
}

.why-choose-tax .why-points {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-6);
}

.why-choose-tax .why-point {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-4);
    padding: var(--spacing-4);
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    transition: all var(--transition-normal);
}

.why-choose-tax .why-point:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.why-choose-tax .why-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-size: var(--font-size-lg);
}

.why-choose-tax .why-text h4 {
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: var(--spacing-2);
}

.why-choose-tax .why-text p {
    color: var(--text-light);
    line-height: 1.6;
}

.why-choose-tax .why-image {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.why-choose-tax .why-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

.why-choose-tax .why-image:hover img {
    transform: scale(1.05);
}

/* FAQ Section */
.tax-faq {
    padding: var(--spacing-20) 0;
    background: var(--bg-light);
}

.faq-content h2 {
    font-size: var(--font-size-4xl);
    font-weight: 700;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: var(--spacing-16);
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    margin-bottom: var(--spacing-4);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: all var(--transition-normal);
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
}

.faq-question {
    padding: var(--spacing-6);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all var(--transition-normal);
}

.faq-question h4 {
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
}

.faq-question i {
    color: var(--primary-color);
    transition: transform var(--transition-normal);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-normal);
}

.faq-answer p {
    padding: 0 var(--spacing-6) var(--spacing-6);
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

/* Tax CTA Section */
.tax-cta {
    padding: var(--spacing-20) 0;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    text-align: center;
}

.tax-cta .cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.tax-cta h2 {
    font-size: var(--font-size-4xl);
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: var(--spacing-6);
}

.tax-cta p {
    font-size: var(--font-size-lg);
    color: var(--text-white);
    opacity: 0.9;
    margin-bottom: var(--spacing-8);
    line-height: 1.6;
}

/* Tax Page Responsive Design */
@media (max-width: 768px) {
    .tax-hero {
        height: 60vh;
        min-height: 400px;
    }
    
    .tax-hero h1 {
        font-size: var(--font-size-4xl);
    }
    
    .tax-hero p {
        font-size: var(--font-size-lg);
        color: var(--text-white);
    }
    
    .overview-content,
    .why-choose-tax .why-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-8);
    }
    
    .overview-stats {
        justify-content: center;
        gap: var(--spacing-6);
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .section-header h2,
    .why-choose-tax h2,
    .faq-content h2,
    .tax-cta h2 {
        font-size: var(--font-size-3xl);
    }
}

/* Business Licensing Page Styles */
.licensing-hero {
    position: relative;
    height: 70vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.licensing-hero .hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.licensing-hero .hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.licensing-hero .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.8), rgba(30, 58, 138, 0.9));
    z-index: 2;
    display: flex;
    align-items: center;
}

.licensing-hero .hero-content {
    text-align: center;
    color: var(--text-white);
    max-width: 800px;
    margin: 0 auto;
}

.licensing-hero h1 {
    font-size: var(--font-size-5xl);
    font-weight: 800;
    margin-bottom: var(--spacing-6);
    line-height: 1.2;
}

.licensing-hero p {
    font-size: var(--font-size-xl);
    margin-bottom: var(--spacing-8);
    opacity: 0.95;
    line-height: 1.6;
    color: var(--text-white);
}

/* Licensing Overview Section */
.licensing-overview {
    padding: var(--spacing-20) 0;
    background: var(--bg-white);
}

.licensing-overview .overview-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-16);
    align-items: center;
}

.licensing-overview h2 {
    font-size: var(--font-size-4xl);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: var(--spacing-6);
}

.licensing-overview p {
    font-size: var(--font-size-lg);
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: var(--spacing-6);
}

.licensing-overview .overview-stats {
    display: flex;
    gap: var(--spacing-8);
    margin-top: var(--spacing-8);
}

.licensing-overview .stat-item {
    text-align: center;
}

.licensing-overview .stat-number {
    display: block;
    font-size: var(--font-size-3xl);
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: var(--spacing-2);
}

.licensing-overview .stat-label {
    font-size: var(--font-size-sm);
    color: var(--text-light);
    font-weight: 500;
}

.licensing-overview .overview-image {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.licensing-overview .overview-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

.licensing-overview .overview-image:hover img {
    transform: scale(1.05);
}

/* Licensing Services Detailed Section */
.licensing-services-detailed {
    padding: var(--spacing-20) 0;
    background: var(--bg-light);
}

.licensing-services-detailed .section-header {
    text-align: center;
    margin-bottom: var(--spacing-16);
}

.licensing-services-detailed .section-header h2 {
    font-size: var(--font-size-4xl);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: var(--spacing-4);
}

.licensing-services-detailed .section-header p {
    font-size: var(--font-size-lg);
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

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

.licensing-services-detailed .service-card-detailed {
    background: var(--bg-white);
    padding: var(--spacing-8);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    border: 1px solid var(--border-color);
}

.licensing-services-detailed .service-card-detailed:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.licensing-services-detailed .service-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-size: var(--font-size-xl);
    margin-bottom: var(--spacing-6);
}

.licensing-services-detailed h3 {
    font-size: var(--font-size-xl);
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: var(--spacing-4);
}

.licensing-services-detailed p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: var(--spacing-6);
}

.licensing-services-detailed .service-features {
    list-style: none;
    padding: 0;
}

.licensing-services-detailed .service-features li {
    padding: var(--spacing-2) 0;
    color: var(--text-light);
    position: relative;
    padding-left: var(--spacing-6);
}

.licensing-services-detailed .service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: 600;
}

/* Why Choose Licensing Section */
.why-choose-licensing {
    padding: var(--spacing-20) 0;
    background: var(--bg-white);
}

.why-choose-licensing .why-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-16);
    align-items: center;
}

.why-choose-licensing h2 {
    font-size: var(--font-size-4xl);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: var(--spacing-8);
}

.why-choose-licensing .why-points {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-6);
}

.why-choose-licensing .why-point {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-4);
    padding: var(--spacing-4);
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    transition: all var(--transition-normal);
}

.why-choose-licensing .why-point:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.why-choose-licensing .why-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-size: var(--font-size-lg);
}

.why-choose-licensing .why-text h4 {
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: var(--spacing-2);
}

.why-choose-licensing .why-text p {
    color: var(--text-light);
    line-height: 1.6;
}

.why-choose-licensing .why-image {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.why-choose-licensing .why-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

.why-choose-licensing .why-image:hover img {
    transform: scale(1.05);
}

/* Licensing FAQ Section */
.licensing-faq {
    padding: var(--spacing-20) 0;
    background: var(--bg-light);
}

.licensing-faq .faq-content h2 {
    font-size: var(--font-size-4xl);
    font-weight: 700;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: var(--spacing-16);
}

.licensing-faq .faq-grid {
    max-width: 800px;
    margin: 0 auto;
}

.licensing-faq .faq-item {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    margin-bottom: var(--spacing-4);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: all var(--transition-normal);
}

.licensing-faq .faq-item:hover {
    box-shadow: var(--shadow-md);
}

.licensing-faq .faq-question {
    padding: var(--spacing-6);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all var(--transition-normal);
}

.licensing-faq .faq-question h4 {
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
}

.licensing-faq .faq-question i {
    color: var(--primary-color);
    transition: transform var(--transition-normal);
}

.licensing-faq .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-normal);
}

.licensing-faq .faq-answer p {
    padding: 0 var(--spacing-6) var(--spacing-6);
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

.licensing-faq .faq-item.active .faq-answer {
    max-height: 200px;
}

/* Licensing CTA Section */
.licensing-cta {
    padding: var(--spacing-20) 0;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    text-align: center;
}

.licensing-cta .cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.licensing-cta h2 {
    font-size: var(--font-size-4xl);
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: var(--spacing-6);
}

.licensing-cta p {
    font-size: var(--font-size-lg);
    color: var(--text-white);
    opacity: 0.9;
    margin-bottom: var(--spacing-8);
    line-height: 1.6;
}

/* Business Licensing Page Responsive Design */
@media (max-width: 768px) {
    .licensing-hero {
        height: 60vh;
        min-height: 400px;
    }
    
    .licensing-hero h1 {
        font-size: var(--font-size-4xl);
    }
    
    .licensing-hero p {
        font-size: var(--font-size-lg);
        color: var(--text-white);
    }
    
    .licensing-overview .overview-content,
    .why-choose-licensing .why-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-8);
    }
    
    .licensing-overview .overview-stats {
        justify-content: center;
        gap: var(--spacing-6);
    }
    
    .licensing-services-detailed .services-grid {
        grid-template-columns: 1fr;
    }
    
    .licensing-services-detailed .section-header h2,
    .why-choose-licensing h2,
    .licensing-faq .faq-content h2,
    .licensing-cta h2 {
        font-size: var(--font-size-3xl);
    }
}

/* Accounting Services Page Styles */
.accounting-hero {
    position: relative;
    height: 70vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.accounting-hero .hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.accounting-hero .hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.accounting-hero .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.8), rgba(30, 58, 138, 0.9));
    z-index: 2;
    display: flex;
    align-items: center;
}

.accounting-hero .hero-content {
    text-align: center;
    color: var(--text-white);
    max-width: 800px;
    margin: 0 auto;
}

.accounting-hero h1 {
    font-size: var(--font-size-5xl);
    font-weight: 800;
    margin-bottom: var(--spacing-6);
    line-height: 1.2;
}

.accounting-hero p {
    font-size: var(--font-size-xl);
    margin-bottom: var(--spacing-8);
    opacity: 0.95;
    line-height: 1.6;
    color: var(--text-white);
}

/* Accounting Overview Section */
.accounting-overview {
    padding: var(--spacing-20) 0;
    background: var(--bg-white);
}

.accounting-overview .overview-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-16);
    align-items: center;
}

.accounting-overview h2 {
    font-size: var(--font-size-4xl);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: var(--spacing-6);
}

.accounting-overview p {
    font-size: var(--font-size-lg);
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: var(--spacing-6);
}

.accounting-overview .overview-stats {
    display: flex;
    gap: var(--spacing-8);
    margin-top: var(--spacing-8);
}

.accounting-overview .stat-item {
    text-align: center;
}

.accounting-overview .stat-number {
    display: block;
    font-size: var(--font-size-3xl);
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: var(--spacing-2);
}

.accounting-overview .stat-label {
    font-size: var(--font-size-sm);
    color: var(--text-light);
    font-weight: 500;
}

.accounting-overview .overview-image {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.accounting-overview .overview-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

.accounting-overview .overview-image:hover img {
    transform: scale(1.05);
}

/* Accounting Services Detailed Section */
.accounting-services-detailed {
    padding: var(--spacing-20) 0;
    background: var(--bg-light);
}

.accounting-services-detailed .section-header {
    text-align: center;
    margin-bottom: var(--spacing-16);
}

.accounting-services-detailed .section-header h2 {
    font-size: var(--font-size-4xl);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: var(--spacing-4);
}

.accounting-services-detailed .section-header p {
    font-size: var(--font-size-lg);
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

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

.accounting-services-detailed .service-card-detailed {
    background: var(--bg-white);
    padding: var(--spacing-8);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    border: 1px solid var(--border-color);
}

.accounting-services-detailed .service-card-detailed:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.accounting-services-detailed .service-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-size: var(--font-size-xl);
    margin-bottom: var(--spacing-6);
}

.accounting-services-detailed h3 {
    font-size: var(--font-size-xl);
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: var(--spacing-4);
}

.accounting-services-detailed p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: var(--spacing-6);
}

.accounting-services-detailed .service-features {
    list-style: none;
    padding: 0;
}

.accounting-services-detailed .service-features li {
    padding: var(--spacing-2) 0;
    color: var(--text-light);
    position: relative;
    padding-left: var(--spacing-6);
}

.accounting-services-detailed .service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: 600;
}

/* Why Choose Accounting Section */
.why-choose-accounting {
    padding: var(--spacing-20) 0;
    background: var(--bg-white);
}

.why-choose-accounting .why-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-16);
    align-items: center;
}

.why-choose-accounting h2 {
    font-size: var(--font-size-4xl);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: var(--spacing-8);
}

.why-choose-accounting .why-points {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-6);
}

.why-choose-accounting .why-point {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-4);
    padding: var(--spacing-4);
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    transition: all var(--transition-normal);
}

.why-choose-accounting .why-point:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.why-choose-accounting .why-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-size: var(--font-size-lg);
}

.why-choose-accounting .why-text h4 {
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: var(--spacing-2);
}

.why-choose-accounting .why-text p {
    color: var(--text-light);
    line-height: 1.6;
}

.why-choose-accounting .why-image {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.why-choose-accounting .why-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

.why-choose-accounting .why-image:hover img {
    transform: scale(1.05);
}

/* Accounting FAQ Section */
.accounting-faq {
    padding: var(--spacing-20) 0;
    background: var(--bg-light);
}

.accounting-faq .faq-content h2 {
    font-size: var(--font-size-4xl);
    font-weight: 700;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: var(--spacing-16);
}

.accounting-faq .faq-grid {
    max-width: 800px;
    margin: 0 auto;
}

.accounting-faq .faq-item {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    margin-bottom: var(--spacing-4);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: all var(--transition-normal);
}

.accounting-faq .faq-item:hover {
    box-shadow: var(--shadow-md);
}

.accounting-faq .faq-question {
    padding: var(--spacing-6);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all var(--transition-normal);
}

.accounting-faq .faq-question h4 {
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
}

.accounting-faq .faq-question i {
    color: var(--primary-color);
    transition: transform var(--transition-normal);
}

.accounting-faq .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-normal);
}

.accounting-faq .faq-answer p {
    padding: 0 var(--spacing-6) var(--spacing-6);
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

.accounting-faq .faq-item.active .faq-answer {
    max-height: 200px;
}

/* Accounting CTA Section */
.accounting-cta {
    padding: var(--spacing-20) 0;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    text-align: center;
}

.accounting-cta .cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.accounting-cta h2 {
    font-size: var(--font-size-4xl);
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: var(--spacing-6);
}

.accounting-cta p {
    font-size: var(--font-size-lg);
    color: var(--text-white);
    opacity: 0.9;
    margin-bottom: var(--spacing-8);
    line-height: 1.6;
}

/* Accounting Services Page Responsive Design */
@media (max-width: 768px) {
    .accounting-hero {
        height: 60vh;
        min-height: 400px;
    }
    
    .accounting-hero h1 {
        font-size: var(--font-size-4xl);
    }
    
    .accounting-hero p {
        font-size: var(--font-size-lg);
        color: var(--text-white);
    }
    
    .accounting-overview .overview-content,
    .why-choose-accounting .why-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-8);
    }
    
    .accounting-overview .overview-stats {
        justify-content: center;
        gap: var(--spacing-6);
    }
    
    .accounting-services-detailed .services-grid {
        grid-template-columns: 1fr;
    }
    
    .accounting-services-detailed .section-header h2,
    .why-choose-accounting h2,
    .accounting-faq .faq-content h2,
    .accounting-cta h2 {
        font-size: var(--font-size-3xl);
    }
}

/* Business Registration Page Styles */
.registration-hero {
    position: relative;
    height: 70vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.registration-hero .hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.registration-hero .hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.registration-hero .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.8), rgba(30, 58, 138, 0.9));
    z-index: 2;
    display: flex;
    align-items: center;
}

.registration-hero .hero-content {
    text-align: center;
    color: var(--text-white);
    max-width: 800px;
    margin: 0 auto;
}

.registration-hero h1 {
    font-size: var(--font-size-5xl);
    font-weight: 800;
    margin-bottom: var(--spacing-6);
    line-height: 1.2;
}

.registration-hero p {
    font-size: var(--font-size-xl);
    margin-bottom: var(--spacing-8);
    opacity: 0.95;
    line-height: 1.6;
    color: var(--text-white);
}

/* Registration Overview Section */
.registration-overview {
    padding: var(--spacing-20) 0;
    background: var(--bg-white);
}

.registration-overview .overview-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-16);
    align-items: center;
}

.registration-overview h2 {
    font-size: var(--font-size-4xl);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: var(--spacing-6);
}

.registration-overview p {
    font-size: var(--font-size-lg);
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: var(--spacing-6);
}

.registration-overview .overview-stats {
    display: flex;
    gap: var(--spacing-8);
    margin-top: var(--spacing-8);
}

.registration-overview .stat-item {
    text-align: center;
}

.registration-overview .stat-number {
    display: block;
    font-size: var(--font-size-3xl);
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: var(--spacing-2);
}

.registration-overview .stat-label {
    font-size: var(--font-size-sm);
    color: var(--text-light);
    font-weight: 500;
}

.registration-overview .overview-image {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.registration-overview .overview-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

.registration-overview .overview-image:hover img {
    transform: scale(1.05);
}

/* Registration Services Detailed Section */
.registration-services-detailed {
    padding: var(--spacing-20) 0;
    background: var(--bg-light);
}

.registration-services-detailed .section-header {
    text-align: center;
    margin-bottom: var(--spacing-16);
}

.registration-services-detailed .section-header h2 {
    font-size: var(--font-size-4xl);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: var(--spacing-4);
}

.registration-services-detailed .section-header p {
    font-size: var(--font-size-lg);
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

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

.registration-services-detailed .service-card-detailed {
    background: var(--bg-white);
    padding: var(--spacing-8);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    border: 1px solid var(--border-color);
}

.registration-services-detailed .service-card-detailed:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.registration-services-detailed .service-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-size: var(--font-size-xl);
    margin-bottom: var(--spacing-6);
}

.registration-services-detailed h3 {
    font-size: var(--font-size-xl);
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: var(--spacing-4);
}

.registration-services-detailed p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: var(--spacing-6);
}

.registration-services-detailed .service-features {
    list-style: none;
    padding: 0;
}

.registration-services-detailed .service-features li {
    padding: var(--spacing-2) 0;
    color: var(--text-light);
    position: relative;
    padding-left: var(--spacing-6);
}

.registration-services-detailed .service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: 600;
}

/* Why Choose Registration Section */
.why-choose-registration {
    padding: var(--spacing-20) 0;
    background: var(--bg-white);
}

.why-choose-registration .why-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-16);
    align-items: center;
}

.why-choose-registration h2 {
    font-size: var(--font-size-4xl);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: var(--spacing-8);
}

.why-choose-registration .why-points {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-6);
}

.why-choose-registration .why-point {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-4);
    padding: var(--spacing-4);
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    transition: all var(--transition-normal);
}

.why-choose-registration .why-point:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.why-choose-registration .why-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-size: var(--font-size-lg);
}

.why-choose-registration .why-text h4 {
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: var(--spacing-2);
}

.why-choose-registration .why-text p {
    color: var(--text-light);
    line-height: 1.6;
}

.why-choose-registration .why-image {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.why-choose-registration .why-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

.why-choose-registration .why-image:hover img {
    transform: scale(1.05);
}

/* Registration FAQ Section */
.registration-faq {
    padding: var(--spacing-20) 0;
    background: var(--bg-light);
}

.registration-faq .faq-content h2 {
    font-size: var(--font-size-4xl);
    font-weight: 700;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: var(--spacing-16);
}

.registration-faq .faq-grid {
    max-width: 800px;
    margin: 0 auto;
}

.registration-faq .faq-item {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    margin-bottom: var(--spacing-4);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: all var(--transition-normal);
}

.registration-faq .faq-item:hover {
    box-shadow: var(--shadow-md);
}

.registration-faq .faq-question {
    padding: var(--spacing-6);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all var(--transition-normal);
}

.registration-faq .faq-question h4 {
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
}

.registration-faq .faq-question i {
    color: var(--primary-color);
    transition: transform var(--transition-normal);
}

.registration-faq .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-normal);
}

.registration-faq .faq-answer p {
    padding: 0 var(--spacing-6) var(--spacing-6);
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

.registration-faq .faq-item.active .faq-answer {
    max-height: 200px;
}

/* Registration CTA Section */
.registration-cta {
    padding: var(--spacing-20) 0;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    text-align: center;
}

.registration-cta .cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.registration-cta h2 {
    font-size: var(--font-size-4xl);
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: var(--spacing-6);
}

.registration-cta p {
    font-size: var(--font-size-lg);
    color: var(--text-white);
    opacity: 0.9;
    margin-bottom: var(--spacing-8);
    line-height: 1.6;
}

/* Business Registration Page Responsive Design */
@media (max-width: 768px) {
    .registration-hero {
        height: 60vh;
        min-height: 400px;
    }
    
    .registration-hero h1 {
        font-size: var(--font-size-4xl);
    }
    
    .registration-hero p {
        font-size: var(--font-size-lg);
        color: var(--text-white);
    }
    
    .registration-overview .overview-content,
    .why-choose-registration .why-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-8);
    }
    
    .registration-overview .overview-stats {
        justify-content: center;
        gap: var(--spacing-6);
    }
    
    .registration-services-detailed .services-grid {
        grid-template-columns: 1fr;
    }
    
    .registration-services-detailed .section-header h2,
    .why-choose-registration h2,
    .registration-faq .faq-content h2,
    .registration-cta h2 {
        font-size: var(--font-size-3xl);
    }
}

/* Audit Services Page Styles */
.audit-hero {
    position: relative;
    height: 70vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.audit-hero .hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.audit-hero .hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.audit-hero .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.8), rgba(30, 58, 138, 0.9));
    z-index: 2;
    display: flex;
    align-items: center;
}

.audit-hero .hero-content {
    text-align: center;
    color: var(--text-white);
    max-width: 800px;
    margin: 0 auto;
}

.audit-hero h1 {
    font-size: var(--font-size-5xl);
    font-weight: 800;
    margin-bottom: var(--spacing-6);
    line-height: 1.2;
}

.audit-hero p {
    font-size: var(--font-size-xl);
    margin-bottom: var(--spacing-8);
    opacity: 0.95;
    line-height: 1.6;
    color: var(--text-white);
}

/* Audit Overview Section */
.audit-overview {
    padding: var(--spacing-20) 0;
    background: var(--bg-white);
}

.audit-overview .overview-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-16);
    align-items: center;
}

.audit-overview h2 {
    font-size: var(--font-size-4xl);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: var(--spacing-6);
}

.audit-overview p {
    font-size: var(--font-size-lg);
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: var(--spacing-6);
}

.audit-overview .overview-stats {
    display: flex;
    gap: var(--spacing-8);
    margin-top: var(--spacing-8);
}

.audit-overview .stat-item {
    text-align: center;
}

.audit-overview .stat-number {
    display: block;
    font-size: var(--font-size-3xl);
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: var(--spacing-2);
}

.audit-overview .stat-label {
    font-size: var(--font-size-sm);
    color: var(--text-light);
    font-weight: 500;
}

.audit-overview .overview-image {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.audit-overview .overview-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

.audit-overview .overview-image:hover img {
    transform: scale(1.05);
}

/* Audit Services Detailed Section */
.audit-services-detailed {
    padding: var(--spacing-20) 0;
    background: var(--bg-light);
}

.audit-services-detailed .section-header {
    text-align: center;
    margin-bottom: var(--spacing-16);
}

.audit-services-detailed .section-header h2 {
    font-size: var(--font-size-4xl);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: var(--spacing-4);
}

.audit-services-detailed .section-header p {
    font-size: var(--font-size-lg);
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

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

.audit-services-detailed .service-card-detailed {
    background: var(--bg-white);
    padding: var(--spacing-8);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    border: 1px solid var(--border-color);
}

.audit-services-detailed .service-card-detailed:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.audit-services-detailed .service-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-size: var(--font-size-xl);
    margin-bottom: var(--spacing-6);
}

.audit-services-detailed h3 {
    font-size: var(--font-size-xl);
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: var(--spacing-4);
}

.audit-services-detailed p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: var(--spacing-6);
}

.audit-services-detailed .service-features {
    list-style: none;
    padding: 0;
}

.audit-services-detailed .service-features li {
    padding: var(--spacing-2) 0;
    color: var(--text-light);
    position: relative;
    padding-left: var(--spacing-6);
}

.audit-services-detailed .service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: 600;
}

/* Why Choose Audit Section */
.why-choose-audit {
    padding: var(--spacing-20) 0;
    background: var(--bg-white);
}

.why-choose-audit .why-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-16);
    align-items: center;
}

.why-choose-audit h2 {
    font-size: var(--font-size-4xl);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: var(--spacing-8);
}

.why-choose-audit .why-points {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-6);
}

.why-choose-audit .why-point {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-4);
    padding: var(--spacing-4);
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    transition: all var(--transition-normal);
}

.why-choose-audit .why-point:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.why-choose-audit .why-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-size: var(--font-size-lg);
}

.why-choose-audit .why-text h4 {
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: var(--spacing-2);
}

.why-choose-audit .why-text p {
    color: var(--text-light);
    line-height: 1.6;
}

.why-choose-audit .why-image {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.why-choose-audit .why-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

.why-choose-audit .why-image:hover img {
    transform: scale(1.05);
}

/* Audit FAQ Section */
.audit-faq {
    padding: var(--spacing-20) 0;
    background: var(--bg-light);
}

.audit-faq .faq-content h2 {
    font-size: var(--font-size-4xl);
    font-weight: 700;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: var(--spacing-16);
}

.audit-faq .faq-grid {
    max-width: 800px;
    margin: 0 auto;
}

.audit-faq .faq-item {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    margin-bottom: var(--spacing-4);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: all var(--transition-normal);
}

.audit-faq .faq-item:hover {
    box-shadow: var(--shadow-md);
}

.audit-faq .faq-question {
    padding: var(--spacing-6);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all var(--transition-normal);
}

.audit-faq .faq-question h4 {
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
}

.audit-faq .faq-question i {
    color: var(--primary-color);
    transition: transform var(--transition-normal);
}

.audit-faq .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-normal);
}

.audit-faq .faq-answer p {
    padding: 0 var(--spacing-6) var(--spacing-6);
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

.audit-faq .faq-item.active .faq-answer {
    max-height: 200px;
}

/* Audit CTA Section */
.audit-cta {
    padding: var(--spacing-20) 0;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    text-align: center;
}

.audit-cta .cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.audit-cta h2 {
    font-size: var(--font-size-4xl);
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: var(--spacing-6);
}

.audit-cta p {
    font-size: var(--font-size-lg);
    color: var(--text-white);
    opacity: 0.9;
    margin-bottom: var(--spacing-8);
    line-height: 1.6;
}

/* Audit Services Page Responsive Design */
@media (max-width: 768px) {
    .audit-hero {
        height: 60vh;
        min-height: 400px;
    }
    
    .audit-hero h1 {
        font-size: var(--font-size-4xl);
    }
    
    .audit-hero p {
        font-size: var(--font-size-lg);
        color: var(--text-white);
    }
    
    .audit-overview .overview-content,
    .why-choose-audit .why-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-8);
    }
    
    .audit-overview .overview-stats {
        justify-content: center;
        gap: var(--spacing-6);
    }
    
    .audit-services-detailed .services-grid {
        grid-template-columns: 1fr;
    }
    
    .audit-services-detailed .section-header h2,
    .why-choose-audit h2,
    .audit-faq .faq-content h2,
    .audit-cta h2 {
        font-size: var(--font-size-3xl);
    }
}

/* Loan Assistance Page Styles */
.loan-hero {
    position: relative;
    height: 70vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.loan-hero .hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.loan-hero .hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.loan-hero .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.8), rgba(30, 58, 138, 0.9));
    z-index: 2;
    display: flex;
    align-items: center;
}

.loan-hero .hero-content {
    text-align: center;
    color: var(--text-white);
    max-width: 800px;
    margin: 0 auto;
}

.loan-hero h1 {
    font-size: var(--font-size-5xl);
    font-weight: 800;
    margin-bottom: var(--spacing-6);
    line-height: 1.2;
}

.loan-hero p {
    font-size: var(--font-size-xl);
    margin-bottom: var(--spacing-8);
    opacity: 0.95;
    line-height: 1.6;
    color: var(--text-white);
}

/* Loan Overview Section */
.loan-overview {
    padding: var(--spacing-20) 0;
    background: var(--bg-white);
}

.loan-overview .overview-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-16);
    align-items: center;
}

.loan-overview h2 {
    font-size: var(--font-size-4xl);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: var(--spacing-6);
}

.loan-overview p {
    font-size: var(--font-size-lg);
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: var(--spacing-6);
}

.loan-overview .overview-stats {
    display: flex;
    gap: var(--spacing-8);
    margin-top: var(--spacing-8);
}

.loan-overview .stat-item {
    text-align: center;
}

.loan-overview .stat-number {
    display: block;
    font-size: var(--font-size-3xl);
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: var(--spacing-2);
}

.loan-overview .stat-label {
    font-size: var(--font-size-sm);
    color: var(--text-light);
    font-weight: 500;
}

.loan-overview .overview-image {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.loan-overview .overview-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

.loan-overview .overview-image:hover img {
    transform: scale(1.05);
}

/* Loan Services Detailed Section */
.loan-services-detailed {
    padding: var(--spacing-20) 0;
    background: var(--bg-light);
}

.loan-services-detailed .section-header {
    text-align: center;
    margin-bottom: var(--spacing-16);
}

.loan-services-detailed .section-header h2 {
    font-size: var(--font-size-4xl);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: var(--spacing-4);
}

.loan-services-detailed .section-header p {
    font-size: var(--font-size-lg);
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

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

.loan-services-detailed .service-card-detailed {
    background: var(--bg-white);
    padding: var(--spacing-8);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    border: 1px solid var(--border-color);
}

.loan-services-detailed .service-card-detailed:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.loan-services-detailed .service-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-size: var(--font-size-xl);
    margin-bottom: var(--spacing-6);
}

.loan-services-detailed h3 {
    font-size: var(--font-size-xl);
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: var(--spacing-4);
}

.loan-services-detailed p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: var(--spacing-6);
}

.loan-services-detailed .service-features {
    list-style: none;
    padding: 0;
}

.loan-services-detailed .service-features li {
    padding: var(--spacing-2) 0;
    color: var(--text-light);
    position: relative;
    padding-left: var(--spacing-6);
}

.loan-services-detailed .service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: 600;
}

/* Why Choose Loan Section */
.why-choose-loan {
    padding: var(--spacing-20) 0;
    background: var(--bg-white);
}

.why-choose-loan .why-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-16);
    align-items: center;
}

.why-choose-loan h2 {
    font-size: var(--font-size-4xl);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: var(--spacing-8);
}

.why-choose-loan .why-points {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-6);
}

.why-choose-loan .why-point {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-4);
    padding: var(--spacing-4);
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    transition: all var(--transition-normal);
}

.why-choose-loan .why-point:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.why-choose-loan .why-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-size: var(--font-size-lg);
}

.why-choose-loan .why-text h4 {
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: var(--spacing-2);
}

.why-choose-loan .why-text p {
    color: var(--text-light);
    line-height: 1.6;
}

.why-choose-loan .why-image {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.why-choose-loan .why-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

.why-choose-loan .why-image:hover img {
    transform: scale(1.05);
}

/* Loan FAQ Section */
.loan-faq {
    padding: var(--spacing-20) 0;
    background: var(--bg-light);
}

.loan-faq .faq-content h2 {
    font-size: var(--font-size-4xl);
    font-weight: 700;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: var(--spacing-16);
}

.loan-faq .faq-grid {
    max-width: 800px;
    margin: 0 auto;
}

.loan-faq .faq-item {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    margin-bottom: var(--spacing-4);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: all var(--transition-normal);
}

.loan-faq .faq-item:hover {
    box-shadow: var(--shadow-md);
}

.loan-faq .faq-question {
    padding: var(--spacing-6);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all var(--transition-normal);
}

.loan-faq .faq-question h4 {
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
}

.loan-faq .faq-question i {
    color: var(--primary-color);
    transition: transform var(--transition-normal);
}

.loan-faq .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-normal);
}

.loan-faq .faq-answer p {
    padding: 0 var(--spacing-6) var(--spacing-6);
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

.loan-faq .faq-item.active .faq-answer {
    max-height: 200px;
}

/* Loan CTA Section */
.loan-cta {
    padding: var(--spacing-20) 0;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    text-align: center;
}

.loan-cta .cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.loan-cta h2 {
    font-size: var(--font-size-4xl);
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: var(--spacing-6);
}

.loan-cta p {
    font-size: var(--font-size-lg);
    color: var(--text-white);
    opacity: 0.9;
    margin-bottom: var(--spacing-8);
    line-height: 1.6;
}

/* Loan Assistance Page Responsive Design */
@media (max-width: 768px) {
    .loan-hero {
        height: 60vh;
        min-height: 400px;
    }
    
    .loan-hero h1 {
        font-size: var(--font-size-4xl);
    }
    
    .loan-hero p {
        font-size: var(--font-size-lg);
        color: var(--text-white);
    }
    
    .loan-overview .overview-content,
    .why-choose-loan .why-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-8);
    }
    
    .loan-overview .overview-stats {
        justify-content: center;
        gap: var(--spacing-6);
    }
    
    .loan-services-detailed .services-grid {
        grid-template-columns: 1fr;
    }
    
    .loan-services-detailed .section-header h2,
    .why-choose-loan h2,
    .loan-faq .faq-content h2,
    .loan-cta h2 {
        font-size: var(--font-size-3xl);
    }
}

/* About Page Responsive Design */
@media (max-width: 768px) {
    .about-hero {
        height: 60vh;
        min-height: 400px;
    }
    
    .about-hero h1 {
        font-size: var(--font-size-3xl);
    }
    
    .about-hero p {
        font-size: var(--font-size-lg);
    }
    
    .intro-content,
    .mission-content,
    .why-choose-about .why-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-8);
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-6);
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .intro-image img,
    .mission-image img,
    .why-choose-about .why-image img {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .about-hero h1 {
        font-size: var(--font-size-2xl);
    }
    
    .about-hero p {
        font-size: var(--font-size-base);
    }
    
    .stats-content h2,
    .testimonials-content h2,
    .about-cta h2 {
        font-size: var(--font-size-2xl);
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-6);
    }
    
    .stat-item {
        padding: var(--spacing-6);
    }
    
    .stat-icon {
        width: 60px;
        height: 60px;
        margin-bottom: var(--spacing-4);
    }
    
    .stat-number {
        font-size: var(--font-size-4xl);
    }
    
    .about-cta p {
        font-size: var(--font-size-lg);
    }
    
    .team-member {
        padding: var(--spacing-6);
    }
    
    .member-photo {
        width: 100px;
        height: 100px;
    }
}

/* Contact Page Specific Styles */
.contact-hero {
    position: relative;
    height: 70vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.contact-hero .hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.contact-hero .hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contact-hero .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.8), rgba(30, 58, 138, 0.9));
    z-index: 2;
    display: flex;
    align-items: center;
}

.contact-hero .hero-content {
    text-align: center;
    color: var(--text-white);
    max-width: 800px;
    margin: 0 auto;
}

.contact-hero h1 {
    font-size: var(--font-size-5xl);
    font-weight: 800;
    margin-bottom: var(--spacing-6);
    color: var(--text-white);
}

.contact-hero p {
    font-size: var(--font-size-xl);
    margin-bottom: var(--spacing-8);
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

/* Contact Form Section */
.contact-form-section {
    padding: var(--spacing-20) 0;
    background: var(--bg-white);
}

.contact-form-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-16);
    align-items: start;
}

.contact-form-wrapper {
    background: var(--bg-light);
    padding: var(--spacing-8);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-md);
}

.form-header {
    margin-bottom: var(--spacing-8);
}

.form-header h2 {
    color: var(--primary-color);
    font-size: var(--font-size-3xl);
    margin-bottom: var(--spacing-4);
}

.form-header p {
    color: var(--text-light);
    font-size: var(--font-size-lg);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-6);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-4);
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: var(--spacing-2);
    font-size: var(--font-size-base);
}

.required {
    color: #ef4444;
}

.form-group input,
.form-group textarea {
    padding: var(--spacing-4);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-lg);
    font-size: var(--font-size-base);
    transition: all var(--transition-fast);
    font-family: inherit;
    background: var(--bg-white);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
    transform: translateY(-1px);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--text-white);
    border: none;
    padding: var(--spacing-4) var(--spacing-8);
    border-radius: var(--radius-lg);
    font-size: var(--font-size-lg);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-normal);
    align-self: flex-start;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, var(--primary-dark), #1e3a8a);
}




.contact-form-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-xl);
    transition: transform var(--transition-normal);
}

.contact-form-image img:hover {
    transform: scale(1.02);
}

/* Contact Information Section */
.contact-info-section {
    padding: var(--spacing-20) 0;
    background: var(--bg-light);
}

.contact-info-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-16);
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-details h2 {
    color: var(--primary-color);
    font-size: var(--font-size-3xl);
    margin-bottom: var(--spacing-8);
}

.contact-items {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-6);
}

.contact-item {
    display: flex;
    align-items: center;
    padding: var(--spacing-6);
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    margin-bottom: var(--spacing-4);
}

.contact-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    font-size: var(--font-size-lg);
    color: var(--text-white);
}

.contact-info-text h4 {
    color: var(--primary-color);
    font-size: var(--font-size-xl);
    font-weight: 700;
    margin-bottom: var(--spacing-3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-info-text p {
    color: var(--text-dark);
    font-size: var(--font-size-lg);
    line-height: 1.6;
    margin: 0;
    font-weight: 500;
}

.contact-info-text a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color var(--transition-normal);
    font-weight: 600;
}

.contact-info-text a:hover {
    color: var(--primary-dark);
}

.map-container h3 {
    color: var(--primary-color);
    font-size: var(--font-size-2xl);
    margin-bottom: var(--spacing-6);
    text-align: center;
}

.map-wrapper {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: var(--bg-white);
    padding: var(--spacing-4);
}

.map-wrapper iframe {
    width: 100%;
    height: 400px;
    border: none;
}

/* Why Contact Us Section */
.why-contact-section {
    padding: var(--spacing-20) 0;
    background: var(--bg-white);
}

.why-contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-16);
    align-items: center;
}

.why-contact-text h2 {
    color: var(--primary-color);
    font-size: var(--font-size-3xl);
    margin-bottom: var(--spacing-8);
}

.why-points {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-6);
}

.why-point {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-4);
    padding: var(--spacing-6);
    background: var(--bg-light);
    border-radius: var(--radius-xl);
    transition: all var(--transition-normal);
}

.why-point:hover {
    background: var(--bg-white);
    box-shadow: var(--shadow-md);
    transform: translateX(8px);
}

.why-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.why-icon i {
    font-size: var(--font-size-lg);
    color: var(--text-white);
}

.why-text h4 {
    color: var(--text-dark);
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-2);
}

.why-text p {
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

.why-contact-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-xl);
    transition: transform var(--transition-normal);
}

.why-contact-image img:hover {
    transform: scale(1.02);
}

/* Contact CTA Section */
.contact-cta {
    position: relative;
    padding: var(--spacing-20) 0;
    overflow: hidden;
}

.contact-cta .cta-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.contact-cta .cta-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contact-cta .cta-overlay {
    position: relative;
    z-index: 2;
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.4), rgba(30, 64, 175, 0.6));
    padding: var(--spacing-20) 0;
}

.contact-cta .cta-content {
    text-align: center;
    color: var(--text-white);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 200px;
}

.contact-cta h2 {
    font-size: var(--font-size-4xl);
    font-weight: 800;
    margin-bottom: var(--spacing-6);
    color: var(--text-white);
}

.contact-cta p {
    font-size: var(--font-size-xl);
    margin-bottom: var(--spacing-8);
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Modern CTA Button */
.btn-modern-cta {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-3);
    padding: var(--spacing-4) var(--spacing-8);
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--text-white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: var(--font-size-lg);
    box-shadow: 0 8px 25px rgba(30, 64, 175, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
}

.btn-modern-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-modern-cta:hover::before {
    left: 100%;
}

.btn-modern-cta:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 35px rgba(30, 64, 175, 0.4);
    background: linear-gradient(135deg, var(--primary-dark), #1e3a8a);
}

.btn-modern-cta:active {
    transform: translateY(-1px) scale(0.98);
}

.btn-modern-cta .btn-text {
    position: relative;
    z-index: 1;
}

.btn-modern-cta .btn-icon {
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.btn-modern-cta:hover .btn-icon {
    transform: translateX(4px);
}

/* Modern Contact Button Styles */
.btn-contact-modern {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-3);
    padding: var(--spacing-4) var(--spacing-8);
    background: var(--bg-white);
    color: #222;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: var(--font-size-lg);
    transition: all var(--transition-normal);
    box-shadow: 0 4px 12px rgba(30, 64, 175, 0.1);
    border: 1px solid rgba(30, 64, 175, 0.1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-contact-modern:hover {
    background: #f5f5f5;
    color: #222;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 64, 175, 0.15);
}

.btn-contact-modern .btn-text {
    position: relative;
    z-index: 1;
}

.btn-contact-modern .btn-icon {
    position: relative;
    z-index: 1;
    transition: transform var(--transition-normal);
}

.btn-contact-modern:hover .btn-icon {
    transform: translateX(4px);
}

/* Contact Button Responsive Design */
@media (max-width: 768px) {
    .btn-contact-modern {
        padding: var(--spacing-3) var(--spacing-6);
        font-size: var(--font-size-base);
        width: 100%;
        justify-content: center;
        margin: 0 auto;
    }
    
    .hero-buttons .btn-contact-modern {
        width: auto;
        margin: 0;
    }
}

.contact-cta {
    padding: var(--spacing-16) 0;
    text-align: center;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.contact-cta .cta-content {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Contact Page Responsive Design */
@media (max-width: 768px) {
    .contact-hero {
        height: 60vh;
        min-height: 400px;
    }
    
    .contact-hero h1 {
        font-size: var(--font-size-3xl);
    }
    
    .contact-hero p {
        font-size: var(--font-size-lg);
    }
    
    .contact-form-content,
    .contact-info-content,
    .why-contact-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-8);
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-form-image img,
    .why-contact-image img {
        height: 300px;
    }
    
    .contact-cta h2 {
        font-size: var(--font-size-2xl);
    }
    
    .contact-cta p {
        font-size: var(--font-size-lg);
    }
}

@media (max-width: 480px) {
    .contact-hero h1 {
        font-size: var(--font-size-2xl);
    }
    
    .contact-hero p {
        font-size: var(--font-size-base);
    }
    
    .contact-form-wrapper {
        padding: var(--spacing-6);
    }
    
    .contact-item,
    .why-point {
        padding: var(--spacing-4);
    }
    
    .contact-icon,
    .why-icon {
        width: 40px;
        height: 40px;
    }
    
    .contact-info-footer p {
        gap: var(--spacing-1);
        margin-bottom: var(--spacing-2);
        font-size: 14px;
    }
    
    .contact-info-footer i {
        width: 16px;
        height: 16px;
        font-size: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }
    
    .contact-icon i,
    .why-icon i {
        font-size: var(--font-size-base);
    }
}

/* ===================================
   COMPREHENSIVE MOBILE RESPONSIVE STYLES FOR ALL SERVICE DETAIL PAGES
   =================================== */

/* Base Mobile Styles - All Devices */
@media (max-width: 768px) {
    /* Fixed Hamburger Menu Positioning */
    .hamburger {
        position: fixed !important;
        top: 15px !important;
        right: 15px !important;
        z-index: 9999 !important;
        width: 35px !important;
        height: 35px !important;
        background: rgba(255, 255, 255, 0.9) !important;
        border-radius: 8px !important;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        cursor: pointer !important;
        border: none !important;
        outline: none !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    
    .hamburger .bar {
        width: 22px !important;
        height: 3px !important;
        background: #000000 !important;
        margin: 2px 0 !important;
        transition: all 0.3s ease !important;
        border-radius: 2px !important;
    }
    
    .hamburger.active .bar:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px) !important;
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0 !important;
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px) !important;
    }
    
    /* Navigation Bar */
    .navbar {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        height: 70px !important;
        background: white !important;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
        z-index: 1000 !important;
    }
    
    .nav-container {
        height: 100% !important;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: 0 15px !important;
    }
    
    .nav-menu {
        position: fixed !important;
        top: 0 !important;
        left: -100% !important;
        width: 100% !important;
        height: 100vh !important;
        background: white !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        transition: left 0.3s ease !important;
        z-index: 9998 !important;
        padding-top: 80px !important;
    }
    
    .nav-menu.active {
        left: 0 !important;
    }
    
    .nav-link {
        display: block !important;
        padding: 15px 20px !important;
        font-size: 18px !important;
        font-weight: 500 !important;
        color: var(--text-dark) !important;
        text-decoration: none !important;
        border-bottom: 1px solid #f0f0f0 !important;
        width: 100% !important;
        text-align: center !important;
        transition: all 0.3s ease !important;
    }
    
    .nav-link:hover {
        background: var(--bg-light) !important;
        color: var(--primary-color) !important;
    }
    
    /* Home Page Hero Section */
    .hero {
        min-height: 70vh !important;
        padding: 100px 0 60px !important;
        margin-top: 0 !important;
    }
    
    /* Services Page Hero Section */
    .services-hero {
        min-height: 60vh !important;
        padding: 100px 0 60px !important;
        margin-top: 0 !important;
    }
    
    /* All Service Detail Pages - Hero Sections */
    .accounting-hero,
    .tax-hero,
    .audit-hero,
    .licensing-hero,
    .registration-hero,
    .loan-hero {
        min-height: 60vh !important;
        padding: 100px 0 60px !important;
        margin-top: 0 !important;
    }
    
    .hero-content {
        text-align: center !important;
        padding: 0 20px !important;
    }
    
    /* Home Page Hero Title and Subtitle - Keep Same Content as Desktop */
    .hero .hero-title,
    .hero-content h1 {
        font-size: 2.2rem !important;
        line-height: 1.2 !important;
        margin-bottom: 20px !important;
        color: var(--text-dark) !important;
        text-align: center !important;
    }
    
    .hero .hero-subtitle,
    .hero-content p {
        font-size: 1.1rem !important;
        line-height: 1.5 !important;
        margin-bottom: 30px !important;
        color: var(--text-light) !important;
        text-align: center !important;
    }
    
    /* Service Pages Hero Content - White Text */
    .services-hero .hero-content h1,
    .services-hero .hero-title,
    .accounting-hero .hero-content h1,
    .tax-hero .hero-content h1,
    .audit-hero .hero-content h1,
    .licensing-hero .hero-content h1,
    .registration-hero .hero-content h1,
    .loan-hero .hero-content h1 {
        color: white !important;
    }
    
    .services-hero .hero-content p,
    .services-hero .hero-subtitle,
    .accounting-hero .hero-content p,
    .tax-hero .hero-content p,
    .audit-hero .hero-content p,
    .licensing-hero .hero-content p,
    .registration-hero .hero-content p,
    .loan-hero .hero-content p {
        color: rgba(255, 255, 255, 0.9) !important;
    }
    
    /* Breadcrumb */
    .breadcrumb {
        padding: 20px 0 !important;
        margin-top: 70px !important;
        background: var(--bg-light) !important;
    }
    
    .breadcrumb-nav {
        font-size: 14px !important;
        padding: 0 20px !important;
    }
    
    /* Overview and Content Sections */
    .accounting-overview,
    .tax-overview,
    .audit-overview,
    .licensing-overview,
    .registration-overview,
    .loan-overview,
    .why-choose-us {
        padding: 60px 0 !important;
    }
    
    .overview-content,
    .why-content {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
        text-align: center !important;
    }
    
    .overview-text,
    .why-text {
        order: 2 !important;
        padding: 0 20px !important;
    }
    
    .overview-image,
    .why-image {
        order: 1 !important;
        margin-bottom: 20px !important;
    }
    
    .overview-image img,
    .why-image img {
        width: 100% !important;
        height: auto !important;
        border-radius: 15px !important;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
    }
    
    /* Service Grids */
    .services-grid,
    .highlights-grid {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
        padding: 40px 0 !important;
    }
    
    /* Service Cards */
    .service-card,
    .service-card-detailed,
    .highlight-card {
        padding: 30px 20px !important;
        margin-bottom: 25px !important;
        border-radius: 15px !important;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1) !important;
        background: white !important;
        border: 1px solid #e5e7eb !important;
        text-align: center !important;
        transition: all 0.3s ease !important;
    }
    
    .service-card:hover,
    .service-card-detailed:hover,
    .highlight-card:hover {
        transform: translateY(-5px) !important;
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15) !important;
    }
    
    .service-icon,
    .highlight-icon {
        width: 60px !important;
        height: 60px !important;
        margin: 0 auto 20px !important;
        font-size: 24px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        background: linear-gradient(135deg, var(--primary-color), var(--primary-dark)) !important;
        color: white !important;
        border-radius: 50% !important;
    }
    
    .service-card h3,
    .service-card-detailed h3,
    .highlight-card h3 {
        font-size: 1.4rem !important;
        margin-bottom: 15px !important;
        line-height: 1.3 !important;
        color: var(--text-dark) !important;
    }
    
    .service-card p,
    .service-card-detailed p,
    .highlight-card p {
        font-size: 1rem !important;
        line-height: 1.6 !important;
        margin-bottom: 20px !important;
        color: var(--text-light) !important;
    }
    
    /* Service Features Lists */
    .service-features {
        margin-top: 20px !important;
        text-align: left !important;
        padding-left: 0 !important;
    }
    
    .service-features li {
        font-size: 0.95rem !important;
        padding: 8px 0 !important;
        padding-left: 25px !important;
        position: relative !important;
        color: var(--text-dark) !important;
    }
    
    .service-features li::before {
        content: "✓" !important;
        position: absolute !important;
        left: 0 !important;
        color: var(--accent-color) !important;
        font-weight: bold !important;
    }
    
    /* Section Headers */
    .section-header {
        margin-bottom: 40px !important;
        padding: 0 20px !important;
        text-align: center !important;
    }
    
    .section-header h2 {
        font-size: 2rem !important;
        line-height: 1.3 !important;
        margin-bottom: 15px !important;
        color: var(--text-dark) !important;
    }
    
    .section-header p {
        font-size: 1.1rem !important;
        line-height: 1.6 !important;
        color: var(--text-light) !important;
    }
    
    /* Detailed Services Sections */
    .accounting-services-detailed,
    .tax-services-detailed,
    .audit-services-detailed,
    .licensing-services-detailed,
    .registration-services-detailed,
    .loan-services-detailed {
        padding: 60px 0 !important;
        background: var(--bg-light) !important;
    }
    
    /* Stats - Overview and Hero Stats */
    .overview-stats,
    .hero-stats {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 20px !important;
        margin-top: 30px !important;
    }
    
    /* Tax Page Overview Stats - Dark Text on Light Background */
    .tax-overview .overview-stats .stat-item,
    .accounting-overview .overview-stats .stat-item,
    .audit-overview .overview-stats .stat-item,
    .licensing-overview .overview-stats .stat-item,
    .registration-overview .overview-stats .stat-item,
    .loan-overview .overview-stats .stat-item {
        text-align: center !important;
        min-width: 100px !important;
        padding: 20px 15px !important;
        background: rgba(30, 64, 175, 0.1) !important;
        border-radius: 12px !important;
        border: 2px solid rgba(30, 64, 175, 0.2) !important;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
    }
    
    .tax-overview .overview-stats .stat-number,
    .accounting-overview .overview-stats .stat-number,
    .audit-overview .overview-stats .stat-number,
    .licensing-overview .overview-stats .stat-number,
    .registration-overview .overview-stats .stat-number,
    .loan-overview .overview-stats .stat-number {
        font-size: 2rem !important;
        font-weight: 900 !important;
        display: block !important;
        color: var(--primary-color) !important;
        margin-bottom: 8px !important;
    }
    
    .tax-overview .overview-stats .stat-label,
    .accounting-overview .overview-stats .stat-label,
    .audit-overview .overview-stats .stat-label,
    .licensing-overview .overview-stats .stat-label,
    .registration-overview .overview-stats .stat-label,
    .loan-overview .overview-stats .stat-label {
        font-size: 0.9rem !important;
        color: var(--text-dark) !important;
        font-weight: 600 !important;
        line-height: 1.3 !important;
    }
    
    /* Hero Stats - White Text on Colored Background */
    .hero-stats .stat-item {
        text-align: center !important;
        min-width: 100px !important;
        padding: 15px !important;
        background: rgba(255, 255, 255, 0.1) !important;
        border-radius: 10px !important;
        backdrop-filter: blur(10px) !important;
    }
    
    .hero-stats .stat-number {
        font-size: 1.8rem !important;
        font-weight: 700 !important;
        display: block !important;
        color: white !important;
        margin-bottom: 5px !important;
    }
    
    .hero-stats .stat-label {
        font-size: 0.85rem !important;
        color: rgba(255, 255, 255, 0.8) !important;
        font-weight: 500 !important;
    }
    
    /* Buttons */
    .btn-contact-modern,
    .btn-secondary,
    .service-link {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 10px !important;
        padding: 15px 30px !important;
        font-size: 1rem !important;
        font-weight: 600 !important;
        min-width: 200px !important;
        margin: 10px !important;
        border-radius: 50px !important;
        transition: all 0.3s ease !important;
        text-decoration: none !important;
    }
    
    .btn-contact-modern {
        background: linear-gradient(135deg, var(--primary-color), var(--primary-dark)) !important;
        color: white !important;
        border: none !important;
    }
    
    .btn-contact-modern:hover {
        transform: translateY(-2px) !important;
        box-shadow: 0 10px 25px rgba(30, 64, 175, 0.3) !important;
    }
    
    /* Container Adjustments */
    .container {
        padding-left: 20px !important;
        padding-right: 20px !important;
        max-width: 100% !important;
    }
    
    /* Footer Adjustments - Simple Left Aligned Layout */
    .footer-content {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
        text-align: left !important;
        padding: 2rem 1rem !important;
    }
    
    /* Footer Bottom */
    .footer-bottom {
        margin-top: 2rem !important;
        padding-top: 1rem !important;
        border-top: 1px solid rgba(255, 255, 255, 0.2) !important;
        text-align: center !important;
    }
    
    .footer-bottom p {
        color: rgba(255, 255, 255, 0.8) !important;
        font-size: 0.9rem !important;
        margin: 0 !important;
    }
}

/* Extra Small Mobile Devices (480px and below) */
@media (max-width: 480px) {
    .hamburger {
        top: 12px !important;
        right: 12px !important;
        width: 32px !important;
        height: 32px !important;
    }
    
    .hamburger .bar {
        width: 20px !important;
        height: 2px !important;
    }
    
    .hero-content h1 {
        font-size: 1.8rem !important;
    }
    
    .hero-content p {
        font-size: 1rem !important;
    }
    
    .section-header h2 {
        font-size: 1.6rem !important;
    }
    
    .service-card,
    .service-card-detailed,
    .highlight-card {
        padding: 25px 15px !important;
    }
    
    .service-icon,
    .highlight-icon {
        width: 50px !important;
        height: 50px !important;
        font-size: 20px !important;
    }
    
    .service-card h3,
    .service-card-detailed h3,
    .highlight-card h3 {
        font-size: 1.2rem !important;
    }
    
    /* Stats on smaller mobile devices */
    .tax-overview .overview-stats .stat-item,
    .accounting-overview .overview-stats .stat-item,
    .audit-overview .overview-stats .stat-item,
    .licensing-overview .overview-stats .stat-item,
    .registration-overview .overview-stats .stat-item,
    .loan-overview .overview-stats .stat-item {
        min-width: 90px !important;
        padding: 15px 10px !important;
    }
    
    .tax-overview .overview-stats .stat-number,
    .accounting-overview .overview-stats .stat-number,
    .audit-overview .overview-stats .stat-number,
    .licensing-overview .overview-stats .stat-number,
    .registration-overview .overview-stats .stat-number,
    .loan-overview .overview-stats .stat-number {
        font-size: 1.6rem !important;
    }
    
    .tax-overview .overview-stats .stat-label,
    .accounting-overview .overview-stats .stat-label,
    .audit-overview .overview-stats .stat-label,
    .licensing-overview .overview-stats .stat-label,
    .registration-overview .overview-stats .stat-label,
    .loan-overview .overview-stats .stat-label {
        font-size: 0.8rem !important;
    }
    
    .container {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    
    .nav-link {
        font-size: 16px !important;
        padding: 12px 15px !important;
    }
    
    .btn-contact-modern,
    .btn-secondary {
        min-width: 180px !important;
        padding: 12px 25px !important;
        font-size: 0.95rem !important;
    }
}

/* Tablet Landscape and Small Desktop (769px to 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    .hamburger {
        display: none !important;
    }
    
    .nav-menu {
        position: static !important;
        flex-direction: row !important;
        height: auto !important;
        background: transparent !important;
        box-shadow: none !important;
        padding: 0 !important;
        width: auto !important;
        left: 0 !important;
    }
    
    .nav-link {
        padding: 10px 15px !important;
        border-bottom: none !important;
        width: auto !important;
        font-size: 1rem !important;
        text-align: left !important;
    }
    
    .services-grid,
    .highlights-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 30px !important;
    }
    
    .overview-content,
    .why-content {
        grid-template-columns: 1fr 1fr !important;
        text-align: left !important;
        align-items: center !important;
    }
    
    .overview-text,
    .why-text {
        order: 0 !important;
        padding: 0 !important;
    }
    
    .overview-image,
    .why-image {
        order: 0 !important;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr) !important;
        text-align: left !important;
    }
}

/* Large Desktop (1025px and up) */
@media (min-width: 1025px) {
    .hamburger {
        display: none !important;
    }
    
    .services-grid,
    .highlights-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
    
    .footer-content {
        grid-template-columns: repeat(4, 1fr) !important;
    }
}

/* iPhone SE Services Page Hero Section Fix */
@media (max-width: 375px) {
    /* Services Page Hero - Prevent Cutoff */
    .services-hero {
        min-height: 100vh !important;
        padding: 120px 0 80px !important;
        margin-top: 0 !important;
        position: relative !important;
        overflow: visible !important;
    }
    
    .services-hero .hero-overlay {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 0 !important;
    }
    
    .services-hero .hero-content {
        position: relative !important;
        z-index: 2 !important;
        text-align: center !important;
        padding: 0 20px !important;
        max-width: 100% !important;
        width: 100% !important;
    }
    
    .services-hero .hero-title,
    .services-hero h1 {
        font-size: 1.8rem !important;
        line-height: 1.2 !important;
        margin-bottom: 15px !important;
        color: white !important;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4) !important;
    }
    
    .services-hero .hero-subtitle,
    .services-hero p {
        font-size: 0.95rem !important;
        line-height: 1.4 !important;
        margin-bottom: 20px !important;
        color: rgba(255, 255, 255, 0.9) !important;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3) !important;
    }
    
    .services-hero .hero-stats {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 15px !important;
        margin-top: 25px !important;
    }
    
    .services-hero .hero-stats .stat-item {
        text-align: center !important;
        min-width: 80px !important;
        padding: 12px 10px !important;
        background: rgba(255, 255, 255, 0.1) !important;
        border-radius: 8px !important;
        backdrop-filter: blur(10px) !important;
    }
    
    .services-hero .hero-stats .stat-number {
        font-size: 1.4rem !important;
        font-weight: 700 !important;
        display: block !important;
        color: white !important;
        margin-bottom: 4px !important;
    }
    
    .services-hero .hero-stats .stat-label {
        font-size: 0.75rem !important;
        color: rgba(255, 255, 255, 0.8) !important;
        font-weight: 500 !important;
    }
}

/* iPhone XR Services Page Hero Section Fix (414x896) */
@media (max-width: 414px) {
    /* Services Page Hero - Prevent Cutoff */
    .services-hero {
        min-height: 100vh !important;
        padding: 110px 0 70px !important;
        margin-top: 0 !important;
        position: relative !important;
        overflow: visible !important;
    }
    
    .services-hero .hero-overlay {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 0 !important;
    }
    
    .services-hero .hero-content {
        position: relative !important;
        z-index: 2 !important;
        text-align: center !important;
        padding: 0 25px !important;
        max-width: 100% !important;
        width: 100% !important;
    }
    
    .services-hero .hero-title,
    .services-hero h1 {
        font-size: 2rem !important;
        line-height: 1.2 !important;
        margin-bottom: 18px !important;
        color: white !important;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4) !important;
    }
    
    .services-hero .hero-subtitle,
    .services-hero p {
        font-size: 1rem !important;
        line-height: 1.5 !important;
        margin-bottom: 25px !important;
        color: rgba(255, 255, 255, 0.9) !important;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3) !important;
    }
    
    .services-hero .hero-stats {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 18px !important;
        margin-top: 30px !important;
    }
    
    .services-hero .hero-stats .stat-item {
        text-align: center !important;
        min-width: 90px !important;
        padding: 15px 12px !important;
        background: rgba(255, 255, 255, 0.1) !important;
        border-radius: 10px !important;
        backdrop-filter: blur(10px) !important;
    }
    
    .services-hero .hero-stats .stat-number {
        font-size: 1.6rem !important;
        font-weight: 700 !important;
        display: block !important;
        color: white !important;
        margin-bottom: 5px !important;
    }
    
    .services-hero .hero-stats .stat-label {
        font-size: 0.8rem !important;
        color: rgba(255, 255, 255, 0.8) !important;
        font-weight: 500 !important;
    }
}



/* ===================================
   COMPREHENSIVE TEXT CONSISTENCY FIX - ALL PAGES
   Ensures ALL text displays same on mobile as desktop
   =================================== */

@media (max-width: 768px) {
    /* ===== GLOBAL TEXT ELEMENTS ===== */
    
    /* All Headings - Maintain Hierarchy */
    h1, .hero-title, .section-title {
        font-size: clamp(1.8rem, 4vw, 2.5rem) !important;
        line-height: 1.2 !important;
        font-weight: 700 !important;
        margin-bottom: 1rem !important;
        text-align: center !important;
        word-wrap: break-word !important;
        hyphens: auto !important;
    }
    
    h2, .section-header h2 {
        font-size: clamp(1.5rem, 3.5vw, 2rem) !important;
        line-height: 1.3 !important;
        font-weight: 600 !important;
        margin-bottom: 1rem !important;
        text-align: center !important;
        word-wrap: break-word !important;
    }
    
    h3, .service-card h3, .highlight-card h3 {
        font-size: clamp(1.2rem, 3vw, 1.5rem) !important;
        line-height: 1.4 !important;
        font-weight: 600 !important;
        margin-bottom: 0.8rem !important;
        text-align: center !important;
        word-wrap: break-word !important;
    }
    
    h4, h5, h6 {
        font-size: clamp(1rem, 2.5vw, 1.3rem) !important;
        line-height: 1.4 !important;
        font-weight: 500 !important;
        margin-bottom: 0.5rem !important;
        word-wrap: break-word !important;
    }
    
    /* All Paragraph Text */
    p, .hero-subtitle, .section-header p, .service-card p, .highlight-card p {
        font-size: clamp(0.9rem, 2.5vw, 1.1rem) !important;
        line-height: 1.6 !important;
        margin-bottom: 1rem !important;
        text-align: center !important;
        word-wrap: break-word !important;
        hyphens: auto !important;
    }
    
    /* ===== HOME PAGE SPECIFIC ===== */
    
    /* Home Hero - Keep Desktop Colors */
    .hero .hero-title {
        color: var(--text-dark) !important;
        text-shadow: none !important;
    }
    
    .hero .hero-subtitle {
        color: var(--text-light) !important;
        text-shadow: none !important;
    }
    
    /* ===== SERVICES PAGE SPECIFIC ===== */
    
    /* Services Hero - White Text */
    .services-hero .hero-title,
    .services-hero h1 {
        color: white !important;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3) !important;
    }
    
    .services-hero .hero-subtitle,
    .services-hero p {
        color: rgba(255, 255, 255, 0.95) !important;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3) !important;
    }
    
    /* ===== SERVICE DETAIL PAGES ===== */
    
    /* All Service Detail Heroes - White Text */
    .accounting-hero .hero-title,
    .tax-hero .hero-title,
    .audit-hero .hero-title,
    .licensing-hero .hero-title,
    .registration-hero .hero-title,
    .loan-hero .hero-title,
    .accounting-hero h1,
    .tax-hero h1,
    .audit-hero h1,
    .licensing-hero h1,
    .registration-hero h1,
    .loan-hero h1 {
        color: white !important;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4) !important;
    }
    
    .accounting-hero .hero-subtitle,
    .tax-hero .hero-subtitle,
    .audit-hero .hero-subtitle,
    .licensing-hero .hero-subtitle,
    .registration-hero .hero-subtitle,
    .loan-hero .hero-subtitle,
    .accounting-hero p,
    .tax-hero p,
    .audit-hero p,
    .licensing-hero p,
    .registration-hero p,
    .loan-hero p {
        color: rgba(255, 255, 255, 0.9) !important;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3) !important;
    }
    
    /* ===== ABOUT PAGE SPECIFIC ===== */
    
    .about-hero .hero-title,
    .about-hero h1 {
        color: white !important;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4) !important;
    }
    
    .about-hero .hero-subtitle,
    .about-hero p {
        color: rgba(255, 255, 255, 0.9) !important;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3) !important;
    }
    
    /* ===== CONTACT PAGE SPECIFIC ===== */
    
    .contact-hero .hero-title,
    .contact-hero h1 {
        color: white !important;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4) !important;
    }
    
    .contact-hero .hero-subtitle,
    .contact-hero p {
        color: rgba(255, 255, 255, 0.9) !important;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3) !important;
    }
    
    /* ===== NAVIGATION TEXT ===== */
    
    .nav-link {
        font-size: 1.1rem !important;
        font-weight: 500 !important;
        color: var(--text-dark) !important;
        text-decoration: none !important;
        padding: 15px 20px !important;
        display: block !important;
        text-align: center !important;
        border-bottom: 1px solid #f0f0f0 !important;
        width: 100% !important;
        transition: all 0.3s ease !important;
    }
    
    .nav-link:hover,
    .nav-link.active {
        color: var(--primary-color) !important;
        background: var(--bg-light) !important;
    }
    
    .logo-text {
        font-size: 1rem !important;
        font-weight: 600 !important;
        color: var(--text-dark) !important;
    }
    
    /* ===== BUTTON TEXT ===== */
    
    .btn-contact-modern,
    .btn-secondary,
    .btn-primary {
        font-size: 1rem !important;
        font-weight: 600 !important;
        padding: 12px 24px !important;
        border-radius: 50px !important;
        text-decoration: none !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 8px !important;
        min-width: 180px !important;
        text-align: center !important;
        transition: all 0.3s ease !important;
    }
    
    .btn-contact-modern {
        background: white !important;
        color: black !important;
        border: 2px solid #e5e7eb !important;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
    }
    
    .btn-contact-modern:hover {
        background: #f8f9fa !important;
        color: black !important;
        border-color: #d1d5db !important;
        transform: translateY(-1px) !important;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15) !important;
    }
    
    .btn-secondary {
        background: transparent !important;
        color: var(--primary-color) !important;
        border: 2px solid var(--primary-color) !important;
    }
    
    /* ===== FOOTER TEXT - SIMPLE LEFT ALIGNED LAYOUT ===== */
    
    .footer-section {
        margin-bottom: 2rem !important;
        text-align: left !important;
    }
    
    .footer-section h4 {
        font-size: 1.2rem !important;
        font-weight: 600 !important;
        color: white !important;
        margin-bottom: 1rem !important;
        text-align: left !important;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3) !important;
    }
    
    .footer-section ul {
        list-style: none !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    
    .footer-section ul li {
        margin-bottom: 0.5rem !important;
    }
    
    .footer-section p,
    .footer-section li,
    .footer-section a {
        font-size: 0.95rem !important;
        line-height: 1.5 !important;
        color: rgba(255, 255, 255, 0.9) !important;
        text-decoration: none !important;
        text-align: left !important;
    }
    
    .footer-section a:hover {
        color: white !important;
    }
    
    /* Contact Info Footer */
    .contact-info-footer p {
        margin-bottom: 0.5rem !important;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 0.5rem !important;
        text-align: left !important;
    }
    
    .contact-info-footer i {
        color: var(--primary-color) !important;
        width: 16px !important;
        text-align: center !important;
        flex-shrink: 0 !important;
    }
    
    /* Social Links */
    .social-links {
        display: flex !important;
        justify-content: flex-start !important;
        gap: 0.8rem !important;
        margin-top: 1rem !important;
    }
    
    .social-links a {
        width: 35px !important;
        height: 35px !important;
        background: var(--primary-color) !important;
        color: white !important;
        border-radius: 50% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-size: 1rem !important;
        text-decoration: none !important;
        transition: all 0.3s ease !important;
    }
    
    .social-links a:hover {
        background: white !important;
        color: var(--primary-color) !important;
    }
    
    /* ===== BREADCRUMB TEXT ===== */
    
    .breadcrumb-nav {
        font-size: 0.9rem !important;
        color: var(--text-light) !important;
        text-align: center !important;
        padding: 0 20px !important;
    }
    
    .breadcrumb-nav a {
        color: var(--primary-color) !important;
        text-decoration: none !important;
    }
    
    .breadcrumb-current {
        color: var(--text-dark) !important;
        font-weight: 500 !important;
    }
    
    /* ===== SERVICE FEATURES LISTS ===== */
    
    .service-features {
        text-align: left !important;
        margin-top: 1rem !important;
        padding-left: 0 !important;
    }
    
    .service-features li {
        font-size: 0.9rem !important;
        line-height: 1.5 !important;
        color: var(--text-dark) !important;
        padding: 6px 0 !important;
        padding-left: 25px !important;
        position: relative !important;
        word-wrap: break-word !important;
    }
    
    .service-features li::before {
        content: "✓" !important;
        position: absolute !important;
        left: 0 !important;
        color: var(--accent-color) !important;
        font-weight: bold !important;
        font-size: 1rem !important;
    }
    
    /* ===== FORM TEXT ===== */
    
    .form-group label {
        font-size: 1rem !important;
        font-weight: 500 !important;
        color: var(--text-dark) !important;
        margin-bottom: 0.5rem !important;
        display: block !important;
    }
    
    .form-control {
        font-size: 1rem !important;
        padding: 12px 15px !important;
        border: 2px solid #e5e7eb !important;
        border-radius: 8px !important;
        width: 100% !important;
        background: white !important;
        color: var(--text-dark) !important;
    }
    
    .form-control:focus {
        border-color: var(--primary-color) !important;
        outline: none !important;
        box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1) !important;
    }
    
    /* ===== CONTACT INFO TEXT ===== */
    
    .contact-item h3,
    .contact-info h3 {
        font-size: 1.3rem !important;
        font-weight: 600 !important;
        color: var(--text-dark) !important;
        margin-bottom: 0.5rem !important;
        text-align: center !important;
    }
    
    .contact-item p,
    .contact-info p {
        font-size: 1rem !important;
        line-height: 1.5 !important;
        color: var(--text-light) !important;
        text-align: center !important;
        margin-bottom: 0.5rem !important;
    }
    
    .contact-item a,
    .contact-info a {
        color: var(--primary-color) !important;
        text-decoration: none !important;
        font-weight: 500 !important;
    }
    
    .contact-item a:hover,
    .contact-info a:hover {
        text-decoration: underline !important;
    }
    
    /* ===== ENSURE NO TEXT IS HIDDEN ===== */
    
    * {
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    /* Prevent text overflow issues */
    .container,
    .hero-content,
    .section-header,
    .service-card,
    .highlight-card,
    .overview-text,
    .why-text {
        overflow: visible !important;
        text-overflow: clip !important;
        white-space: normal !important;
    }
    
    /* Ensure proper text rendering */
    body,
    html {
        -webkit-text-size-adjust: 100% !important;
        -moz-text-size-adjust: 100% !important;
        -ms-text-size-adjust: 100% !important;
        text-size-adjust: 100% !important;
        text-rendering: optimizeLegibility !important;
        -webkit-font-smoothing: antialiased !important;
        -moz-osx-font-smoothing: grayscale !important;
    }
}

/* ===== SMALL MOBILE ADJUSTMENTS (480px and below) ===== */
@media (max-width: 480px) {
    h1, .hero-title {
        font-size: clamp(1.5rem, 5vw, 2rem) !important;
    }
    
    h2 {
        font-size: clamp(1.3rem, 4vw, 1.7rem) !important;
    }
    
    h3 {
        font-size: clamp(1.1rem, 3.5vw, 1.4rem) !important;
    }
    
    p, .hero-subtitle {
        font-size: clamp(0.85rem, 3vw, 1rem) !important;
    }
    
    .nav-link {
        font-size: 1rem !important;
        padding: 12px 15px !important;
    }
    
    .btn-contact-modern,
    .btn-secondary {
        font-size: 0.9rem !important;
        padding: 10px 20px !important;
        min-width: 160px !important;
    }
    
    .btn-contact-modern {
        background: white !important;
        color: black !important;
        border: 2px solid #e5e7eb !important;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
    }
    
    .btn-contact-modern:hover {
        background: #f8f9fa !important;
        color: black !important;
        border-color: #d1d5db !important;
    }
}

/* ===== SURFACE DUO OPTIMIZATIONS ===== */

/* Surface Duo - Single Screen Mode (540px width) */
@media (max-width: 540px) and (min-width: 360px) {
    /* Optimize for Surface Duo single screen */
    .container {
        padding: 0 16px;
        max-width: 100%;
    }
    
    /* Navigation adjustments for Surface Duo */
    .navbar {
        height: 65px;
        padding: 0 16px;
    }
    
    .nav-container {
        max-width: 100%;
        padding: 0;
    }
    
    .logo-img {
        width: 45px;
        height: 45px;
    }
    
    .logo-text {
        font-size: 1rem;
        font-weight: 600;
    }
    
    /* Hero section optimizations */
    .services-hero {
        min-height: 70vh;
        padding: 120px 0 40px;
        margin-top: 0;
    }
    
    .hero-title {
        font-size: clamp(1.8rem, 6vw, 2.2rem);
        line-height: 1.2;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: clamp(1rem, 4vw, 1.2rem);
        line-height: 1.4;
        margin-bottom: 2rem;
    }
    
    /* Hero stats optimization */
    .hero-stats {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        align-items: center;
        margin-top: 2rem;
    }
    
    .stat-item {
        text-align: center;
        padding: 0.5rem;
    }
    
    .stat-number {
        font-size: 1.8rem;
        font-weight: 700;
        color: var(--primary-color);
        display: block;
    }
    
    .stat-label {
        font-size: 0.9rem;
        color: var(--text-light);
        display: block;
        margin-top: 0.25rem;
    }
    
    /* Service highlights grid */
    .highlights-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 2rem;
    }
    
    .highlight-card {
        padding: 1.5rem;
        text-align: center;
    }
    
    .highlight-icon {
        width: 60px;
        height: 60px;
        margin: 0 auto 1rem;
    }
    
    .highlight-icon i {
        font-size: 1.5rem;
    }
    
    /* Services grid optimization */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .service-card {
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }
    
    .service-image {
        height: 200px;
    }
    
    .service-content {
        padding: 1.5rem;
    }
    
    .service-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 1rem;
    }
    
    .service-icon i {
        font-size: 1.2rem;
    }
    
    .service-features {
        margin: 1rem 0;
    }
    
    .service-features li {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }
    
    /* Why hire us section */
    .why-hire-us {
        padding: 3rem 0;
    }
    
    .why-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .why-text h2 {
        font-size: clamp(1.5rem, 5vw, 1.8rem);
        margin-bottom: 1rem;
    }
    
    .progress-section {
        margin-top: 1.5rem;
    }
    
    .progress-item {
        margin-bottom: 1rem;
    }
    
    .progress-label {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }
    
    /* CTA section */
    .services-cta {
        padding: 3rem 0;
        text-align: center;
    }
    
    .cta-content h2 {
        font-size: clamp(1.5rem, 5vw, 1.8rem);
        margin-bottom: 1rem;
    }
    
    .btn-contact-modern {
        padding: 12px 24px;
        font-size: 1rem;
        margin-top: 1.5rem;
    }
    
    /* Footer optimizations */
    .footer {
        padding: 2rem 0 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-section {
        margin-bottom: 1.5rem;
    }
    
    .footer-logo {
        margin-bottom: 1rem;
    }
    
    .footer-logo-img {
        width: 50px;
        height: 50px;
    }
    
    .social-links {
        justify-content: center;
        margin-top: 1rem;
    }
    
    .contact-info-footer p {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }
}

/* Surface Duo - Dual Screen Mode (720px width) */
@media (min-width: 541px) and (max-width: 720px) {
    /* Optimize for Surface Duo dual screen unfolded */
    .container {
        padding: 0 20px;
        max-width: 100%;
    }
    
    /* Navigation for dual screen */
    .navbar {
        height: 70px;
        padding: 0 20px;
    }
    
    .nav-container {
        max-width: 100%;
    }
    
    .logo-img {
        width: 50px;
        height: 50px;
    }
    
    .logo-text {
        font-size: 1.1rem;
        font-weight: 600;
    }
    
    /* Hero section for dual screen */
    .services-hero {
        min-height: 60vh;
        padding: 120px 0 50px;
        margin-top: 0;
    }
    
    .hero-title {
        font-size: clamp(2rem, 5vw, 2.5rem);
        line-height: 1.2;
        margin-bottom: 1.5rem;
    }
    
    .hero-subtitle {
        font-size: clamp(1.1rem, 3.5vw, 1.3rem);
        line-height: 1.4;
        margin-bottom: 2.5rem;
    }
    
    /* Hero stats for dual screen */
    .hero-stats {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
        margin-top: 2.5rem;
    }
    
    .stat-item {
        text-align: center;
        padding: 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
        font-weight: 700;
        color: var(--primary-color);
        display: block;
    }
    
    .stat-label {
        font-size: 0.9rem;
        color: var(--text-light);
        display: block;
        margin-top: 0.5rem;
    }
    
    /* Service highlights for dual screen */
    .highlights-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
        margin-top: 3rem;
    }
    
    .highlight-card {
        padding: 1.5rem;
        text-align: center;
    }
    
    .highlight-icon {
        width: 60px;
        height: 60px;
        margin: 0 auto 1rem;
    }
    
    .highlight-icon i {
        font-size: 1.5rem;
    }
    
    /* Services grid for dual screen */
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .service-card {
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }
    
    .service-image {
        height: 180px;
    }
    
    .service-content {
        padding: 1.5rem;
    }
    
    .service-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 1rem;
    }
    
    .service-icon i {
        font-size: 1.2rem;
    }
    
    .service-features {
        margin: 1rem 0;
    }
    
    .service-features li {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }
    
    /* Why hire us section for dual screen */
    .why-hire-us {
        padding: 4rem 0;
    }
    
    .why-content {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
        align-items: center;
    }
    
    .why-text h2 {
        font-size: clamp(1.8rem, 4vw, 2rem);
        margin-bottom: 1.5rem;
    }
    
    .progress-section {
        margin-top: 2rem;
    }
    
    .progress-item {
        margin-bottom: 1.5rem;
    }
    
    .progress-label {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
    
    /* CTA section for dual screen */
    .services-cta {
        padding: 4rem 0;
        text-align: center;
    }
    
    .cta-content h2 {
        font-size: clamp(1.8rem, 4vw, 2rem);
        margin-bottom: 1.5rem;
    }
    
    .btn-contact-modern {
        padding: 14px 28px;
        font-size: 1.1rem;
        margin-top: 2rem;
    }
    
    /* Footer for dual screen */
    .footer {
        padding: 3rem 0 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .footer-section {
        margin-bottom: 1.5rem;
    }
    
    .footer-logo {
        margin-bottom: 1rem;
    }
    
    .footer-logo-img {
        width: 55px;
        height: 55px;
    }
    
    .social-links {
        justify-content: flex-start;
        margin-top: 1rem;
    }
    
    .contact-info-footer p {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }
}

/* Surface Duo - Landscape Mode (900px width) */
@media (min-width: 721px) and (max-width: 900px) {
    /* Optimize for Surface Duo landscape unfolded */
    .container {
        padding: 0 24px;
        max-width: 100%;
    }
    
    /* Navigation for landscape */
    .navbar {
        height: 75px;
        padding: 0 24px;
    }
    
    .nav-container {
        max-width: 100%;
    }
    
    .logo-img {
        width: 55px;
        height: 55px;
    }
    
    .logo-text {
        font-size: 1.2rem;
        font-weight: 600;
    }
    
    /* Hero section for landscape */
    .services-hero {
        min-height: 50vh;
        padding: 140px 0 60px;
        margin-top: 0;
    }
    
    .hero-title {
        font-size: clamp(2.2rem, 4vw, 2.8rem);
        line-height: 1.2;
        margin-bottom: 1.5rem;
    }
    
    .hero-subtitle {
        font-size: clamp(1.2rem, 3vw, 1.4rem);
        line-height: 1.4;
        margin-bottom: 3rem;
    }
    
    /* Hero stats for landscape */
    .hero-stats {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
        margin-top: 3rem;
    }
    
    .stat-item {
        text-align: center;
        padding: 1.5rem;
    }
    
    .stat-number {
        font-size: 2.2rem;
        font-weight: 700;
        color: var(--primary-color);
        display: block;
    }
    
    .stat-label {
        font-size: 1rem;
        color: var(--text-light);
        display: block;
        margin-top: 0.5rem;
    }
    
    /* Service highlights for landscape */
    .highlights-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
        margin-top: 4rem;
    }
    
    .highlight-card {
        padding: 2rem;
        text-align: center;
    }
    
    .highlight-icon {
        width: 70px;
        height: 70px;
        margin: 0 auto 1.5rem;
    }
    
    .highlight-icon i {
        font-size: 1.8rem;
    }
    
    /* Services grid for landscape */
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }
    
    .service-card {
        border-radius: 16px;
        overflow: hidden;
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    }
    
    .service-image {
        height: 200px;
    }
    
    .service-content {
        padding: 2rem;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 1.5rem;
    }
    
    .service-icon i {
        font-size: 1.4rem;
    }
    
    .service-features {
        margin: 1.5rem 0;
    }
    
    .service-features li {
        font-size: 1rem;
        margin-bottom: 0.75rem;
    }
    
    /* Why hire us section for landscape */
    .why-hire-us {
        padding: 5rem 0;
    }
    
    .why-content {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
        align-items: center;
    }
    
    .why-text h2 {
        font-size: clamp(2rem, 3.5vw, 2.2rem);
        margin-bottom: 2rem;
    }
    
    .progress-section {
        margin-top: 2.5rem;
    }
    
    .progress-item {
        margin-bottom: 2rem;
    }
    
    .progress-label {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }
    
    /* CTA section for landscape */
    .services-cta {
        padding: 5rem 0;
        text-align: center;
    }
    
    .cta-content h2 {
        font-size: clamp(2rem, 3.5vw, 2.2rem);
        margin-bottom: 2rem;
    }
    
    .btn-contact-modern {
        padding: 16px 32px;
        font-size: 1.2rem;
        margin-top: 2.5rem;
    }
    
    /* Footer for landscape */
    .footer {
        padding: 4rem 0 2rem;
    }
    
    .footer-content {
        grid-template-columns: repeat(4, 1fr);
        gap: 2rem;
    }
    
    .footer-section {
        margin-bottom: 1.5rem;
    }
    
    .footer-logo {
        margin-bottom: 1.5rem;
    }
    
    .footer-logo-img {
        width: 60px;
        height: 60px;
    }
    
    .social-links {
        justify-content: flex-start;
        margin-top: 1.5rem;
    }
    
    .contact-info-footer p {
        font-size: 1rem;
        margin-bottom: 0.75rem;
    }
}

/* Surface Duo - Foldable Screen Spanning */
@media (screen-spanning: single-fold-vertical) {
    /* Optimize for Surface Duo vertical fold */
    .container {
        padding: 0 20px;
        max-width: 100%;
    }
    
    .services-hero {
        min-height: 50vh;
        padding: 120px 0 50px;
        margin-top: 0;
    }
    
    .hero-stats {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
    
    .highlights-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .why-content {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (screen-spanning: single-fold-horizontal) {
    /* Optimize for Surface Duo horizontal fold */
    .container {
        padding: 0 24px;
        max-width: 100%;
    }
    
    .services-hero {
        min-height: 40vh;
        padding: 120px 0 40px;
        margin-top: 0;
    }
    
    .hero-stats {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
    
    .highlights-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
    
    .why-content {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
    
    .footer-content {
        grid-template-columns: repeat(4, 1fr);
        gap: 2rem;
    }
}

/* Surface Duo - Safe Area Adjustments */
@supports (padding: env(safe-area-inset-top)) {
    .navbar {
        padding-top: env(safe-area-inset-top);
    }
    
    .services-hero {
        padding-top: calc(120px + env(safe-area-inset-top));
    }
    
    .footer {
        padding-bottom: env(safe-area-inset-bottom);
    }
}

/* Surface Duo - Additional Top Section Fixes */
@media (max-width: 540px) and (min-width: 360px) {
    .services-hero {
        padding-top: 140px !important;
        margin-top: 0 !important;
    }
    
    .hero-content {
        padding-top: 20px;
    }
}

@media (min-width: 541px) and (max-width: 720px) {
    .services-hero {
        padding-top: 140px !important;
        margin-top: 0 !important;
    }
    
    .hero-content {
        padding-top: 20px;
    }
}

@media (min-width: 721px) and (max-width: 900px) {
    .services-hero {
        padding-top: 160px !important;
        margin-top: 0 !important;
    }
    
    .hero-content {
        padding-top: 20px;
    }
}

/* ===== GLOBAL TOP SECTION FIXES ===== */

/* Universal fix for all devices to prevent top cutoff */
.services-hero {
    padding-top: 150px !important;
    margin-top: 0 !important;
    position: relative;
    z-index: 1;
}

/* Ensure body has proper spacing */
body {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

/* Fix navbar positioning */
.navbar {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 1000 !important;
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(10px) !important;
}

/* Additional padding for hero content */
.hero-content {
    padding-top: 30px !important;
    position: relative;
    z-index: 2;
}

/* Mobile devices - extra padding */
@media (max-width: 768px) {
    .services-hero {
        padding-top: 180px !important;
        margin-top: 0 !important;
    }
    
    .hero-content {
        padding-top: 40px !important;
    }
}

/* Small mobile devices */
@media (max-width: 480px) {
    .services-hero {
        padding-top: 200px !important;
        margin-top: 0 !important;
    }
    
    .hero-content {
        padding-top: 50px !important;
    }
}

/* Very small devices */
@media (max-width: 375px) {
    .services-hero {
        padding-top: 220px !important;
        margin-top: 0 !important;
    }
    
    .hero-content {
        padding-top: 60px !important;
    }
}

/* Extra small devices */
@media (max-width: 320px) {
    .services-hero {
        padding-top: 240px !important;
        margin-top: 0 !important;
    }
    
    .hero-content {
        padding-top: 70px !important;
    }
}

/* Surface Duo - Viewport Segment Support */
@supports (width: env(viewport-segment-width 0 0)) {
    .container {
        width: env(viewport-segment-width 0 0);
        height: env(viewport-segment-height 0 0);
    }
    
    .services-hero {
        min-height: env(viewport-segment-height 0 0);
    }
}

/* ===== NEST HUB MAX OPTIMIZATIONS ===== */

/* Nest Hub Max - 1280x800 (16:10 aspect ratio) */
@media (max-width: 1280px) and (max-height: 800px) {
    /* Container optimizations for Nest Hub Max */
    .container {
        padding: 0 24px;
        max-width: 1200px;
    }
    
    /* Navigation for Nest Hub Max */
    .navbar {
        height: 80px;
        padding: 0 24px;
    }
    
    .nav-container {
        max-width: 100%;
    }
    
    .logo-img {
        width: 60px;
        height: 60px;
    }
    
    .logo-text {
        font-size: 1.3rem;
        font-weight: 600;
    }
    
    .nav-link {
        font-size: 1.1rem;
        padding: 12px 20px;
    }
    
    /* Hero section for Nest Hub Max */
    .services-hero {
        min-height: 60vh;
        padding: 100px 0 60px;
        margin-top: 0;
    }
    
    .hero-title {
        font-size: clamp(2.5rem, 4vw, 3rem);
        line-height: 1.2;
        margin-bottom: 1.5rem;
    }
    
    .hero-subtitle {
        font-size: clamp(1.2rem, 2.5vw, 1.4rem);
        line-height: 1.5;
        margin-bottom: 2.5rem;
    }
    
    /* Hero stats for Nest Hub Max */
    .hero-stats {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
        margin-top: 2.5rem;
    }
    
    .stat-item {
        text-align: center;
        padding: 1.5rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
        font-weight: 700;
        color: var(--primary-color);
        display: block;
    }
    
    .stat-label {
        font-size: 1.1rem;
        color: var(--text-light);
        display: block;
        margin-top: 0.5rem;
    }
    
    /* Service highlights for Nest Hub Max */
    .highlights-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
        margin-top: 4rem;
    }
    
    .highlight-card {
        padding: 2rem;
        text-align: center;
    }
    
    .highlight-icon {
        width: 80px;
        height: 80px;
        margin: 0 auto 1.5rem;
    }
    
    .highlight-icon i {
        font-size: 2rem;
    }
    
    .highlight-card h3 {
        font-size: 1.4rem;
        margin-bottom: 1rem;
    }
    
    .highlight-card p {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    /* Services grid for Nest Hub Max */
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }
    
    .service-card {
        border-radius: 16px;
        overflow: hidden;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    }
    
    .service-image {
        height: 220px;
    }
    
    .service-content {
        padding: 2rem;
    }
    
    .service-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 1.5rem;
    }
    
    .service-icon i {
        font-size: 1.6rem;
    }
    
    .service-content h3 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .service-content p {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 1.5rem;
    }
    
    .service-features {
        margin: 1.5rem 0;
    }
    
    .service-features li {
        font-size: 1rem;
        margin-bottom: 0.75rem;
    }
    
    .service-link {
        font-size: 1rem;
        padding: 12px 24px;
    }
    
    /* Why hire us section for Nest Hub Max */
    .why-hire-us {
        padding: 5rem 0;
    }
    
    .why-content {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
        align-items: center;
    }
    
    .why-text h2 {
        font-size: clamp(2.2rem, 3vw, 2.5rem);
        margin-bottom: 2rem;
    }
    
    .why-text p {
        font-size: 1.1rem;
        line-height: 1.6;
        margin-bottom: 2rem;
    }
    
    .progress-section {
        margin-top: 2.5rem;
    }
    
    .progress-item {
        margin-bottom: 2rem;
    }
    
    .progress-label {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }
    
    .progress-bar {
        height: 8px;
        border-radius: 4px;
    }
    
    /* CTA section for Nest Hub Max */
    .services-cta {
        padding: 5rem 0;
        text-align: center;
    }
    
    .cta-content h2 {
        font-size: clamp(2.2rem, 3vw, 2.5rem);
        margin-bottom: 2rem;
    }
    
    .cta-content p {
        font-size: 1.1rem;
        line-height: 1.6;
        margin-bottom: 2.5rem;
    }
    
    .btn-contact-modern {
        padding: 18px 36px;
        font-size: 1.2rem;
        margin-top: 2.5rem;
    }
    
    /* Footer for Nest Hub Max */
    .footer {
        padding: 4rem 0 2rem;
    }
    
    .footer-content {
        grid-template-columns: repeat(4, 1fr);
        gap: 2.5rem;
    }
    
    .footer-section {
        margin-bottom: 2rem;
    }
    
    .footer-logo {
        margin-bottom: 1.5rem;
    }
    
    .footer-logo-img {
        width: 70px;
        height: 70px;
    }
    
    .footer-section h3 {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }
    
    .footer-section h4 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
    
    .footer-section p {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 0.75rem;
    }
    
    .footer-section ul li {
        margin-bottom: 0.5rem;
    }
    
    .footer-section ul li a {
        font-size: 1rem;
    }
    
    .social-links {
        justify-content: flex-start;
        margin-top: 1.5rem;
    }
    
    .social-links a {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
    
    .contact-info-footer p {
        font-size: 1rem;
        margin-bottom: 0.75rem;
    }
    
    .contact-info-footer i {
        font-size: 1.1rem;
        margin-right: 0.5rem;
    }
}

/* Nest Hub Max - Landscape Orientation */
@media (max-width: 1280px) and (max-height: 800px) and (orientation: landscape) {
    .services-hero {
        min-height: 50vh;
        padding: 80px 0 50px;
    }
    
    .hero-title {
        font-size: clamp(2.2rem, 3.5vw, 2.8rem);
    }
    
    .hero-subtitle {
        font-size: clamp(1.1rem, 2vw, 1.3rem);
    }
    
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
    
    .highlights-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
    
    .why-content {
        gap: 3rem;
    }
    
    .footer-content {
        grid-template-columns: repeat(4, 1fr);
        gap: 2rem;
    }
}

/* Nest Hub Max - Touch Optimizations */
@media (max-width: 1280px) and (max-height: 800px) {
    /* Ensure touch targets are large enough */
    .btn-primary,
    .btn-secondary,
    .btn-contact-modern {
        min-height: 48px;
        min-width: 120px;
        padding: 12px 24px;
    }
    
    .nav-link {
        min-height: 44px;
        display: flex;
        align-items: center;
    }
    
    .service-link {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    
    .social-links a {
        min-width: 44px;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Improve touch feedback */
    .btn-primary:hover,
    .btn-secondary:hover,
    .btn-contact-modern:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }
    
    .service-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
    }
    
    .highlight-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    }
}

