/* Process King USA - Main Stylesheet */

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

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

/* Base Styles (from baseof) are handled inline for critical CSS */

/* Breadcrumbs */
.breadcrumbs {
    /* Hide breadcrumbs visually but keep them for SEO and screen readers */
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Breadcrumb styles removed since breadcrumbs are visually hidden */

/* Internal Links Styling */
main a {
    color: #007bff;
    text-decoration: underline;
    transition: all 0.2s ease;
}

main a:hover {
    color: #0056b3;
    text-decoration: none;
}

/* Service card links */
.service-card a {
    font-weight: 500;
}

/* Value section links */
.value-text a {
    font-weight: 500;
}

/* Accessibility Styles */
.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    background: #1e40af;
    color: white;
    padding: 8px 16px;
    text-decoration: none;
    border-radius: 0 0 4px 0;
    z-index: 9999;
    font-weight: 600;
    white-space: nowrap;
}

.skip-link:focus {
    left: 0;
    top: 0;
}

/* Focus indicators for better keyboard navigation */
*:focus {
    outline: 3px solid #3b82f6;
    outline-offset: 2px;
}

button:focus,
a:focus {
    outline: 3px solid #3b82f6;
    outline-offset: 2px;
}

/* Remove outline for mouse users */
*:focus:not(:focus-visible) {
    outline: none;
}

/* Ensure focus-visible works for keyboard users */
*:focus-visible {
    outline: 3px solid #3b82f6;
    outline-offset: 2px;
}

/* Screen reader only text */
.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;
}

/* Logo Styles */
.logo-wrapper {
    display: flex;
    align-items: center;
}

.logo-link {
    display: inline-block;
    transition: transform 0.3s ease;
}

.logo-link:hover {
    transform: scale(1.05);
}

.site-logo {
    height: 100px;
    width: auto;
    max-width: 400px;
    object-fit: contain;
}

/* Adjust nav layout to accommodate logo */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Header Phone Number Styles */
.header-phone {
    display: flex;
    align-items: center;
    margin: 0 auto;
}

.phone-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 20px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.125rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
    min-height: 44px; /* Ensure touch target size */
    min-width: 44px;
}

.phone-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

.phone-icon {
    width: 20px;
    height: 20px;
}

.phone-text {
    letter-spacing: 0.5px;
}

/* Navigation Menu Styles */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 1rem;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    list-style: none;
}

.nav-menu a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    color: #1e293b;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    position: relative;
    background-color: #f1f5f9;
    border: 2px solid transparent;
    min-height: 44px; /* Ensure touch target size */
    min-width: 44px;
}

