:root {
    --primary: #0f172a;
    --secondary: #475569;
    --accent: #3b82f6;
    --accent-dark: #1d4ed8;
    --accent-light: #dbeafe;
    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;
    --light-gray: #f8fafc;
    --lighter-gray: #f1f5f9;
    --white: #ffffff;
    --border: #e2e8f0;
    --border-light: #f1f5f9;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-accent: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    --gradient-dark: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    --gradient-light: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.7;
    color: var(--primary);
    background-color: var(--white);
    font-weight: 400;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.025em;
}

body > main {
    padding-top: 80px !important;
}

main > section {
    margin-bottom: 64px !important;
}

.container {
    max-width: 1200px !important;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
header {
    background: #000 !important;
    backdrop-filter: none;
    border-bottom: 1px solid var(--border-light);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

header.scrolled {
    background: #000 !important;
    box-shadow: var(--shadow-lg);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 80px;
}

.logo img {
    max-height: 120px;
    width: auto;
    display: block;
    margin: 0;
    filter: none;
    padding-top: 8px;
}

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

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a {
    color: #fff !important;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-links a i {
    margin-right: 0.75rem;
    font-size: 16px;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.nav-links a:hover i,
.nav-links a.active i {
    opacity: 1;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-accent);
    transition: width 0.3s ease;
}

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

.nav-links a:hover {
    color: #ffffff !important;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    color: var(--white);
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
}

.mobile-menu-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.mobile-menu-btn:focus {
    outline: 2px solid rgba(255, 255, 255, 0.5);
    outline-offset: 2px;
}

/* Unified Hero Section for All Pages */
.hero,
.page-hero {
    padding: 120px 32px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    position: relative;
    overflow: hidden;
    text-align: center;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero::before,
.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.85) 0%, rgba(0, 0, 0, 0.75) 50%, rgba(0, 0, 0, 0.8) 100%);
    z-index: 1;
}

.hero::after,
.page-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(99, 102, 241, 0.1) 0%, transparent 50%);
    z-index: 1;
    pointer-events: none;
}

.hero .container,
.page-hero .container {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 900px;
}

.hero h1,
.page-hero h1 {
    font-size: clamp(2rem, 5vw, 4.5rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--white);
    text-align: center;
    line-height: 1.1;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero .subtitle,
.page-hero .subtitle {
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    margin-bottom: 3rem;
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 400;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    line-height: 1.6;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 1s ease-out 0.4s both;
}

.hero .cta-button,
.page-hero .cta-button {
    animation: fadeInUp 1s ease-out 0.6s both;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--gradient-accent);
    color: var(--white);
    padding: 1.25rem 2.5rem;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
    text-shadow: none;
}

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

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.4);
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
}

.trust-logos {
    margin-top: 5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.trust-logo {
    font-size: 0.9rem;
    color: var(--secondary);
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.trust-logo:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent);
}

/* Overview Section */
.overview {
    padding: 120px 0;
    background: var(--white);
}

.overview h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 4rem;
    color: var(--primary);
    text-align: center;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}

.overview-card {
    background: var(--white);
    padding: 3rem 2.5rem;
    border-radius: 16px;
    border: 1px solid var(--border-light);
    transition: all 0.4s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.overview-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-accent);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.overview-card:hover::before {
    transform: scaleX(1);
}

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

.overview-card h3 {
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 700;
}

.overview-card p {
    color: var(--secondary);
    line-height: 1.7;
    margin-bottom: 2rem;
    font-size: 1rem;
}

.overview-card .learn-more {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    background: var(--accent-light);
}

.overview-card .learn-more:hover {
    background: var(--accent);
    color: var(--white);
    transform: translateX(4px);
}

/* CTA Section */
.cta-section {
    background: var(--gradient-dark);
    color: var(--white);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><radialGradient id="b" cx="50%" cy="50%"><stop offset="0%" stop-color="%233b82f6" stop-opacity="0.1"/><stop offset="100%" stop-color="%231d4ed8" stop-opacity="0.05"/></radialGradient></defs><circle cx="300" cy="300" r="200" fill="url(%23b)"/><circle cx="700" cy="700" r="250" fill="url(%23b)"/></svg>');
    opacity: 0.6;
}

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

.cta-section h2 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: #cbd5e1;
    line-height: 1.7;
}

/* Footer */
footer {
    background: var(--gradient-dark);
    color: var(--white);
    padding: 100px 0 40px;
    border-top: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><radialGradient id="c" cx="50%" cy="50%"><stop offset="0%" stop-color="%233b82f6" stop-opacity="0.1"/><stop offset="100%" stop-color="%231d4ed8" stop-opacity="0.05"/></radialGradient></defs><circle cx="300" cy="300" r="200" fill="url(%23c)"/><circle cx="700" cy="700" r="250" fill="url(%23c)"/></svg>');
    opacity: 0.6;
}

.footer-bottom-content{
    color: var(--white);
}

.footer-bottom-links a{
    color: #7ab1ff;
    text-decoration: none;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10rem;
    margin-bottom: 3rem;
    position: relative;
}

.footer-section h4 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-weight: 700;
    font-size: 1.2rem;
    position: relative;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--gradient-accent);
    border-radius: 2px;
}

.footer-section p {
    color: #cbd5e1;
    line-height: 1.8;
    margin-bottom: 1rem;
}

/* Remove bullet points from footer links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section a {
    color: #cbd5e1;
    text-decoration: none;
    line-height: 1.8;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
}

.footer-section a:hover {
    color: var(--white);
    transform: translateX(4px);
}

.footer-section a::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gradient-accent);
    transition: width 0.3s ease;
}

.footer-section a:hover::before {
    width: 100%;
}

/* Social Profiles */
.social-profiles {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    max-width: 150px;
}

.social-profiles a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-profiles a::before {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-accent);
    transition: left 0.3s ease;
    z-index: 1;
}

.social-profiles a i {
    font-size: 18px;
    z-index: 2;
    position: relative;
    transition: all 0.3s ease;
}

.social-profiles a:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.social-profiles a:hover::before {
    left: 0;
}

.social-profiles a:hover i {
    color: var(--white);
}

/* Social sharing section styling */
.social-sharing {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.social-sharing h4 {
    color: var(--white);
    margin-bottom: 1rem;
    font-weight: 700;
    font-size: 1.1rem;
    position: relative;
}

.social-sharing h4::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--gradient-accent);
    border-radius: 1px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    color: #94a3b8;
    font-size: 0.9rem;
    position: relative;
    z-index: 2;
}

