/* ============================================
   CRITICAL CSS - Must be inlined in <head>
   ============================================ */
:root {
    --primary: #d32f2f;
    --primary-light: #ef5350;
    --primary-dark: #b71c1c;
    --primary-rgb: 211, 47, 47;
    --white: #ffffff;
    --light-grey: #f5f5f5;
    --medium-grey: #e0e0e0;
    --dark-grey: #757575;
    --text: #212121;
    --shadow: rgba(0, 0, 0, 0.08);
    --shadow-hover: rgba(0, 0, 0, 0.15);
    
    /* CRITICAL: Fixed heights to prevent CLS */
    --header-height: 80px;
    --header-height-tablet: 70px;
    --header-height-mobile: 60px;
    --header-height-small: 55px;
    
    /* Fixed button sizes */
    --btn-height: 44px;
    --btn-height-small: 38px;
    --btn-min-width: 100px;
}

/* Reset with minimum box-sizing */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--white);
    color: var(--text);
    line-height: 1.6;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    padding-top: 0;
    margin: 0;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

section {
    padding: 80px 0;
}

h1, h2, h3, h4 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    color: var(--primary);
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1.5rem;
    color: var(--dark-grey);
}

a {
    text-decoration: none;
    color: var(--primary);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-light);
}

/* ============================================
   BUTTONS - Fixed dimensions for CLS prevention
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary);
    color: var(--white);
    padding: 0 28px;
    height: var(--btn-height);
    min-height: var(--btn-height);
    max-height: var(--btn-height);
    min-width: var(--btn-min-width);
    border-radius: 4px;
    border: 2px solid var(--primary);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    line-height: 1;
    white-space: nowrap;
    box-sizing: border-box;
    flex-shrink: 0;
}

.btn:hover {
    background-color: var(--white);
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--shadow-hover);
}

.btn:active {
    transform: translateY(0);
}

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

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

.btn-grey {
    background-color: var(--light-grey);
    color: var(--text);
    border-color: var(--light-grey);
}

.btn-grey:hover {
    background-color: var(--medium-grey);
    border-color: var(--medium-grey);
}

/* ============================================
   SECTION TITLE
   ============================================ */
.section-title {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.section-title:after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--primary);
    margin: 15px auto 0;
}

/* ============================================
   HEADER - CRITICAL CLS FIXES
   ============================================ */
header {
    background-color: var(--white);
    box-shadow: 0 2px 10px var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    height: var(--header-height);
    min-height: var(--header-height);
    max-height: var(--header-height);
    border-bottom: 4px solid var(--primary);
    display: block;
    overflow: visible;
    /* GPU acceleration for smooth rendering */
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
    contain: layout style paint;
}

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

/* ============================================
   LOGO - Fixed dimensions for CLS prevention
   ============================================ */
.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    width: 150px;
    height: 72px;
    min-width: 150px;
    max-width: 150px;
    overflow: hidden;
}

.logo img {
    display: block;
    width: 150px;
    height: 72px;
    max-width: 150px;
    max-height: 72px;
    object-fit: contain;
    /* Prevent layout shift */
    aspect-ratio: 150/72;
    image-rendering: auto;
    background: transparent;
}

.logo i {
    margin-right: 10px;
    font-size: 28px;
}

/* ============================================
   NAVIGATION - Fixed dimensions for CLS prevention
   ============================================ */
nav {
    display: flex;
    align-items: center;
    height: var(--header-height);
    min-height: var(--header-height);
    max-height: var(--header-height);
}

nav ul {
    display: flex;
    list-style: none;
    align-items: center;
    margin: 0;
    padding: 0;
    gap: 5px;
    height: 100%;
}

nav ul li {
    margin: 0;
    padding: 0 10px;
    list-style: none;
    display: flex;
    align-items: center;
    height: var(--header-height);
    min-height: var(--header-height);
}

nav ul li a {
    font-weight: 500;
    color: var(--text);
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 4px;
    transition: all 0.3s ease;
    white-space: nowrap;
    font-size: 16px;
    display: flex;
    align-items: center;
    height: 40px;
    min-height: 40px;
    line-height: 1;
}

nav ul li a:hover {
    color: var(--primary);
    background-color: rgba(211, 47, 47, 0.08);
}

/* ============================================
   MOBILE MENU BUTTON - Fixed dimensions
   ============================================ */
.mobile-menu-btn {
    display: none;
    background: var(--white);
    border: 1px solid var(--medium-grey);
    padding: 0;
    border-radius: 4px;
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    max-width: 44px;
    max-height: 44px;
    cursor: pointer;
    color: var(--primary);
    font-size: 20px;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    z-index: 101;
    transition: all 0.3s ease;
    box-sizing: border-box;
    line-height: 1;
}

