/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

:root {
    --primary: #1a3a5f;
    --accent: #e67e22;
    --light: #f8f9fa;
    --dark: #2c3e50;
    --text: #333333;
    --transition: all 0.3s ease;
    --container-max-width: min(1200px, 92vw);
    --section-padding: clamp(2rem, 4vw, 4rem);
    --mobile-padding: clamp(1rem, 3vw, 1.5rem);
    --border-radius: 8px;
}

body {
    background-color: #f5f7fa;
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    font-size: clamp(14px, 1.5vw, 16px);
}

/* Header Styles */
header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: clamp(0.6rem, 1.5vw, 0.8rem) var(--mobile-padding);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: clamp(0.5rem, 1vw, 0.75rem);
    flex-shrink: 0;
    z-index: 1002;
}

.logo-icon {
    width: clamp(32px, 4vw, 38px);
    height: clamp(32px, 4vw, 38px);
    background-color: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: clamp(0.9rem, 1.5vw, 1.1rem);
}

.logo-text {
    font-weight: bold;
    font-size: clamp(0.9rem, 1.8vw, 1.15rem);
}

.logo-tagline {
    font-size: 0.7rem;
    color: var(--accent);
    display: block;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0.5rem;
    width: 44px;
    height: 44px;
    justify-content: center;
    align-items: center;
    z-index: 1001;
}

.menu-toggle span {
    width: 22px;
    height: 2px;
    background-color: var(--dark);
    margin: 2px 0;
    transition: var(--transition);
    transform-origin: center;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

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

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Desktop Navigation */
nav {
    transition: var(--transition);
}

nav ul {
    display: flex;
    list-style: none;
    gap: clamp(0.75rem, 1.5vw, 1.25rem);
}

nav a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    transition: var(--transition);
    font-size: clamp(0.85rem, 1.25vw, 0.95rem);
    padding: 0.4rem 0;
    position: relative;
    white-space: nowrap;
}

nav a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--accent);
    transition: var(--transition);
}

nav a:hover:after,
nav a:focus:after {
    width: 100%;
}

nav a:hover,
nav a:focus {
    color: var(--accent);
    outline: none;
}

nav a.active {
    color: var(--accent);
    font-weight: 600;
}

nav a.active::after {
    width: 100%;
}

/* CTA Button - Fixed Stretching */
.cta-button {
    background-color: var(--accent);
    color: white;
    border: none;
    padding: clamp(0.5rem, 1.2vw, 0.65rem) clamp(0.8rem, 1.5vw, 1.2rem);
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: clamp(0.85rem, 1.25vw, 0.95rem);
    min-height: 40px;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
}

.cta-button:hover,
.cta-button:focus {
    background-color: #d35400;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(230, 126, 34, 0.3);
    outline: none;
}

/* Mobile Navigation Overlay */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ==================== */
/* MOBILE RESPONSIVE STYLES */
/* ==================== */

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    /* Mobile Navigation */
    nav {
        position: fixed;
        top: 0;
        left: -100%;
        width: 280px;
        height: 100vh;
        background-color: white;
        box-shadow: 2px 0 20px rgba(0, 0, 0, 0.1);
        padding: 5rem 2rem 2rem;
        transition: var(--transition);
        z-index: 999;
        overflow-y: auto;
    }

    nav.active {
        left: 0;
    }

    nav ul {
        flex-direction: column;
        gap: 0;
        width: 100%;
    }

    nav li {
        width: 100%;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    nav a {
        display: block;
        padding: 1rem 0;
        font-size: 1.1rem;
        width: 100%;
    }

    nav a:after {
        display: none;
    }

    nav a.active {
        background-color: rgba(230, 126, 34, 0.1);
        color: var(--accent);
        padding-left: 1rem;
        border-radius: 4px;
    }

    /* Hide desktop CTA button in mobile nav */
    .cta-button.mobile-hidden {
        display: none;
    }

    /* Mobile CTA Button in Navigation */
    .mobile-cta-container {
        margin-top: 2rem;
        padding-top: 2rem;
        border-top: 1px solid rgba(0, 0, 0, 0.1);
    }

    .mobile-cta-container .cta-button {
        width: 100%;
        justify-content: center;
        font-size: 1rem;
        min-height: 50px;
    }
}