/* Footer responsive adjustments */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Mobile Menu - Clean implementation */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: fixed;
        top: 70px; /* Match header height */
        left: 0;
        right: 0;
        background: #000;
        flex-direction: column;
        padding: 0;
        margin: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
        z-index: 999;
        /* Remove all transitions and animations */
        transition: none;
        animation: none;
        /* Ensure proper touch handling */
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain;
    }

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

    .nav-links a {
        color: #fff !important;
        font-size: 1.1rem;
        padding: 1rem 2rem;
        width: 100%;
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        font-weight: 500;
        text-decoration: none;
        /* Remove all transitions and animations */
        transition: none;
        animation: none;
        /* Remove pseudo-elements that might interfere */
        position: relative;
        /* Ensure proper touch target */
        min-height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.75rem;
        /* Prevent text selection */
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
        /* Ensure proper touch handling */
        -webkit-tap-highlight-color: rgba(255, 255, 255, 0.1);
        touch-action: manipulation;
    }

    .nav-links a svg {
        flex-shrink: 0;
        opacity: 0.9;
        width: 18px;
        height: 18px;
        stroke: #ffffff;
        stroke-width: 2;
        fill: none;
        display: block;
    }

    .nav-links a:hover svg,
    .nav-links a.active svg {
        opacity: 1;
    }

    .nav-links a::after {
        display: none; /* Remove underline animation */
    }

    .nav-links a::before {
        display: none; /* Remove any other pseudo-elements */
    }

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

    .nav-links a:hover {
        background: rgba(255, 255, 255, 0.1);
        color: #fff !important;
    }

    .nav-links a:active {
        background: rgba(255, 255, 255, 0.2);
    }

    .nav-links a:focus {
        outline: 2px solid rgba(255, 255, 255, 0.5);
        outline-offset: -2px;
    }

    .mobile-menu-btn {
        display: flex;
        background: none;
        border: none;
        cursor: pointer;
        padding: 0.5rem;
        border-radius: 8px;
        color: var(--white);
        width: 44px;
        height: 44px;
        align-items: center;
        justify-content: center;
        /* Remove transitions that might interfere */
        transition: background-color 0.2s ease;
        /* Ensure proper touch handling */
        -webkit-tap-highlight-color: rgba(255, 255, 255, 0.1);
        touch-action: manipulation;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
    }

    .mobile-menu-btn:hover {
        background: rgba(255, 255, 255, 0.1);
    }

    .mobile-menu-btn:active {
        background: rgba(255, 255, 255, 0.2);
    }

    .mobile-menu-btn:focus {
        outline: 2px solid rgba(255, 255, 255, 0.5);
        outline-offset: 2px;
    }

    /* Remove any conflicting desktop styles */
    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: #000;
        padding: 0;
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-links.active a {
        color: #fff !important;
        padding: 1rem 2rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        font-weight: 500;
        font-size: 1.1rem;
        /* Remove all animations and transitions */
        transition: none;
        animation: none;
    }

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

    .nav-links.active a:hover {
        background: rgba(255, 255, 255, 0.1);
        color: #fff !important;
        margin: 0;
        padding: 1rem 2rem;
    }

    nav {
        padding: 0.75rem 0;
        height: 70px;
    }

    .logo {
        height: 60px;
        margin-left: 0;
    }

    .logo img {
        max-height: 80px;
        padding-top: 8px;
    }

    body > main {
        padding-top: 70px !important;
    }

    .hero,
    .page-hero {
        padding: 100px 20px 60px;
        min-height: 80vh;
        background-attachment: scroll;
    }

    .hero h1,
    .page-hero h1 {
        font-size: clamp(1.75rem, 6vw, 2.5rem);
        margin-bottom: 1rem;
    }

    .hero .subtitle,
    .page-hero .subtitle {
        font-size: clamp(0.95rem, 3.5vw, 1.1rem);
        margin-bottom: 2rem;
        line-height: 1.5;
    }

    .cta-button {
        padding: 1rem 2rem;
        font-size: 1rem;
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .overview-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .overview-card {
        padding: 2rem 1.5rem;
    }

    .trust-logos {
        gap: 1rem;
        flex-direction: column;
        align-items: center;
    }

    .container {
        padding: 0 20px;
    }

    .scroll-indicator {
        display: none;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .expertise-grid {
        grid-template-columns: 1fr;
    }

    .founder-bio {
        padding: 2rem 1.5rem;
    }

    .founder-image img {
        width: 200px;
        height: 200px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .service-card {
        padding: 2rem 1.5rem;
    }

    .blog-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        grid-template-areas: "info" "form";
        gap: 2rem;
    }

    .contact-form {
        padding: 2rem 1.5rem;
    }

    .contact-info {
        padding: 2rem 1.5rem;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .value-card {
        padding: 2rem 1.5rem;
    }

    .contact-method {
        padding: 1.25rem;
        margin-bottom: 1.5rem;
    }

    .contact-methods h3 {
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 480px) {
    nav {
        padding: 0.5rem 0;
        height: 60px;
    }

    .logo {
        height: 50px;
    }

    .logo img {
        max-height: 70px;
        padding-top: 6px;
    }

    body > main {
        padding-top: 60px !important;
    }

    .mobile-menu-btn {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }

    .hero,
    .page-hero {
        padding: 80px 16px 40px;
        min-height: 70vh;
    }

    .hero h1,
    .page-hero h1 {
        font-size: 1.75rem;
        margin-bottom: 0.75rem;
        line-height: 1.2;
    }

    .hero .subtitle,
    .page-hero .subtitle {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
        line-height: 1.4;
    }

    .overview-card {
        padding: 1.5rem;
    }

    .cta-button {
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
        width: 100%;
        max-width: 280px;
    }

    .founder-image img {
        width: 120px;
        height: 120px;
    }

    .container {
        padding: 0 16px;
    }
}

/* Animation */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--lighter-gray);
}

::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-dark);
}

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

/* Loading animation */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

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

.loading {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Page Header */
.page-header {
    padding: 200px 0 80px;
    background: var(--gradient-light);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><radialGradient id="a" cx="50%" cy="50%"><stop offset="0%" stop-color="%23f8fafc" stop-opacity="0.8"/><stop offset="100%" stop-color="%23e2e8f0" stop-opacity="0.3"/></radialGradient></defs><circle cx="200" cy="200" r="100" fill="url(%23a)"/><circle cx="800" cy="300" r="150" fill="url(%23a)"/><circle cx="400" cy="700" r="120" fill="url(%23a)"/></svg>');
    opacity: 0.6;
}

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

.page-header p {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    color: var(--secondary);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Main Content */
.main-content {
    padding: 120px 0;
}

.section {
    margin-bottom: 100px;
}

.section:last-child {
    margin-bottom: 0;
}

.section h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 3rem;
    color: var(--primary);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--secondary);
}

.about-text p {
    margin-bottom: 1.5rem;
}

.about-text strong {
    color: var(--primary);
    font-weight: 600;
}

.founder-bio {
    background: var(--white);
    padding: 3rem 2.5rem;
    border-radius: 16px;
    border: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: flex-start;
    gap: 2rem;
}

.founder-content {
    text-align: left;
    flex: 1;
}

.founder-bio::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-accent);
}

.founder-image {
    text-align: right;
    margin-bottom: 0;
    flex-shrink: 0;
}

.founder-image img {
    width: 150px;
    border-radius: 8px;
    object-fit: cover;
    border: 4px solid var(--accent-light);
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.founder-image img:hover {
    transform: scale(1.05);
    border-color: var(--accent);
    box-shadow: var(--shadow-lg);
}

.founder-bio h3 {
    color: var(--accent);
    margin-bottom: 1rem;
    text-align: left;
}

.founder-bio .title {
    font-size: 1.1rem;
    color: var(--secondary);
    margin-bottom: 1.5rem;
    font-weight: 500;
    text-align: left;
}

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

.expertise-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-light);
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.expertise-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

.expertise-item h4 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-weight: 600;
}