/* Hover state */
.nav-menu a:hover {
    background-color: #e2e8f0;
    color: #1e40af;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Active/Current page state */
.nav-menu a[aria-current="page"],
.nav-menu a.active {
    background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.nav-menu a[aria-current="page"]:hover,
.nav-menu a.active:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

/* Contact button special styling */
.nav-menu li:last-child a {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.nav-menu li:last-child a:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

/* Responsive logo sizing */
@media (max-width: 768px) {
    .site-logo {
        height: 80px;
        max-width: 300px;
    }
    
    /* Phone number on mobile */
    .header-phone {
        margin: 0;
    }
    
    .phone-link {
        padding: 6px 12px;
        font-size: 0.9rem;
    }
    
    .phone-icon {
        width: 16px;
        height: 16px;
    }
    
    /* Hide nav menu on mobile - handled by hamburger */
    .nav-menu {
        display: none;
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: white;
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        padding: 80px 20px 20px;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        z-index: 999;
        gap: 0.5rem;
    }
    
    .nav-menu.active {
        display: flex;
        right: 0;
    }
    
    .nav-menu li {
        width: 100%;
    }
    
    .nav-menu a {
        width: 100%;
        text-align: center;
        padding: 14px 24px;
        font-size: 1.125rem;
    }
}

/* Hamburger Menu Styles */
.hamburger {
    display: none;
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    position: relative;
    cursor: pointer;
    z-index: 1001;
    background: none;
    border: none;
    padding: 7px;
    box-sizing: border-box;
}

.hamburger span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: #1e293b;
    border-radius: 3px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: .25s ease-in-out;
}

.hamburger span:nth-child(1) {
    top: 0px;
}

.hamburger span:nth-child(2) {
    top: 10px;
}

.hamburger span:nth-child(3) {
    top: 20px;
}

.hamburger.active span:nth-child(1) {
    top: 10px;
    transform: rotate(135deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    left: -60px;
}

.hamburger.active span:nth-child(3) {
    top: 10px;
    transform: rotate(-135deg);
}

/* Mobile Menu Overlay */
body.menu-open {
    overflow: hidden;
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }
    
    /* Adjust header padding on mobile */
    nav {
        padding: 1rem 0;
    }
    
    /* Ensure logo doesn't overflow */
    .logo-wrapper {
        max-width: 60%;
    }
}

/* Footer accessibility improvements */
.footer-section h2 {
    font-size: 1.125rem;
    margin-bottom: 1rem;
    color: white;
}

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

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

.footer-section address {
    font-style: normal;
}

/* Homepage Hero Section */
.hero-section {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #1a365d 0%, #2563eb 100%);
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: white;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    font-weight: 300;
}

.btn-primary {
    display: inline-block;
    background-color: white !important;
    color: #1a365d !important;
    padding: 16px 40px;
    font-size: 1.125rem;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: white !important;
    color: #1a365d !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

/* Services Section */
.services-section {
    padding: 80px 0;
    background-color: #f8fafc;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    justify-items: center;
}

.service-card {
    background: white;
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    max-width: 380px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.service-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
    border-radius: 50%;
    margin-bottom: 24px;
    color: white;
    flex-shrink: 0;
}

.service-card h2 {
    color: #1e293b;
    font-size: 1.75rem;
    margin-bottom: 16px;
    font-weight: 600;
    width: 100%;
}

.service-card p {
    color: #64748b;
    line-height: 1.8;
    font-size: 1.0625rem;
    width: 100%;
    flex-grow: 1;
}

/* Value Section */
.value-section {
    padding: 80px 0;
    background-color: white;
}

.value-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.value-content h2 {
    color: #1e293b;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    line-height: 1.2;
    font-weight: 700;
}

.value-text p {
    color: #64748b;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
}

.value-text p:last-child {
    margin-bottom: 0;
}

.image-wrapper {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
}

/* Fallback for missing image */
.image-wrapper::before {
    content: '';
    display: block;
    padding-top: 75%;
    background: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 100%);
}

.image-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e0e7ff 100%);
}

.cta-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta-content h2 {
    color: #1e293b;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.cta-content p {
    color: #64748b;
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

.btn-secondary {
    display: inline-block;
    background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
    color: white;
    padding: 16px 48px;
    font-size: 1.125rem;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.5);
}

/* Utility Classes */
.section-padding {
    padding: 4rem 0;
}

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

