/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Red shades */
    --primary-red: #E31B23;
    --secondary-red: #FF4D4D;
    --dark-red: #B30000;
    
    /* Black/Gray shades */
    --pure-black: #000000;
    --primary-black: #1A1A1A;
    --secondary-black: #333333;
    --tertiary-gray: #666666;
    --border-gray: #E5E5E5;
    
    /* White shades */
    --pure-white: #FFFFFF;
    --off-white: #FAFAFA;
    --light-gray: #F5F5F5;
    --bg-light: #F8F9FA;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.07);
    --shadow-lg: 0 10px 15px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 25px rgba(227,27,35,0.15);
    
    /* Typography */
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Inter', sans-serif;
    
    /* Spacing */
    --section-spacing: 100px;
    --container-padding: 0 20px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

body {
    font-family: var(--font-secondary);
    color: var(--primary-black);
    background-color: var(--pure-white);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

body.menu-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
    height: 100%;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: var(--container-padding);
    width: 100%;
}

.container-fluid {
    width: 100%;
    padding: 0;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

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

.text-gradient {
    background: linear-gradient(135deg, var(--primary-red), var(--dark-red));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 50px;
    font-family: var(--font-primary);
    font-weight: 500;
    font-size: 16px;
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition-normal);
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
    white-space: nowrap;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
    z-index: -1;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: var(--primary-red);
    color: var(--pure-white);
    box-shadow: var(--shadow-xl);
}

.btn-primary:hover {
    background: var(--dark-red);
    transform: translateY(-2px);
    box-shadow: 0 25px 30px rgba(227,27,35,0.2);
}

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

.btn-outline:hover {
    background: var(--pure-white);
    color: var(--primary-red);
    transform: translateY(-2px);
}

.btn-glow {
    animation: glow 2s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% { box-shadow: 0 0 20px rgba(227,27,35,0.3); }
    50% { box-shadow: 0 0 30px rgba(227,27,35,0.6); }
}

/* ===== NAVIGATION ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 15px 0;
    transition: all var(--transition-normal);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.navbar.scrolled {
    padding: 10px 0;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-md);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo a {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-black);
}

.logo-icon {
    color: var(--primary-red);
    font-size: 28px;
    font-weight: 800;
}

.logo-text {
    font-weight: 700;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.nav-links li {
    margin: 0;
    padding: 0;
}

.nav-links a {
    text-decoration: none;
    color: var(--primary-black);
    font-weight: 500;
    font-size: 15px;
    transition: color var(--transition-fast);
    position: relative;
    padding: 5px 0;
}

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

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

.nav-links a:hover,
.nav-links .active a {
    color: var(--primary-red);
}

.nav-actions .btn {
    padding: 8px 20px;
    font-size: 14px;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1001;
    width: 44px;
    height: 44px;
    justify-content: center;
    align-items: center;
    background: transparent;
    border: none;
    -webkit-tap-highlight-color: transparent;
}

.nav-toggle span {
    width: 25px;
    height: 2px;
    background: var(--primary-black);
    margin: 3px 0;
    transition: all var(--transition-fast);
    display: block;
    border-radius: 2px;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
    background: var(--primary-red);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
    background: var(--primary-red);
}

/* Mobile Menu */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100vh;
    height: -webkit-fill-available;
    background: var(--pure-white);
    z-index: 999;
    transition: left var(--transition-normal);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    visibility: hidden;
}

.mobile-menu-overlay.active {
    left: 0;
    visibility: visible;
}

.mobile-menu-content {
    padding: 100px 30px 50px;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    position: relative;
}

.mobile-menu-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 44px;
    height: 44px;
    background: transparent;
    border: none;
    font-size: 32px;
    color: var(--primary-black);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1003;
    border-radius: 50%;
    -webkit-tap-highlight-color: transparent;
}

.mobile-menu-close:active {
    background: rgba(0,0,0,0.05);
}

.mobile-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 40px;
    color: var(--primary-black);
}

.mobile-links {
    list-style: none;
    padding: 0;
    margin: 0 0 40px;
    flex: 1;
}

.mobile-links li {
    margin-bottom: 5px;
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.3s ease;
}

.mobile-menu-overlay.active .mobile-links li {
    opacity: 1;
    transform: translateX(0);
}