.expertise-item p {
    color: var(--secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Values Section */
.values-section {
    padding: 100px 0 100px 0;
    text-align: center;
}

.values-section h2 {
    margin-bottom: 2.5rem;
    margin-top: 0.5rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    justify-items: center;
}

.value-card {
    background: var(--white);
    padding: 2.5rem 2rem 2rem 2rem;
    border-radius: 12px;
    text-align: center;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    margin-bottom: 0;
    align-items: center;
}

.value-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

.value-card h4 {
    color: var(--accent);
    margin-bottom: 1rem;
    font-size: 1.25rem;
    font-weight: 600;
}

.value-card p {
    color: var(--secondary);
    line-height: 1.6;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}

.service-card {
    background: var(--white);
    padding: 3rem 2.5rem;
    border-radius: 16px;
    border: 1px solid var(--border-light);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-accent);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

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

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

.service-card h3 {
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 700;
}

.service-card p {
    color: var(--secondary);
    line-height: 1.7;
    margin-bottom: 2rem;
    font-size: 1rem;
}

.expertise-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

.service-card .learn-more {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    background: var(--accent-light);
}

.service-card .learn-more:hover {
    background: var(--accent);
    color: var(--white);
    transform: translateX(4px);
}

/* Blog Grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}

.blog-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

.blog-card .blog-image {
    width: 100%;
    height: 200px;
    background: var(--gradient-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    font-size: 3rem;
}

.blog-card .blog-content {
    padding: 2rem;
}

.blog-card h3 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.25rem;
    font-weight: 600;
}

.blog-card .blog-meta {
    color: var(--secondary);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.blog-card p {
    color: var(--secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.blog-card .read-more {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.blog-card .read-more:hover {
    text-decoration: underline;
}

/* Contact Content */
.contact-content {
    padding: 120px 0;
    background: var(--lighter-gray);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-areas: "info form";
    gap: 4rem;
    align-items: start;
}

.contact-form {
    grid-area: form;
    background: var(--white);
    padding: 3rem;
    border-radius: 16px;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.contact-info {
    grid-area: info;
    background: var(--white);
    padding: 3rem;
    border-radius: 16px;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.contact-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.contact-info h2 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.75rem;
    font-weight: 700;
}

.contact-info > p {
    color: var(--secondary);
    margin-bottom: 2.5rem;
    line-height: 1.6;
    font-size: 1.05rem;
}

.contact-methods {
    border-top: 1px solid var(--border-light);
    padding-top: 2rem;
}

.contact-methods h3 {
    color: var(--primary);
    margin-bottom: 2rem;
    font-size: 1.25rem;
    font-weight: 600;
    position: relative;
}

.contact-methods h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--gradient-accent);
    border-radius: 2px;
}

.contact-method {
    margin-bottom: 2rem;
    padding: 1.5rem;
    border-radius: 12px;
    background: var(--lighter-gray);
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

.contact-method:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent);
}

.contact-method h4 {
    color: var(--primary);
    margin-bottom: 0.75rem;
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-method h4::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    flex-shrink: 0;
}

.contact-method p {
    color: var(--secondary);
    margin: 0;
    line-height: 1.6;
    font-size: 0.95rem;
}

.contact-method a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.contact-method a:hover {
    color: var(--primary);
    border-bottom-color: var(--accent);
}

.contact-form h2 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.75rem;
    font-weight: 700;
}

.contact-form p {
    color: var(--secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
    font-size: 1.05rem;
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--white);
    font-family: inherit;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-light);
}

.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
    border-color: var(--accent);
}

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

.submit-button {
    width: 100%;
    padding: 1.25rem 2rem;
    background: var(--gradient-accent);
    color: var(--white);
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

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

.submit-button:hover::before {
    left: 100%;
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.4);
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
}

.submit-button:active {
    transform: translateY(0);
}

.submit-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.submit-button:disabled:hover {
    transform: none;
    box-shadow: var(--shadow-lg);
}

.btn-loading {
    display: none;
    align-items: center;
    justify-content: center;
}

.btn-loading svg {
    animation: spin 1s linear infinite;
}

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

.form-message {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    font-weight: 500;
}

.form-message.success {
    background: rgba(16, 185, 129, 0.1);
    color: #065f46;
    border: 1px solid rgba(16, 185, 129, 0.2);
    white-space: pre-line;
    line-height: 1.6;
}

.form-message.error {
    background: rgba(239, 68, 68, 0.1);
    color: #991b1b;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.form-message ul {
    margin: 0.5rem 0 0 0;
    padding-left: 1.5rem;
}

.form-message li {
    margin-bottom: 0.25rem;
}

/* Consultation Benefits */
.consultation-benefits {
    padding: 120px 0;
    background: var(--white);
}

.consultation-benefits h2 {
    text-align: center;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 4rem;
    color: var(--primary);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.consultation-benefits h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--gradient-accent);
    margin: 2rem auto 0;
    border-radius: 2px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}

.benefit-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

.benefit-card h3 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.25rem;
    font-weight: 700;
}

.benefit-card p {
    color: var(--secondary);
    line-height: 1.6;
    margin: 0;
}

/* Why Choose Us Section */
.why-choose-us {
    padding: 120px 0;
    background: var(--light-gray);
    position: relative;
}

.why-choose-us::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(248, 250, 252, 0.8) 0%, rgba(241, 245, 249, 0.9) 100%);
    z-index: 1;
}

.why-choose-us .container {
    position: relative;
    z-index: 2;
}

.why-choose-us h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.section-subtitle {
    text-align: center;
    font-size: 1.125rem;
    color: var(--secondary);
    margin-bottom: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-light);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-accent);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

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

.feature-icon {
    width: 64px;
    height: 64px;
    background: var(--gradient-accent);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.feature-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.1) 100%);
    border-radius: 16px;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.feature-card p {
    color: var(--secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.feature-metric {
    background: var(--accent-light);
    color: var(--accent-dark);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    display: inline-block;
    border: 1px solid var(--accent-light);
}

/* Industries Served Section */
.industries-served {
    padding: 120px 0;
    background: var(--white);
    position: relative;
}

.industries-served h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.industry-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-light);
}

.industry-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.industry-card:hover::before {
    transform: scaleX(1);
}

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

.industry-icon {
    width: 64px;
    height: 64px;
    background: var(--gradient-primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.industry-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.1) 100%);
    border-radius: 16px;
}