/* Responsive Design */
@media (max-width: 968px) {
    .value-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .value-content {
        text-align: center;
    }
    
    .image-wrapper {
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .hero-section {
        min-height: 500px;
    }
    
    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
        padding: 0 1rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        max-width: 100%;
    }
    
    .service-card {
        max-width: 100%;
        padding: 30px 20px;
    }
    
    .value-content h2 {
        font-size: 2rem;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .btn-primary,
    .btn-secondary {
        padding: 16px 32px;
        font-size: 1.0625rem;
        min-height: 48px;
    }
    
    .section-padding {
        padding: 3rem 0;
    }
    
    .services-section,
    .value-section,
    .cta-section {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    .hero-section {
        min-height: 450px;
    }
    
    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
        padding: 0 0.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
        padding: 0 0.5rem;
    }
    
    .service-card {
        padding: 24px 16px;
    }
    
    .service-card h2 {
        font-size: 1.5rem;
    }
    
    .value-content h2 {
        font-size: 1.75rem;
    }
    
    .cta-content h2 {
        font-size: 1.75rem;
    }
    
    .btn-primary,
    .btn-secondary {
        padding: 16px 24px;
        font-size: 1rem;
        min-height: 48px;
    }
    
    .services-section,
    .value-section,
    .cta-section {
        padding: 48px 0;
    }
}

/* FAQ Page Specific Styles */
.faq-hero {
    min-height: 400px;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
}

.faq-hero .hero-title {
    font-size: 3rem;
}

.faq-hero .hero-subtitle {
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto;
}

.faq-content-section {
    padding: 80px 0;
    background-color: #f8fafc;
}

.faq-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.faq-intro h2 {
    color: #1e293b;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.faq-intro p {
    color: #64748b;
    font-size: 1.25rem;
    line-height: 1.6;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

/* Style markdown content in FAQ to look like cards */
.faq-container > h1 {
    display: none; /* Hide the main heading as we have it in the intro */
}

.faq-container > p:first-of-type {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border: 2px solid #dbeafe;
    border-radius: 16px;
    padding: 24px 32px;
    margin-bottom: 40px;
    color: #1e293b;
    font-size: 1.125rem;
    line-height: 1.8;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.08);
}

.faq-container > h2 {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 16px;
    padding: 20px 28px;
    margin: 32px 0 0;
    color: #1e293b;
    font-size: 1.5rem;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    position: relative;
    transition: all 0.3s ease;
}

.faq-container > h2:hover {
    border-color: #dbeafe;
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.12);
    transform: translateY(-2px);
}

.faq-container > h2::before {
    content: 'Q:';
    display: inline-block;
    background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    text-align: center;
    line-height: 36px;
    font-size: 0.875rem;
    font-weight: 700;
    margin-right: 16px;
    vertical-align: middle;
}

.faq-container > p:not(:first-of-type),
.faq-container > ul {
    background: white;
    border: 2px solid #e5e7eb;
    border-top: none;
    border-radius: 0 0 16px 16px;
    padding: 24px 28px 28px 80px;
    margin: 0 0 24px;
    color: #64748b;
    font-size: 1.0625rem;
    line-height: 1.8;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    position: relative;
}

.faq-container > p:not(:first-of-type)::before,
.faq-container > ul::before {
    content: 'A:';
    position: absolute;
    left: 28px;
    top: 24px;
    display: inline-block;
    background: linear-gradient(135deg, #28a745 0%, #218838 100%);
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    text-align: center;
    line-height: 32px;
    font-size: 0.75rem;
    font-weight: 700;
}

.faq-container > ul {
    list-style: none;
    padding-left: 80px;
}

.faq-container > ul li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 12px;
    color: #64748b;
    line-height: 1.7;
}

.faq-container > ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #28a745;
    font-weight: 700;
    font-size: 1.125rem;
}

.faq-container > ul li strong {
    color: #1e293b;
    font-weight: 600;
}

.faq-container > ol {
    background: white;
    border: 2px solid #e5e7eb;
    border-top: none;
    border-radius: 0 0 16px 16px;
    padding: 24px 28px 28px 80px;
    margin: 0 0 24px;
    color: #64748b;
    font-size: 1.0625rem;
    line-height: 1.8;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    position: relative;
    counter-reset: step-counter;
}

.faq-container > ol::before {
    content: 'A:';
    position: absolute;
    left: 28px;
    top: 24px;
    display: inline-block;
    background: linear-gradient(135deg, #28a745 0%, #218838 100%);
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    text-align: center;
    line-height: 32px;
    font-size: 0.75rem;
    font-weight: 700;
}

.faq-container > ol li {
    position: relative;
    padding-left: 8px;
    margin-bottom: 12px;
    color: #64748b;
    line-height: 1.7;
    counter-increment: step-counter;
}

.faq-container > ol li::marker {
    color: #3b82f6;
    font-weight: 700;
}

.faq-container > ol li strong {
    color: #1e293b;
    font-weight: 600;
}

/* Hide the "Still have questions?" section as it's in the CTA */
.faq-container > h2:last-of-type + p {
    display: none;
}

.faq-item {
    background-color: white;
    margin-bottom: 1.5rem;
    border-radius: 16px;
    border: 2px solid #e5e7eb;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.faq-item:hover {
    border-color: #dbeafe;
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.12);
    transform: translateY(-2px);
}