/* ==================== */
/* TABLET STYLES */
/* ==================== */

@media (min-width: 769px) and (max-width: 1024px) {
    .header-container {
        gap: 1.5rem;
    }

    nav ul {
        gap: 1rem;
    }

    nav a {
        font-size: 0.9rem;
    }

    .cta-button {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
}

/* ==================== */
/* LARGE DESKTOP OPTIMIZATIONS */
/* ==================== */

@media (min-width: 1200px) {
    .header-container {
        padding: 0.8rem 0;
    }
}

/* ==================== */
/* ACCESSIBILITY & TOUCH IMPROVEMENTS */
/* ==================== */

/* Touch device improvements */
@media (hover: none) and (pointer: coarse) {
    .cta-button:hover {
        transform: none;
    }
    
    nav a:hover:after {
        width: 0;
    }
    
    nav a:active {
        background-color: rgba(230, 126, 34, 0.1);
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    * {
        transition: none !important;
    }
    
    .menu-toggle span {
        transition: none;
    }
}

/* Focus styles for accessibility */
button:focus-visible,
a:focus-visible,
.cta-button:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* Utility class for mobile CTA */
.mobile-only {
    display: none;
}

@media (max-width: 768px) {
    .mobile-only {
        display: block;
    }
    
    .desktop-only {
        display: none;
    }
}


/* Services Page Hero */
.page-hero {
    background: linear-gradient(135deg, var(--primary) 0%, #2c5282 100%);
    color: white;
    padding: clamp(2.5rem, 5vw, 3.5rem) var(--mobile-padding);
    text-align: center;
}

.page-hero-content {
    max-width: min(800px, 90vw);
    margin: 0 auto;
}

.page-hero h1 {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    margin-bottom: clamp(0.75rem, 1.5vw, 1rem);
    line-height: 1.2;
    font-weight: 700;
}

.page-hero p {
    font-size: clamp(0.95rem, 1.75vw, 1.1rem);
    opacity: 0.9;
    line-height: 1.6;
    max-width: min(600px, 90%);
    margin: 0 auto;
}

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

/* Detailed Services Section */
.detailed-services {
    padding: var(--section-padding) 0;
    background-color: var(--light);
}

.service-detail {
    background: white;
    border-radius: 12px;
    margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: var(--transition);
}

.service-detail:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.service-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--dark) 100%);
    color: white;
    padding: clamp(1.25rem, 2.5vw, 2rem);
    display: flex;
    align-items: center;
    gap: clamp(0.8rem, 1.5vw, 1.25rem);
    flex-direction: row;
}

.service-header .service-icon {
    width: clamp(50px, 6vw, 70px);
    height: clamp(50px, 6vw, 70px);
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    flex-shrink: 0;
}

.service-header h2 {
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    margin: 0;
    line-height: 1.3;
    font-weight: 600;
}

.service-content {
    padding: clamp(1.25rem, 2.5vw, 2.5rem);
}

.service-content > p {
    font-size: clamp(0.95rem, 1.5vw, 1.1rem);
    line-height: 1.7;
    color: var(--dark);
    margin-bottom: clamp(1.25rem, 2.5vw, 2rem);
}

.service-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
    gap: clamp(0.8rem, 1.5vw, 1.5rem);
    margin-bottom: clamp(1.25rem, 2.5vw, 2rem);
}

.feature-item {
    padding: clamp(0.8rem, 1.5vw, 1.25rem);
    background: var(--light);
    border-radius: var(--border-radius);
    border-left: 4px solid var(--accent);
    transition: var(--transition);
}