.industry-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.industry-card p {
    color: var(--secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

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

.industry-services li {
    color: var(--secondary);
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
    font-size: 0.9rem;
}

.industry-services li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: bold;
    font-size: 1rem;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 24px;
    height: 24px;
    border: 2px solid var(--white);
    border-top: none;
    border-left: none;
    transform: rotate(45deg);
    opacity: 0.8;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Mobile Responsive for New Sections */
@media (max-width: 768px) {
    .why-choose-us,
    .industries-served {
        padding: 80px 0;
    }

    .why-choose-us h2,
    .industries-served h2 {
        font-size: 2rem;
    }

    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 3rem;
    }

    .features-grid,
    .industries-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .feature-card,
    .industry-card {
        padding: 2rem;
    }

    .feature-icon,
    .industry-icon {
        width: 56px;
        height: 56px;
        margin-bottom: 1.25rem;
    }

    .feature-card h3,
    .industry-card h3 {
        font-size: 1.125rem;
    }

    .feature-card p,
    .industry-card p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .why-choose-us,
    .industries-served {
        padding: 60px 0;
    }

    .why-choose-us h2,
    .industries-served h2 {
        font-size: 1.75rem;
    }

    .section-subtitle {
        font-size: 0.95rem;
        margin-bottom: 2.5rem;
    }

    .feature-card,
    .industry-card {
        padding: 1.5rem;
    }

    .feature-icon,
    .industry-icon {
        width: 48px;
        height: 48px;
        margin-bottom: 1rem;
    }

    .feature-card h3,
    .industry-card h3 {
        font-size: 1rem;
    }

    .feature-card p,
    .industry-card p {
        font-size: 0.875rem;
    }

    .feature-metric {
        font-size: 0.8rem;
        padding: 0.375rem 0.75rem;
    }
}

/* Safe area handling for devices with notches */
@supports (padding: max(0px)) {
    header {
        padding-left: max(0px, env(safe-area-inset-left));
        padding-right: max(0px, env(safe-area-inset-right));
    }
    
    .nav-links {
        padding-left: max(0px, env(safe-area-inset-left));
        padding-right: max(0px, env(safe-area-inset-right));
    }
    
    .container {
        padding-left: max(24px, env(safe-area-inset-left) + 24px);
        padding-right: max(24px, env(safe-area-inset-right) + 24px);
    }
}

@media (max-width: 768px) {
    @supports (padding: max(0px)) {
        .container {
            padding-left: max(20px, env(safe-area-inset-left) + 20px);
            padding-right: max(20px, env(safe-area-inset-right) + 20px);
        }
    }
}

@media (max-width: 480px) {
    @supports (padding: max(0px)) {
        .container {
            padding-left: max(16px, env(safe-area-inset-left) + 16px);
            padding-right: max(16px, env(safe-area-inset-right) + 16px);
        }
    }
}

/* Navigation Icons using CSS Pseudo-elements */
.nav-item {
    position: relative;
    padding-left: 2rem !important;
    text-align: left;
    justify-content: flex-start;
}

.nav-item::before {
    content: '';
    position: absolute;
    left: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.nav-item:hover::before,
.nav-item.active::before {
    opacity: 1;
}

/* Individual icon content */
.home-icon::before {
    content: '🏠';
}

.about-icon::before {
    content: '👤';
}

.services-icon::before {
    content: '💼';
}

.insights-icon::before {
    content: '📄';
}

.contact-icon::before {
    content: '✉️';
}

/* Mobile Responsive for Contact Forms */
@media (max-width: 768px) {
    .contact-content {
        padding: 80px 0;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        grid-template-areas: "info" "form";
        gap: 2rem;
    }

    .contact-form {
        padding: 2rem 1.5rem;
    }

    .contact-info {
        padding: 2rem 1.5rem;
    }

    .contact-method {
        padding: 1.25rem;
        margin-bottom: 1.5rem;
    }

    .contact-methods h3 {
        margin-bottom: 1.5rem;
    }

    .consultation-benefits {
        padding: 80px 0;
    }

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

    .benefit-card {
        padding: 1.5rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 16px; /* Prevents zoom on iOS */
        padding: 12px 16px;
        min-height: 48px;
    }

    .form-group textarea {
        min-height: 100px;
    }

    .submit-button {
        padding: 1rem 2rem;
        font-size: 1rem;
        min-height: 48px;
    }

    /* Ensure proper touch targets */
    .contact-method {
        min-height: 44px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .contact-method a {
        min-height: 44px;
        display: flex;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .contact-content {
        padding: 60px 0;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .contact-info {
        padding: 1.5rem;
    }

    .contact-method {
        padding: 1rem;
        margin-bottom: 1rem;
    }

    .consultation-benefits {
        padding: 60px 0;
    }

    .benefit-card {
        padding: 1.25rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 10px 12px;
        min-height: 44px;
    }

    .form-group textarea {
        min-height: 80px;
    }

    .submit-button {
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
        min-height: 44px;
    }

    .contact-form h2,
    .contact-info h2 {
        font-size: 1.5rem;
    }

    .contact-form p,
    .contact-info > p {
        font-size: 1rem;
    }

    .contact-methods h3 {
        font-size: 1.1rem;
    }

    .contact-method h4 {
        font-size: 0.95rem;
    }

    .contact-method p {
        font-size: 0.9rem;
    }

    /* Improve mobile spacing */
    .contact-methods {
        padding-top: 1.5rem;
    }

    .contact-info > p {
        margin-bottom: 2rem;
    }
}

/* Expertise Section Styles */
.expertise-section {
    padding: 120px 0;
    background: var(--white);
    position: relative;
}

.expertise-section h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.expertise-lead {
    text-align: center;
    font-size: 1.125rem;
    color: var(--secondary);
    margin-bottom: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.expertise-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-light);
}

.expertise-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-accent);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.expertise-card:hover::before {
    transform: scaleX(1);
}

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

.expertise-icon {
    width: 64px;
    height: 64px;
    background: var(--gradient-accent);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.expertise-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.1) 100%);
    border-radius: 16px;
}

.expertise-tagline {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
}

.expertise-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.expertise-card p {
    color: var(--secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.expertise-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.expertise-card li {
    color: var(--secondary);
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
    font-size: 0.9rem;
}

.expertise-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: bold;
    font-size: 1rem;
}

/* Mobile Responsive for Expertise Section */
@media (max-width: 768px) {
    .expertise-section {
        padding: 80px 0;
    }

    .expertise-section h2 {
        font-size: 2rem;
    }

    .expertise-lead {
        font-size: 1rem;
        margin-bottom: 3rem;
    }

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

    .expertise-card {
        padding: 2rem;
    }

    .expertise-icon {
        width: 56px;
        height: 56px;
        margin-bottom: 1.25rem;
    }

    .expertise-card h3 {
        font-size: 1.125rem;
    }

    .expertise-card p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .expertise-section {
        padding: 60px 0;
    }

    .expertise-section h2 {
        font-size: 1.75rem;
    }

    .expertise-lead {
        font-size: 0.95rem;
        margin-bottom: 2.5rem;
    }

    .expertise-card {
        padding: 1.5rem;
    }

    .expertise-icon {
        width: 48px;
        height: 48px;
        margin-bottom: 1rem;
    }

    .expertise-card h3 {
        font-size: 1rem;
    }

    .expertise-card p {
        font-size: 0.875rem;
    }

    .expertise-tagline {
        font-size: 0.8rem;
    }
}

/* Article Actions Styles */
.article-actions {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-light);
}

.article-actions .learn-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    padding: 0.5rem 0;
}

.article-actions .learn-more:hover {
    color: var(--accent-dark);
    transform: translateX(4px);
}

.article-actions .learn-more svg {
    transition: transform 0.3s ease;
}

.article-actions .learn-more:hover svg {
    transform: translateX(2px);
}

/* Newsletter Section Styles */
.newsletter-section {
    padding: 120px 0;
    background: var(--gradient-dark);
    position: relative;
    color: var(--white);
}

.newsletter-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.9) 0%, rgba(15, 23, 42, 0.95) 100%);
    z-index: 1;
}

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

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

.newsletter-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.newsletter-section p {
    font-size: 1.125rem;
    margin-bottom: 2.5rem;
    line-height: 1.6;
    opacity: 0.9;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input[type="email"] {
    flex: 1;
    padding: 1rem 1.5rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-size: 1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.newsletter-form input[type="email"]::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.newsletter-form input[type="email"]:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.15);
}