.mobile-menu-overlay.active .mobile-links li:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu-overlay.active .mobile-links li:nth-child(2) { transition-delay: 0.15s; }
.mobile-menu-overlay.active .mobile-links li:nth-child(3) { transition-delay: 0.2s; }
.mobile-menu-overlay.active .mobile-links li:nth-child(4) { transition-delay: 0.25s; }
.mobile-menu-overlay.active .mobile-links li:nth-child(5) { transition-delay: 0.3s; }
.mobile-menu-overlay.active .mobile-links li:nth-child(6) { transition-delay: 0.35s; }
.mobile-menu-overlay.active .mobile-links li:nth-child(7) { transition-delay: 0.4s; }

.mobile-link {
    display: block;
    padding: 15px 20px;
    text-decoration: none;
    color: var(--primary-black);
    font-size: 20px;
    font-weight: 600;
    font-family: var(--font-primary);
    transition: all 0.2s ease;
    border-radius: 10px;
    -webkit-tap-highlight-color: transparent;
}

.mobile-link:active {
    background: var(--light-gray);
    color: var(--primary-red);
    transform: translateX(5px);
}

.mobile-contact {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border-gray);
}

.mobile-contact a {
    color: var(--primary-red) !important;
}

.mobile-contact-info {
    margin: 30px 0;
    padding: 20px 0;
    border-top: 1px solid var(--border-gray);
    border-bottom: 1px solid var(--border-gray);
}

.mobile-contact-info p {
    margin-bottom: 12px;
}

.mobile-contact-info p:last-child {
    margin-bottom: 0;
}

.mobile-contact-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    text-decoration: none;
    color: var(--primary-black);
    font-size: 15px;
    border-radius: 10px;
    transition: all 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}

.mobile-contact-link:active {
    background: var(--light-gray);
    color: var(--primary-red);
}

.mobile-contact-link i {
    width: 22px;
    color: var(--primary-red);
    font-size: 16px;
}

.mobile-social {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin: 20px 0;
}

.mobile-social .social-icon {
    width: 50px;
    height: 50px;
    background: var(--light-gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-black);
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 20px;
    -webkit-tap-highlight-color: transparent;
}

.mobile-social .social-icon:active {
    background: var(--primary-red);
    color: var(--pure-white);
    transform: scale(0.95);
}

/* ===== PAGE HERO ===== */
.page-hero {
    min-height: 60vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #1a1a1a, #333);
    color: var(--pure-white);
}

.page-hero.small-hero {
    min-height: 40vh;
    padding: 100px 0 60px;
}

.page-hero .hero-content {
    max-width: 800px;
}

.page-hero .section-subtitle {
    color: var(--primary-red);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 14px;
    margin-bottom: 10px;
    display: block;
}

.page-hero h1 {
    margin-bottom: 20px;
}

.page-hero p {
    font-size: 18px;
    opacity: 0.9;
    max-width: 600px;
}

/* ===== HERO SECTION ===== */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #1a1a1a, #333);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26,26,26,0.9), rgba(0,0,0,0.7));
    z-index: 1;
}

.hero-content {
    max-width: 800px;
    color: var(--pure-white);
    position: relative;
    z-index: 2;
}

.hero-content .section-subtitle {
    color: var(--primary-red);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 14px;
    margin-bottom: 10px;
    display: block;
}

.hero-content h1 {
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 50px;
    margin-top: 30px;
}

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

.stat-number {
    font-size: 40px;
    font-weight: 800;
    color: var(--primary-red);
    display: block;
    line-height: 1.2;
}

.stat-label {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
    display: block;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--pure-white);
    font-size: 12px;
    letter-spacing: 1px;
    animation: bounce 2s infinite;
    z-index: 2;
}

.scroll-indicator i {
    margin-top: 5px;
    font-size: 16px;
}

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

/* ===== CLIENTS SECTION ===== */
.clients-section {
    padding: 60px 0;
    background: var(--off-white);
}

.clients-section .section-subtitle {
    text-align: center;
    margin-bottom: 40px;
    color: var(--tertiary-gray);
    display: block;
}

.clients-marquee {
    overflow: hidden;
    position: relative;
    white-space: nowrap;
}

.marquee-content {
    display: inline-block;
    animation: marquee 30s linear infinite;
}