.mobile-menu-btn:hover {
    background-color: var(--light-grey);
}

.mobile-menu-btn i {
    font-size: 20px;
    line-height: 1;
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    background-color: var(--light-grey);
    padding: 100px 0;
    text-align: center;
    min-height: 400px;
}

.hero h1 {
    max-width: 800px;
    margin: 0 auto 25px;
    color: var(--primary);
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 40px;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* ============================================
   CATEGORIES SECTION
   ============================================ */
.categories {
    background-color: var(--white);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.category-card {
    background-color: var(--white);
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px var(--shadow);
    border-top: 4px solid var(--primary);
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px var(--shadow-hover);
}

.category-card i {
    font-size: 48px;
    color: var(--primary);
    margin-bottom: 20px;
    display: block;
}

.category-card h3 {
    margin-bottom: 15px;
    color: var(--primary);
}

/* ============================================
   FEATURED JOBS SECTION
   ============================================ */
.featured-jobs {
    background-color: var(--light-grey);
}

.jobs-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
}

.job-card {
    background-color: var(--white);
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 5px 15px var(--shadow);
    transition: all 0.3s ease;
    border-left: 4px solid var(--primary);
}

.job-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px var(--shadow-hover);
}

.job-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
    gap: 10px;
}

.job-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0;
}

.job-type {
    background-color: var(--light-grey);
    color: var(--text);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    white-space: nowrap;
    flex-shrink: 0;
}

.job-details {
    margin-bottom: 20px;
    color: var(--dark-grey);
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.job-details span {
    display: flex;
    align-items: center;
}

.job-details i {
    margin-right: 5px;
    color: var(--primary-light);
    width: 16px;
    text-align: center;
}

.job-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    gap: 10px;
    flex-wrap: wrap;
}

.job-salary {
    font-weight: 600;
    color: var(--primary);
    font-size: 1.1rem;
}

/* ============================================
   HOW IT WORKS SECTION
   ============================================ */
.how-it-works {
    background-color: var(--white);
}

.steps {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-top: 50px;
}

.step {
    flex: 1;
    min-width: 250px;
    text-align: center;
    padding: 0 20px;
    margin-bottom: 30px;
    position: relative;
}

.step:not(:last-child):after {
    content: '';
    position: absolute;
    top: 40px;
    right: -10px;
    width: 20px;
    height: 2px;
    background-color: var(--primary);
}

.step-number {
    width: 80px;
    height: 80px;
    background-color: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    font-weight: 700;
    flex-shrink: 0;
}

.step h3 {
    color: var(--primary);
}

/* ============================================
   STATS SECTION
   ============================================ */
.stats {
    background-color: var(--light-grey);
    text-align: center;
}

.stats-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.stat-item {
    padding: 20px;
    min-width: 150px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
    line-height: 1.2;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--dark-grey);
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */
.testimonials {
    background-color: var(--white);
}

.testimonial-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.testimonial {
    background-color: var(--white);
    border-radius: 8px;
    padding: 40px;
    box-shadow: 0 5px 15px var(--shadow);
    text-align: center;
    display: none;
    border-top: 4px solid var(--primary);
}

.testimonial.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.testimonial-text {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 25px;
    position: relative;
}

.testimonial-text:before {
    content: '"';
    font-size: 60px;
    color: var(--light-grey);
    position: absolute;
    top: -20px;
    left: -10px;
    opacity: 0.7;
}

.testimonial-author {
    font-weight: 600;
    color: var(--primary);
}

.testimonial-role {
    color: var(--dark-grey);
    font-size: 0.9rem;
}

.testimonial-nav {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    gap: 8px;
}

.testimonial-dot {
    width: 12px;
    height: 12px;
    background-color: var(--light-grey);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    padding: 0;
}

.testimonial-dot.active {
    background-color: var(--primary);
    transform: scale(1.2);
}