.newsletter-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: var(--gradient-accent);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    white-space: nowrap;
}

.newsletter-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    background: var(--accent-dark);
}

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

.newsletter-btn svg {
    transition: transform 0.3s ease;
}

.newsletter-btn:hover svg {
    transform: translateX(2px);
}

/* Mobile Responsive for Newsletter Section */
@media (max-width: 768px) {
    .newsletter-section {
        padding: 80px 0;
    }

    .newsletter-section h2 {
        font-size: 2rem;
    }

    .newsletter-section p {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

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

    .newsletter-form input[type="email"] {
        padding: 0.875rem 1.25rem;
    }

    .newsletter-btn {
        padding: 0.875rem 1.5rem;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .newsletter-section {
        padding: 60px 0;
    }

    .newsletter-section h2 {
        font-size: 1.75rem;
    }

    .newsletter-section p {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }

    .newsletter-form input[type="email"] {
        padding: 0.75rem 1rem;
        font-size: 0.95rem;
    }

}

/* Insights Section Styles */
.insights-section {
    padding: 120px 0;
    background: var(--white);
    position: relative;
}

.insights-section h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.insights-lead {
    text-align: center;
    font-size: 1.125rem;
    color: var(--secondary);
    margin-bottom: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.insights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.insight-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-light);
    display: flex;
    flex-direction: column;
}

.insight-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-accent);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.insight-card:hover::before {
    transform: scaleX(1);
}

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

.insight-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.insight-category {
    background: var(--accent-light);
    color: var(--accent-dark);
    padding: 0.375rem 0.75rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.insight-date {
    color: var(--secondary);
    font-size: 0.875rem;
    font-weight: 500;
}

.reading-time {
    color: var(--secondary);
    font-size: 0.875rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.reading-time::before {
    content: '⏱';
    font-size: 0.75rem;
}

.insight-card h3 {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
    line-height: 1.3;
    flex-grow: 1;
}

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

.insight-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.tag {
    background: var(--lighter-gray);
    color: var(--secondary);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

.tag:hover {
    background: var(--accent-light);
    color: var(--accent-dark);
    border-color: var(--accent-light);
}

.article-actions {
    margin-top: auto;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-light);
}

.article-actions .read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    padding: 0.5rem 0;
}

.article-actions .read-more:hover {
    color: var(--accent-dark);
    transform: translateX(4px);
}

.article-actions .read-more svg {
    transition: transform 0.3s ease;
}

.article-actions .read-more:hover svg {
    transform: translateX(2px);
}

/* Mobile Responsive for Insights Section */
@media (max-width: 768px) {
    .insights-section {
        padding: 80px 0;
    }

    .insights-section h2 {
        font-size: 2rem;
    }

    .insights-lead {
        font-size: 1rem;
        margin-bottom: 3rem;
    }

    .insights-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .insight-card {
        padding: 2rem;
    }

    .insight-meta {
        gap: 0.75rem;
        margin-bottom: 1.25rem;
    }

    .insight-card h3 {
        font-size: 1.25rem;
    }

    .insight-card p {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .insights-section {
        padding: 60px 0;
    }

    .insights-section h2 {
        font-size: 1.75rem;
    }

    .insights-lead {
        font-size: 0.95rem;
        margin-bottom: 2.5rem;
    }

    .insight-card {
        padding: 1.5rem;
    }

    .insight-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        margin-bottom: 1rem;
    }

    .insight-card h3 {
        font-size: 1.125rem;
    }

    .insight-card p {
        font-size: 0.9rem;
    }

    .insight-tags {
        gap: 0.375rem;
    }

    .tag {
        font-size: 0.7rem;
        padding: 0.2rem 0.6rem;
    }
}

/* Individual Article Page Styles */
.article-content {
    background: var(--white);
    min-height: 100vh;
}

.article-header {
    background: var(--gradient-dark);
    color: var(--white);
    padding: 120px 0 80px;
    position: relative;
    z-index: 0;
}

.article-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.9) 0%, rgba(15, 23, 42, 0.95) 100%);
    z-index: -1;
}

.article-header .container {
    position: relative;
    z-index: 0;
}

.breadcrumb {
    margin-bottom: 2rem;
}

.breadcrumb ol {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 0.5rem;
    align-items: center;
    flex-wrap: wrap;
}

.breadcrumb li {
    display: flex;
    align-items: center;
    font-size: 0.875rem;
}

.breadcrumb li:not(:last-child)::after {
    content: '›';
    margin-left: 0.5rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 600;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: var(--white);
}

.breadcrumb li[aria-current="page"] {
    color: var(--white);
    font-weight: 600;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.article-category {
    background: var(--accent);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.article-date {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
    font-weight: 500;
}

.article-author {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
    font-weight: 500;
}

.article-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.article-excerpt {
    font-size: 1.25rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    max-width: 800px;
}

.article-sharing-top {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.share-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.share-button:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.article-body {
    padding: 80px 0;
    background: var(--white);
}

.article-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 4rem;
    align-items: start;
}

.article-main {
    max-width: 100%;
}

.article-section {
    margin-bottom: 3rem;
}

.article-section h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.article-section h3 {
    font-size: 1.375rem;
    font-weight: 600;
    color: var(--primary);
    margin: 2rem 0 1rem;
    line-height: 1.4;
}

.article-section p {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--secondary);
    margin-bottom: 1.5rem;
}

.article-section ul {
    margin: 1.5rem 0;
    padding-left: 1.5rem;
}

.article-section li {
    font-size: 1.125rem;
    line-height: 1.6;
    color: var(--secondary);
    margin-bottom: 0.75rem;
}

.article-section strong {
    color: var(--primary);
    font-weight: 600;
}

/* Roadmap Timeline */
.roadmap-timeline {
    margin: 3rem 0;
}

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

.roadmap-marker {
    width: 40px;
    height: 40px;
    background: var(--gradient-accent);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.125rem;
    flex-shrink: 0;
}

.roadmap-content h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 1rem;
}

.roadmap-content ul {
    margin: 0;
    padding-left: 1.25rem;
}

.roadmap-content li {
    font-size: 1rem;
    line-height: 1.5;
    color: var(--secondary);
    margin-bottom: 0.5rem;
}

/* Article Sidebar */
.article-sidebar {
    position: sticky;
    top: 120px;
    background: var(--light-gray);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-light);
}

.sidebar-section {
    margin-bottom: 2.5rem;
}

.sidebar-section:last-child {
    margin-bottom: 0;
}

.sidebar-section h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--accent-light);
}

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

.related-articles li {
    margin-bottom: 1rem;
}

.related-articles a {
    color: var(--secondary);
    text-decoration: none;
    font-size: 0.95rem;
    line-height: 1.4;
    transition: color 0.3s ease;
    display: block;
    padding: 0.75rem;
    border-radius: 8px;
    border: 1px solid transparent;
}

.related-articles a:hover {
    color: var(--accent);
    background: var(--white);
    border-color: var(--border-light);
}

.contact-cta {
    background: var(--gradient-accent);
    color: var(--white);
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
}