.marquee-content span {
    display: inline-block;
    margin: 0 30px;
    font-size: 18px;
    font-weight: 600;
    color: var(--tertiary-gray);
    opacity: 0.7;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ===== SECTIONS ===== */
section {
    padding: 80px 0;
}

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

.section-header .section-subtitle {
    color: var(--primary-red);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 14px;
    margin-bottom: 10px;
    display: block;
}

.section-header h2 {
    margin-bottom: 20px;
}

.section-header p {
    color: var(--tertiary-gray);
    font-size: 16px;
}

/* ===== CARDS ===== */
.card {
    background: var(--pure-white);
    border-radius: 20px;
    padding: 30px;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-gray);
}

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

.card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-red), var(--dark-red));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--pure-white);
    font-size: 24px;
}

.card h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

.card p {
    color: var(--tertiary-gray);
    margin-bottom: 20px;
    line-height: 1.6;
}

.card-link {
    color: var(--primary-red);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: gap var(--transition-fast);
}

.card-link:hover {
    gap: 10px;
}

/* ===== GRIDS ===== */
.grid-2,
.grid-3,
.grid-4 {
    display: grid;
    gap: 30px;
    margin-bottom: 40px;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ===== FEATURED WORK ===== */
.featured-work {
    padding: 0;
    background: var(--primary-black);
    color: var(--pure-white);
}

.split-panel {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 600px;
}

.panel-left {
    background: var(--primary-red);
    display: flex;
    align-items: center;
    padding: 60px;
}

.panel-content {
    max-width: 500px;
}

.panel-content .section-subtitle {
    color: rgba(255,255,255,0.8);
}

.panel-content h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: var(--pure-white);
}

.stat-highlight {
    margin-bottom: 30px;
}

.stat-highlight .stat-number {
    font-size: 60px;
    font-weight: 800;
    color: var(--pure-white);
    display: block;
}

.stat-highlight .stat-label {
    font-size: 16px;
    color: rgba(255,255,255,0.8);
}

.panel-right {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background: linear-gradient(135deg, #2a2a2a, #4a4a4a);
    position: relative;
    overflow: hidden;
}

/* ===== INDUSTRIES OVERVIEW ===== */
.industries-overview {
    padding: 80px 0;
    background: var(--off-white);
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.industry-card {
    background: var(--pure-white);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    position: relative;
    transition: all var(--transition-normal);
    border: 1px solid var(--border-gray);
}

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

.industry-icon {
    width: 80px;
    height: 80px;
    background: var(--light-gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--primary-red);
    font-size: 32px;
    transition: all var(--transition-normal);
}

.industry-card:hover .industry-icon {
    background: var(--primary-red);
    color: var(--pure-white);
}

.industry-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.industry-tagline {
    color: var(--primary-red);
    font-size: 14px;
    font-weight: 500;
}

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

/* ===== WHY SIXTALE ===== */
.why-sixtale {
    padding: 80px 0;
}

.feature-card {
    text-align: center;
    padding: 40px 30px;
    background: var(--pure-white);
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
}

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

.feature-icon {
    width: 70px;
    height: 70px;
    background: var(--light-gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--primary-red);
    font-size: 28px;
    transition: all var(--transition-normal);
}

.feature-card:hover .feature-icon {
    background: var(--primary-red);
    color: var(--pure-white);
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

.feature-card p {
    color: var(--tertiary-gray);
    line-height: 1.6;
}

/* ===== INSIGHTS PREVIEW ===== */
.insights-preview {
    padding: 80px 0;
    background: var(--off-white);
}

.blog-card {
    background: var(--pure-white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
}

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

.blog-image {
    height: 200px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-red), var(--dark-red));
    position: relative;
}

.blog-image::before {
    content: '\f15c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 48px;
    color: rgba(255,255,255,0.3);
}

.blog-content {
    padding: 25px;
}

.blog-category {
    color: var(--primary-red);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 10px;
}

.blog-content h3 {
    font-size: 18px;
    margin-bottom: 15px;
    line-height: 1.4;
}

.btn-link {
    color: var(--primary-red);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: gap var(--transition-fast);
}

.btn-link:hover {
    gap: 10px;
}

/* ===== CTA SECTION ===== */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-red), var(--dark-red));
    color: var(--pure-white);
    text-align: center;
}

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

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.trust-badge {
    margin-top: 30px;
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.trust-badge i {
    margin-right: 5px;
}

/* ===== INDUSTRIES PAGE ===== */
.industry-panel {
    min-height: 600px;
}

.split-panel.reverse {
    direction: rtl;
}

.split-panel.reverse .panel-content {
    direction: ltr;
}

.key-solutions {
    margin: 30px 0;
}

.key-solutions h4 {
    color: var(--pure-white);
    margin-bottom: 15px;
}

.key-solutions ul {
    list-style: none;
    padding: 0;
}

.key-solutions li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255,255,255,0.9);
}