.testimonial-dot:hover {
    background-color: var(--primary-light);
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta {
    background-color: var(--primary);
    color: var(--white);
    text-align: center;
}

.cta h2 {
    color: var(--white);
}

.cta p {
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin: 0 auto 40px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

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

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

.cta .btn-outline {
    border-color: var(--white);
    color: var(--white);
    background: transparent;
}

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

/* ============================================
   LIVE STATS SECTION
   ============================================ */
.live-stats {
    background: var(--primary);
    color: var(--white);
    padding: 25px 0;
    border-bottom: 3px solid var(--primary-dark);
}

.live-stats .stat-item {
    text-align: center;
    padding: 15px;
    min-width: 150px;
    transition: transform 0.3s ease;
}

.live-stats .stat-item:hover {
    transform: translateY(-5px);
}

.live-stats .stat-number {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1;
    color: var(--white);
}

.live-stats .stat-label {
    font-size: 0.85rem;
    opacity: 0.9;
    color: rgba(255, 255, 255, 0.9);
}

/* ============================================
   FAQ SECTION
   ============================================ */
.faq-section {
    background: var(--light-grey);
    padding: 60px 0;
}

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

.faq-item {
    background: var(--white);
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px var(--shadow);
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 12px var(--shadow-hover);
}

.faq-question {
    padding: 20px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--white);
    user-select: none;
}

.faq-question h3 {
    margin: 0;
    color: var(--primary);
    font-size: 1.1rem;
}

.faq-toggle {
    color: var(--primary);
    font-size: 1.2rem;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 15px;
}

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-answer-inner {
    padding: 0 0 25px 0;
    color: var(--dark-grey);
    line-height: 1.6;
}

.faq-item.open .faq-answer {
    max-height: 500px;
    padding: 0 25px;
}

.faq-item.open .faq-toggle {
    transform: rotate(45deg);
}

/* ============================================
   CLIENTS SECTION
   ============================================ */
.our-clients {
    background: var(--light-grey);
    padding: 60px 0;
}

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

.client-card {
    background: var(--white);
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 3px 10px var(--shadow);
    text-align: center;
    transition: transform 0.3s ease;
}

.client-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px var(--shadow-hover);
}

.client-logo {
    width: 80px;
    height: 80px;
    background: var(--light-grey);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    color: var(--primary);
    font-size: 24px;
    flex-shrink: 0;
}

.client-card h3 {
    color: var(--primary);
    margin-bottom: 10px;
    font-size: 1.1rem;
}

/* ============================================
   FOOTER
   ============================================ */
footer {
    background-color: var(--text);
    color: var(--white);
    padding: 70px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-column h3 {
    color: var(--white);
    margin-bottom: 25px;
    font-size: 1.3rem;
}

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

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s ease;
}

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