.contact-cta h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.contact-cta p {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.contact-cta .cta-button {
    background: var(--white);
    color: var(--accent);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-block;
    transition: all 0.3s ease;
}

.contact-cta .cta-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Article Footer */
.article-footer {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid var(--border-light);
}

.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.article-tags .tag {
    background: var(--accent-light);
    color: var(--accent-dark);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    border: 1px solid var(--accent-light);
}

.article-sharing-bottom {
    display: flex;
    justify-content: center;
}

.article-sharing-bottom .share-button {
    background: var(--accent);
    color: var(--white);
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
}

.article-sharing-bottom .share-button:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Mobile Responsive for Article Pages */
@media (max-width: 768px) {
    .article-header {
        padding: 100px 0 60px;
    }

    .article-title {
        font-size: 2.25rem;
    }

    .article-excerpt {
        font-size: 1.125rem;
    }

    .article-meta {
        gap: 1rem;
        margin-bottom: 1.5rem;
    }

    .article-body {
        padding: 60px 0;
    }

    .article-content-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .article-sidebar {
        position: static;
        order: -1;
    }

    .article-section h2 {
        font-size: 1.75rem;
    }

    .article-section h3 {
        font-size: 1.25rem;
    }

    .article-section p {
        font-size: 1rem;
    }

    .roadmap-item {
        gap: 1rem;
    }

    .roadmap-marker {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .article-header {
        padding: 80px 0 40px;
    }

    .article-title {
        font-size: 1.875rem;
    }

    .article-excerpt {
        font-size: 1rem;
    }

    .article-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .article-body {
        padding: 40px 0;
    }

    .article-section h2 {
        font-size: 1.5rem;
    }

    .article-section h3 {
        font-size: 1.125rem;
    }

    .breadcrumb ol {
        gap: 0.25rem;
    }

    .breadcrumb li {
        font-size: 0.8rem;
    }

    .share-button {
        padding: 0.625rem 1.25rem;
        font-size: 0.8rem;
    }
}

/* About Page Mobile Responsive Styles */
@media (max-width: 768px) {
    .about-content {
        padding: 60px 0;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-text h2 {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }

    .about-text h3 {
        font-size: 1.375rem;
        margin: 2rem 0 1rem;
    }

    .about-text p {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 1.25rem;
    }

    .founder-bio {
        flex-direction: column;
        gap: 2rem;
        padding: 2rem;
    }

    .founder-content {
        order: 2;
    }

    .founder-image {
        order: 1;
        text-align: center;
    }

    .founder-image img {
        max-width: 280px;
        height: auto;
    }

    .founder-bio h3 {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }

    .founder-bio .title {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .founder-bio p {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 1rem;
    }

    .values-section {
        padding: 60px 0;
    }

    .values-section h2 {
        font-size: 2rem;
        margin-bottom: 2.5rem;
    }

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

    .value-card {
        padding: 1.5rem;
    }

    .value-card h4 {
        font-size: 1.125rem;
        margin-bottom: 1rem;
    }

    .value-card p {
        font-size: 0.95rem;
        line-height: 1.6;
    }
}

@media (max-width: 480px) {
    .about-content {
        padding: 40px 0;
    }

    .about-grid {
        gap: 2rem;
    }

    .about-text h2 {
        font-size: 1.75rem;
        margin-bottom: 1.25rem;
    }

    .about-text h3 {
        font-size: 1.25rem;
        margin: 1.5rem 0 0.75rem;
    }

    .about-text p {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 1rem;
    }

    .founder-bio {
        padding: 1.5rem;
        gap: 1.5rem;
    }

    .founder-image img {
        max-width: 240px;
    }

    .founder-bio h3 {
        font-size: 1.375rem;
        margin-bottom: 0.5rem;
    }

    .founder-bio .title {
        font-size: 0.95rem;
        margin-bottom: 1.25rem;
    }

    .founder-bio p {
        font-size: 0.9rem;
        line-height: 1.6;
        margin-bottom: 0.875rem;
    }

    .values-section {
        padding: 40px 0;
    }

    .values-section h2 {
        font-size: 1.75rem;
        margin-bottom: 2rem;
    }

    .values-grid {
        gap: 1.25rem;
    }

    .value-card {
        padding: 1.25rem;
    }

    .value-card h4 {
        font-size: 1rem;
        margin-bottom: 0.875rem;
    }

    .value-card p {
        font-size: 0.9rem;
        line-height: 1.6;
    }
}

/* Modal/Popup Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    z-index: 9999;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.modal-container {
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-xl);
    max-width: 900px;
    width: 95%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-container {
    transform: scale(1);
}

.modal-header {
    padding: 16px 20px 0 20px;
    border-bottom: 1px solid var(--border-light);
    position: sticky;
    top: 0;
    background: var(--white);
    z-index: 10;
}

.modal-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 4px;
}

.modal-subtitle {
    color: var(--secondary);
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    font-size: 1.25rem;
    cursor: pointer;
    color: var(--secondary);
    width: 36px;
    height: 36px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: var(--lighter-gray);
    color: var(--primary);
}

.modal-body {
    padding: 16px 20px;
}

.quote-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.form-section {
    border: 1px solid var(--border-light);
    border-radius: 6px;
    padding: 12px;
    background: var(--light-gray);
    margin-bottom: 8px;
}

/* Modern quote form layout */
.quote-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.form-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 14px;
}

.contact-column,
.services-column {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 12px;
    background: var(--light-gray);
    border-radius: 8px;
    border: 1px solid var(--border-light);
}

.contact-column h3,
.services-column h3,
.additional-details-section h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 8px;
    padding-bottom: 3px;
    border-bottom: 2px solid var(--accent);
}

/* Form rows for side-by-side fields */
.name-row,
.contact-row,
.company-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 6px;
}

/* Form groups */
.contact-column .form-group,
.additional-details-section .form-group {
    margin-bottom: 6px;
}

.contact-column .form-group:last-child,
.additional-details-section .form-group:last-child {
    margin-bottom: 0;
}

/* Labels */
.contact-column .form-group label,
.additional-details-section .form-group label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--primary);
    margin-bottom: 3px;
    display: block;
}

.contact-column .form-group label.required::after {
    content: ' *';
    color: var(--error);
}

/* Input fields */
.contact-column .form-group input,
.contact-column .form-group select,
.additional-details-section .form-group input,
.additional-details-section .form-group textarea {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 0.9rem;
    background: var(--white);
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.contact-column .form-group input:focus,
.contact-column .form-group select:focus,
.additional-details-section .form-group input:focus,
.additional-details-section .form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-light);
}

/* Services section */
.services-grid {
    display: flex;
    flex-direction: column;
    gap: 6px;
    max-height: 280px;
    overflow-y: auto;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: var(--white);
}

.services-grid::-webkit-scrollbar {
    width: 6px;
}

.services-grid::-webkit-scrollbar-track {
    background: var(--light-gray);
    border-radius: 3px;
}

.services-grid::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 3px;
}

.services-grid::-webkit-scrollbar-thumb:hover {
    background: var(--accent);
}

.service-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border: 1px solid var(--border);
    border-radius: 4px;
    background: var(--white);
    transition: all 0.2s ease;
}

.service-option:hover {
    border-color: var(--accent);
    background: var(--accent-light);
}

.service-option input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--accent);
    flex-shrink: 0;
}

.service-option label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--primary);
    cursor: pointer;
    flex: 1;
    line-height: 1.3;
}