.key-solutions i {
    color: var(--pure-white);
}

.industry-number {
    font-size: 80px;
    font-weight: 800;
    color: rgba(255,255,255,0.2);
    line-height: 1;
    margin-bottom: 20px;
}

.industry-tagline {
    font-size: 18px;
    color: var(--pure-white);
    font-weight: 500;
    margin-bottom: 20px;
    opacity: 0.9;
}

/* ===== SOLUTIONS PAGE ===== */
.process-timeline {
    max-width: 800px;
    margin: 0 auto;
}

.process-item {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    margin-bottom: 40px;
    padding: 30px;
    background: var(--pure-white);
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
}

.process-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-xl);
}

.process-number {
    font-size: 48px;
    font-weight: 800;
    color: var(--primary-red);
    opacity: 0.3;
    line-height: 1;
}

.process-content h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.process-content p {
    color: var(--tertiary-gray);
}

/* Accordion */
.accordion-item {
    margin-bottom: 20px;
    border: 1px solid var(--border-gray);
    border-radius: 20px;
    overflow: hidden;
    transition: all var(--transition-normal);
}

.accordion-item:hover {
    border-color: var(--primary-red);
}

.accordion-header {
    padding: 20px 30px;
    background: var(--pure-white);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accordion-header h3 {
    margin: 0;
    font-size: 20px;
}

.accordion-header i {
    transition: transform var(--transition-normal);
    color: var(--primary-red);
}

.accordion-item.active .accordion-header i {
    transform: rotate(180deg);
}

.accordion-body {
    max-height: 0;
    padding: 0 30px;
    overflow: hidden;
    transition: all var(--transition-normal);
    background: var(--off-white);
}

.accordion-item.active .accordion-body {
    max-height: 500px;
    padding: 30px;
}

.service-detail {
    margin-bottom: 20px;
}

.service-detail h4 {
    color: var(--primary-red);
    margin-bottom: 5px;
}

/* Tech Stack */
.tech-stack {
    background: var(--off-white);
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.tech-category {
    background: var(--pure-white);
    padding: 30px;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
}

.tech-category h3 {
    color: var(--primary-red);
    margin-bottom: 20px;
    font-size: 18px;
}

.tech-items {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tech-items span {
    padding: 5px 15px;
    background: var(--light-gray);
    border-radius: 50px;
    font-size: 14px;
    color: var(--secondary-black);
}

/* ===== CAREERS PAGE ===== */
.benefit-card {
    text-align: center;
    padding: 40px 30px;
    background: var(--pure-white);
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
}

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

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

.benefit-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

.benefit-card p {
    color: var(--tertiary-gray);
}

.positions-list {
    max-width: 800px;
    margin: 0 auto;
}

.position-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px;
    background: var(--pure-white);
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    margin-bottom: 20px;
    transition: all var(--transition-normal);
}

.position-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-xl);
    border-left: 4px solid var(--primary-red);
}

.position-info h3 {
    margin-bottom: 10px;
}

.position-type,
.position-location {
    display: inline-block;
    padding: 4px 12px;
    background: var(--light-gray);
    border-radius: 50px;
    font-size: 12px;
    margin-right: 10px;
    color: var(--secondary-black);
}

.spontaneous-box {
    text-align: center;
    padding: 60px;
    background: linear-gradient(135deg, var(--primary-red), var(--dark-red));
    border-radius: 20px;
    color: var(--pure-white);
}

.spontaneous-box h3 {
    font-size: 28px;
    margin-bottom: 15px;
}

.spontaneous-box p {
    margin-bottom: 30px;
    opacity: 0.9;
}