.faq-item.active {
    border-color: #3b82f6;
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.18);
    transform: translateY(-2px);
}

.faq-question {
    padding: 1.75rem 2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 1.125rem;
    color: #1e293b;
    background-color: white;
    border: none;
    width: 100%;
    text-align: left;
    transition: all 0.3s ease;
    position: relative;
    gap: 1rem;
}

.faq-question:hover {
    background-color: #f8fafc;
    color: #3b82f6;
}

.faq-item.active .faq-question {
    background-color: #f0f9ff;
    color: #3b82f6;
}

.faq-question::after {
    content: '+';
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    font-weight: 300;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    line-height: 1;
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

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

.faq-answer-content {
    padding: 0 2rem 2rem;
    color: #64748b;
    line-height: 1.8;
    font-size: 1.0625rem;
}

.faq-answer-content ul {
    margin-top: 1rem;
    padding-left: 1.5rem;
}

.faq-answer-content li {
    color: #64748b;
    margin-bottom: 0.75rem;
    line-height: 1.7;
}

.faq-answer-content strong {
    color: #1e293b;
    font-weight: 600;
}

/* FAQ CTA Section */
.faq-cta {
    background: linear-gradient(135deg, #f8fafc 0%, #e0e7ff 100%);
    padding: 80px 0;
}

.faq-cta .cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.faq-cta .cta-content h2 {
    color: #1e293b;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.faq-cta .cta-content p {
    color: #64748b;
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.faq-cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.faq-cta-buttons .btn-secondary {
    background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
    color: white;
    padding: 16px 48px;
    font-size: 1.125rem;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
    border: none;
}

.faq-cta-buttons .btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.5);
}

.faq-cta-buttons .btn-primary {
    background-color: white;
    color: #1e40af;
    padding: 16px 40px;
    font-size: 1.125rem;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 2px solid #e0e7ff;
}

.faq-cta-buttons .btn-primary:hover {
    background-color: white !important;
    color: #1e40af !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    border-color: #c7d2fe;
}

/* FAQ Mobile Styles */
@media (max-width: 768px) {
    .faq-hero {
        min-height: 350px;
    }
    
    .faq-hero .hero-title {
        font-size: 2.25rem;
    }
    
    .faq-intro h2 {
        font-size: 2rem;
    }
    
    .faq-intro p {
        font-size: 1.125rem;
    }
    
    .faq-question {
        padding: 1.25rem 1.5rem;
        font-size: 1rem;
    }
    
    .faq-question::after {
        width: 25px;
        height: 25px;
        font-size: 1.25rem;
    }
    
    .faq-answer-content {
        padding: 0 1.5rem 1.5rem;
        font-size: 1rem;
    }
    
    .faq-content-section {
        padding: 60px 0;
    }
    
    .faq-cta {
        padding: 60px 0;
    }
    
    .faq-cta .cta-content h2 {
        font-size: 2rem;
    }
    
    .faq-cta .cta-content p {
        font-size: 1.125rem;
    }
    
    .faq-cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .faq-cta-buttons .btn-secondary,
    .faq-cta-buttons .btn-primary {
        width: 100%;
        text-align: center;
    }
    
    .faq-container > h2 {
        font-size: 1.25rem;
        padding: 18px 24px;
    }
    
    .faq-container > h2::before {
        width: 32px;
        height: 32px;
        line-height: 32px;
        font-size: 0.75rem;
        margin-right: 12px;
    }
    
    .faq-container > p:not(:first-of-type),
    .faq-container > ul,
    .faq-container > ol {
        padding: 20px 24px 24px 68px;
        font-size: 1rem;
    }
    
    .faq-container > p:not(:first-of-type)::before,
    .faq-container > ul::before,
    .faq-container > ol::before {
        left: 24px;
        top: 20px;
        width: 28px;
        height: 28px;
        line-height: 28px;
        font-size: 0.7rem;
    }
    
    .faq-container > ul {
        padding-left: 68px;
    }
    
    .faq-container > ul li {
        padding-left: 20px;
    }
}

/* Extra small screens (320px - 480px) */
@media (max-width: 480px) {
    .hero-section {
        min-height: 400px;
    }
    
    .hero-title {
        font-size: 1.875rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .faq-intro h2 {
        font-size: 1.75rem;
    }
    
    .faq-intro p {
        font-size: 1rem;
    }
    
    .faq-container > h2 {
        font-size: 1.125rem;
        padding: 16px 20px;
    }
    
    .faq-container > p:not(:first-of-type),
    .faq-container > ul,
    .faq-container > ol {
        padding: 18px 20px 20px 60px;
        font-size: 0.9375rem;
    }
    
    .faq-container > p:not(:first-of-type)::before,
    .faq-container > ul::before,
    .faq-container > ol::before {
        left: 20px;
        top: 18px;
        width: 24px;
        height: 24px;
        line-height: 24px;
        font-size: 0.65rem;
    }
    
    .faq-container > ul {
        padding-left: 60px;
    }
    
    .faq-container > p:first-of-type {
        padding: 20px;
        font-size: 1rem;
    }
    
    .faq-cta .cta-content h2 {
        font-size: 1.75rem;
    }
    
    .faq-cta .cta-content p {
        font-size: 1rem;
    }
    
    .content-card {
        padding: 24px 16px;
    }
    
    .content-card h2 {
        font-size: 1.75rem;
    }
    
    .content-card h3 {
        font-size: 1.25rem;
    }
    
    .content-card p {
        font-size: 1rem;
    }
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content,
.service-card,
.value-content,
.cta-content,
.faq-item {
    animation: fadeInUp 0.8s ease-out;
}

.service-card:nth-child(2) {
    animation-delay: 0.1s;
}

.service-card:nth-child(3) {
    animation-delay: 0.2s;
}

.faq-item:nth-child(1) { animation-delay: 0.1s; }
.faq-item:nth-child(2) { animation-delay: 0.15s; }
.faq-item:nth-child(3) { animation-delay: 0.2s; }
.faq-item:nth-child(4) { animation-delay: 0.25s; }
.faq-item:nth-child(5) { animation-delay: 0.3s; }
.faq-item:nth-child(6) { animation-delay: 0.35s; }
.faq-item:nth-child(7) { animation-delay: 0.4s; }
.faq-item:nth-child(8) { animation-delay: 0.45s; }
.faq-item:nth-child(9) { animation-delay: 0.5s; }
.faq-item:nth-child(10) { animation-delay: 0.55s; }

/* About Page Styles */
.about-hero {
    min-height: 400px;
}

.about-hero .hero-title {
    font-size: 3rem;
}

.about-hero .hero-subtitle {
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto 0 auto;
}

.about-content-section {
    padding: 80px 0;
    background-color: #f8fafc;
}

.about-content {
    max-width: 1000px;
    margin: 0 auto;
}

.content-card {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 40px;
}

.content-card.highlight {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border: 2px solid #dbeafe;
}

.content-card h2 {
    color: #1e293b;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

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

.content-card p {
    color: #64748b;
    line-height: 1.8;
    font-size: 1.125rem;
}

.mission-section {
    margin: 60px 0;
}

.features-section {
    margin: 60px 0;
}

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

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

.feature-card {
    background: white;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
    border-radius: 50%;
    margin-bottom: 20px;
    color: white;
}

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

.feature-card p {
    color: #64748b;
    line-height: 1.7;
    font-size: 1.0625rem;
}

.services-list-section {
    margin: 40px 0;
}

.services-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.services-list li {
    color: #64748b;
    font-size: 1.125rem;
    padding-left: 30px;
    position: relative;
}

.services-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #3b82f6;
    font-weight: bold;
    font-size: 1.25rem;
}

.commitment-section {
    margin-top: 60px;
}

.commitment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

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

.commitment-item h4 {
    color: #1e293b;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.commitment-item p {
    color: #64748b;
    font-size: 1rem;
    line-height: 1.6;
}

.contact-info {
    margin: 2rem 0;
}

.contact-info p {
    color: #64748b;
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.contact-info a {
    color: #3b82f6;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: #1e40af;
}

/* About Page Responsive */
@media (max-width: 768px) {
    .about-hero {
        min-height: 350px;
    }
    
    .about-hero .hero-title {
        font-size: 2.25rem;
    }
    
    .about-content-section {
        padding: 60px 0;
    }
    
    .content-card {
        padding: 30px 20px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .commitment-grid {
        grid-template-columns: 1fr;
        padding: 30px 20px;
    }
    
    .services-list {
        grid-template-columns: 1fr;
    }
}

/* Contact Page Styles */
.contact-hero {
    min-height: 400px;
}

.contact-hero .hero-title {
    font-size: 3rem;
}

.contact-hero .hero-subtitle {
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto;
}

.contact-main-section {
    padding: 80px 0;
    background-color: #f8fafc;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    align-items: start;
}

/* Contact Information Column */
.info-card {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
}

.info-card.secondary {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border: 2px solid #dbeafe;
}

.info-card h2 {
    color: #1e293b;
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

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

.info-card > p {
    color: #64748b;
    line-height: 1.8;
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

.info-items {
    margin-top: 2rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
}

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

.info-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
    border-radius: 50%;
    color: white;
    flex-shrink: 0;
    margin-right: 1rem;
}

.info-content h4 {
    color: #1e293b;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.info-content p {
    color: #64748b;
    font-size: 1.125rem;
    margin: 0;
}

.info-content a {
    color: #3b82f6;
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-content a:hover {
    color: #1e40af;
}

.benefits-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.benefits-list li {
    color: #64748b;
    font-size: 1.125rem;
    padding-left: 30px;
    position: relative;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.benefits-list li:last-child {
    margin-bottom: 0;
}

.benefits-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #3b82f6;
    font-weight: bold;
    font-size: 1.25rem;
}

/* Contact Form Column */
.form-card {
    background: white;
    padding: 50px;
    border-radius: 16px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.form-card h2 {
    color: #1e293b;
    font-size: 2rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.form-card > p {
    color: #64748b;
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

.contact-form {
    margin-top: 2rem;
}

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

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

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

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

.form-group label {
    display: block;
    color: #1e293b;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background-color: #f8fafc;
    min-height: 44px; /* Ensure touch target size */
    -webkit-appearance: none;
    appearance: none;
}

@media (max-width: 768px) {
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 16px 18px; /* Larger padding for mobile */
        font-size: 16px; /* Prevent zoom on iOS */
    }
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3b82f6;
    background-color: white;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-submit {
    background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
    color: white;
    padding: 16px 48px;
    border: none;
    border-radius: 50px;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
    min-height: 48px; /* Ensure touch target size */
}

@media (max-width: 768px) {
    .btn-submit {
        padding: 18px 32px;
        font-size: 1.0625rem;
        min-height: 52px; /* Larger on mobile */
    }
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.5);
}

.btn-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.form-note {
    color: #94a3b8;
    font-size: 0.875rem;
    margin-top: 1rem;
    text-align: center;
}

/* Form accessibility improvements */
.error-message {
    display: none;
    color: #dc2626;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

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

.help-text {
    display: block;
    color: #64748b;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* Required field indicator */
label span[aria-label="required"] {
    color: #dc2626;
    font-weight: 700;
}

/* Invalid input styling */
input:invalid:not(:focus):not(:placeholder-shown),
textarea:invalid:not(:focus):not(:placeholder-shown),
select:invalid:not(:focus) {
    border-color: #dc2626;
}

/* Valid input styling */
input:valid:not(:focus):not(:placeholder-shown),
textarea:valid:not(:focus):not(:placeholder-shown),
select:valid:not(:focus) {
    border-color: #10b981;
}

/* Form Messages */
.form-message {
    display: none;
    margin-top: 2rem;
}

.message-success,
.message-error {
    padding: 20px;
    border-radius: 8px;
    text-align: center;
}

.message-success {
    background-color: #f0fdf4;
    border: 2px solid #86efac;
}

.message-success h3 {
    color: #15803d;
    margin-bottom: 0.5rem;
}

.message-success p {
    color: #166534;
}

.message-error {
    background-color: #fef2f2;
    border: 2px solid #fca5a5;
}

.message-error h3 {
    color: #dc2626;
    margin-bottom: 0.5rem;
}

.message-error p {
    color: #991b1b;
}

/* Map Section */
.map-section {
    padding: 60px 0;
    background-color: white;
    border-top: 1px solid #e2e8f0;
}

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

.map-content h2 {
    color: #1e293b;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.map-content p {
    color: #64748b;
    font-size: 1.25rem;
    line-height: 1.8;
}

/* Contact Page Responsive */
@media (max-width: 968px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .contact-info-column {
        order: 2;
    }
    
    .contact-form-column {
        order: 1;
    }
}

@media (max-width: 768px) {
    .contact-hero {
        min-height: 350px;
    }
    
    .contact-hero .hero-title {
        font-size: 2.25rem;
    }
    
    .contact-main-section {
        padding: 60px 0;
    }
    
    .info-card,
    .form-card {
        padding: 30px 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .form-row .form-group {
        margin-bottom: 1.5rem;
    }
    
    .info-icon {
        width: 40px;
        height: 40px;
    }
    
    .map-content h2 {
        font-size: 2rem;
    }
    
    .map-content p {
        font-size: 1.125rem;
    }
}

/* Homepage Contact Form Section */
.contact-form-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
}

.form-section-content {
    max-width: 800px;
    margin: 0 auto;
}

.form-intro {
    text-align: center;
    margin-bottom: 3rem;
}

.form-intro h2 {
    color: #1e293b;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.form-intro p {
    color: #64748b;
    font-size: 1.25rem;
    line-height: 1.6;
}

/* Adjust form card for homepage */
.contact-form-section .form-card {
    max-width: 100%;
    margin: 0 auto;
}

/* Mobile responsive for homepage form */
@media (max-width: 768px) {
    .contact-form-section {
        padding: 60px 0;
    }
    
    .form-intro h2 {
        font-size: 2rem;
    }
    
    .form-intro p {
        font-size: 1.125rem;
    }
}

/* Trust Badges for Contact Forms */
.trust-badges-form {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-radius: 12px;
    border: 1px solid #bfdbfe;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.1);
}

.trust-badge-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #1e40af;
    font-size: 0.875rem;
    font-weight: 600;
    transition: transform 0.2s ease;
}

.trust-badge-item:hover {
    transform: translateY(-2px);
}

.trust-badge-item svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.trust-badge-item span {
    white-space: nowrap;
}

/* Mobile adjustments for trust badges */
@media (max-width: 768px) {
    .trust-badges-form {
        flex-wrap: wrap;
        gap: 1rem;
        padding: 0.75rem;
    }
    
    .trust-badge-item {
        font-size: 0.75rem;
    }
    
    .trust-badge-item svg {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 480px) {
    .trust-badges-form {
        justify-content: space-around;
    }
    
    .trust-badge-item span {
        display: none;
    }
    
    .trust-badge-item {
        position: relative;
    }
    
    .trust-badge-item:hover span {
        display: block;
        position: absolute;
        bottom: -20px;
        left: 50%;
        transform: translateX(-50%);
        background: #1e293b;
        color: white;
        padding: 2px 8px;
        border-radius: 4px;
        font-size: 0.7rem;
        white-space: nowrap;
        z-index: 10;
    }
}

/* Form Loading Spinner */
.spinner {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #ffffff;
  animation: spin 0.8s linear infinite;
  vertical-align: middle;
  margin-right: 8px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Form Error States */
input.error,
textarea.error,
select.error {
  border-color: #dc3545;
  box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

input.error:focus,
textarea.error:focus,
select.error:focus {
  border-color: #dc3545;
  box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

/* Disabled Form State */
.btn-submit[aria-busy="true"] {
  opacity: 0.6;
  cursor: not-allowed;
  pointer-events: none;
}

.form-submitting input,
.form-submitting textarea,
.form-submitting select {
  opacity: 0.7;
  pointer-events: none;
}