/* Other input field */
.other-input {
    margin-top: 8px;
    padding: 10px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 6px;
    border-left: 4px solid var(--accent);
}

.other-input input {
    width: 100%;
    padding: 6px 8px;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-size: 0.9rem;
    background: var(--white);
}

.other-input input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 2px var(--accent-light);
}

/* Additional details section */
.additional-details-section {
    border-top: 1px solid var(--border);
    padding-top: 12px;
}

.additional-details-section textarea {
    resize: vertical;
    min-height: 50px;
    line-height: 1.4;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .form-layout {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .contact-column,
    .services-column {
        gap: 10px;
    }
    
    .quote-form {
        max-height: 80vh;
    }
}

.form-section h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.form-section h3::before {
    content: '';
    width: 4px;
    height: 24px;
    background: var(--gradient-accent);
    border-radius: 2px;
}

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

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

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-weight: 500;
    color: var(--primary);
    font-size: 0.95rem;
}

.form-group label.required::after {
    content: ' *';
    color: var(--error);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 8px 12px;
    border: 2px solid var(--border);
    border-radius: 6px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background: var(--white);
    width: 100%;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-light);
}

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

.form-group select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: 40px;
    cursor: pointer;
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

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

.checkbox-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: var(--white);
    transition: all 0.3s ease;
}

.checkbox-item:hover {
    border-color: var(--accent);
    background: var(--accent-light);
}

.checkbox-item input[type="checkbox"] {
    margin-top: 2px;
    width: 18px;
    height: 18px;
    accent-color: var(--accent);
}

.checkbox-item label {
    font-weight: 500;
    cursor: pointer;
    flex: 1;
}

.checkbox-item .description {
    font-size: 0.9rem;
    color: var(--secondary);
    margin-top: 4px;
}

.other-input {
    margin-top: 12px;
    padding: 12px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 8px;
    border-left: 4px solid var(--accent);
    position: relative;
}

.other-input::before {
    content: '→';
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent);
    font-weight: bold;
    font-size: 1.2rem;
}

.other-input input {
    width: 100%;
    padding: 12px 16px 12px 24px;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--light-gray);
}

.other-input input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-light);
    background: var(--white);
}

.other-input input::placeholder {
    color: var(--secondary);
    font-style: italic;
}

.modal-footer {
    padding: 16px 24px 20px 24px;
    border-top: 1px solid var(--border-light);
    background: var(--white);
    position: sticky;
    bottom: 0;
}

.submit-quote-btn {
    background: var(--gradient-accent);
    color: var(--white);
    border: none;
    padding: 16px 32px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.submit-quote-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

.submit-quote-btn svg {
    width: 20px;
    height: 20px;
}

.form-message {
    margin-top: 16px;
    padding: 12px 16px;
    border-radius: 8px;
    font-weight: 500;
    display: none;
}

.form-message.success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.form-message.error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}



@media (max-width: 768px) {
    .modal-container {
        width: 98%;
        max-height: 98vh;
    }
    
    .modal-header,
    .modal-body,
    .modal-footer {
        padding: 16px;
    }
    
    .modal-title {
        font-size: 1.4rem;
        padding-right: 40px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .quote-form {
        gap: 16px;
    }
    
    .form-section {
        padding: 14px;
    }
}

@media (max-width: 480px) {
    .modal-container {
        width: 99%;
        border-radius: 8px;
    }
    
    .modal-header,
    .modal-body,
    .modal-footer {
        padding: 12px;
    }
    
    .modal-title {
        font-size: 1.2rem;
    }
    
    .form-section {
        padding: 12px;
    }
}

/* Honeypot field - hidden from users but visible to bots */
.honeypot-field {
    position: absolute !important;
    left: -9999px !important;
    top: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.honeypot-field label,
.honeypot-field input {
    display: none !important;
}

/* Security question styling */
.security-question {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--lighter-gray);
    padding: 16px;
    border-radius: 8px;
    border: 1px solid var(--border);
}

.security-question span {
    font-weight: 500;
    color: var(--primary);
    min-width: fit-content;
}

.security-question input {
    flex: 1;
    max-width: 120px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 8px 12px;
    font-size: 16px;
    text-align: center;
}

.security-question input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-light);
    outline: none;
}

/* Character counter */
.char-count {
    font-size: 12px;
    color: var(--secondary);
    text-align: right;
    margin-top: 4px;
    font-weight: 400;
}

.char-count.warning {
    color: var(--warning);
}

.char-count.error {
    color: var(--error);
}

/* Disable browser default validation styling on page load */
.form-group input:invalid,
.form-group textarea:invalid {
    border-color: var(--border);
    box-shadow: none;
}

.form-group input:valid,
.form-group textarea:valid {
    border-color: var(--border);
    box-shadow: none;
}