/* ===== CONTACT PAGE ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-form {
    background: var(--pure-white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--primary-black);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-gray);
    border-radius: 10px;
    font-family: var(--font-secondary);
    font-size: 16px;
    transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-red);
    box-shadow: 0 0 0 3px rgba(227,27,35,0.1);
}

.form-group input.error,
.form-group textarea.error {
    border-color: var(--primary-red);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-card {
    background: var(--pure-white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
}

.info-card h3 {
    margin-bottom: 30px;
    color: var(--primary-red);
}

.info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.info-item i {
    font-size: 24px;
    color: var(--primary-red);
    width: 30px;
}

.info-item h4 {
    margin-bottom: 5px;
    font-size: 16px;
}

.info-item p,
.info-item a {
    color: var(--tertiary-gray);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.info-item a:hover {
    color: var(--primary-red);
}

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

.social-links .social-icon {
    width: 45px;
    height: 45px;
    background: var(--light-gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-black);
    text-decoration: none;
    transition: all var(--transition-normal);
    font-size: 20px;
}

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

.map-section {
    padding: 0;
}

.map-container {
    width: 100%;
    height: 400px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--primary-black);
    color: var(--pure-white);
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-red), var(--dark-red));
}

.footer-top {
    padding: 80px 0;
    position: relative;
    z-index: 1;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 20px;
}

.footer-tagline {
    color: rgba(255,255,255,0.7);
    margin-bottom: 20px;
    font-style: italic;
}

.footer-address,
.footer-contact {
    color: rgba(255,255,255,0.7);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-address i,
.footer-contact i {
    width: 20px;
    color: var(--primary-red);
}

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

.footer-contact a:hover {
    color: var(--primary-red);
}

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

.social-icon {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--pure-white);
    text-decoration: none;
    transition: all var(--transition-normal);
}

.social-icon:hover {
    background: var(--primary-red);
    transform: translateY(-3px);
}

.footer-title {
    color: var(--pure-white);
    font-size: 18px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary-red);
}

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

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: all var(--transition-fast);
    display: inline-block;
}

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

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

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(255,255,255,0.5);
    font-size: 14px;
}

/* ===== BACK TO TOP ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-red);
    color: var(--pure-white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    z-index: 99;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-xl);
}

.back-to-top.show {
    display: flex;
    animation: bounce 2s infinite;
}

.back-to-top:hover {
    background: var(--dark-red);
    transform: translateY(-5px);
}

/* ===== PRELOADER ===== */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--pure-white);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s, visibility 0.5s;
}

.preloader.hide {
    opacity: 0;
    visibility: hidden;
}

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

.preloader-logo .logo-text {
    font-size: 36px;
    font-weight: 800;
    color: var(--primary-black);
    margin-bottom: 20px;
    display: block;
}

.progress-bar {
    width: 200px;
    height: 3px;
    background: var(--border-gray);
    border-radius: 3px;
    overflow: hidden;
}

.progress-fill {
    width: 0%;
    height: 100%;
    background: var(--primary-red);
    transition: width 0.3s;
}

/* ===== LEGAL PAGES ===== */
.legal-content {
    padding: 60px 0 100px;
}

.content-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background: var(--pure-white);
    padding: 50px;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
}

.content-wrapper h2 {
    color: var(--primary-red);
    margin-top: 40px;
    margin-bottom: 20px;
}

.content-wrapper h2:first-child {
    margin-top: 0;
}

.content-wrapper h3 {
    margin-top: 30px;
    margin-bottom: 15px;
}

.content-wrapper p {
    margin-bottom: 20px;
    color: var(--tertiary-gray);
    line-height: 1.8;
}

.content-wrapper ul,
.content-wrapper ol {
    margin-bottom: 20px;
    padding-left: 20px;
}

.content-wrapper li {
    margin-bottom: 10px;
    color: var(--tertiary-gray);
}

/* ===== ADDITIONAL STYLES FOR IMAGES ===== */

/* Hero Section with Background Image */
.hero-section, .page-hero {
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    position: relative;
}

/* Card with Background Image */
.industry-card {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.industry-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.5), rgba(0,0,0,0.7));
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.industry-card:hover::before {
    opacity: 1;
}

.industry-card > * {
    position: relative;
    z-index: 2;
}

/* Team Images */
.team-image {
    border: 4px solid var(--primary-red);
    transition: transform 0.3s ease;
}

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

/* Blog Images */
.blog-image {
    transition: transform 0.5s ease;
    position: relative;
    overflow: hidden;
}

