/**
 * LMAIS - CSS Moderno e Profissional
 * Inspirado no design premium do Mont-Fort
 */

/* Reset e Base - Otimizado */
*,*::before,*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #0a20c7;
    --secondary: #0f0d1d;
    --accent: #3c72fc;
    --gradient: linear-gradient(135deg, #0a20c7, #1e3c72);
    --text-dark: #1a202c;
    --text-light: #718096;
    --white: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --shadow-sm: 0 1px 2px 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(0, 0, 0, 0.1);
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

/* Dark Theme Variables */
[data-theme="dark"] {
    --primary: #3b82f6;
    --secondary: #000000;
    --accent: #3c72fc;
    --gradient: linear-gradient(135deg, #3b82f6, #1e3c72);
    --text-dark: #f9fafb;
    --text-light: #d1d5db;
    --white: #111111;
    --gray-50: #111111;
    --gray-100: #1a1a1a;
    --gray-200: #2a2a2a;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.6);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

/* Ensure sections are properly positioned for scroll */
section[id] {
    scroll-margin-top: 80px; /* Account for fixed header */
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background: var(--white);
    transition: var(--transition);
}

/* Container System */
.header-container,
.hero-container,
.about-container-modern,
.services-container,
.experience-container,
.projects-container,
.contact-container,
.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
.section-subtitle {
    color: var(--primary);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
    display: block;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.title-highlight {
    display: block;
    color: #3b82f6;
    text-shadow: 
        0 0 10px rgba(59, 130, 246, 0.8),
        0 2px 15px rgba(59, 130, 246, 0.4);
    font-weight: 700;
}

.section-description {
    font-size: 1.125rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
}

/* Buttons */
.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
}

.btn-primary {
    background: var(--gradient);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(10, 32, 199, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(10, 32, 199, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-icon {
    transition: transform 0.3s ease;
}

.btn-primary:hover .btn-icon,
.btn-secondary:hover .btn-icon {
    transform: translateX(4px);
}

/* Header */
.header-modern {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--gray-200);
    z-index: 1000;
    transition: var(--transition);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.header-brand .brand-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.brand-text-container {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-text-main {
    font-size: 1rem;
    font-weight: 800;
    color: var(--text-dark);
    letter-spacing: 0.05em;
}

.brand-text-sub {
    font-size: 1rem;
    font-weight: 800;
    color: var(--text-dark);
    letter-spacing: 0.05em;
}

.logo-image {
    height: 45px;
    width: auto;
    object-fit: contain;
    padding: 10px;
    background: white;
    border: 2px solid #ff8c00;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.logo-image:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 140, 0, 0.3);
    border-color: #ff7700;
}

.brand-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    letter-spacing: -0.02em;
}

.header-nav .nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
}

.nav-link {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.theme-toggle {
    display: flex;
    align-items: center;
}

.theme-btn {
    background: var(--gray-100);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    color: var(--text-dark);
}

.theme-btn:hover {
    background: var(--primary);
    color: white;
    transform: scale(1.1);
}

[data-theme="dark"] .theme-btn i::before {
    content: "\f185"; /* sun icon */
}

.mobile-menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 2px solid var(--primary);
    cursor: pointer;
    padding: 0.75rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    width: 50px;
    height: 50px;
    position: relative;
    z-index: 10001;
}

.mobile-menu-toggle:hover {
    border-color: var(--accent);
    background: rgba(10, 32, 199, 0.1);
    transform: scale(1.05);
}

.mobile-menu-toggle:active {
    transform: scale(0.95);
}

.hamburger-lines {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 20px;
    height: 16px;
}

.line {
    width: 100%;
    height: 2px;
    background: var(--primary);
    transition: all 0.3s ease;
    border-radius: 1px;
}

/* Animação do hambúrguer */
.mobile-menu-toggle.active .line1 {
    transform: rotate(45deg) translate(5px, 5px);
    background: #ef4444;
}

.mobile-menu-toggle.active .line2 {
    opacity: 0;
    transform: translateX(-20px);
}

.mobile-menu-toggle.active .line3 {
    transform: rotate(-45deg) translate(6px, -6px);
    background: #ef4444;
}

.mobile-menu-toggle.active {
    background: rgba(239, 68, 68, 0.1);
    border-color: #ef4444;
}

/* Dark theme adjustments */
[data-theme="dark"] .mobile-menu-toggle {
    border-color: var(--primary);
}

[data-theme="dark"] .line {
    background: var(--primary);
}

[data-theme="dark"] .mobile-menu-toggle:hover {
    background: rgba(59, 130, 246, 0.1);
    border-color: var(--accent);
}

[data-theme="dark"] .mobile-menu-content {
    background: rgba(17, 17, 17, 0.98);
    color: #ffffff;
}

/* Mobile Menu Content */
.mobile-menu-content {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    z-index: 10000;
    overflow-y: auto;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    padding: 80px 2rem 2rem;
}

.header-nav.active .mobile-menu-content {
    display: block;
    transform: translateX(0);
}

/* Mobile Menu Close Button */
.mobile-menu-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 1001;
}

.close-menu-btn {
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.1);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    color: var(--text-dark);
    font-size: 1.2rem;
}

.close-menu-btn:hover {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    transform: scale(1.1);
}

.close-menu-btn:active {
    transform: scale(0.95);
}

/* Mobile Menu Header */
.mobile-menu-header {
    text-align: center;
    padding: 2rem 0 1.5rem;
    border-bottom: 1px solid var(--gray-200);
    margin-bottom: 2rem;
}

.mobile-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.mobile-brand-text-container {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.mobile-brand-text-main {
    font-size: 1rem;
    font-weight: 800;
    color: var(--text-dark);
    letter-spacing: 0.05em;
}

.mobile-brand-text-sub {
    font-size: 1rem;
    font-weight: 800;
    color: var(--text-dark);
    letter-spacing: 0.05em;
}

.mobile-logo-image {
    height: 45px;
    width: auto;
    object-fit: contain;
    padding: 10px;
    background: white;
    border: 2px solid #ff8c00;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.mobile-logo-image:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 140, 0, 0.3);
    border-color: #ff7700;
}

.mobile-brand-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
}

.mobile-tagline {
    color: var(--text-light);
    font-size: 0.875rem;
    font-style: italic;
}

/* Mobile Navigation */
.mobile-nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    margin-bottom: 2rem;
}

.mobile-nav-item {
    margin-bottom: 0.5rem;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    border-radius: 12px;
    transition: var(--transition);
    position: relative;
}

.mobile-nav-link:hover {
    background: var(--gray-100);
    color: var(--primary);
    transform: translateX(4px);
}

.mobile-nav-link i {
    width: 20px;
    text-align: center;
    color: var(--primary);
    font-size: 1.1rem;
}

/* Mobile Theme Toggle */
.mobile-theme-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    background: var(--gray-50);
    border-radius: 12px;
    margin-bottom: 1.5rem;
}

.theme-label {
    font-weight: 600;
    color: var(--text-dark);
}

.mobile-theme-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.25rem;
}

.theme-toggle-track {
    width: 50px;
    height: 24px;
    background: var(--gray-200);
    border-radius: 12px;
    position: relative;
    transition: var(--transition);
}

.theme-toggle-thumb {
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    position: absolute;
    top: 2px;
    left: 2px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.theme-icon {
    font-size: 0.7rem;
    color: var(--text-dark);
}

.theme-text {
    font-size: 0.875rem;
    color: var(--text-light);
    font-weight: 500;
}

/* Dark theme active state */
[data-theme="dark"] .theme-toggle-track {
    background: var(--primary);
}

[data-theme="dark"] .theme-toggle-thumb {
    transform: translateX(26px);
    background: white;
}

[data-theme="dark"] .theme-icon {
    color: var(--primary);
}

/* Mobile CTA */
.mobile-cta {
    margin-bottom: 1.5rem;
}

.btn-mobile-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
    padding: 1rem;
    background: var(--gradient);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-mobile-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(10, 32, 199, 0.3);
}

/* Mobile Contact Info */
.mobile-contact-info {
    border-top: 1px solid var(--gray-200);
    padding-top: 1.5rem;
}

.mobile-contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding: 0 1.5rem;
}

.mobile-contact-item i {
    width: 16px;
    color: var(--primary);
    font-size: 0.9rem;
}

.mobile-contact-item a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.875rem;
    transition: var(--transition);
}

.mobile-contact-item a:hover {
    color: var(--primary);
}

/* Mobile Menu Footer */
.mobile-menu-footer {
    border-top: 1px solid var(--gray-200);
    padding-top: 1.5rem;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    opacity: 1;
    visibility: visible;
}

.hero-stat {
    text-align: center;
    color: white;
    min-width: 120px;
}

.hero-stat .stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: #3b82f6;
    text-shadow: 0 0 10px rgba(59, 130, 246, 0.8);
    margin-bottom: 0.25rem;
}

.hero-stat .stat-text {
    font-size: 0.75rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 1;
    visibility: visible;
}

/* About Section - Corporate Style */
.about-section-modern {
    padding: 2rem 0;
    background: var(--white);
}

.about-description-intro {
    font-size: 1.125rem;
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
    text-align: center;
}

.company-values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.value-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.value-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin: 0 auto 1rem;
}

.value-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.value-description {
    color: var(--text-light);
    line-height: 1.6;
}

/* Company Mission */
.company-mission {
    background: var(--gray-50);
    border-radius: 20px;
    padding: 2.5rem;
}

.mission-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: start;
}

.mission-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.mission-description {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.mission-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.mission-highlights .highlight-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-light);
}

.mission-highlights .highlight-item i {
    color: #10b981;
    font-size: 1rem;
}

/* Company Stats Card */
.company-stats-card {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-200);
    margin-bottom: 1.5rem;
}

.stats-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    text-align: center;
}

.stats-grid-compact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.stat-item-compact {
    text-align: center;
}

.stat-number-large {
    display: block;
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.stat-label-compact {
    font-size: 0.7rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* CEO Message */
.ceo-message {
    background: var(--gradient);
    border-radius: 16px;
    padding: 1.5rem;
    color: white;
    position: relative;
    overflow: hidden;
}

.ceo-message::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    z-index: 1;
}

.ceo-message > * {
    position: relative;
    z-index: 2;
}

.ceo-avatar {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.ceo-quote {
    font-size: 1rem;
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 1rem;
    opacity: 0.95;
}

.ceo-name {
    font-size: 0.875rem;
    font-weight: 600;
    opacity: 0.9;
}

.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 70px;
    position: relative;
    overflow: hidden;
}

.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        url('assets/hero-background.svg') center/cover no-repeat,
        url('assets/photo-1514525253161-7a46d19cd819.jpg') center/cover no-repeat,
        linear-gradient(135deg, #0a20c7, #1e3c72);
    z-index: 1;
    opacity: 1;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15, 13, 29, 0.75) 0%, rgba(26, 26, 46, 0.65) 50%, rgba(22, 33, 62, 0.75) 100%);
    z-index: 2;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    z-index: 3;
    max-width: 900px;
    margin: 0 auto;
}

.hero-text {
    color: white;
}

.hero-subtitle {
    color: var(--accent);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    line-height: 1.6;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    opacity: 1;
    visibility: visible;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-hero {
    padding: 18px 36px;
    font-size: 1.1rem;
    font-weight: 700;
    min-width: 220px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.btn-hero::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;
}

.btn-hero:hover::before {
    left: 100%;
}

.btn-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.btn-primary.btn-hero {
    background: linear-gradient(135deg, #0a20c7, #3b82f6);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.btn-primary.btn-hero:hover {
    background: linear-gradient(135deg, #3b82f6, #0a20c7);
    border-color: rgba(255, 255, 255, 0.4);
}

.btn-secondary.btn-hero {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

/* Dark theme for hero buttons */
[data-theme="dark"] .btn-primary.btn-hero {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8) !important;
    color: #ffffff !important;
    border: 2px solid rgba(59, 130, 246, 0.4);
}

[data-theme="dark"] .btn-primary.btn-hero:hover {
    background: linear-gradient(135deg, #2563eb, #1e40af) !important;
    color: #ffffff !important;
    border-color: rgba(59, 130, 246, 0.6);
}

[data-theme="dark"] .btn-secondary.btn-hero {
    background: rgba(59, 130, 246, 0.15) !important;
    color: #ffffff !important;
    border: 2px solid rgba(59, 130, 246, 0.4);
    backdrop-filter: blur(10px);
}

[data-theme="dark"] .btn-secondary.btn-hero:hover {
    background: rgba(59, 130, 246, 0.3) !important;
    border-color: rgba(59, 130, 246, 0.7);
    color: #ffffff !important;
}

/* About Section */
.about-section-modern {
    padding: 2rem 0;
    background: var(--white);
}

.about-header {
    text-align: center;
    margin-bottom: 4rem;
}

.about-badge {
    color: var(--primary);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
    display: block;
}

.about-main-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-dark);
}

.about-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.about-intro {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.about-description {
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.about-features-list {
    margin-bottom: 2rem;
}

.feature-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--gray-50);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.feature-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: var(--gradient);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.feature-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.feature-desc {
    color: var(--text-light);
    font-size: 0.875rem;
}

.btn-about-cta {
    background: var(--gradient);
    color: white;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.btn-about-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(10, 32, 199, 0.3);
}

/* Founder Story Card */
.founder-story-card {
    background: var(--white);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-200);
    margin-bottom: 2rem;
    transition: var(--transition);
}

.founder-story-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.founder-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.founder-avatar {
    width: 60px;
    height: 60px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.founder-info h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.founder-info span {
    color: var(--text-light);
    font-size: 0.875rem;
}

.founder-story p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Philosophy Card */
.philosophy-card {
    background: var(--gradient);
    border-radius: 16px;
    padding: 2rem;
    color: white;
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.philosophy-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    z-index: 1;
}

.philosophy-card > * {
    position: relative;
    z-index: 2;
}

.philosophy-header i {
    font-size: 2rem;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.philosophy-quote {
    font-size: 1.25rem;
    font-weight: 600;
    font-style: italic;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.philosophy-author {
    font-size: 0.875rem;
    opacity: 0.8;
    margin-bottom: 1rem;
}

.philosophy-description {
    font-size: 0.875rem;
    opacity: 0.9;
    line-height: 1.6;
}

.about-info-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}

.about-info-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.card-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-light);
}

.info-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.info-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-light);
}