/* Show validation styling only when our custom classes are applied */
.form-group input.error,
.form-group textarea.error {
    border-color: var(--error);
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.form-group input.valid,
.form-group textarea.valid {
    border-color: var(--success);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

/* Form submission rate limiting indicator */
.form-group.submitting {
    opacity: 0.7;
    pointer-events: none;
}

/* Enhanced error message styling */
.form-message.error {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    border: 1px solid #fca5a5;
    color: #991b1b;
    padding: 16px;
    border-radius: 8px;
    margin: 16px 0;
    font-weight: 500;
}

.form-message.error strong {
    color: #7f1d1d;
    font-weight: 600;
}

.form-message.error ul {
    margin: 8px 0 0 0;
    padding-left: 20px;
}

.form-message.error li {
    margin: 4px 0;
    color: #991b1b;
}

/* Success message enhancement */
.form-message.success {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    border: 1px solid #6ee7b7;
    color: #065f46;
    padding: 16px;
    border-radius: 8px;
    margin: 16px 0;
    font-weight: 500;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .security-question {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .security-question input {
        max-width: 100%;
        width: 100%;
    }
    
    .char-count {
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .security-question {
        padding: 12px;
    }
    
    .security-question span {
        font-size: 14px;
    }
    
    .security-question input {
        font-size: 14px;
        padding: 6px 10px;
    }
}

/* Careers Page Styles */
.careers-intro {
    padding: 80px 0;
    background: var(--light-gray);
}

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

.intro-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.intro-content p {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--secondary);
    margin-bottom: 1.5rem;
}

.culture-section {
    padding: 80px 0;
}

.culture-lead {
    text-align: center;
    font-size: 1.125rem;
    color: var(--secondary);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.culture-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.culture-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid var(--border-light);
}

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

.culture-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-accent);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.culture-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.culture-card p {
    color: var(--secondary);
    line-height: 1.6;
}

.opportunities-section {
    padding: 80px 0;
    background: var(--light-gray);
}

.opportunities-lead {
    text-align: left;
    font-size: 1.125rem;
    color: var(--secondary);
    margin-bottom: 3rem;
}

.job-listings {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 3rem;
}

.job-card {
    background: var(--white);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

.job-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.job-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.job-header h3 {
    font-size: 1.5rem;
    color: var(--primary);
    margin: 0;
}

.job-type {
    background: var(--accent);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    white-space: nowrap;
}

.job-details {
    display: flex;
    gap: 2rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.job-location,
.job-experience {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--secondary);
    font-size: 0.875rem;
}

.job-description {
    margin-bottom: 1.5rem;
}

.job-description p {
    color: var(--secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.job-description h4 {
    font-size: 1.125rem;
    color: var(--primary);
    margin: 1.5rem 0 1rem 0;
}

.job-description ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.job-description li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--secondary);
    line-height: 1.5;
}

.job-description li::before {
    content: '•';
    color: var(--accent);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.apply-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--gradient-accent);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.apply-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: var(--white);
}

.general-application {
    text-align: center;
    background: var(--white);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    border: 2px dashed var(--border);
}

.general-application h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.general-application p {
    color: var(--secondary);
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.benefits-section {
    padding: 80px 0;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.benefit-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid var(--border-light);
    text-align: center;
}

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

.benefit-card h4 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.benefit-card p {
    color: var(--secondary);
    line-height: 1.6;
}

.application-process {
    padding: 80px 0;
    background: var(--light-gray);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.process-step {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

.process-step:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

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

.process-step h4 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

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

/* Responsive styles for careers page */
@media (max-width: 768px) {
    .careers-intro,
    .culture-section,
    .opportunities-section,
    .benefits-section,
    .application-process {
        padding: 60px 0;
    }
    
    .intro-content h2 {
        font-size: 2rem;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .job-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .job-details {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .general-application {
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    .careers-intro,
    .culture-section,
    .opportunities-section,
    .benefits-section,
    .application-process {
        padding: 40px 0;
    }
    
    .intro-content h2 {
        font-size: 1.75rem;
    }
    
    .culture-card,
    .benefit-card,
    .process-step {
        padding: 1.5rem;
    }
    
    .job-card {
        padding: 1.5rem;
    }
    
    .job-header h3 {
        font-size: 1.25rem;
    }
    
    .general-application {
        padding: 1.5rem;
    }
    
    .general-application h3 {
        font-size: 1.25rem;
    }
}

/* Application Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

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

.modal-container {
    background: var(--white);
    border-radius: 16px;
    max-width: 800px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-xl);
    transform: scale(0.9) translateY(20px);
    transition: all 0.3s ease;
}

.modal-overlay.active .modal-container {
    transform: scale(1) translateY(0);
}

.modal-header {
    padding: 2rem 2rem 1rem;
    border-bottom: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    background: var(--white);
    z-index: 1;
}

.modal-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    color: var(--secondary);
    border-radius: 8px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background: var(--lighter-gray);
    color: var(--primary);
}

.modal-body {
    padding: 1rem 2rem 2rem;
}

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

.form-section {
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 1.5rem;
    background: var(--lighter-gray);
}

.form-section h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary);
    margin: 0 0 1rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--accent);
}

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

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

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-weight: 500;
    color: var(--primary);
    font-size: 0.9rem;
}

.form-group label.required::after {
    content: ' *';
    color: var(--accent);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.2s ease;
    background: var(--white);
}

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

.form-group input[type="file"] {
    padding: 0.5rem;
    border: 2px dashed var(--border);
    background: var(--white);
    cursor: pointer;
}

.form-group input[type="file"]:hover {
    border-color: var(--accent);
}

.form-group small {
    font-size: 0.8rem;
    color: var(--secondary);
    margin-top: 0.25rem;
}

.modal-footer {
    padding: 1.5rem 2rem;
    border-top: 1px solid var(--border-light);
    display: flex;
    justify-content: flex-end;
    background: var(--white);
    position: sticky;
    bottom: 0;
}

.submit-application-btn {
    background: var(--gradient-accent);
    color: var(--white);
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 180px;
    justify-content: center;
}

.submit-application-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

.btn-loading {
    display: none;
    animation: spin 1s linear infinite;
}

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

.submit-application-btn.loading .btn-loading {
    display: block;
}

/* Mobile Responsive for Application Modal */
@media (max-width: 768px) {
    .modal-container {
        width: 95%;
        max-height: 95vh;
    }
    
    .modal-header,
    .modal-body {
        padding: 1.5rem;
    }
    
    .modal-title {
        font-size: 1.3rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .application-form {
        gap: 1.5rem;
    }
    
    .form-section {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .modal-container {
        width: 98%;
        max-height: 98vh;
    }
    
    .modal-header,
    .modal-body {
        padding: 1rem;
    }
    
    .modal-title {
        font-size: 1.2rem;
    }
    
    .form-section {
        padding: 0.75rem;
    }
    
    .submit-application-btn {
        width: 100%;
        min-width: auto;
    }
}

/* Privacy and Terms Page Styles */
.privacy-content,
.terms-content {
    padding: 80px 0;
}

.privacy-grid,
.terms-grid {
    max-width: 800px;
    margin: 0 auto;
}

.privacy-text,
.terms-text {
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    line-height: 1.8;
}

.privacy-text h2,
.terms-text h2 {
    color: var(--primary);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.privacy-text h3,
.terms-text h3 {
    color: var(--primary);
    font-size: 1.5rem;
    margin: 2rem 0 1rem 0;
    font-weight: 600;
}

.privacy-text p,
.terms-text p {
    margin-bottom: 1.5rem;
    color: var(--secondary);
    font-size: 1rem;
}

.privacy-text ul,
.terms-text ul {
    margin: 1rem 0 1.5rem 2rem;
}

.privacy-text li,
.terms-text li {
    margin-bottom: 0.5rem;
    color: var(--secondary);
}

.privacy-text strong,
.terms-text strong {
    color: var(--primary);
    font-weight: 600;
}

.contact-info {
    background: var(--lighter-gray);
    padding: 2rem;
    border-radius: 8px;
    margin: 2rem 0;
    border-left: 4px solid var(--accent);
}

.contact-info p {
    margin-bottom: 0.5rem;
}

.contact-info a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
}

.contact-info a:hover {
    color: var(--accent-dark);
    text-decoration: underline;
}

.last-updated {
    font-size: 0.9rem;
    color: var(--secondary);
    margin-top: 1rem;
    font-style: italic;
}

@media (max-width: 768px) {
    .privacy-content,
    .terms-content {
        padding: 60px 0;
    }
    
    .privacy-text,
    .terms-text {
        padding: 30px 20px;
        margin: 0 20px;
    }
    
    .privacy-text h2,
    .terms-text h2 {
        font-size: 2rem;
    }
    
    .privacy-text h3,
    .terms-text h3 {
        font-size: 1.3rem;
    }
    
    .contact-info {
        padding: 1.5rem;
        margin: 1.5rem 0;
    }
}

@media (max-width: 480px) {
    .privacy-content,
    .terms-content {
        padding: 40px 0;
    }
    
    .privacy-text,
    .terms-text {
        padding: 20px 15px;
        margin: 0 15px;
    }
    
    .privacy-text h2,
    .terms-text h2 {
        font-size: 1.8rem;
    }
    
    .privacy-text h3,
    .terms-text h3 {
        font-size: 1.2rem;
    }
    
    .contact-info {
        padding: 1rem;
        margin: 1rem 0;
    }
}

/* Footer Map Styles */
.footer-map {
    width: 100%;
    background: var(--lighter-gray);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    position: relative;
}

.footer-map::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    pointer-events: none;
}

.map-container {
    width: 100%;
    height: 300px;
    position: relative;
    overflow: hidden;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

@media (max-width: 768px) {
    .map-container {
        height: 250px;
    }
}

@media (max-width: 480px) {
    .map-container {
        height: 200px;
    }
} 