.blog-card:hover .blog-image {
    transform: scale(1.1);
}

.blog-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-red), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.blog-card:hover .blog-image::after {
    opacity: 0.3;
}

/* Panel Images */
.panel-right {
    transition: transform 0.5s ease;
}

.split-panel:hover .panel-right {
    transform: scale(1.02);
}

/* Office Image */
.office-image {
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

.office-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-red), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.office-image:hover::after {
    opacity: 0.1;
}

/* Culture Image */
.culture-image {
    transition: transform 0.3s ease;
}

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

/* Life Images */
.life-image {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.life-image:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.life-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-red), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.life-image:hover::after {
    opacity: 0.2;
}

/* Story Image */
.story-image {
    transition: transform 0.3s ease;
    box-shadow: var(--shadow-lg);
}

.story-image:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-xl);
}

/* Client Logos Animation */
.clients-marquee {
    padding: 20px 0;
}

.marquee-content {
    display: flex;
    align-items: center;
}

.marquee-content span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.marquee-content img {
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s ease;
}

.marquee-content img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* Success Stories Cards */
.story-card {
    transition: all 0.3s ease;
    cursor: pointer;
}

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

.story-card div:first-child {
    transition: transform 0.5s ease;
}

.story-card:hover div:first-child {
    transform: scale(1.1);
}

/* Position Items */
.position-item {
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.position-item:hover {
    transform: translateX(10px);
    border-left-color: var(--primary-red);
    box-shadow: var(--shadow-xl);
}

/* Spontaneous Box */
.spontaneous-box {
    transition: transform 0.3s ease;
}

.spontaneous-box:hover {
    transform: scale(1.02);
}

/* Newsletter Box */
.newsletter-box {
    transition: transform 0.3s ease;
}

.newsletter-box:hover {
    transform: translateY(-5px);
}

/* Form Styles */
.form-group input:focus,
.form-group textarea:focus {
    box-shadow: 0 0 0 3px rgba(227,27,35,0.2);
}

/* Map Container */
.map-container {
    position: relative;
    overflow: hidden;
}

.map-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.1);
}

/* Loading Animation for Images */
img {
    opacity: 0;
    transition: opacity 0.3s ease;
}

img.loaded {
    opacity: 1;
}

/* Logo Styles */
.nav-logo img {
    height: 40px;
    width: auto;
    transition: opacity 0.3s ease;
}

.nav-logo img:hover {
    opacity: 0.9;
}

.footer-logo img {
    height: 35px;
    width: auto;
    filter: brightness(0) invert(1);
}

/* Mobile logo */
.mobile-logo img {
    height: 35px;
    width: auto;
}

/* ===== REDUCED HEIGHT STYLES ===== */
.navbar {
    padding: 15px 0;
    min-height: 60px;
}

.navbar .nav-container {
    padding: 0 20px;
}

.nav-logo img {
    height: 38px;
    width: auto;
    margin: 0;
}

.nav-links a {
    padding: 0;
    line-height: 50px;
}

.nav-actions .btn {
    padding: 10px 20px;
    font-size: 14px;
    line-height: 1.2;
}

.footer-top {
    padding: 55px 0;
}

.footer-col {
    margin-bottom: 15px;
}

.footer-title {
    font-size: 18px;
    margin-bottom: 10px;
    padding-bottom: 5px;
}

.footer-links li {
    margin-bottom: 5px;
}

.footer-links a {
    font-size: 13px;
}

.footer-logo img {
    height: 38px;
    width: auto;
    margin-bottom: 8px;
}

.footer-tagline {
    font-size: 12px;
    margin-bottom: 10px;
}

.footer-address,
.footer-contact {
    margin-bottom: 5px;
    font-size: 13px;
}

.footer-bottom {
    padding: 8px 0;
}

.footer-bottom-content {
    font-size: 11px;
}