.footer-column p {
    color: rgba(255, 255, 255, 0.8);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.social-links a:hover {
    background-color: var(--white);
    color: var(--primary);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

/* ============================================
   RESPONSIVE - OPTIMIZED FOR CLS
   ============================================ */

/* Tablet */
@media (max-width: 992px) {
    :root {
        --header-height: var(--header-height-tablet);
    }
    
    header,
    .header-container,
    nav,
    nav ul li {
        height: var(--header-height);
        min-height: var(--header-height);
        max-height: var(--header-height);
    }
    
    h1 {
        font-size: 2.2rem;
    }
    h2 {
        font-size: 1.8rem;
    }
    section {
        padding: 60px 0;
    }
    .step:not(:last-child):after {
        display: none;
    }
    .jobs-container {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
    
    .logo {
        width: 120px;
        height: 60px;
        min-width: 120px;
        max-width: 120px;
    }
    .logo img {
        width: 120px;
        height: 60px;
        max-width: 120px;
        max-height: 60px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    :root {
        --header-height: var(--header-height-mobile);
    }
    
    header,
    .header-container {
        height: var(--header-height);
        min-height: var(--header-height);
        max-height: var(--header-height);
    }
    
    .header-container {
        padding: 0 10px;
        flex-wrap: nowrap;
    }
    
    .logo {
        width: 110px;
        height: 50px;
        min-width: 110px;
        max-width: 110px;
    }
    .logo img {
        width: 110px;
        height: 50px;
        max-width: 110px;
        max-height: 50px;
    }
    
    .mobile-menu-btn {
        display: flex;
        width: 40px;
        height: 40px;
        min-width: 40px;
        min-height: 40px;
        max-width: 40px;
        max-height: 40px;
        font-size: 18px;
        padding: 0;
        margin: 0;
        flex-shrink: 0;
        order: 2;
    }
    
    .mobile-menu-btn i {
        font-size: 18px;
        width: 18px;
        height: 18px;
    }
    
    /* Navigation - hidden by default on mobile */
    nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: 100%;
        height: auto;
        min-height: auto;
        max-height: 80vh;
        background: var(--white);
        box-shadow: 0 5px 15px var(--shadow-hover);
        border-top: 1px solid var(--medium-grey);
        z-index: 100;
        overflow-y: auto;
        order: 3;
    }
    
    nav.active {
        display: block;
        animation: slideDown 0.25s ease forwards;
    }
    
    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    nav ul {
        flex-direction: column;
        padding: 10px 0;
        gap: 0;
        width: 100%;
        height: auto;
    }
    
    nav ul li {
        margin: 0;
        padding: 0;
        height: auto;
        min-height: auto;
        width: 100%;
        display: flex;
        justify-content: center;
    }
    
    nav ul li a {
        padding: 12px 20px;
        width: 100%;
        justify-content: center;
        height: 48px;
        min-height: 48px;
        border-bottom: 1px solid var(--light-grey);
        font-size: 15px;
        white-space: normal;
        border-radius: 0;
    }
    
    nav ul li:last-child a {
        border-bottom: none;
    }
    
    nav ul li a.btn {
        width: 90%;
        max-width: 200px;
        height: var(--btn-height);
        min-height: var(--btn-height);
        margin: 5px auto;
        border-radius: 4px;
    }
    
    /* Hero */
    .hero {
        padding: 60px 0;
        min-height: 300px;
    }
    .hero h1 {
        font-size: 1.8rem;
    }
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    /* Stats */
    .stats-container {
        flex-direction: column;
        align-items: center;
    }
    .stat-item {
        margin-bottom: 30px;
        min-width: auto;
    }
    .stat-number {
        font-size: 2.5rem;
    }
    
    /* Jobs */
    .jobs-container {
        grid-template-columns: 1fr;
    }
    .job-card {
        padding: 20px;
    }
    .job-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .job-footer {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    
    /* Categories */
    .categories-grid {
        grid-template-columns: 1fr;
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
        min-width: unset;
        height: var(--btn-height);
        min-height: var(--btn-height);
    }
    
    .live-stats .stat-number {
        font-size: 2rem;
    }
    
    .steps {
        flex-direction: column;
        align-items: center;
    }
    .step {
        margin-bottom: 50px;
        max-width: 400px;
    }
}

/* Small Mobile */
@media (max-width: 576px) {
    :root {
        --header-height: var(--header-height-small);
        --btn-height: var(--btn-height-small);
    }
    
    header,
    .header-container {
        height: var(--header-height);
        min-height: var(--header-height);
        max-height: var(--header-height);
    }
    
    .logo {
        width: 90px;
        height: 45px;
        min-width: 90px;
        max-width: 90px;
    }
    .logo img {
        width: 90px;
        height: 45px;
        max-width: 90px;
        max-height: 45px;
    }
    
    .mobile-menu-btn {
        width: 36px;
        height: 36px;
        min-width: 36px;
        min-height: 36px;
        max-width: 36px;
        max-height: 36px;
        font-size: 16px;
    }
    
    .mobile-menu-btn i {
        font-size: 16px;
        width: 16px;
        height: 16px;
    }
    
    .btn {
        padding: 0 16px;
        font-size: 14px;
        height: var(--btn-height-small);
        min-height: var(--btn-height-small);
        max-height: var(--btn-height-small);
        max-width: 220px;
    }
    
    .hero {
        padding: 40px 0;
        min-height: 250px;
    }
    .hero h1 {
        font-size: 1.5rem;
    }
    .hero p {
        font-size: 1rem;
    }
    section {
        padding: 40px 0;
    }
    .section-title {
        margin-bottom: 30px;
        font-size: 1.5rem;
    }
    .stat-number {
        font-size: 2rem;
    }
    .live-stats .stat-number {
        font-size: 1.8rem;
    }
    .footer-content {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    .testimonial {
        padding: 25px;
    }
    .testimonial-text {
        font-size: 1rem;
    }
    .category-card {
        padding: 20px;
    }
    .step {
        min-width: auto;
        padding: 0 10px;
    }
    .step-number {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    .clients-grid {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }
}

/* Extra Small */
@media (max-width: 400px) {
    .clients-grid {
        grid-template-columns: 1fr;
    }
    .container {
        width: 95%;
        padding: 0 10px;
    }
    .logo {
        width: 80px;
        height: 40px;
        min-width: 80px;
        max-width: 80px;
    }
    .logo img {
        width: 80px;
        height: 40px;
        max-width: 80px;
        max-height: 40px;
    }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-center {
    text-align: center;
}

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

.text-white {
    color: var(--white);
}

.mb-20 {
    margin-bottom: 20px;
}

.mt-20 {
    margin-top: 20px;
}

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

:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 2px;
}

.skip-to-content {
    position: absolute;
    top: -1000px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: var(--white);
    padding: 12px 24px;
    z-index: 9999;
    border-radius: 4px;
}

.skip-to-content:focus {
    top: 10px;
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
    header,
    footer,
    .hero,
    .cta,
    .live-stats {
        display: none !important;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .container {
        max-width: 100%;
        width: 100%;
    }
    
    section {
        padding: 20px 0;
        page-break-inside: avoid;
    }
}