.feature-item:hover {
    transform: translateX(5px);
    background: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.feature-item h4 {
    color: var(--primary);
    margin-bottom: 0.6rem;
    font-size: clamp(0.95rem, 1.5vw, 1.1rem);
    font-weight: 600;
}

.feature-item p {
    color: var(--text);
    line-height: 1.6;
    margin: 0;
    font-size: clamp(0.85rem, 1.25vw, 0.95rem);
}

.service-cta {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid #e9ecef;
}

.service-inquiry-btn {
    background: var(--accent);
    color: white;
    border: none;
    padding: clamp(0.6rem, 1.2vw, 0.8rem) clamp(1.25rem, 2vw, 1.75rem);
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: clamp(0.85rem, 1.25vw, 0.95rem);
    min-height: 44px;
}

.service-inquiry-btn:hover {
    background: #d35400;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(230, 126, 34, 0.3);
}

/* Service Process Section */
.service-process {
    padding: var(--section-padding) 0;
    background: white;
}

.service-process h2 {
    text-align: center;
    color: var(--primary);
    font-size: clamp(1.5rem, 3.5vw, 2rem);
    margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 700;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
    gap: clamp(1.25rem, 2.5vw, 2rem);
    position: relative;
}

.process-step {
    text-align: center;
    padding: clamp(1.25rem, 2.5vw, 1.75rem) clamp(0.8rem, 1.5vw, 1.25rem);
    position: relative;
}

.process-step::before {
    content: '';
    position: absolute;
    top: 50%;
    right: -1rem;
    width: clamp(1.25rem, 2.5vw, 1.75rem);
    height: 2px;
    background: var(--accent);
    transform: translateY(-50%);
    display: none;
}

.process-step:last-child::before {
    display: none;
}

.step-number {
    width: clamp(35px, 5vw, 45px);
    height: clamp(35px, 5vw, 45px);
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: clamp(0.9rem, 1.5vw, 1.1rem);
    margin: 0 auto clamp(0.8rem, 1.5vw, 1.25rem);
    position: relative;
    z-index: 2;
}

.step-icon {
    width: clamp(50px, 6vw, 70px);
    height: clamp(50px, 6vw, 70px);
    background: rgba(26, 58, 95, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto clamp(0.8rem, 1.5vw, 1.25rem);
    color: var(--primary);
    font-size: clamp(1.1rem, 2vw, 1.5rem);
}

.process-step h3 {
    color: var(--primary);
    margin-bottom: clamp(0.6rem, 1.2vw, 0.8rem);
    font-size: clamp(1rem, 1.75vw, 1.15rem);
    font-weight: 600;
}

.process-step p {
    color: var(--text);
    line-height: 1.6;
    font-size: clamp(0.85rem, 1.25vw, 0.95rem);
}

/* Service CTA Section */
.service-cta-section {
    padding: var(--section-padding) 0;
    background: linear-gradient(135deg, var(--primary) 0%, #2c5282 100%);
    color: white;
    text-align: center;
}

.service-cta-section h2 {
    font-size: clamp(1.5rem, 3.5vw, 2rem);
    margin-bottom: clamp(0.75rem, 1.5vw, 1rem);
    font-weight: 700;
}

.service-cta-section p {
    font-size: clamp(0.95rem, 1.75vw, 1.1rem);
    opacity: 0.9;
    margin-bottom: clamp(1.25rem, 2.5vw, 2rem);
    max-width: min(600px, 90vw);
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: clamp(0.8rem, 1.5vw, 1.25rem);
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button.primary {
    background: white;
    color: var(--primary);
    padding: clamp(0.6rem, 1.2vw, 0.8rem) clamp(1.25rem, 2vw, 1.75rem);
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: clamp(0.85rem, 1.25vw, 0.95rem);
    border: none;
    text-decoration: none;
    min-height: 44px;
}

.cta-button.primary:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2);
}

.cta-button.secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
    padding: clamp(0.6rem, 1.2vw, 0.8rem) clamp(1.25rem, 2vw, 1.75rem);
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: clamp(0.85rem, 1.25vw, 0.95rem);
    text-decoration: none;
    min-height: 44px;
}

.cta-button.secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* FAQ Section */
.service-faq {
    padding: var(--section-padding) 0;
    background: var(--light);
}

.service-faq h2 {
    text-align: center;
    color: var(--primary);
    font-size: clamp(1.5rem, 3.5vw, 2rem);
    margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 700;
}

.faq-grid {
    max-width: min(800px, 90vw);
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: var(--border-radius);
    margin-bottom: clamp(0.8rem, 1.5vw, 1rem);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.faq-question {
    padding: clamp(1rem, 1.75vw, 1.25rem);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
}

.faq-question:hover {
    background: rgba(26, 58, 95, 0.02);
}

.faq-question h4 {
    color: var(--primary);
    margin: 0;
    font-size: clamp(0.95rem, 1.5vw, 1.1rem);
    flex: 1;
    line-height: 1.4;
    font-weight: 600;
}

.faq-question i {
    color: var(--accent);
    transition: var(--transition);
    font-size: 1.1rem;
    margin-left: 0.8rem;
    flex-shrink: 0;
}

.faq-answer {
    padding: 0 clamp(1rem, 1.75vw, 1.25rem);
    max-height: 0;
    overflow: hidden;
    transition: var(--transition);
}

.faq-answer p {
    padding-bottom: clamp(1rem, 1.75vw, 1.25rem);
    color: var(--text);
    line-height: 1.6;
    margin: 0;
    font-size: clamp(0.85rem, 1.25vw, 0.95rem);
}

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

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

/* Footer Styles */
.footer {
    background-color: var(--dark);
    color: white;
    padding: clamp(2rem, 4vw, 3rem) var(--mobile-padding) clamp(1rem, 2vw, 1.5rem);
}

.footer-content {
    max-width: var(--container-max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
    gap: clamp(1.25rem, 2.5vw, 2rem);
    margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: clamp(0.5rem, 1vw, 0.75rem);
}

.footer-logo-icon {
    width: clamp(32px, 4vw, 38px);
    height: clamp(32px, 4vw, 38px);
    background-color: white;
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: clamp(0.9rem, 1.5vw, 1.1rem);
}

.footer-logo-text {
    font-weight: bold;
    font-size: clamp(0.9rem, 1.8vw, 1.15rem);
}

.footer-tagline {
    font-size: 0.7rem;
    color: var(--accent);
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    font-size: clamp(0.85rem, 1.25vw, 0.95rem);
}

.footer-contact h3,
.footer-links h3,
.footer-social h3 {
    margin-bottom: clamp(1rem, 1.75vw, 1.25rem);
    color: white;
    font-size: clamp(1rem, 1.75vw, 1.15rem);
    font-weight: 600;
}

.contact-list {
    list-style: none;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    margin-bottom: 0.8rem;
}

.contact-item i {
    color: var(--accent);
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.contact-text {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
    font-size: clamp(0.85rem, 1.25vw, 0.95rem);
}

.contact-text small {
    font-size: 0.7rem;
    opacity: 0.7;
    display: block;
    margin-top: 0.2rem;
}

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

.footer-links li {
    margin-bottom: 0.6rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
    font-size: clamp(0.85rem, 1.25vw, 0.95rem);
}

.footer-links a:hover {
    color: var(--accent);
    transform: translateX(5px);
}

.social-links {
    display: flex;
    gap: 0.8rem;
    margin-bottom: clamp(1.25rem, 2.5vw, 1.75rem);
    flex-wrap: wrap;
}

.social-link {
    width: clamp(32px, 4vw, 38px);
    height: clamp(32px, 4vw, 38px);
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition);
    text-decoration: none;
}

.social-link:hover {
    background-color: var(--accent);
    transform: translateY(-3px);
}

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

.newsletter-input {
    padding: 0.6rem;
    border: none;
    border-radius: var(--border-radius);
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: clamp(0.85rem, 1.25vw, 0.95rem);
    transition: var(--transition);
}

.newsletter-input:focus {
    outline: 2px solid var(--accent);
    background-color: rgba(255, 255, 255, 0.15);
}

.newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.newsletter-btn {
    background-color: var(--accent);
    color: white;
    border: none;
    padding: 0.6rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-size: clamp(0.85rem, 1.25vw, 0.95rem);
    min-height: 40px;
}

.newsletter-btn:hover {
    background-color: #d35400;
    transform: translateY(-2px);
}

.footer-bottom {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding-top: clamp(1rem, 2vw, 1.5rem);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.copyright {
    color: rgba(255, 255, 255, 0.7);
    font-size: clamp(0.8rem, 1.25vw, 0.85rem);
}

.footer-legal {
    display: flex;
    gap: clamp(0.8rem, 1.5vw, 1.25rem);
    flex-wrap: wrap;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
    font-size: clamp(0.8rem, 1.25vw, 0.85rem);
}

.footer-legal a:hover {
    color: var(--accent);
}

/* Enhanced Responsive Design */
@media (max-width: 1024px) {
    .process-step::before {
        display: none;
    }
    
    .service-features-grid {
        grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    nav {
        position: fixed;
        top: 0;
        left: -100%;
        width: 85%;
        max-width: 280px;
        height: 100vh;
        background-color: white;
        box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
        padding: clamp(1.5rem, 3vw, 2rem);
        transition: var(--transition);
        z-index: 999;
        overflow-y: auto;
    }

    nav.active {
        left: 0;
    }

    nav ul {
        flex-direction: column;
        gap: 1.25rem;
        margin-top: 2rem;
    }

    nav a {
        font-size: 1rem;
        padding: 0.6rem 0;
        display: block;
        border-bottom: 1px solid #f0f0f0;
    }

    nav a:last-child {
        border-bottom: none;
    }

    .header-cta {
        display: none;
    }

    .service-header {
        flex-direction: column;
        text-align: center;
        gap: 0.8rem;
    }

    .service-features-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .process-steps {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .cta-button {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1.5rem;
    }

    .footer-logo {
        justify-content: center;
    }

    .contact-item {
        justify-content: center;
        text-align: center;
        flex-direction: column;
        gap: 0.4rem;
    }

    .social-links {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1.25rem;
    }

    .footer-legal {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 clamp(0.75rem, 2vw, 1rem);
    }

    .service-content {
        padding: 1.25rem;
    }

    .feature-item {
        padding: 1rem;
    }

    .faq-question {
        padding: 1rem;
    }

    .faq-question h4 {
        font-size: 0.95rem;
    }

    .cta-button {
        padding: 0.75rem 1.25rem;
    }

    .footer {
        padding: 1.5rem clamp(0.75rem, 2vw, 1rem) 1rem;
    }
    
    .service-detail {
        margin-bottom: 1.25rem;
    }
}

/* Large Screen Optimizations */
@media (min-width: 1400px) {
    :root {
        --container-max-width: min(1200px, 85vw);
    }
}

@media (min-width: 1600px) {
    :root {
        --container-max-width: min(1200px, 80vw);
    }
}

/* Touch Device Improvements */
@media (hover: none) and (pointer: coarse) {
    .service-detail:hover,
    .feature-item:hover,
    .cta-button:hover,
    .service-inquiry-btn:hover,
    .social-link:hover {
        transform: none;
    }
    
    .service-detail:active,
    .feature-item:active {
        transform: scale(0.98);
    }
    
    .cta-button:active,
    .service-inquiry-btn:active,
    .newsletter-btn:active {
        transform: scale(0.95);
    }
    
    .social-link:active {
        transform: scale(0.9);
    }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    :root {
        --primary: #000080;
        --accent: #ff4500;
        --text: #000000;
        --dark: #000000;
    }
    
    .service-detail {
        border: 2px solid var(--primary);
    }
    
    .feature-item {
        border-left: 4px solid var(--accent);
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    :root {
        --transition: none;
    }
    
    * {
        transition: none !important;
        animation: none !important;
    }
    
    .service-detail:hover,
    .feature-item:hover,
    .cta-button:hover,
    .service-inquiry-btn:hover,
    .social-link:hover {
        transform: none;
    }
}

/* Print Styles */
@media print {
    * {
        background: transparent !important;
        color: black !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }
    
    .menu-toggle,
    .cta-button,
    .footer-legal,
    .social-links,
    .newsletter-form {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    .page-hero,
    .service-cta-section {
        background: white !important;
        color: black !important;
    }
    
    .service-header {
        background: #f0f0f0 !important;
        color: black !important;
    }
}

/* Focus Styles for Accessibility */
button:focus-visible,
a:focus-visible,
.cta-button:focus-visible,
.service-inquiry-btn:focus-visible,
.newsletter-input:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}