.footer-social .social-icon {
    width: 32px;
    height: 32px;
    font-size: 14px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .industries-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .split-panel { grid-template-columns: 1fr; }
    .tech-grid { grid-template-columns: repeat(2, 1fr); }
    
    .hero-industry-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    .case-studies-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* ===== MOBILE FIXES ===== */
@media (max-width: 768px) {
    /* General fixes */
    body {
        overflow-x: hidden;
        width: 100%;
    }
    
    .container {
        width: 100%;
        padding-left: 15px;
        padding-right: 15px;
        overflow-x: hidden;
    }
    
    img {
        max-width: 100%;
        height: auto;
    }
    
    /* Typography */
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    h3 {
        font-size: 1.25rem;
    }
    
    /* Grid fixes */
    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }
    
    /* Navigation */
    .nav-toggle {
        display: flex !important;
    }
    
    .nav-menu {
        display: none !important;
    }
    
    .nav-logo img {
        max-height: 35px;
    }
    
    /* Hero sections */
    .hero-section,
    .page-hero {
        padding: 100px 0 50px;
        text-align: center;
        min-height: auto;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero-content p {
        margin-left: auto;
        margin-right: auto;
        font-size: 16px;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
        margin-top: 30px;
    }
    
    .stat-item {
        text-align: center;
        width: 100%;
    }
    
    .stat-number {
        font-size: 36px;
    }
    
    .stat-label {
        font-size: 13px;
    }
    
    .scroll-indicator {
        display: none;
    }
    
    /* Cards */
    .card,
    .industry-card,
    .feature-card,
    .blog-card,
    .team-card,
    .benefit-card,
    .process-item,
    .position-item {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
        padding: 25px;
    }
    
    .card:hover,
    .industry-card:hover,
    .feature-card:hover,
    .blog-card:hover {
        transform: translateY(-5px);
    }
    
    /* Split panels */
    .split-panel {
        grid-template-columns: 1fr !important;
        min-height: auto;
    }
    
    .panel-left {
        padding: 40px 20px;
        text-align: center;
    }
    
    .panel-content {
        max-width: 100%;
    }
    
    .panel-content h2 {
        font-size: 2rem;
    }
    
    .panel-right {
        min-height: 400px;
    }
    
    /* Industries page */
    .hero-industry-grid {
        grid-template-columns: 1fr !important;
        gap: 15px;
    }
    
    .industry-tabs {
        flex-direction: column;
        gap: 10px;
    }
    
    .tab-btn {
        width: 100%;
        text-align: center;
    }
    
    .case-studies-grid {
        grid-template-columns: 1fr !important;
    }
    
    .tech-grid {
        grid-template-columns: 1fr !important;
    }
    
    /* Accordion */
    .accordion-header {
        padding: 15px 20px;
    }
    
    .accordion-header h3 {
        font-size: 16px;
    }
    
    .accordion-body {
        padding: 0 20px;
    }
    
    .accordion-item.active .accordion-body {
        padding: 20px;
    }
    
    /* Contact page */
    .contact-grid {
        grid-template-columns: 1fr !important;
        gap: 30px;
    }
    
    .contact-form {
        padding: 25px;
    }
    
    .info-card {
        padding: 25px;
    }
    
    .info-item {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .info-item i {
        margin: 0 auto;
    }
    
    .social-links {
        justify-content: center;
    }
    
    /* Careers page */
    .position-item {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    
    .position-info {
        margin-bottom: 15px;
    }
    
    .position-type,
    .position-location {
        display: inline-block;
        margin: 5px;
    }
    
    .spontaneous-box {
        padding: 40px 20px;
    }
    
    .spontaneous-box h3 {
        font-size: 24px;
    }
    
    /* Insights page */
    .blog-image {
        height: 180px;
    }
    
    .newsletter-box {
        padding: 30px 20px;
    }
    
    .newsletter-form {
        flex-direction: column;
        gap: 10px;
    }
    
    .newsletter-form input,
    .newsletter-form button {
        width: 100%;
    }
    
    /* Company page */
    .team-card {
        padding: 20px;
    }
    
    .team-image {
        width: 150px;
        height: 150px;
    }
    
    .culture-image,
    .story-image,
    .activity-image {
        min-height: 250px;
    }
    
    /* Legal pages */
    .privacy-card,
    .terms-card {
        border-radius: 20px;
    }
    
    .privacy-card > div[style*="grid-template-columns: 1fr 1fr"],
    .terms-card > div[style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
    }
    
    .privacy-card > div[style*="grid-template-columns: repeat(3, 1fr)"],
    .terms-card > div[style*="grid-template-columns: repeat(3, 1fr)"] {
        grid-template-columns: 1fr !important;
    }
    
    /* Tables */
    table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
    }
    
    /* Floating elements */
    .floating-circle {
        display: none;
    }
    
    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 30px;
    }
    
    .footer-col {
        text-align: center;
    }
    
    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-address,
    .footer-contact {
        justify-content: center;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    /* Back to top */
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    /* Sections */
    section {
        padding: 50px 0;
    }
    
    .section-header {
        text-align: center;
        margin-bottom: 30px;
    }
    
    .section-header h2 {
        font-size: 1.75rem;
    }
    
    .section-header p {
        font-size: 15px;
    }
    
    /* Buttons */
    .btn {
        width: 100%;
        text-align: center;
        white-space: normal;
        word-wrap: break-word;
        padding: 12px 24px;
        font-size: 15px;
    }
    
    .trust-badge {
        flex-direction: column;
        gap: 10px;
    }
    
    /* Process items */
    .process-item {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .process-number {
        font-size: 40px;
    }
    
    .process-content h3 {
        font-size: 20px;
    }
    
    /* Client marquee */
    .clients-marquee {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .marquee-content {
        animation: none;
        display: flex;
        flex-wrap: nowrap;
        padding: 10px 0;
    }
    
    .marquee-content img {
        height: 30px;
    }
}

/* Small phones (up to 375px) */
@media (max-width: 375px) {
    h1 {
        font-size: 1.5rem;
    }
    
    h2 {
        font-size: 1.25rem;
    }
    
    h3 {
        font-size: 1.1rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .card {
        padding: 20px;
    }
    
    .card h3 {
        font-size: 18px;
    }
    
    .card p {
        font-size: 14px;
    }
    
    .stat-number {
        font-size: 28px;
    }
    
    .stat-label {
        font-size: 11px;
    }
    
    .footer-bottom-content {
        font-size: 10px;
    }
    
    .mobile-links a {
        font-size: 18px;
    }
    
    .mobile-logo {
        font-size: 24px;
    }
    
    .panel-content h2 {
        font-size: 1.75rem;
    }
    
    .mobile-social .social-icon {
        width: 44px;
        height: 44px;
        font-size: 18px;
    }
}

/* Fix for devices with notches */
@supports (padding: max(0px)) {
    @media (max-width: 768px) {
        .navbar {
            padding-left: max(15px, env(safe-area-inset-left));
            padding-right: max(15px, env(safe-area-inset-right));
        }
        
        .mobile-menu-content {
            padding-top: max(80px, env(safe-area-inset-top));
            padding-bottom: max(30px, env(safe-area-inset-bottom));
        }
        
        .back-to-top {
            bottom: max(20px, env(safe-area-inset-bottom));
            right: max(20px, env(safe-area-inset-right));
        }
    }
}

/* Fix for landscape orientation on mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .hero-section {
        min-height: auto;
        padding: 80px 0 40px;
    }
    
    .hero-stats {
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .mobile-menu-overlay {
        overflow-y: auto;
    }
    
    .mobile-menu-content {
        padding: 60px 20px 20px;
    }
    
    .mobile-links li {
        margin-bottom: 10px;
    }
    
    .mobile-links a {
        font-size: 18px;
    }
}

/* Tablet specific fixes */
@media (min-width: 769px) and (max-width: 1024px) {
    .hero-industry-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    .grid-4 {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    .industries-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    .tech-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    .case-studies-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .footer,
    .back-to-top,
    .preloader,
    .mobile-menu-overlay,
    .nav-toggle {
        display: none !important;
    }
    
    .hero-section, .page-hero {
        background: none !important;
        color: black !important;
        min-height: auto !important;
        padding: 20px 0 !important;
    }
    
    .panel-right, 
    .story-image, 
    .team-image, 
    .blog-image, 
    .office-image, 
    .culture-image, 
    .life-image,
    .industry-card[style*="background-image"],
    .hero-industry-card[style*="background-image"] {
        display: none !important;
    }
    
    .btn {
        display: none !important;
    }
    
    a {
        text-decoration: none;
        color: black;
    }
    
    .container {
        max-width: 100%;
        padding: 0;
    }
}

/* Dark Mode Support (optional) */
@media (prefers-color-scheme: dark) {
    /* Optional dark mode styles */
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    [data-aos] {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
    
    .floating,
    .pulse,
    .shimmer::after,
    .scroll-indicator,
    .back-to-top.show {
        animation: none !important;
    }
}