.highlight-item i {
    color: var(--primary);
    font-size: 1rem;
}

.info-card-description {
    color: var(--text-light);
    font-size: 0.875rem;
    line-height: 1.6;
    font-style: italic;
    text-align: center;
    padding: 1rem;
    background: var(--gray-50);
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary);
}
/* Services Main Grid - Professional Layout */
.services-main-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.service-card-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
    min-height: 400px;
}

.service-card-main:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.service-card-main:nth-child(even) {
    grid-template-columns: 1fr 1fr;
}

.service-card-main:nth-child(even) .service-image-container {
    order: 2;
}

.service-card-main:nth-child(even) .service-content-main {
    order: 1;
}

.service-image-container {
    position: relative;
    overflow: hidden;
}

.service-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card-main:hover .service-image-container img {
    transform: scale(1.1);
}

.service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 32, 199, 0.8), rgba(30, 60, 114, 0.8));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card-main:hover .service-overlay {
    opacity: 1;
}

.service-icon-large {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    backdrop-filter: blur(10px);
}

.service-content-main {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.service-header-main {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.service-title-main {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.2;
}

.service-badge-main {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.service-badge-main.popular {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
}

.service-badge-main.premium {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
}

.service-badge-main.specialty {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    color: white;
}

.service-description-main {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.service-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.highlight-tag {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    background: var(--gray-50);
    border-radius: 8px;
    font-size: 0.875rem;
    color: var(--text-dark);
    border: 1px solid var(--gray-200);
}

.highlight-tag i {
    color: var(--primary);
    font-size: 1rem;
}

.service-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    padding: 1rem 0;
    border-top: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
}

.stat-mini {
    text-align: center;
}

.stat-number-mini {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.stat-label-mini {
    font-size: 0.75rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.service-actions-main {
    display: flex;
    gap: 1rem;
}

.btn-service-details,
.btn-service-quote {
    flex: 1;
    padding: 12px 20px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.btn-service-details {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-service-details:hover {
    background: var(--primary);
    color: white;
}

.btn-service-quote {
    background: var(--gradient);
    color: white;
    border: 2px solid transparent;
}

.btn-service-quote:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(10, 32, 199, 0.3);
}

/* Why Choose LMAIS Section */
.why-choose-section {
    background: var(--gray-50);
    border-radius: 20px;
    padding: 3rem;
    margin-top: 4rem;
}

.why-choose-header {
    text-align: center;
    margin-bottom: 3rem;
}

.why-choose-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.why-choose-description {
    color: var(--text-light);
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto;
}

.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.why-item {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}

.why-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.why-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin: 0 auto 1rem;
}

.why-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.why-description {
    color: var(--text-light);
    font-size: 0.875rem;
    line-height: 1.5;
}

/* Services Section */
.services-section {
    padding: 2rem 0;
    background: var(--gray-50);
    position: relative;
}

.services-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 25% 25%, rgba(59, 130, 246, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(16, 185, 129, 0.05) 0%, transparent 50%);
    z-index: 1;
}

.services-container {
    position: relative;
    z-index: 2;
}

.section-header.text-center {
    text-align: center;
    margin-bottom: 3rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.service-card.modern {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card.modern:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.service-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.service-icon-modern {
    width: 60px;
    height: 60px;
    background: var(--gradient);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.service-badge {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.service-badge.premium {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.service-title-modern {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.service-description-modern {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-features-modern {
    margin-bottom: 2rem;
}

.feature-item-modern {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
    color: var(--text-light);
}

.feature-item-modern i {
    color: #10b981;
    font-size: 1rem;
}

.service-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.btn-service-modern {
    width: 100%;
    justify-content: center;
    padding: 12px 24px;
}

.btn-secondary-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    padding: 10px 24px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    transition: var(--transition);
    font-size: 0.9rem;
}

.btn-secondary-outline:hover {
    background: var(--primary);
    color: white;
}

/* Services Stats */
.services-stats {
    margin-bottom: 3rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.stat-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin: 0 auto 1rem;
}

.stat-content .stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    display: block;
    margin-bottom: 0.5rem;
}

.stat-content .stat-label {
    color: var(--text-light);
    font-size: 0.875rem;
}

/* Services CTA Modern */
.services-cta-modern {
    background: var(--gradient);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.cta-pattern {
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
}

.services-cta-content {
    position: relative;
    z-index: 2;
    color: white;
}

.cta-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1.5rem;
}

.services-cta-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.services-cta-description {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.services-cta-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.btn-cta-primary,
.btn-cta-secondary {
    padding: 16px 32px;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-cta-primary {
    background: white;
    color: var(--primary);
}

.btn-cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

.btn-cta-secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

/* Dark theme CTA buttons */
[data-theme="dark"] .btn-cta-primary {
    background: #ffffff !important;
    color: #1d4ed8 !important;
}

[data-theme="dark"] .btn-cta-primary:hover {
    background: #f1f5f9 !important;
    color: #1e40af !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

[data-theme="dark"] .btn-cta-secondary {
    background: transparent !important;
    color: #ffffff !important;
    border: 2px solid rgba(255, 255, 255, 0.6);
}

[data-theme="dark"] .btn-cta-secondary:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: #ffffff;
    color: #ffffff !important;
}

.cta-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.cta-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    opacity: 0.9;
}

.cta-feature i {
    font-size: 1rem;
}

/* Experience Section */
.experience-section {
    padding: 4rem 0;
    background: var(--white);
}

.experience-timeline {
    margin-bottom: 3rem;
}

.timeline-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    padding: 2rem;
    background: var(--gray-50);
    border-radius: 16px;
    border-left: 4px solid var(--primary);
    transition: var(--transition);
}

.timeline-item:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-md);
}

.timeline-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.timeline-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.timeline-description {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.timeline-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.timeline-tag {
    background: var(--primary);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
}

/* Technical Excellence */
.technical-excellence {
    background: var(--gray-50);
    border-radius: 20px;
    padding: 3rem;
}

.excellence-header {
    text-align: center;
    margin-bottom: 3rem;
}

.excellence-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.excellence-description {
    color: var(--text-light);
    font-size: 1.125rem;
}

.excellence-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.excellence-item {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}

.excellence-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.excellence-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin: 0 auto 1rem;
}

.excellence-item-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.excellence-item-description {
    color: var(--text-light);
    line-height: 1.6;
}

/* Projects Section */
.projects-section {
    padding: 4rem 0;
    background: var(--gray-50);
}

.projects-grid.desktop-projects {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.project-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.project-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 32, 199, 0.9), rgba(30, 60, 114, 0.9));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-overlay-content {
    text-align: center;
    color: white;
    padding: 2rem;
}

.project-overlay-content h4 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.project-overlay-content p {
    margin-bottom: 1rem;
    opacity: 0.9;
}

.btn-project {
    padding: 10px 20px;
    font-size: 0.875rem;
}

.project-content {
    padding: 2rem;
}

.project-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.project-description {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.tech-tag {
    background: var(--gray-100);
    color: var(--text-dark);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    border: 1px solid var(--gray-200);
}

.project-footer {
    border-top: 1px solid var(--gray-200);
    padding-top: 1.5rem;
}

.btn-project-cta {
    width: 100%;
    justify-content: center;
}

/* Contact Section */
.contact-section {
    padding: 4rem 0;
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-methods {
    margin-bottom: 3rem;
}

.contact-method {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--gray-50);
    border-radius: 16px;
    transition: var(--transition);
}

.contact-method:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.contact-method-icon {
    width: 48px;
    height: 48px;
    background: var(--gradient);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.contact-method-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.contact-method-value {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    margin-bottom: 0.25rem;
    display: block;
}

[data-theme="dark"] .contact-method-value {
    color: #3b82f6 !important;
    font-weight: 600;
}

[data-theme="dark"] .contact-method-value:hover {
    color: #2563eb !important;
    text-decoration: underline;
}

[data-theme="dark"] .contact-social-link {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8) !important;
    color: #ffffff !important;
}

[data-theme="dark"] .contact-social-link:hover {
    background: linear-gradient(135deg, #2563eb, #1e40af) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

[data-theme="dark"] .footer-contact a {
    color: rgba(255, 255, 255, 0.9) !important;
}

[data-theme="dark"] .footer-contact a:hover {
    color: #3b82f6 !important;
}

/* Dark theme for new corporate elements */
[data-theme="dark"] .value-card,
[data-theme="dark"] .company-stats-card {
    background: #1a1a1a;
    border-color: #2a2a2a;
}

[data-theme="dark"] .value-card:hover,
[data-theme="dark"] .company-stats-card:hover {
    background: #222222;
    border-color: #3b82f6;
}

[data-theme="dark"] .company-mission {
    background: #1a1a1a;
}

[data-theme="dark"] .hero-stat .stat-number {
    color: #3b82f6;
    text-shadow: 0 0 10px rgba(59, 130, 246, 0.8);
}

[data-theme="dark"] .overview-card {
    background: #1a1a1a;
    border-color: #2a2a2a;
}

[data-theme="dark"] .overview-card:hover {
    background: #222222;
    border-color: #3b82f6;
}

/* Dark theme for new service cards */
[data-theme="dark"] .service-card-main,
[data-theme="dark"] .why-item {
    background: #1a1a1a;
    border-color: #2a2a2a;
}

[data-theme="dark"] .service-card-main:hover,
[data-theme="dark"] .why-item:hover {
    background: #222222;
    border-color: #3b82f6;
}

[data-theme="dark"] .highlight-tag {
    background: #2a2a2a;
    border-color: #3a3a3a;
    color: var(--text-dark);
}

[data-theme="dark"] .service-stats {
    border-color: #2a2a2a;
}

[data-theme="dark"] .why-choose-section {
    background: #1a1a1a;
}

.contact-method-description {
    color: var(--text-light);
    font-size: 0.875rem;
}

.contact-social-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.contact-social-links {
    display: flex;
    gap: 1rem;
}

.contact-social-link {
    width: 40px;
    height: 40px;
    background: var(--gradient);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.contact-social-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(10, 32, 199, 0.3);
}

.contact-form-wrapper {
    background: var(--gray-50);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid var(--gray-200);
}

.contact-form-header {
    margin-bottom: 2rem;
}

.contact-form-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.contact-form-description {
    color: var(--text-light);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-label {
    display: block;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--gray-200);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background: white;
    color: var(--text-dark);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-submit {
    width: 100%;
    justify-content: center;
    padding: 16px;
    font-size: 1rem;
    position: relative;
}

.btn-loading {
    display: none;
}

.btn-submit.loading .btn-text {
    display: none;
}

.btn-submit.loading .btn-loading {
    display: inline;
}

/* Footer */
.footer {
    background: var(--secondary);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-logo .footer-logo-image {
    height: 50px;
    width: auto;
    object-fit: contain;
    padding: 10px;
    background: white;
    border: 2px solid #ff8c00;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.footer-brand-text-container {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.footer-brand-text-main {
    font-size: 1.125rem;
    font-weight: 800;
    color: white;
    letter-spacing: 0.05em;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.footer-brand-text-sub {
    font-size: 1.125rem;
    font-weight: 800;
    color: white;
    letter-spacing: 0.05em;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.footer-logo span {
    font-size: 1.5rem;
    font-weight: 800;
}

.footer-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.footer-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.footer-contact {
    list-style: none;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
}

.footer-contact i {
    color: var(--accent);
    width: 16px;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

/* Dark Theme Styles */
[data-theme="dark"] .header-modern {
    background: rgba(17, 17, 17, 0.95) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(59, 130, 246, 0.3);
}

/* Ensure dark header stays dark on scroll */
[data-theme="dark"] .header-modern.scrolled {
    background: rgba(17, 17, 17, 0.98) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5) !important;
}

[data-theme="dark"] .brand-text-main,
[data-theme="dark"] .brand-text-sub,
[data-theme="dark"] .mobile-brand-text-main,
[data-theme="dark"] .mobile-brand-text-sub {
    color: #ffffff !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .nav-link {
    color: rgba(255, 255, 255, 0.95) !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .nav-link:hover {
    color: #ffffff !important;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.6);
}

/* Dark theme button fixes */
[data-theme="dark"] .btn-primary {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8) !important;
    color: #ffffff !important;
    border: 1px solid rgba(59, 130, 246, 0.3);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

[data-theme="dark"] .btn-primary:hover {
    background: linear-gradient(135deg, #2563eb, #1e40af) !important;
    color: #ffffff !important;
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.5);
}

[data-theme="dark"] .btn-secondary {
    background: transparent !important;
    color: #3b82f6 !important;
    border: 2px solid #3b82f6;
}

[data-theme="dark"] .btn-secondary:hover {
    background: #3b82f6 !important;
    color: #ffffff !important;
}

[data-theme="dark"] .theme-btn {
    background: rgba(59, 130, 246, 0.2) !important;
    color: #ffffff !important;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

[data-theme="dark"] .theme-btn:hover {
    background: #3b82f6 !important;
    color: #ffffff !important;
}

[data-theme="dark"] .hero-bg-overlay {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.9) 0%, rgba(17, 17, 17, 0.85) 50%, rgba(34, 34, 34, 0.9) 100%);
}

[data-theme="dark"] .about-section-modern,
[data-theme="dark"] .experience-section,
[data-theme="dark"] .contact-section {
    background: linear-gradient(135deg, #111111 0%, #000000 100%);
}

[data-theme="dark"] .services-section,
[data-theme="dark"] .projects-section {
    background: linear-gradient(135deg, #000000 0%, #111111 100%);
}

[data-theme="dark"] .feature-item,
[data-theme="dark"] .timeline-item,
[data-theme="dark"] .contact-method,
[data-theme="dark"] .technical-excellence {
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
}

[data-theme="dark"] .feature-item:hover,
[data-theme="dark"] .timeline-item:hover,
[data-theme="dark"] .contact-method:hover {
    border-color: #3b82f6;
    background: #222222;
}

[data-theme="dark"] .founder-story-card,
[data-theme="dark"] .about-info-card,
[data-theme="dark"] .service-card.modern,
[data-theme="dark"] .stat-card,
[data-theme="dark"] .excellence-item,
[data-theme="dark"] .project-card,
[data-theme="dark"] .contact-form-wrapper {
    background: #1a1a1a;
    border-color: #2a2a2a;
}

[data-theme="dark"] .founder-story-card:hover,
[data-theme="dark"] .about-info-card:hover,
[data-theme="dark"] .service-card.modern:hover,
[data-theme="dark"] .stat-card:hover,
[data-theme="dark"] .excellence-item:hover,
[data-theme="dark"] .project-card:hover {
    background: #222222;
    border-color: #3b82f6;
}

[data-theme="dark"] .tech-tag,
[data-theme="dark"] .timeline-tag {
    background: #2a2a2a;
    color: var(--text-dark);
    border-color: #3a3a3a;
}

[data-theme="dark"] .btn-secondary-outline,
[data-theme="dark"] .btn-secondary {
    background: transparent !important;
    color: #3b82f6 !important;
    border-color: #3b82f6 !important;
}

[data-theme="dark"] .btn-secondary-outline:hover,
[data-theme="dark"] .btn-secondary:hover {
    background: #3b82f6 !important;
    color: #ffffff !important;
}

[data-theme="dark"] .btn-about-cta {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8) !important;
    color: #ffffff !important;
}

[data-theme="dark"] .btn-about-cta:hover {
    background: linear-gradient(135deg, #2563eb, #1e40af) !important;
    color: #ffffff !important;
}

[data-theme="dark"] .btn-service-modern {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8) !important;
    color: #ffffff !important;
}

[data-theme="dark"] .btn-service-modern:hover {
    background: linear-gradient(135deg, #2563eb, #1e40af) !important;
    color: #ffffff !important;
}

[data-theme="dark"] .btn-project-cta {
    background: transparent !important;
    color: #3b82f6 !important;
    border-color: #3b82f6 !important;
}

[data-theme="dark"] .btn-project-cta:hover {
    background: #3b82f6 !important;
    color: #ffffff !important;
}

[data-theme="dark"] .btn-submit {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8) !important;
    color: #ffffff !important;
}

[data-theme="dark"] .btn-submit:hover {
    background: linear-gradient(135deg, #2563eb, #1e40af) !important;
    color: #ffffff !important;
}

[data-theme="dark"] .form-input,
[data-theme="dark"] .form-select,
[data-theme="dark"] .form-textarea {
    background: #222222;
    border-color: #2a2a2a;
    color: var(--text-dark);
}

[data-theme="dark"] .form-input:focus,
[data-theme="dark"] .form-select:focus,
[data-theme="dark"] .form-textarea:focus {
    border-color: #3b82f6;
    background: #2a2a2a;
}

/* RESPONSIVIDADE COMPLETA - VERSÃO 2026 OTIMIZADA */

/* ===== BREAKPOINTS PRINCIPAIS ===== */
/* 1440px+ - Desktop Large */
/* 1200px - Desktop Standard */
/* 1024px - Tablet Landscape */
/* 768px - Tablet Portrait */
/* 480px - Mobile Large */
/* 320px - Mobile Small */

/* ===== DESKTOP LARGE (1440px+) ===== */
@media (min-width: 1440px) {
    .header-container,
    .hero-container,
    .about-container-modern,
    .services-container,
    .experience-container,
    .projects-container,
    .contact-container,
    .footer-container {
        max-width: 1400px;
        padding: 0 40px;
    }
    
    .hero-title {
        font-size: 5rem;
    }
    
    .section-title {
        font-size: 3rem;
    }
    
    .service-card-main {
        min-height: 450px;
    }
    
    .services-main-grid {
        gap: 4rem;
    }
}

/* ===== TABLET LANDSCAPE (1024px) ===== */
@media (max-width: 1024px) {
    /* Layout Adjustments */
    .about-content-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
        gap: 2rem;
    }
    
    .service-card-main {
        grid-template-columns: 1fr;
        min-height: auto;
        max-width: 600px;
        margin: 0 auto;
    }
    
    .service-card-main:nth-child(even) {
        grid-template-columns: 1fr;
    }
    
    .service-image-container {
        height: 280px;
    }
    
    .mission-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    /* Typography */
    .hero-title {
        font-size: 3.5rem;
    }
    
    .section-title {
        font-size: 2.25rem;
    }
    
    /* Stats and Grids */
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
    
    .excellence-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    /* Hero Stats */
    .hero-stats {
        gap: 1.5rem;
        margin-bottom: 2.5rem;
    }
    
    .hero-stat .stat-number {
        font-size: 1.75rem;
    }
}

/* ===== TABLET PORTRAIT (768px) ===== */
@media (max-width: 768px) {
    /* ===== HEADER MOBILE ===== */
    .header-nav {
        display: none;
    }
    
    .header-actions .btn-header {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex !important;
        visibility: visible !important;
    }
    
    .header-container {
        padding: 0 20px;
    }
    
    /* ===== HERO MOBILE ===== */
    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
        margin-bottom: 1.25rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
        line-height: 1.6;
        margin-bottom: 2rem;
    }
    
    .hero-stats {
        flex-direction: row;
        justify-content: space-around;
        gap: 1rem;
        margin-bottom: 2.5rem;
        flex-wrap: wrap;
    }
    
    .hero-stat {
        min-width: 100px;
        flex: 1;
        max-width: 120px;
    }
    
    .hero-stat .stat-number {
        font-size: 1.5rem;
    }
    
    .hero-stat .stat-text {
        font-size: 0.7rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
        gap: 1.25rem;
        width: 100%;
    }
    
    .btn-hero {
        width: 100%;
        max-width: 320px;
        padding: 16px 24px;
        font-size: 1rem;
    }
    
    /* ===== SECTIONS MOBILE ===== */
    .section-title {
        font-size: 2rem;
        line-height: 1.3;
        margin-bottom: 1.5rem;
    }
    
    .section-description {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    /* ===== FORMS MOBILE ===== */
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .contact-form-wrapper {
        padding: 1.5rem;
    }
    
    .contact-form-title {
        font-size: 1.25rem;
    }
    
    /* ===== GRIDS MOBILE ===== */
    .excellence-grid,
    .services-overview,
    .company-values-grid,
    .why-choose-grid,
    .major-events-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
    
    /* ===== SERVICE CARDS MOBILE ===== */
    .services-main-grid {
        display: flex;
        flex-direction: column;
        gap: 2.5rem;
    }
    
    .service-card-main {
        width: 100%;
        max-width: none;
        margin: 0;
        display: flex;
        flex-direction: column;
        background: white;
        border-radius: 16px;
        overflow: hidden;
        box-shadow: var(--shadow-md);
        border: 1px solid var(--gray-200);
    }
    
    .service-image-container {
        width: 100%;
        height: 220px;
        flex-shrink: 0;
        position: relative;
        overflow: hidden;
        order: 1;
    }
    
    .service-content-main {
        flex: 1;
        padding: 2rem 1.5rem;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        order: 2;
    }
    
    .service-card-main:nth-child(even) .service-image-container {
        order: 1;
    }
    
    .service-card-main:nth-child(even) .service-content-main {
        order: 2;
    }
    
    .service-title-main {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .service-description-main {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }
    
    .service-highlights {
        grid-template-columns: 1fr;
        gap: 0.75rem;
        margin-bottom: 1.5rem;
    }
    
    .service-actions-main {
        flex-direction: column;
        gap: 1rem;
        margin-top: auto;
    }
    
    .btn-service-details,
    .btn-service-quote {
        padding: 14px 20px;
        font-size: 0.95rem;
    }
    
    /* ===== ABOUT SECTION MOBILE ===== */
    .mission-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .company-stats-card {
        margin-bottom: 2rem;
    }
    
    .stats-grid-compact {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .stat-number-large {
        font-size: 1.5rem;
    }
    
    /* ===== CONTACT SECTION MOBILE ===== */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .contact-method {
        padding: 1.25rem;
        margin-bottom: 1.5rem;
    }
    
    .contact-method-icon {
        width: 44px;
        height: 44px;
        font-size: 1.1rem;
    }
    
    .contact-method-title {
        font-size: 0.95rem;
    }
    
    .contact-method-value {
        font-size: 0.9rem;
    }
    
    /* ===== CREDIBILITY SECTION MOBILE ===== */
    .event-card {
        padding: 1.75rem;
        text-align: center;
    }
    
    .event-icon {
        width: 55px;
        height: 55px;
        font-size: 1.4rem;
        margin-bottom: 1.25rem;
    }
    
    .event-title {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
    
    .event-description {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    /* ===== FOOTER MOBILE ===== */
    .footer-main {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        margin-bottom: 2.5rem;
        padding-bottom: 2.5rem;
    }
    
    .footer-brand-section {
        text-align: center;
        max-width: none;
        padding-right: 0;
    }
    
    .footer-services-section,
    .footer-company-section {
        padding-left: 0;
    }
    
    .footer-contact-section {
        padding: 2rem;
    }
    
    .footer-certifications {
        flex-direction: column;
        gap: 1rem;
    }
    
    .cert-item {
        min-width: auto;
        justify-content: center;
        text-align: center;
    }
    
    .footer-bottom-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-copyright,
    .footer-philosophy {
        text-align: center;
    }
    
    .footer-social {
        order: -1;
    }
    
    .social-links {
        justify-content: center;
    }
}

/* ===== MOBILE LARGE (480px) ===== */
@media (max-width: 480px) {
    /* ===== CONTAINERS ===== */
    .header-container,
    .hero-container,
    .about-container-modern,
    .services-container,
    .experience-container,
    .projects-container,
    .contact-container,
    .footer-container {
        padding: 0 16px;
    }
    
    /* ===== HERO EXTRA SMALL ===== */
    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .hero-description {
        font-size: 1rem;
        margin-bottom: 1.75rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1.25rem;
        align-items: center;
    }
    
    .hero-stat {
        max-width: 180px;
        margin: 0 auto;
        text-align: center;
    }
    
    .hero-stat .stat-number {
        font-size: 1.75rem;
    }
    
    .hero-stat .stat-text {
        font-size: 0.75rem;
    }
    
    .btn-hero {
        max-width: 280px;
        padding: 15px 20px;
        font-size: 0.95rem;
    }
    
    /* ===== TYPOGRAPHY SMALL ===== */
    .section-title {
        font-size: 1.75rem;
        line-height: 1.3;
    }
    
    .section-subtitle {
        font-size: 0.8rem;
    }
    
    .section-description {
        font-size: 0.95rem;
    }
    
    /* ===== GRIDS SMALL ===== */
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .stats-grid-compact {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    /* ===== SERVICE CARDS SMALL ===== */
    .service-card-main {
        border-radius: 12px;
    }
    
    .service-image-container {
        height: 200px;
    }
    
    .service-content-main {
        padding: 1.5rem 1.25rem;
    }
    
    .service-title-main {
        font-size: 1.3rem;
    }
    
    .service-description-main {
        font-size: 0.9rem;
    }
    
    .service-badge-main {
        font-size: 0.7rem;
        padding: 0.2rem 0.6rem;
    }
    
    /* ===== CONTACT SMALL ===== */
    .contact-method {
        padding: 1rem;
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .contact-method-icon {
        align-self: center;
        width: 40px;
        height: 40px;
    }
    
    .contact-form-wrapper {
        padding: 1.25rem;
    }
    
    .contact-form-title {
        font-size: 1.1rem;
    }
    
    .form-input,
    .form-select,
    .form-textarea {
        padding: 12px 14px;
        font-size: 0.95rem;
    }
    
    /* ===== FOOTER SMALL ===== */
    .footer-modern {
        padding: 2.5rem 0 1rem;
    }
    
    .footer-main {
        gap: 2rem;
        margin-bottom: 2rem;
        padding-bottom: 2rem;
    }
    
    .footer-logo .footer-logo-image {
        height: 45px;
    }
    
    .footer-brand-text-main,
    .footer-brand-text-sub {
        font-size: 1rem;
    }
    
    .footer-tagline {
        font-size: 1rem;
    }
    
    .footer-description {
        font-size: 0.9rem;
    }
    
    .footer-section-title {
        font-size: 1.1rem;
    }
    
    .contact-item-footer {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        padding: 1rem;
    }
    
    .contact-icon {
        align-self: center;
        width: 36px;
        height: 36px;
    }
    
    .btn-footer-cta {
        padding: 0.875rem 1.25rem;
        font-size: 0.875rem;
    }
    
    .social-links {
        gap: 0.75rem;
    }
    
    .social-link {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }
    
    .footer-bottom {
        padding: 2rem 0;
    }
    
    .footer-bottom-content {
        gap: 1.5rem;
    }
}

/* ===== MOBILE EXTRA SMALL (320px) ===== */
@media (max-width: 320px) {
    .header-container,
    .hero-container,
    .about-container-modern,
    .services-container,
    .experience-container,
    .projects-container,
    .contact-container,
    .footer-container {
        padding: 0 12px;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .service-content-main {
        padding: 1.25rem 1rem;
    }
    
    .service-title-main {
        font-size: 1.2rem;
    }
    
    .btn-hero,
    .btn-service-details,
    .btn-service-quote {
        padding: 12px 16px;
        font-size: 0.9rem;
    }
    
    .contact-form-wrapper {
        padding: 1rem;
    }
    
    .footer-contact-section {
        padding: 1.5rem;
    }
}

/* ===== LANDSCAPE ORIENTATION ===== */
@media (max-height: 500px) and (orientation: landscape) {
    .hero-section {
        min-height: 100vh;
        padding-top: 70px;
    }
    
    .hero-title {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .hero-description {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-stats {
        flex-direction: row;
        gap: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-actions {
        flex-direction: row;
        gap: 1rem;
    }
    
    .btn-hero {
        max-width: 200px;
        padding: 12px 20px;
        font-size: 0.9rem;
    }
}

/* ===== TOUCH IMPROVEMENTS ===== */
@media (hover: none) and (pointer: coarse) {
    /* Touch-friendly buttons */
    .btn-primary,
    .btn-secondary,
    .btn-hero,
    .btn-service-details,
    .btn-service-quote,
    .mobile-nav-link,
    .contact-method {
        min-height: 44px;
        touch-action: manipulation;
    }
    
    /* Reduce hover effects on touch devices */
    .service-card-main:hover,
    .project-card:hover,
    .value-card:hover,
    .why-item:hover,
    .event-card:hover {
        transform: none;
    }
    
    /* Improve tap targets */
    .nav-link,
    .footer-services-list a,
    .footer-company-list a {
        padding: 0.75rem 0.5rem;
    }
    
    /* Better touch scrolling */
    .services-section,
    .projects-section,
    .about-section-modern,
    .mobile-menu-content {
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
    }
}

/* ===== HIGH DPI DISPLAYS ===== */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .logo-image,
    .footer-logo-image,
    .mobile-logo-image {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* ===== PRINT STYLES ===== */
@media print {
    .header-modern,
    .mobile-menu-toggle,
    .hero-actions,
    .service-actions-main,
    .footer-modern {
        display: none !important;
    }
    
    .hero-section {
        min-height: auto;
        padding: 2rem 0;
    }
    
    .service-card-main,
    .event-card,
    .contact-method {
        break-inside: avoid;
        page-break-inside: avoid;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
        color: #000;
        background: #fff;
    }
    
    .section-title {
        font-size: 18pt;
        margin-bottom: 1rem;
    }
    
    .hero-title {
        font-size: 24pt;
    }
}

/* Mobile Menu Styles */
@media (max-width: 768px) {
    .header-nav.active {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        z-index: 999;
        padding: 0;
        overflow-y: auto;
    }
    
    .header-nav.active .nav-menu {
        display: none;
    }
    
    .header-nav.active .mobile-menu-content {
        display: block;
        padding: 2rem;
        height: 100%;
        padding-top: 80px;
        min-height: 100vh;
    }
    
    .mobile-menu-toggle.active .line1 {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .mobile-menu-toggle.active .line2 {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active .line3 {
        transform: rotate(-45deg) translate(6px, -6px);
    }
    
    body.menu-open {
        overflow: hidden;
        position: fixed;
        width: 100%;
    }
}

/* Footer Responsive Design */
@media (max-width: 1024px) {
    .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
    
    .footer-brand-section {
        grid-column: 1 / -1;
        max-width: none;
        margin-bottom: 1rem;
    }
    
    .footer-certifications {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.75rem;
    }
    
    .cert-item {
        flex: 1;
        min-width: 200px;
    }
}

@media (max-width: 768px) {
    .footer-modern {
        padding: 3rem 0 1rem;
    }
    
    .footer-main {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-bottom: 2rem;
        padding-bottom: 2rem;
    }
    
    .footer-services-section,
    .footer-company-section {
        padding-left: 0;
    }
    
    .footer-contact-section {
        padding: 1.5rem;
    }
    
    .footer-certifications {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .cert-item {
        min-width: auto;
    }
    
    .footer-bottom {
        padding: 3rem 0;
    }
    
    .footer-bottom-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
        min-height: 60px;
    }
    
    .footer-copyright,
    .footer-philosophy {
        text-align: center;
    }
    
    .footer-social {
        order: -1;
    }
    
    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .footer-modern {
        padding: 2rem 0 1rem;
    }
    
    .footer-main {
        margin-bottom: 1.5rem;
        padding-bottom: 1.5rem;
    }
    
    .footer-bottom {
        padding: 2rem 0;
    }
    
    .footer-bottom-content {
        min-height: 50px;
    }
    
    .footer-logo .brand-name {
        font-size: 1.75rem;
    }
    
    .footer-section-title {
        font-size: 1.125rem;
    }
    
    .contact-item-footer {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
    
    .contact-icon {
        align-self: center;
    }
    
    .btn-footer-cta {
        padding: 0.875rem 1.25rem;
        font-size: 0.875rem;
    }
    
    .social-links {
        gap: 0.5rem;
    }
    
    .social-link {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }
}

/* Mobile Menu Styles */
@media (max-width: 768px) {
    .header-nav.active {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        z-index: 999;
        padding: 0;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .header-nav.active .nav-menu {
        display: none;
    }
    
    .header-nav.active .mobile-menu-content {
        display: block;
        padding: 2rem;
        height: 100%;
        padding-top: 80px;
        min-height: 100vh;
    }
    
    .mobile-menu-toggle.active .line1 {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .mobile-menu-toggle.active .line2 {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active .line3 {
        transform: rotate(-45deg) translate(6px, -6px);
    }
    
    .mobile-menu-toggle.active {
        background: rgba(255, 255, 255, 0.2);
        border-color: rgba(255, 255, 255, 0.6);
    }
    
    body.menu-open {
        overflow: hidden;
        position: fixed;
        width: 100%;
    }
    
    /* Prevent scrolling issues on mobile */
    .mobile-menu-content {
        touch-action: pan-y;
    }
    
    /* Dark theme mobile menu */
    [data-theme="dark"] .header-nav.active {
        background: rgba(17, 17, 17, 0.98);
    }
    
    [data-theme="dark"] .mobile-menu-header {
        border-bottom-color: #2a2a2a;
    }
    
    [data-theme="dark"] .mobile-nav-link:hover {
        background: #2a2a2a;
    }
    
    [data-theme="dark"] .mobile-theme-toggle {
        background: #2a2a2a;
    }
    
    [data-theme="dark"] .mobile-contact-info {
        border-top-color: #2a2a2a;
    }
    
    [data-theme="dark"] .mobile-menu-footer {
        border-top-color: #2a2a2a;
    }
    
    [data-theme="dark"] .close-menu-btn {
        background: rgba(255, 255, 255, 0.1);
        color: #ffffff;
    }
    
    [data-theme="dark"] .close-menu-btn:hover {
        background: rgba(239, 68, 68, 0.2);
        color: #ef4444;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate__animated {
    animation-duration: 1s;
    animation-fill-mode: both;
}

.animate__fadeInUp {
    animation-name: fadeInUp;
}

/* Scroll Animations - Simplified */
[data-aos] {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

/* Loading States */
.loading {
    pointer-events: none;
    opacity: 0.7;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Performance optimizations for mobile */
@media (max-width: 768px) {
    .service-image-container img {
        object-fit: cover;
        width: 100%;
        height: 100%;
        transition: transform 0.3s ease;
        will-change: transform;
    }
    
    .service-card-main:hover .service-image-container img {
        transform: scale(1.05);
    }
    
    .project-image img {
        object-fit: cover;
        width: 100%;
        height: 100%;
        transition: transform 0.3s ease;
        will-change: transform;
    }
    
    .project-card:hover .project-image img {
        transform: scale(1.05);
    }
    
    /* Reduce animations on mobile for better performance */
    .service-card-main,
    .project-card,
    .value-card,
    .why-item {
        transition: transform 0.2s ease, box-shadow 0.2s ease;
    }
    
    .service-card-main:hover,
    .project-card:hover,
    .value-card:hover,
    .why-item:hover {
        transform: translateY(-4px);
    }
    
    /* Touch-friendly buttons */
    .btn-service-details,
    .btn-service-quote,
    .btn-primary,
    .btn-secondary {
        min-height: 44px;
        touch-action: manipulation;
    }
    
    /* Improve scrolling performance */
    .services-section,
    .projects-section,
    .about-section-modern {
        -webkit-overflow-scrolling: touch;
    }
}

/* Additional mobile improvements for service cards */
@media (max-width: 768px) {
    .services-main-grid {
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }
    
    .service-card-main {
        width: 100%;
        max-width: none;
        margin: 0;
        display: flex;
        flex-direction: column;
        background: white;
        border-radius: 16px;
        overflow: hidden;
        box-shadow: var(--shadow-sm);
        border: 1px solid var(--gray-200);
    }
    
    .service-image-container {
        width: 100%;
        height: 200px;
        flex-shrink: 0;
        position: relative;
        overflow: hidden;
    }
    
    .service-content-main {
        flex: 1;
        padding: 1.5rem;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }
    
    /* Ensure proper spacing and layout */
    .service-header-main {
        margin-bottom: 1rem;
    }
    
    .service-description-main {
        margin-bottom: 1.5rem;
        flex-grow: 1;
    }
    
    .service-highlights {
        margin-bottom: 1.5rem;
    }
    
    .service-stats {
        margin-bottom: 1.5rem;
    }
    
    .service-actions-main {
        margin-top: auto;
    }
}
/* Corporate Credibility Section */
.credibility-section {
    padding: 4rem 0;
    background: var(--white);
}

.credibility-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.major-events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.event-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}

.event-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.event-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin: 0 auto 1rem;
}

.event-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.event-description {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.event-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.event-tag {
    background: var(--primary);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
}

/* Dark theme for credibility section */
[data-theme="dark"] .credibility-section {
    background: linear-gradient(135deg, #111111 0%, #000000 100%);
}

[data-theme="dark"] .event-card {
    background: #1a1a1a;
    border-color: #2a2a2a;
}

[data-theme="dark"] .event-card:hover {
    background: #222222;
    border-color: #3b82f6;
}

/* Service page specific styles */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.sidebar-info {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid var(--gray-200);
}

.sidebar-info h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.contact-item i {
    color: var(--primary);
    width: 16px;
}

.contact-item a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--primary);
}

/* Dark theme for service pages */
[data-theme="dark"] .sidebar-info {
    background: #1a1a1a;
    border-color: #2a2a2a;
}

[data-theme="dark"] .contact-item a {
    color: rgba(255, 255, 255, 0.9);
}

[data-theme="dark"] .contact-item a:hover {
    color: #3b82f6;
}

/* Mobile responsiveness for new sections */
@media (max-width: 768px) {
    .major-events-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .event-card {
        padding: 1.5rem;
    }
    
    .event-title {
        font-size: 1.125rem;
    }
    
    .event-description {
        font-size: 0.9rem;
    }
    
    .service-detail-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .service-sidebar {
        position: static;
        margin-top: 2rem;
    }
    
    .sidebar-cta {
        padding: 1.5rem;
    }
    
    .process-steps {
        margin: 2rem 0;
    }
    
    .step {
        flex-direction: column;
        gap: 1rem;
        padding: 1.25rem;
    }
    
    .step-number {
        align-self: flex-start;
    }
}

@media (max-width: 480px) {
    .credibility-section {
        padding: 3rem 0;
    }
    
    .event-card {
        padding: 1.25rem;
    }
    
    .event-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    .service-detail-section {
        padding: 3rem 0;
    }
    
    .detail-content h3 {
        font-size: 1.25rem;
    }
    
    .sidebar-cta {
        padding: 1.25rem;
    }
    
    .sidebar-cta h4 {
        font-size: 1.125rem;
    }
}

/* Footer Modern - Professional 2026 */
.footer-modern {
    background: linear-gradient(135deg, #0f0d1d 0%, #1a1a2e 50%, #16213e 100%);
    color: white;
    padding: 4rem 0 1rem;
    position: relative;
    overflow: hidden;
}

.footer-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 20%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(16, 185, 129, 0.1) 0%, transparent 50%);
    z-index: 1;
}

.footer-container {
    position: relative;
    z-index: 2;
}

/* Footer Main Content */
.footer-main {
    display: grid;
    grid-template-columns: 2.5fr 1.2fr 1.2fr 1.8fr;
    gap: 4rem;
    margin-bottom: 4rem;
    padding-bottom: 4rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Footer Brand Section */
.footer-brand-section {
    max-width: 450px;
    padding-right: 2rem;
}

.footer-brand {
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.footer-logo .footer-logo-image {
    height: 55px;
    width: auto;
    object-fit: contain;
    padding: 12px;
    background: white;
    border: 2px solid #ff8c00;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.footer-logo .brand-name {
    font-size: 2rem;
    font-weight: 800;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.footer-tagline {
    color: #3b82f6;
    font-size: 1.1rem;
    font-weight: 600;
    font-style: italic;
    margin-bottom: 2rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.footer-description {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
    font-size: 1rem;
    margin-bottom: 2.5rem;
}

/* Footer Certifications */
.footer-certifications {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.cert-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.cert-item:hover {
    background: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.3);
    transform: translateX(4px);
}

.cert-item i {
    color: #3b82f6;
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

.cert-item span {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.875rem;
    font-weight: 500;
}

/* Footer Services Section */
.footer-services-section,
.footer-company-section {
    padding-left: 1.5rem;
}

.footer-section-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, #3b82f6, #10b981);
    border-radius: 1px;
}

.footer-services-list,
.footer-company-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-services-list li,
.footer-company-list li {
    margin-bottom: 1rem;
}

.footer-services-list a,
.footer-company-list a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.95rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0;
    line-height: 1.4;
}

.footer-services-list a::before,
.footer-company-list a::before {
    content: '→';
    color: #3b82f6;
    font-weight: bold;
    opacity: 0;
    transform: translateX(-10px);
    transition: var(--transition);
}

.footer-services-list a:hover,
.footer-company-list a:hover {
    color: white;
    transform: translateX(8px);
}

.footer-services-list a:hover::before,
.footer-company-list a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

/* Footer Contact Section */
.footer-contact-section {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    padding: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    min-height: fit-content;
}

.footer-contact-info {
    margin-bottom: 2rem;
}

.contact-item-footer {
    display: flex;
    gap: 1.2rem;
    margin-bottom: 1.8rem;
    padding: 1.2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.contact-item-footer:hover {
    background: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.3);
    transform: translateY(-2px);
}

.contact-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

.contact-details {
    flex: 1;
}

.contact-label {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
    font-weight: 500;
}

.contact-value {
    color: white;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: var(--transition);
}

.contact-value:hover {
    color: #3b82f6;
    text-decoration: underline;
}

/* Footer CTA */
.footer-cta {
    margin-top: 1.5rem;
}

.btn-footer-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.btn-footer-cta:hover {
    background: linear-gradient(135deg, #059669, #047857);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
}

.btn-footer-cta i {
    font-size: 1.2rem;
}

/* Footer Bottom */
.footer-bottom {
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 4rem 0;
}

.footer-bottom-content {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 3rem;
    align-items: center;
    min-height: 100px;
}

/* Footer Copyright */
.footer-copyright {
    text-align: left;
}

.footer-copyright p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
}

.footer-cnpj {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
}

/* Footer Social */
.footer-social {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.social-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
    font-weight: 500;
}

.social-links {
    display: flex;
    gap: 0.75rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
    font-size: 1.1rem;
}

.social-link:hover {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    border-color: #3b82f6;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

/* Footer Philosophy */
.footer-philosophy {
    text-align: right;
}

.philosophy-quote {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    font-style: italic;
    margin-bottom: 0.25rem;
    font-weight: 500;
}

.philosophy-author {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
    font-weight: 400;
}

/* Dark Theme Footer */
[data-theme="dark"] .footer-modern {
    background: linear-gradient(135deg, #000000 0%, #111111 50%, #1a1a1a 100%);
    border-top: 1px solid #2a2a2a;
}

[data-theme="dark"] .footer-modern::before {
    background: 
        radial-gradient(circle at 20% 20%, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(16, 185, 129, 0.15) 0%, transparent 50%);
}

[data-theme="dark"] .footer-contact-section {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.15);
}

[data-theme="dark"] .cert-item,
[data-theme="dark"] .contact-item-footer {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
}

[data-theme="dark"] .cert-item:hover,
[data-theme="dark"] .contact-item-footer:hover {
    background: rgba(59, 130, 246, 0.15);
    border-color: rgba(59, 130, 246, 0.4);
}

[data-theme="dark"] .footer-bottom {
    background: rgba(0, 0, 0, 0.5);
    border-top-color: #2a2a2a;
}

[data-theme="dark"] .social-link {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
}

[data-theme="dark"] .social-link:hover {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    border-color: #3b82f6;
}

/* Footer Responsive Design */
@media (max-width: 1024px) {
    .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
    
    .footer-brand-section {
        grid-column: 1 / -1;
        max-width: none;
        margin-bottom: 1rem;
    }
    
    .footer-certifications {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.75rem;
    }
    
    .cert-item {
        flex: 1;
        min-width: 200px;
    }
}

@media (max-width: 768px) {
    .footer-modern {
        padding: 3rem 0 1rem;
    }
    
    .footer-main {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-bottom: 2rem;
        padding-bottom: 2rem;
    }
    
    .footer-services-section,
    .footer-company-section {
        padding-left: 0;
    }
    
    .footer-contact-section {
        padding: 1.5rem;
    }
    
    .footer-certifications {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .cert-item {
        min-width: auto;
    }
    
    .footer-bottom {
        padding: 3rem 0;
    }
    
    .footer-bottom-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
        min-height: 60px;
    }
    
    .footer-copyright,
    .footer-philosophy {
        text-align: center;
    }
    
    .footer-social {
        order: -1;
    }
    
    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .footer-modern {
        padding: 2rem 0 1rem;
    }
    
    .footer-main {
        margin-bottom: 1.5rem;
        padding-bottom: 1.5rem;
    }
    
    .footer-bottom {
        padding: 2rem 0;
    }
    
    .footer-bottom-content {
        min-height: 50px;
    }
    
    .footer-logo .brand-name {
        font-size: 1.75rem;
    }
    
    .footer-logo .logo-icon {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }
    
    .footer-section-title {
        font-size: 1.125rem;
    }
    
    .contact-item-footer {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
    
    .contact-icon {
        align-self: center;
    }
    
    .btn-footer-cta {
        padding: 0.875rem 1.25rem;
        font-size: 0.875rem;
    }
    
    .social-links {
        gap: 0.5rem;
    }
    
    .social-link {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }
}
/* Service Pages - Professional Hero Banner */
.service-hero {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 0 30px;
    position: relative;
    overflow: hidden;
    background: #000;
}

.service-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
    opacity: 0.4;
    transition: opacity 0.3s ease;
}

.service-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg, 
        rgba(0, 0, 0, 0.8) 0%, 
        rgba(10, 32, 199, 0.7) 30%, 
        rgba(30, 60, 114, 0.8) 70%, 
        rgba(0, 0, 0, 0.9) 100%
    );
    z-index: 2;
}

.service-hero.corporativo::before {
    background-image: url('assets/eventos-corporativos.jpg');
}

.service-hero.shows::before {
    background-image: url('assets/shows-festivais.jpg');
}

.service-hero.teatros::before {
    background-image: url('assets/teatros-espetaculos.jpg');
}

.service-hero-container {
    position: relative;
    z-index: 3;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.service-hero-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    color: white;
}

.service-hero-badge {
    display: inline-block;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
    animation: fadeInUp 0.8s ease-out;
}

.service-hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 2rem;
    color: white;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.service-hero-title .title-highlight {
    display: block;
    background: linear-gradient(135deg, #3b82f6, #10b981);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    text-shadow: none;
    margin-top: 0.5rem;
}

.service-hero-description {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 3rem;
    line-height: 1.7;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.service-hero-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.service-hero-actions .btn-primary,
.service-hero-actions .btn-secondary {
    padding: 18px 36px;
    font-size: 1.1rem;
    font-weight: 700;
    min-width: 220px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.service-hero-actions .btn-primary {
    background: linear-gradient(135deg, #10b981, #059669);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.service-hero-actions .btn-primary:hover {
    background: linear-gradient(135deg, #059669, #047857);
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(16, 185, 129, 0.4);
}

.service-hero-actions .btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
}

.service-hero-actions .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(255, 255, 255, 0.2);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Breadcrumb */
.breadcrumb {
    background: var(--gray-50);
    padding: 1rem 0;
    border-bottom: 1px solid var(--gray-200);
}

.breadcrumb-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-light);
    flex-wrap: wrap;
}

.breadcrumb-nav a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

.breadcrumb-nav a:hover {
    text-decoration: underline;
    color: var(--accent);
}

.breadcrumb-separator {
    color: var(--text-light);
    margin: 0 0.25rem;
}

/* Service Detail Section */
.service-detail-section {
    padding: 0;
    background: var(--white);
}

.service-detail-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.service-detail-header {
    text-align: center;
    margin-bottom: 3rem;
}

.service-detail-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin-top: 0;
}

/* Detail Content */
.detail-content {
    background: white;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
}

.detail-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 2rem 0 1rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.detail-content h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--gradient);
    border-radius: 2px;
}

.detail-content h3:first-child {
    margin-top: 0;
}

.detail-content p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.detail-content ul {
    list-style: none;
    margin: 1.5rem 0;
    padding: 0;
}

.detail-content li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: var(--text-light);
    padding: 0.75rem;
    background: var(--gray-50);
    border-radius: 8px;
    border-left: 3px solid var(--primary);
    transition: var(--transition);
}

.detail-content li:hover {
    background: rgba(59, 130, 246, 0.05);
    transform: translateX(4px);
}

.detail-content li i {
    color: var(--primary);
    font-size: 1.1rem;
    margin-top: 0.1rem;
    flex-shrink: 0;
}

/* Service Sidebar */
.service-sidebar {
    background: var(--gray-50);
    border-radius: 16px;
    padding: 2rem;
    height: fit-content;
    position: sticky;
    top: 90px;
    border: 1px solid var(--gray-200);
}

.sidebar-section {
    margin-bottom: 2rem;
}

.sidebar-section:last-child {
    margin-bottom: 0;
}

.sidebar-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sidebar-title i {
    color: var(--primary);
    font-size: 1.1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding: 0.75rem;
    background: white;
    border-radius: 8px;
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}

.contact-item:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.contact-item i {
    color: var(--primary);
    font-size: 1rem;
    width: 20px;
    text-align: center;
    transition: var(--transition);
}

.contact-item:hover i {
    color: white;
}

.contact-item span {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-dark);
    transition: var(--transition);
}

.contact-item:hover span {
    color: white;
}

.sidebar-cta {
    background: var(--gradient);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    color: white;
    margin-top: 1.5rem;
}

.sidebar-cta h4 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.sidebar-cta p {
    font-size: 0.875rem;
    opacity: 0.9;
    margin-bottom: 1.25rem;
    line-height: 1.5;
}

.btn-sidebar-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.875rem 1.25rem;
    background: white;
    color: var(--primary);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
}

.btn-sidebar-cta:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Dark Theme for Service Pages - Complete */
[data-theme="dark"] .service-hero {
    background: #000000;
}

[data-theme="dark"] .service-hero::before {
    opacity: 0.3;
}

[data-theme="dark"] .service-hero::after {
    background: linear-gradient(
        135deg, 
        rgba(0, 0, 0, 0.95) 0%, 
        rgba(59, 130, 246, 0.2) 30%, 
        rgba(16, 185, 129, 0.2) 70%, 
        rgba(0, 0, 0, 0.98) 100%
    );
}

[data-theme="dark"] .service-hero-badge {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.5);
    color: #ffffff;
}

[data-theme="dark"] .service-hero-title {
    color: #ffffff;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
}

[data-theme="dark"] .service-hero-title .title-highlight {
    background: linear-gradient(135deg, #3b82f6, #10b981);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

[data-theme="dark"] .service-hero-description {
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

[data-theme="dark"] .service-hero-actions .btn-primary {
    background: linear-gradient(135deg, #10b981, #059669);
    border-color: rgba(16, 185, 129, 0.3);
    color: #ffffff;
}

[data-theme="dark"] .service-hero-actions .btn-primary:hover {
    background: linear-gradient(135deg, #059669, #047857);
    box-shadow: 0 12px 40px rgba(16, 185, 129, 0.5);
    border-color: rgba(16, 185, 129, 0.5);
}

[data-theme="dark"] .service-hero-actions .btn-secondary {
    background: rgba(59, 130, 246, 0.15);
    border-color: rgba(59, 130, 246, 0.4);
    color: #ffffff;
    backdrop-filter: blur(10px);
}

[data-theme="dark"] .service-hero-actions .btn-secondary:hover {
    background: rgba(59, 130, 246, 0.25);
    border-color: rgba(59, 130, 246, 0.6);
    color: #ffffff;
}

/* Dark Theme - Breadcrumb */
[data-theme="dark"] .breadcrumb {
    background: #111111;
    border-bottom-color: #2a2a2a;
}

[data-theme="dark"] .breadcrumb-nav a {
    color: #3b82f6;
}

[data-theme="dark"] .breadcrumb-nav a:hover {
    color: #60a5fa;
}

[data-theme="dark"] .breadcrumb-separator {
    color: rgba(255, 255, 255, 0.5);
}

/* Dark Theme - Service Detail Section */
[data-theme="dark"] .service-detail-section {
    background: linear-gradient(135deg, #000000 0%, #111111 100%);
}

[data-theme="dark"] .detail-content {
    background: #1a1a1a;
    border-color: #2a2a2a;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

[data-theme="dark"] .detail-content h2,
[data-theme="dark"] .detail-content h3 {
    color: #ffffff;
}

[data-theme="dark"] .detail-content h3::after {
    background: linear-gradient(90deg, #3b82f6, #10b981);
}

[data-theme="dark"] .detail-content p {
    color: rgba(255, 255, 255, 0.8);
}

[data-theme="dark"] .detail-content li {
    background: #222222;
    border-left-color: #3b82f6;
    color: rgba(255, 255, 255, 0.8);
}

[data-theme="dark"] .detail-content li:hover {
    background: rgba(59, 130, 246, 0.1);
    border-left-color: #60a5fa;
}

[data-theme="dark"] .detail-content li i {
    color: #3b82f6;
}

/* Dark Theme - Service Sidebar */
[data-theme="dark"] .service-sidebar {
    background: #1a1a1a;
    border-color: #2a2a2a;
}

[data-theme="dark"] .sidebar-title {
    color: #ffffff;
}

[data-theme="dark"] .sidebar-title i {
    color: #3b82f6;
}

[data-theme="dark"] .contact-item {
    background: #222222;
    border-color: #2a2a2a;
    color: rgba(255, 255, 255, 0.8);
}

[data-theme="dark"] .contact-item:hover {
    background: #3b82f6;
    border-color: #3b82f6;
    color: #ffffff;
}

[data-theme="dark"] .contact-item:hover i {
    color: #ffffff;
}

[data-theme="dark"] .contact-item:hover span {
    color: #ffffff;
}

[data-theme="dark"] .contact-item a {
    color: inherit;
}

[data-theme="dark"] .sidebar-cta {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
}

[data-theme="dark"] .sidebar-cta h4 {
    color: #ffffff;
}

[data-theme="dark"] .sidebar-cta p {
    color: rgba(255, 255, 255, 0.9);
}

[data-theme="dark"] .btn-sidebar-cta {
    background: #ffffff;
    color: #1d4ed8;
}

[data-theme="dark"] .btn-sidebar-cta:hover {
    background: #f1f5f9;
    color: #1e40af;
}

/* Dark Theme - Process Steps */
[data-theme="dark"] .step {
    background: #222222;
    border-left-color: #3b82f6;
}

[data-theme="dark"] .step:hover {
    background: rgba(59, 130, 246, 0.1);
    border-left-color: #60a5fa;
}

[data-theme="dark"] .step-number {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
}

[data-theme="dark"] .step-content h4 {
    color: #ffffff;
}

[data-theme="dark"] .step-content p {
    color: rgba(255, 255, 255, 0.8);
}



/* Service Pages Responsive Design */
@media (max-width: 1024px) {
    .service-hero {
        min-height: 60vh;
        padding: 100px 0 30px;
    }
    
    .service-hero-title {
        font-size: clamp(2.2rem, 5vw, 3.2rem);
    }
    
    .service-hero-description {
        font-size: 1.125rem;
    }
    
    .service-detail-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .service-sidebar {
        position: static;
        order: -1;
    }
}

@media (max-width: 768px) {
    .service-hero {
        min-height: 50vh;
        padding: 90px 0 30px;
        text-align: center;
    }
    
    .service-hero-badge {
        font-size: 0.8rem;
        padding: 0.4rem 1.2rem;
        margin-bottom: 1rem;
    }
    
    .service-hero-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
        margin-bottom: 1.5rem;
    }
    
    .service-hero-description {
        font-size: 1rem;
        margin-bottom: 2.5rem;
    }
    
    .service-hero-actions {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .service-hero-actions .btn-primary,
    .service-hero-actions .btn-secondary {
        width: 100%;
        max-width: 300px;
        padding: 16px 28px;
        font-size: 1rem;
        min-width: auto;
    }
    
    .breadcrumb-nav {
        font-size: 0.8rem;
    }
    
    .service-detail-section {
        padding: 0;
    }
    
    .detail-content {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .detail-content h3 {
        font-size: 1.25rem;
        margin: 1.5rem 0 0.75rem;
    }
    
    .detail-content h3:first-child {
        margin-top: 0;
    }
    
    .detail-content li {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        padding: 1rem;
    }
    
    .detail-content li i {
        align-self: flex-start;
    }
    
    .service-sidebar {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .sidebar-title {
        font-size: 1.125rem;
    }
    
    .contact-item {
        padding: 1rem;
    }
    
    .sidebar-cta {
        padding: 1.25rem;
    }
}

@media (max-width: 480px) {
    .service-hero {
        padding: 80px 0 20px;
    }
    
    .service-hero-badge {
        font-size: 0.75rem;
        padding: 0.35rem 1rem;
    }
    
    .service-hero-title {
        font-size: clamp(1.6rem, 7vw, 2.2rem);
        margin-bottom: 1.25rem;
    }
    
    .service-hero-description {
        font-size: 0.95rem;
        margin-bottom: 2rem;
    }
    
    .service-hero-actions .btn-primary,
    .service-hero-actions .btn-secondary {
        padding: 14px 24px;
        font-size: 0.95rem;
        max-width: 280px;
    }
    
    .detail-content {
        padding: 1.25rem;
    }
    
    .detail-content h3 {
        font-size: 1.125rem;
    }
    
    .detail-content p {
        font-size: 0.9rem;
    }
    
    .service-sidebar {
        padding: 1.25rem;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .btn-sidebar-cta {
        padding: 1rem;
        font-size: 0.875rem;
    }
}


/* Service Pages - Additional Elements */
.process-steps {
    margin: 2rem 0;
}

.step {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--gray-50);
    border-radius: 12px;
    border-left: 4px solid var(--primary);
    transition: var(--transition);
}

.step:hover {
    background: rgba(59, 130, 246, 0.05);
    transform: translateX(4px);
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--gradient);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.step-content h4 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.step-content p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* Service Sidebar Enhancements */
.sidebar-section .contact-item a {
    color: inherit;
    text-decoration: none;
}

.sidebar-section .contact-item:hover a {
    color: white;
}

/* Dark Theme for Service Page Elements */
[data-theme="dark"] .step {
    background: #222222;
    border-left-color: #3b82f6;
}

[data-theme="dark"] .step:hover {
    background: rgba(59, 130, 246, 0.1);
}

[data-theme="dark"] .step-number {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
}

/* Service Pages Mobile Enhancements */
@media (max-width: 768px) {
    .step {
        flex-direction: column;
        gap: 1rem;
        padding: 1.25rem;
    }
    
    .step-number {
        align-self: flex-start;
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .step-content h4 {
        font-size: 1rem;
    }
    
    .step-content p {
        font-size: 0.875rem;
    }
}

@media (max-width: 480px) {
    .process-steps {
        margin: 1.5rem 0;
    }
    
    .step {
        padding: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .step-number {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }
    
    .step-content h4 {
        font-size: 0.95rem;
    }
    
    .step-content p {
        font-size: 0.85rem;
    }
}
/* Footer Logo Text Styles */
.footer-brand-text-container {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.footer-brand-text-main {
    font-size: 1.125rem;
    font-weight: 800;
    color: white;
    letter-spacing: 0.05em;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.footer-brand-text-sub {
    font-size: 1.125rem;
    font-weight: 800;
    color: white;
    letter-spacing: 0.05em;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Footer Logo Responsive */
@media (max-width: 768px) {
    .footer-brand-text-main,
    .footer-brand-text-sub {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .footer-brand-text-main,
    .footer-brand-text-sub {
        font-size: 0.875rem;
    }
    
    .footer-logo .footer-logo-image {
        height: 45px;
        padding: 8px;
    }
}

/* ===================================
   WebP Image Optimization
   =================================== */

/* Picture element optimization */
.service-image-container picture {
    display: block;
    width: 100%;
    height: 100%;
}

.service-image-container picture,
.service-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

/* WebP Support Detection */
.webp .service-image-container picture source[type="image/webp"] {
    display: block;
}

.no-webp .service-image-container picture source[type="image/webp"] {
    display: none;
}

/* Loading state for images */
.service-image-container img:not([src]) {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: imageLoading 1.5s infinite;
}

@keyframes imageLoading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Image fade-in effect */
.service-image-container img {
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.service-image-container img.loaded,
.service-image-container img[complete] {
    opacity: 1;
}

/* Preload critical images */
.service-image-container img[loading="eager"] {
    opacity: 1;
}

/* Performance optimizations */
.service-image-container {
    contain: layout style paint;
    will-change: transform;
}

/* Dark theme adjustments */
[data-theme="dark"] .service-image-container img:not([src]) {
    background: linear-gradient(90deg, #2a2a2a 25%, #1a1a1a 50%, #2a2a2a 75%);
    background-size: 200% 100%;
}

/* RESPONSIVIDADE LIMPA E FUNCIONAL - VERSÃO FINAL */

/* Mobile Menu Functionality */
@media (max-width: 768px) {
    .header-nav.active {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        z-index: 999;
        overflow-y: auto;
    }
    
    .header-nav.active .mobile-menu-content {
        display: block;
        padding: 2rem;
        padding-top: 80px;
        min-height: 100vh;
    }
    
    .mobile-menu-toggle.active .line:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .mobile-menu-toggle.active .line:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active .line:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }
    
    body.menu-open {
        overflow: hidden;
        position: fixed;
        width: 100%;
    }
}

/* Tablet Responsivo */
@media (max-width: 1024px) {
    .about-content-grid,
    .contact-grid,
    .mission-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .service-card-main {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    
    .service-card-main:nth-child(even) {
        grid-template-columns: 1fr;
    }
    
    .service-image-container {
        height: 250px;
    }
}

/* Mobile Responsivo */
@media (max-width: 768px) {
    /* Header Mobile */
    .header-nav {
        display: none;
    }
    
    .header-actions .btn-header {
        display: none;
    }
    
    /* Hero Mobile */
    .hero-title {
        font-size: 2.2rem !important;
    }
    
    .hero-description {
        font-size: 1rem !important;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .btn-hero {
        width: 100%;
        max-width: 280px;
        min-width: auto;
    }
    
    /* Typography Mobile */
    .section-title {
        font-size: 2rem !important;
    }
    
    .section-description {
        font-size: 1rem !important;
    }
    
    /* Grids Mobile */
    .company-values-grid,
    .services-grid,
    .excellence-grid,
    .why-choose-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    /* Service Cards Mobile */
    .service-card-main {
        display: flex !important;
        flex-direction: column !important;
        grid-template-columns: none !important;
    }
    
    .service-image-container {
        height: 200px;
        order: 1;
    }
    
    .service-content-main {
        order: 2;
        padding: 1.5rem;
    }
    
    .service-card-main:nth-child(even) {
        display: flex !important;
        flex-direction: column !important;
    }
    
    .service-card-main:nth-child(even) .service-image-container {
        order: 1;
    }
    
    .service-card-main:nth-child(even) .service-content-main {
        order: 2;
    }
    
    /* Forms Mobile */
    .form-row {
        grid-template-columns: 1fr !important;
    }
    
    .form-input,
    .form-textarea {
        font-size: 16px; /* Previne zoom no iOS */
    }
    
    /* Footer Mobile */
    .footer-main {
        grid-template-columns: 1fr !important;
        gap: 2rem;
    }
    
    .footer-bottom-content {
        grid-template-columns: 1fr !important;
        text-align: center;
        gap: 1.5rem;
    }
    
    .footer-social {
        order: -1;
    }
}

/* Mobile Pequeno */
@media (max-width: 480px) {
    .header-container,
    .hero-container,
    .about-container-modern,
    .services-container,
    .experience-container,
    .projects-container,
    .contact-container,
    .footer-container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 1.8rem !important;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-stat {
        max-width: 200px;
        margin: 0 auto;
    }
    
    .section-title {
        font-size: 1.5rem !important;
    }
    
    .stats-grid {
        grid-template-columns: 1fr !important;
    }
}

/* CORREÇÃO URGENTE DO HEADER RESPONSIVO */
@media (max-width: 768px) {
    /* Header Mobile - Forçar exibição correta */
    .header-modern {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        background: rgba(255, 255, 255, 0.95) !important;
        backdrop-filter: blur(10px) !important;
        border-bottom: 1px solid var(--gray-200) !important;
        z-index: 1000 !important;
        height: 70px !important;
    }
    
    .header-container {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        height: 70px !important;
        max-width: 1200px !important;
        margin: 0 auto !important;
        padding: 0 20px !important;
    }
    
    /* Logo Mobile */
    .header-brand {
        display: flex !important;
        align-items: center !important;
    }
    
    .header-brand .brand-logo {
        display: flex !important;
        align-items: center !important;
        gap: 1rem !important;
    }
    
    .logo-image {
        height: 40px !important;
        width: auto !important;
        object-fit: contain !important;
        padding: 8px !important;
        background: white !important;
        border: 2px solid #ff8c00 !important;
        border-radius: 8px !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
    }
    
    .brand-text-container {
        display: flex !important;
        flex-direction: column !important;
        line-height: 1.1 !important;
    }
    
    .brand-text-main,
    .brand-text-sub {
        font-size: 0.8rem !important;
        font-weight: 800 !important;
        color: var(--text-dark) !important;
        letter-spacing: 0.05em !important;
    }
    
    /* Menu Desktop - Esconder */
    .header-nav .nav-menu {
        display: none !important;
    }
    
    /* Botões Desktop - Esconder */
    .header-actions .btn-header,
    .theme-toggle {
        display: none !important;
    }
    
    /* Menu Hamburger - Mostrar */
    .mobile-menu-toggle {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        cursor: pointer !important;
        background: transparent !important;
        border: 2px solid rgba(0, 0, 0, 0.3) !important;
        padding: 0.75rem !important;
        border-radius: 12px !important;
        width: 50px !important;
        height: 50px !important;
        transition: var(--transition) !important;
    }
    
    .mobile-menu-toggle:hover {
        border-color: rgba(0, 0, 0, 0.5) !important;
        background: rgba(0, 0, 0, 0.1) !important;
    }
    
    .hamburger-lines {
        display: flex !important;
        flex-direction: column !important;
        gap: 4px !important;
    }
    
    .line {
        width: 20px !important;
        height: 2px !important;
        background: var(--text-dark) !important;
        transition: var(--transition) !important;
        border-radius: 1px !important;
    }
    
    /* Header Actions Mobile */
    .header-actions {
        display: flex !important;
        align-items: center !important;
        gap: 1rem !important;
    }
}

@media (max-width: 480px) {
    .header-container {
        padding: 0 15px !important;
    }
    
    .logo-image {
        height: 35px !important;
        padding: 6px !important;
    }
    
    .brand-text-main,
    .brand-text-sub {
        font-size: 0.7rem !important;
    }
    
    .mobile-menu-toggle {
        width: 45px !important;
        height: 45px !important;
        padding: 0.6rem !important;
    }
    
    .line {
        width: 18px !important;
    }
}
/* CORREÇÃO FINAL DO HEADER - FORÇAR LAYOUT CORRETO */
@media (max-width: 768px) {
    /* Garantir que o header-container tenha o layout correto */
    .header-container {
        display: grid !important;
        grid-template-columns: 1fr auto !important;
        align-items: center !important;
        gap: 1rem !important;
        width: 100% !important;
    }
    
    /* Brand na primeira coluna */
    .header-brand {
        grid-column: 1 !important;
        justify-self: start !important;
    }
    
    /* Menu toggle na segunda coluna */
    .mobile-menu-toggle {
        grid-column: 2 !important;
        justify-self: end !important;
        margin-left: auto !important;
    }
    
    /* Esconder completamente o nav desktop */
    .header-nav {
        display: none !important;
        visibility: hidden !important;
    }
    
    /* Esconder header-actions desktop */
    .header-actions {
        display: none !important;
        visibility: hidden !important;
    }
    
    /* Garantir que o mobile toggle apareça */
    .mobile-menu-toggle {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: relative !important;
        z-index: 1001 !important;
    }
}

/* Adicionar estilos para telas muito pequenas */
@media (max-width: 320px) {
    .header-container {
        padding: 0 10px !important;
    }
    
    .brand-text-main,
    .brand-text-sub {
        font-size: 0.65rem !important;
    }
    
    .logo-image {
        height: 32px !important;
        padding: 4px !important;
    }
    
    .mobile-menu-toggle {
        width: 40px !important;
        height: 40px !important;
        padding: 0.5rem !important;
    }
    
    .line {
        width: 16px !important;
        height: 1.5px !important;
    }
}
/* CORREÇÃO URGENTE DO BANNER - IMAGEM DE FUNDO MOBILE */
@media (max-width: 768px) {
    /* Hero Section Mobile - Garantir imagem de fundo */
    .hero-section {
        min-height: 100vh !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding-top: 70px !important;
        position: relative !important;
        overflow: hidden !important;
    }
    
    /* Imagem de fundo - FORÇAR APARIÇÃO */
    .hero-bg-image {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        background: url('assets/hero-background.svg') center/cover no-repeat !important;
        z-index: 1 !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
    
    /* Overlay - GARANTIR QUE APAREÇA */
    .hero-bg-overlay {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        background: linear-gradient(135deg, rgba(15, 13, 29, 0.85) 0%, rgba(26, 26, 46, 0.75) 50%, rgba(22, 33, 62, 0.85) 100%) !important;
        z-index: 2 !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
    
    /* Conteúdo do Hero - GARANTIR Z-INDEX */
    .hero-content {
        position: relative !important;
        z-index: 3 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        max-width: 900px !important;
        margin: 0 auto !important;
        padding: 2rem 1rem !important;
    }
    
    .hero-container {
        position: relative !important;
        z-index: 3 !important;
        max-width: 1200px !important;
        margin: 0 auto !important;
        padding: 0 20px !important;
    }
    
    .hero-text {
        color: white !important;
        position: relative !important;
        z-index: 3 !important;
    }
}

@media (max-width: 480px) {
    .hero-section {
        min-height: 90vh !important;
        padding-top: 70px !important;
    }
    
    .hero-content {
        padding: 1rem 0.5rem !important;
    }
    
    .hero-container {
        padding: 0 15px !important;
    }
}

/* Fallback caso a imagem SVG não carregue */
@media (max-width: 768px) {
    .hero-bg-image {
        background-color: #0f0d1d !important;
        background-image: 
            linear-gradient(135deg, #0a20c7 0%, #1e3c72 50%, #0f0d1d 100%),
            url('assets/hero-background.svg') !important;
        background-blend-mode: overlay !important;
    }
}
/* CORREÇÃO FINAL - FORÇAR IMAGEM DE FUNDO EM TODOS OS DISPOSITIVOS */
.hero-section {
    background: #0f0d1d !important;
}

.hero-bg-image {
    background-image: url('assets/hero-background.svg') !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-attachment: scroll !important;
}

/* Mobile específico - múltiplas tentativas de carregamento */
@media (max-width: 768px) {
    .hero-bg-image {
        background: 
            url('assets/hero-background.svg') center/cover no-repeat,
            linear-gradient(135deg, #0a20c7 0%, #1e3c72 50%, #0f0d1d 100%) !important;
    }
    
    /* Se SVG falhar, usar JPG como fallback */
    .hero-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: url('assets/photo-1514525253161-7a46d19cd819.jpg') center/cover no-repeat;
        z-index: 0;
        opacity: 0.3;
    }
}

/* ===== MENU MOBILE AVANÇADO ===== */
@media (max-width: 768px) {
    /* Menu Mobile Container */
    .header-nav.active {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        z-index: 9999;
        padding: 0;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        transform: translateX(0);
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .header-nav:not(.active) {
        transform: translateX(-100%);
    }
    
    .header-nav.active .nav-menu {
        display: none;
    }
    
    .header-nav.active .mobile-menu-content {
        display: block;
        padding: 2rem 1.5rem;
        height: 100%;
        padding-top: 80px;
        min-height: 100vh;
        animation: slideInLeft 0.3s ease-out;
    }
    
    /* Menu Toggle Animation */
    .mobile-menu-toggle {
        position: relative;
        z-index: 10000;
        transition: all 0.3s ease;
    }
    
    .mobile-menu-toggle.active {
        background: rgba(255, 255, 255, 0.2);
        border-color: rgba(255, 255, 255, 0.6);
        transform: scale(1.05);
    }
    
    .mobile-menu-toggle.active .line1 {
        transform: rotate(45deg) translate(5px, 5px);
        background: #ef4444;
    }
    
    .mobile-menu-toggle.active .line2 {
        opacity: 0;
        transform: translateX(-20px);
    }
    
    .mobile-menu-toggle.active .line3 {
        transform: rotate(-45deg) translate(6px, -6px);
        background: #ef4444;
    }
    
    /* Menu Content Animations */
    .mobile-nav-menu {
        animation: fadeInUp 0.4s ease-out 0.1s both;
    }
    
    .mobile-nav-item {
        opacity: 0;
        transform: translateX(-20px);
        animation: slideInLeft 0.3s ease-out forwards;
    }
    
    .mobile-nav-item:nth-child(1) { animation-delay: 0.1s; }
    .mobile-nav-item:nth-child(2) { animation-delay: 0.15s; }
    .mobile-nav-item:nth-child(3) { animation-delay: 0.2s; }
    .mobile-nav-item:nth-child(4) { animation-delay: 0.25s; }
    .mobile-nav-item:nth-child(5) { animation-delay: 0.3s; }
    
    .mobile-menu-footer {
        animation: fadeInUp 0.4s ease-out 0.3s both;
    }
    
    /* Body Lock */
    body.menu-open {
        overflow: hidden;
        position: fixed;
        width: 100%;
        height: 100vh;
    }
    
    /* Enhanced Mobile Navigation Links */
    .mobile-nav-link {
        position: relative;
        overflow: hidden;
        border-radius: 12px;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .mobile-nav-link::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.1), transparent);
        transition: left 0.5s ease;
    }
    
    .mobile-nav-link:active::before {
        left: 100%;
    }
    
    .mobile-nav-link:active {
        transform: scale(0.98);
        background: rgba(59, 130, 246, 0.1);
    }
    
    /* Improved Close Button */
    .close-menu-btn {
        position: relative;
        overflow: hidden;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .close-menu-btn::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 0;
        height: 0;
        background: rgba(239, 68, 68, 0.2);
        border-radius: 50%;
        transform: translate(-50%, -50%);
        transition: all 0.3s ease;
    }
    
    .close-menu-btn:active::before {
        width: 100px;
        height: 100px;
    }
    
    /* Dark Theme Mobile Menu */
    [data-theme="dark"] .header-nav.active {
        background: rgba(17, 17, 17, 0.98);
        backdrop-filter: blur(20px);
    }
    
    [data-theme="dark"] .mobile-menu-header {
        border-bottom-color: #2a2a2a;
    }
    
    [data-theme="dark"] .mobile-nav-link {
        color: rgba(255, 255, 255, 0.9);
    }
    
    [data-theme="dark"] .mobile-nav-link:hover,
    [data-theme="dark"] .mobile-nav-link:active {
        background: rgba(59, 130, 246, 0.15);
        color: #ffffff;
    }
    
    [data-theme="dark"] .mobile-theme-toggle {
        background: #2a2a2a;
        border: 1px solid #3a3a3a;
    }
    
    [data-theme="dark"] .mobile-contact-info {
        border-top-color: #2a2a2a;
    }
    
    [data-theme="dark"] .mobile-menu-footer {
        border-top-color: #2a2a2a;
    }
    
    [data-theme="dark"] .close-menu-btn {
        background: rgba(255, 255, 255, 0.1);
        color: #ffffff;
        border: 1px solid rgba(255, 255, 255, 0.2);
    }
    
    [data-theme="dark"] .close-menu-btn:hover {
        background: rgba(239, 68, 68, 0.2);
        color: #ef4444;
        border-color: rgba(239, 68, 68, 0.3);
    }
    
    [data-theme="dark"] .mobile-menu-toggle.active {
        background: rgba(17, 17, 17, 0.8);
        border-color: rgba(59, 130, 246, 0.6);
    }
}

/* ===== ANIMAÇÕES MOBILE ===== */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* ===== MELHORIAS DE PERFORMANCE MOBILE ===== */
@media (max-width: 768px) {
    /* GPU Acceleration */
    .service-card-main,
    .project-card,
    .value-card,
    .why-item,
    .event-card,
    .mobile-nav-link,
    .btn-hero,
    .btn-primary,
    .btn-secondary {
        will-change: transform;
        transform: translateZ(0);
    }
    
    /* Optimized Transitions */
    .service-card-main,
    .project-card,
    .value-card,
    .why-item,
    .event-card {
        transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), 
                    box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    /* Reduced Motion for Better Performance */
    .service-card-main:hover,
    .project-card:hover,
    .value-card:hover,
    .why-item:hover,
    .event-card:hover {
        transform: translateY(-4px) translateZ(0);
    }
    
    /* Image Optimization */
    .service-image-container img,
    .project-image img {
        object-fit: cover;
        width: 100%;
        height: 100%;
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        will-change: transform;
    }
    
    .service-card-main:hover .service-image-container img,
    .project-card:hover .project-image img {
        transform: scale(1.05) translateZ(0);
    }
    
    /* Scroll Performance */
    .services-section,
    .projects-section,
    .about-section-modern,
    .contact-section,
    .credibility-section {
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
        contain: layout style paint;
    }
    
    /* Touch Action Optimization */
    .btn-service-details,
    .btn-service-quote,
    .btn-primary,
    .btn-secondary,
    .btn-hero,
    .mobile-nav-link,
    .contact-method,
    .social-link {
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
        user-select: none;
    }
    
    /* Improved Button Feedback */
    .btn-primary:active,
    .btn-secondary:active,
    .btn-hero:active {
        transform: scale(0.98) translateZ(0);
        transition: transform 0.1s ease;
    }
    
    /* Better Form Controls */
    .form-input,
    .form-select,
    .form-textarea {
        -webkit-appearance: none;
        appearance: none;
        touch-action: manipulation;
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    .form-input:focus,
    .form-select:focus,
    .form-textarea:focus {
        transform: translateZ(0);
        outline: none;
        box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.5);
    }
}

/* ===== MELHORIAS ESPECÍFICAS PARA DIFERENTES DISPOSITIVOS ===== */

/* iPhone SE e dispositivos pequenos */
@media (max-width: 375px) and (max-height: 667px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-stats {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-around;
    }
    
    .hero-stat {
        flex: 0 0 45%;
        margin-bottom: 1rem;
    }
    
    .service-content-main {
        padding: 1.25rem 1rem;
    }
    
    .mobile-menu-content {
        padding: 1.5rem 1rem;
        padding-top: 70px;
    }
}

/* iPad e tablets */
@media (min-width: 768px) and (max-width: 1024px) {
    .services-main-grid {
        gap: 3rem;
    }
    
    .service-card-main {
        max-width: 700px;
        margin: 0 auto;
    }
    
    .hero-stats {
        gap: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Landscape phones */
@media (max-height: 500px) and (orientation: landscape) and (max-width: 900px) {
    .hero-section {
        min-height: 100vh;
        padding-top: 70px;
    }
    
    .hero-content {
        padding: 1rem 0;
    }
    
    .hero-title {
        font-size: 2.2rem;
        margin-bottom: 1rem;
    }
    
    .hero-description {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-stats {
        flex-direction: row;
        gap: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-actions {
        flex-direction: row;
        gap: 1rem;
    }
    
    .btn-hero {
        max-width: 220px;
        padding: 14px 24px;
        font-size: 0.95rem;
    }
}

/* Accessibility improvements for mobile */
@media (max-width: 768px) {
    /* Focus indicators */
    .mobile-nav-link:focus,
    .btn-hero:focus,
    .btn-primary:focus,
    .btn-secondary:focus {
        outline: 2px solid #3b82f6;
        outline-offset: 2px;
    }
    
    /* Reduced motion for users who prefer it */
    @media (prefers-reduced-motion: reduce) {
        .service-card-main,
        .project-card,
        .value-card,
        .why-item,
        .event-card,
        .mobile-nav-link,
        .btn-hero,
        .btn-primary,
        .btn-secondary {
            transition: none;
            animation: none;
        }
        
        .mobile-nav-item {
            animation: none;
            opacity: 1;
            transform: none;
        }
        
        .mobile-menu-content {
            animation: none;
        }
    }
    
    /* High contrast mode support */
    @media (prefers-contrast: high) {
        .service-card-main,
        .event-card,
        .contact-method {
            border: 2px solid;
        }
        
        .btn-primary,
        .btn-secondary,
        .btn-hero {
            border: 2px solid;
        }
    }
}
/* ===== MELHORIAS PARA TECLADO VIRTUAL ===== */
@media (max-width: 768px) {
    /* Keyboard open state */
    body.keyboard-open {
        height: 100vh;
        overflow: hidden;
    }
    
    body.keyboard-open .contact-form-wrapper {
        max-height: 70vh;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    body.keyboard-open .hero-section {
        min-height: 50vh;
    }
    
    /* Input focus improvements */
    .form-input.touched,
    .form-select.touched,
    .form-textarea.touched {
        border-color: var(--primary);
        box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.3);
    }
    
    /* Better error display on mobile */
    .field-error {
        position: relative;
        background: rgba(239, 68, 68, 0.1);
        border: 1px solid rgba(239, 68, 68, 0.3);
        border-radius: 6px;
        padding: 0.5rem 0.75rem;
        margin-top: 0.5rem;
        font-size: 0.875rem;
        line-height: 1.4;
    }
    
    .field-error::before {
        content: '⚠️';
        margin-right: 0.5rem;
    }
    
    /* Improved button states for touch */
    .btn-submit.loading {
        position: relative;
        color: transparent;
    }
    
    .btn-submit.loading::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 20px;
        height: 20px;
        margin: -10px 0 0 -10px;
        border: 2px solid rgba(255, 255, 255, 0.3);
        border-top-color: #ffffff;
        border-radius: 50%;
        animation: spin 1s linear infinite;
    }
    
    @keyframes spin {
        to {
            transform: rotate(360deg);
        }
    }
    
    /* Better select styling on mobile */
    .form-select {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
        background-position: right 12px center;
        background-repeat: no-repeat;
        background-size: 16px 12px;
        padding-right: 40px;
    }
    
    /* Textarea resize handle on mobile */
    .form-textarea {
        resize: vertical;
        min-height: 100px;
    }
    
    /* Focus ring improvements */
    .form-input:focus,
    .form-select:focus,
    .form-textarea:focus {
        outline: none;
        border-color: var(--primary);
        box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
        transform: none; /* Remove transform to prevent layout shifts */
    }
}

/* ===== MELHORIAS ESPECÍFICAS PARA iOS ===== */
@supports (-webkit-touch-callout: none) {
    /* iOS specific styles */
    .form-input,
    .form-select,
    .form-textarea {
        -webkit-appearance: none;
        appearance: none;
        border-radius: 8px; /* iOS rounds corners automatically, so we control it */
    }
    
    /* Fix iOS zoom on input focus */
    .form-input,
    .form-select,
    .form-textarea {
        font-size: 16px !important; /* Prevents zoom */
        transform: translateZ(0); /* Hardware acceleration */
    }
    
    /* iOS safe area handling */
    .mobile-menu-content {
        padding-bottom: env(safe-area-inset-bottom, 20px);
    }
    
    .footer-modern {
        padding-bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
    }
    
    /* iOS scroll bounce fix */
    .mobile-menu-content,
    .contact-form-wrapper {
        -webkit-overflow-scrolling: touch;
    }
}

/* ===== MELHORIAS PARA ANDROID ===== */
@media (max-width: 768px) {
    /* Android specific improvements */
    .btn-primary,
    .btn-secondary,
    .btn-hero {
        -webkit-tap-highlight-color: transparent;
    }
    
    /* Better touch targets */
    .mobile-nav-link,
    .contact-method,
    .social-link {
        min-height: 48px;
        min-width: 48px;
    }
    
    /* Improved ripple effect for Android */
    .btn-primary,
    .btn-secondary {
        position: relative;
        overflow: hidden;
    }
    
    .btn-primary::before,
    .btn-secondary::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 0;
        height: 0;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.3);
        transform: translate(-50%, -50%);
        transition: width 0.3s ease, height 0.3s ease;
    }
    
    .btn-primary:active::before,
    .btn-secondary:active::before {
        width: 300px;
        height: 300px;
    }
}

/* ===== MELHORIAS DE ACESSIBILIDADE MOBILE ===== */
@media (max-width: 768px) {
    /* High contrast mode */
    @media (prefers-contrast: high) {
        .service-card-main,
        .event-card,
        .contact-method,
        .form-input,
        .form-select,
        .form-textarea {
            border: 2px solid;
        }
        
        .btn-primary,
        .btn-secondary,
        .btn-hero {
            border: 2px solid;
            font-weight: 700;
        }
    }
    
    /* Reduced motion preferences */
    @media (prefers-reduced-motion: reduce) {
        .service-card-main,
        .project-card,
        .value-card,
        .why-item,
        .event-card,
        .mobile-nav-link,
        .btn-hero,
        .btn-primary,
        .btn-secondary {
            transition: none;
            animation: none;
        }
        
        .mobile-nav-item {
            animation: none;
            opacity: 1;
            transform: none;
        }
        
        .mobile-menu-content {
            animation: none;
        }
        
        .service-image-container img,
        .project-image img {
            transition: none;
        }
        
        .service-card-main:hover .service-image-container img,
        .project-card:hover .project-image img {
            transform: none;
        }
    }
    
    /* Focus management improvements */
    .mobile-nav-link:focus,
    .btn-hero:focus,
    .btn-primary:focus,
    .btn-secondary:focus,
    .form-input:focus,
    .form-select:focus,
    .form-textarea:focus {
        outline: 2px solid var(--primary);
        outline-offset: 2px;
        z-index: 1;
    }
    
    /* Screen reader improvements */
    .sr-only {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border: 0;
    }
    
    /* Skip link for mobile */
    .skip-link {
        position: absolute;
        top: -40px;
        left: 6px;
        background: var(--primary);
        color: white;
        padding: 8px 16px;
        text-decoration: none;
        border-radius: 4px;
        z-index: 10001;
        transition: top 0.3s;
        font-size: 14px;
        font-weight: 600;
    }
    
    .skip-link:focus {
        top: 6px;
    }
}

/* ===== OTIMIZAÇÕES DE PERFORMANCE MOBILE ===== */
@media (max-width: 768px) {
    /* Contain layout shifts */
    .service-card-main,
    .event-card,
    .contact-method {
        contain: layout style paint;
    }
    
    /* Optimize images for mobile */
    .service-image-container img,
    .project-image img,
    .logo-image,
    .footer-logo-image {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
        backface-visibility: hidden;
        transform: translateZ(0);
    }
    
    /* Optimize animations */
    .service-card-main,
    .project-card,
    .value-card,
    .why-item,
    .event-card {
        will-change: transform;
        backface-visibility: hidden;
    }
    
    /* Remove will-change after animation */
    .service-card-main:not(:hover),
    .project-card:not(:hover),
    .value-card:not(:hover),
    .why-item:not(:hover),
    .event-card:not(:hover) {
        will-change: auto;
    }
    
    /* Optimize scroll performance */
    .services-section,
    .projects-section,
    .about-section-modern,
    .contact-section,
    .credibility-section {
        contain: layout style;
        transform: translateZ(0);
    }
}

/* ===== DARK MODE MOBILE OPTIMIZATIONS ===== */
@media (max-width: 768px) {
    [data-theme="dark"] .form-input,
    [data-theme="dark"] .form-select,
    [data-theme="dark"] .form-textarea {
        background: #1a1a1a;
        border-color: #2a2a2a;
        color: #ffffff;
    }
    
    [data-theme="dark"] .form-input:focus,
    [data-theme="dark"] .form-select:focus,
    [data-theme="dark"] .form-textarea:focus {
        border-color: #3b82f6;
        background: #222222;
        box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
    }
    
    [data-theme="dark"] .field-error {
        background: rgba(239, 68, 68, 0.2);
        border-color: rgba(239, 68, 68, 0.4);
        color: #fca5a5;
    }
    
    [data-theme="dark"] .mobile-menu-content {
        background: rgba(17, 17, 17, 0.98);
    }
    
    [data-theme="dark"] .skip-link {
        background: #3b82f6;
        color: #ffffff;
    }
}
/* ===== DEBUG E FALLBACKS PARA HERO BACKGROUND ===== */

/* Garantir que a imagem de fundo apareça */
.hero-bg-image {
    background-image: url('assets/hero-background.svg') !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-attachment: fixed !important;
}

/* Fallback para mobile (sem fixed attachment) */
@media (max-width: 768px) {
    .hero-bg-image {
        background-attachment: scroll !important;
        background: 
            url('assets/hero-background.svg') center/cover no-repeat,
            url('assets/photo-1514525253161-7a46d19cd819.jpg') center/cover no-repeat,
            linear-gradient(135deg, #0a20c7, #1e3c72) !important;
    }
}

/* Fallback caso SVG não carregue */
.hero-bg-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('assets/photo-1514525253161-7a46d19cd819.jpg') center/cover no-repeat;
    z-index: -1;
    opacity: 0.8;
}

/* Debug - remover após confirmar funcionamento */
.hero-section {
    background-color: #0a20c7 !important; /* Cor de fundo de emergência */
}

/* Ajustar overlay para mostrar mais da imagem */
.hero-bg-overlay {
    background: linear-gradient(135deg, rgba(15, 13, 29, 0.6) 0%, rgba(26, 26, 46, 0.5) 50%, rgba(22, 33, 62, 0.6) 100%) !important;
}

/* Dark theme adjustments */
[data-theme="dark"] .hero-bg-overlay {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(17, 17, 17, 0.6) 50%, rgba(34, 34, 34, 0.7) 100%) !important;
}
/* ===== CORREÇÃO FINAL HERO BACKGROUND - FORÇAR APARIÇÃO ===== */
.hero-section {
    background: #0a20c7 !important; /* Cor de fundo de emergência */
}

.hero-bg-image {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background-image: url('assets/hero-background.svg') !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    z-index: 1 !important;
    opacity: 1 !important;
}

/* Overlay mais transparente para mostrar a imagem */
.hero-bg-overlay {
    background: linear-gradient(135deg, rgba(15, 13, 29, 0.4) 0%, rgba(26, 26, 46, 0.3) 50%, rgba(22, 33, 62, 0.4) 100%) !important;
    z-index: 2 !important;
}

/* Garantir que o conteúdo fique acima */
.hero-container {
    position: relative !important;
    z-index: 10 !important;
}

.hero-content {
    position: relative !important;
    z-index: 11 !important;
}

/* Teste alternativo - usar a imagem JPG se SVG falhar */
@supports not (background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg"></svg>')) {
    .hero-bg-image {
        background-image: url('assets/photo-1514525253161-7a46d19cd819.jpg') !important;
    }
}
