/* Bottom right floating tools group */
.home-bottom-right-tools {
    position: fixed;
    right: 1.5rem;
    bottom: 1.5rem;
    display: flex;
    flex-direction: row;
    gap: 0.75rem;
    z-index: 1001;
        align-items: center;
}

.home-bottom-right-tools .home-whatsapp-button {
    position: static;
    margin: 0;
    background: #25d366 !important;
    color: #fff !important;
    box-shadow: 0 10px 22px rgba(37, 211, 102, 0.38);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 50px !important;
    width: 50px !important;
    min-width: 50px;
    min-height: 50px;
    border-radius: 50%;
    font-size: 1.25rem;
}

.home-bottom-right-tools .back-to-top {
    position: static;
    margin: 0;
}

@media (max-width: 600px) {
    .home-bottom-right-tools {
        right: 0.85rem;
        bottom: 1.15rem;
        gap: 0.5rem;
    }
}
/* ============================================
   MAXIMAL ENERGY - MODERN DESIGN SYSTEM
   Premium Corporate Website Stylesheet
   ============================================ */

/* CSS Variables - Design Tokens */
:root {
    --primary: #0a4d68;
    --primary-light: #088395;
    --primary-dark: #053b50;
    --accent: #e63946;
    --accent-light: #f4a261;
    --gold: #d4a574;
    --dark: #0f172a;
    --dark-secondary: #1e293b;
    --dark-tertiary: #334155;
    --light: #f8fafc;
    --light-secondary: #e2e8f0;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --text-light: #94a3b8;
    --white: #ffffff;
    --black: #000000;
    --success: #10b981;
    --warning: #f59e0b;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    --gradient-dark: linear-gradient(135deg, var(--dark) 0%, var(--dark-secondary) 100%);
    --gradient-accent: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
    --gradient-gold: linear-gradient(135deg, var(--gold) 0%, #c9a96e 100%);

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    --shadow-glow: 0 0 40px rgba(10, 77, 104, 0.3);
    --shadow-glow-accent: 0 0 40px rgba(230, 57, 70, 0.3);

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    --space-3xl: 6rem;

    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --radius-full: 9999px;

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    --transition-bounce: 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-primary);
    background: var(--light);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-base);
}

ul {
    list-style: none;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 800;
    text-align: center;
    margin-bottom: var(--space-sm);
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--gradient-accent);
    border-radius: var(--radius-full);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    text-align: center;
    max-width: 600px;
    margin: var(--space-lg) auto var(--space-2xl);
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

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

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

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

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.animate-delay-1 { transition-delay: 0.1s; }
.animate-delay-2 { transition-delay: 0.2s; }
.animate-delay-3 { transition-delay: 0.3s; }
.animate-delay-4 { transition-delay: 0.4s; }
.animate-delay-5 { transition-delay: 0.5s; }

/* ============================================
   TOP BAR
   ============================================ */
.top-bar {
    background: var(--dark);
    color: var(--white);
    padding: 0.5rem 0;
    font-size: 0.875rem;
    position: relative;
    z-index: 1001;
}

.top-bar-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left {
    display: flex;
    gap: var(--space-md);
    align-items: center;
}

.top-bar-left a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
    transition: var(--transition-base);
}

.top-bar-left a:hover {
    color: var(--accent-light);
}

.top-bar-right {
    display: flex;
    gap: var(--space-sm);
    align-items: center;
}

.lang-flag {
    width: 24px;
    height: 16px;
    border-radius: 2px;
    cursor: pointer;
    opacity: 0.7;
    transition: var(--transition-base);
}

.lang-flag:hover {
    opacity: 1;
    transform: scale(1.1);
}

.social-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-full);
    background: rgba(255,255,255,0.1);
    color: var(--white);
    transition: var(--transition-base);
}

.social-icon:hover {
    background: var(--accent);
    transform: translateY(-2px);
}

/* ============================================
   HEADER / NAVIGATION
   ============================================ */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    transition: var(--transition-base);
}

.header.scrolled {
    box-shadow: var(--shadow-lg);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.logo img {
    height: 50px;
    width: auto;
    transition: var(--transition-base);
}

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

.nav-menu {
    display: flex;
    gap: var(--space-xs);
    align-items: center;
}

.nav-link {
    padding: 0.5rem 1rem;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-primary);
    position: relative;
    border-radius: var(--radius-md);
    transition: var(--transition-base);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 60%;
    height: 2px;
    background: var(--accent);
    transition: var(--transition-base);
    border-radius: var(--radius-full);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
    background: rgba(10, 77, 104, 0.05);
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: translateX(-50%) scaleX(1);
}

.nav-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    padding: 0.5rem;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition-base);
    border: 1px solid var(--light-secondary);
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    color: var(--text-primary);
    transition: var(--transition-base);
}

.dropdown-item:hover {
    background: var(--light);
    color: var(--primary);
    padding-left: 1.25rem;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 0.5rem;
    background: none;
    border: none;
}

.mobile-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--dark);
    transition: var(--transition-base);
    border-radius: var(--radius-full);
}

.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--dark);
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(5, 59, 80, 0.9) 0%, rgba(15, 23, 42, 0.8) 100%);
    z-index: 2;
}

.hero-particles {
    position: absolute;
    inset: 0;
    z-index: 3;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.hero-content {
    position: relative;
    z-index: 4;
    text-align: center;
    max-width: 900px;
    padding: var(--space-xl);
    animation: fadeInUp 1s ease-out;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    color: var(--accent-light);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: var(--space-lg);
    backdrop-filter: blur(10px);
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 900;
    color: var(--white);
    margin-bottom: var(--space-md);
    line-height: 1.1;
}

.hero-title span {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--space-xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    border: none;
    cursor: pointer;
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transform: translateX(-100%);
    transition: var(--transition-slow);
}

.btn:hover::before {
    transform: translateX(100%);
}

.btn-primary {
    background: var(--gradient-accent);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(230, 57, 70, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(230, 57, 70, 0.5);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
    transform: translateY(-3px);
}

.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: fadeInUp 1s ease-out 0.5s both;
}

.scroll-indicator {
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-full);
    position: relative;
}

.scroll-indicator::after {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--accent);
    border-radius: var(--radius-full);
    animation: float 2s ease-in-out infinite;
}

/* ============================================
   SERVICE CARDS (Hero bottom)
   ============================================ */
.service-cards {
    position: relative;
    z-index: 5;
    margin-top: -80px;
    padding: 0 var(--space-lg);
}

.service-cards-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.service-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    box-shadow: var(--shadow-xl);
    text-align: center;
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--light-secondary);
}

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

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

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

.service-card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--space-md);
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--white);
    transition: var(--transition-base);
}

.service-card:hover .service-card-icon {
    transform: rotateY(360deg);
    transition: transform 0.6s ease;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: var(--space-sm);
    color: var(--dark);
}

.service-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: var(--space-md);
}

.service-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
}

.service-card-link:hover {
    gap: 0.75rem;
    color: var(--accent);
}

/* ============================================
   SECTIONS GENERAL
   ============================================ */
.section {
    padding: var(--space-3xl) var(--space-lg);
    position: relative;
}

.section-dark {
    background: var(--dark);
    color: var(--white);
}

.section-dark .section-title {
    color: var(--white);
}

.section-dark .section-subtitle {
    color: var(--text-light);
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

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

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.about-images {
    position: relative;
}

.about-img-main {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    position: relative;
}

.about-img-main img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    transition: var(--transition-slow);
}

.about-img-main:hover img {
    transform: scale(1.05);
}

.about-img-secondary {
    position: absolute;
    bottom: -40px;
    right: -40px;
    width: 250px;
    height: 250px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 5px solid var(--white);
    z-index: 2;
}

.about-img-secondary img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-experience-badge {
    position: absolute;
    top: 20px;
    left: -20px;
    background: var(--gradient-accent);
    color: var(--white);
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    z-index: 3;
}

.about-experience-badge .years {
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1;
}

.about-experience-badge .text {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-content h2 {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    margin-bottom: var(--space-md);
    color: var(--dark);
}

.about-content h2 span {
    color: var(--primary);
}

.about-content p {
    color: var(--text-secondary);
    margin-bottom: var(--space-md);
    font-size: 1.05rem;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
    margin-top: var(--space-lg);
}

.about-feature {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
}

.about-feature-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: rgba(10, 77, 104, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.25rem;
}

.about-feature h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
    color: var(--dark);
}

.about-feature p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin: 0;
}

/* ============================================
   STATS COUNTER SECTION
   ============================================ */
.stats-section {
    background: var(--gradient-primary);
    padding: var(--space-3xl) var(--space-lg);
    position: relative;
    overflow: hidden;
}

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

.stats-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-xl);
    position: relative;
    z-index: 1;
}

.stat-item {
    text-align: center;
    color: var(--white);
    padding: var(--space-lg);
    position: relative;
}

.stat-item::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 60%;
    background: rgba(255, 255, 255, 0.2);
}

.stat-item:last-child::after {
    display: none;
}

.stat-number {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    line-height: 1;
    margin-bottom: var(--space-xs);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
}

.stat-number .counter {
    display: inline-block;
}

.stat-label {
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
}

.company-highlights-section .highlights-grid {
    grid-template-columns: repeat(3, minmax(220px, 1fr));
}

.company-highlights-section .stat-number {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
}

.company-highlights-section .stat-label {
    font-size: 0.95rem;
    text-transform: none;
    letter-spacing: 0;
    line-height: 1.45;
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.service-item {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    border: 1px solid var(--light-secondary);
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
}

.service-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 0;
    background: var(--gradient-primary);
    transition: var(--transition-base);
    border-radius: 0 0 var(--radius-xl) var(--radius-xl);
}

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

.service-item:hover::after {
    height: 4px;
}

.service-item:hover .service-icon {
    background: var(--gradient-accent);
    transform: scale(1.1) rotate(5deg);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.75rem;
    margin-bottom: var(--space-md);
    transition: var(--transition-base);
}

.service-item h3 {
    font-size: 1.25rem;
    margin-bottom: var(--space-sm);
    color: var(--dark);
}

.service-item p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* ============================================
   PROJECTS / PORTFOLIO
   ============================================ */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-sm);
}

.project-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
}

.project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.project-card:hover img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(5, 59, 80, 0.95) 0%, transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: var(--space-lg);
    opacity: 0;
    transition: var(--transition-base);
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-overlay h4 {
    color: var(--white);
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
    transform: translateY(20px);
    transition: var(--transition-base);
}

.project-overlay p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
    transform: translateY(20px);
    transition: var(--transition-base);
    transition-delay: 0.1s;
}

.project-card:hover .project-overlay h4,
.project-card:hover .project-overlay p {
    transform: translateY(0);
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials-slider {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

.testimonial-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--light-secondary);
    text-align: center;
    margin: var(--space-md);
}

.testimonial-stars {
    color: #fbbf24;
    font-size: 1.25rem;
    margin-bottom: var(--space-md);
}

.testimonial-text {
    font-size: 1.1rem;
    color: var(--text-primary);
    font-style: italic;
    margin-bottom: var(--space-lg);
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-full);
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 700;
}

.testimonial-info h4 {
    font-size: 1.1rem;
    color: var(--dark);
    margin-bottom: 0.25rem;
}

.testimonial-info p {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* ============================================
   GALLERY
   ============================================ */
.gallery-filter {
    display: flex;
    justify-content: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-xl);
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--light-secondary);
    background: var(--white);
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition-base);
    color: var(--text-secondary);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--gradient-accent);
    border-color: var(--accent);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-sm);
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
    transition: var(--transition-base);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 77, 104, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-base);
}

.gallery-item:hover .gallery-item-overlay {
    opacity: 1;
}

.gallery-item-overlay i {
    color: var(--white);
    font-size: 2rem;
    transform: scale(0);
    transition: var(--transition-bounce);
}

.gallery-item:hover .gallery-item-overlay i {
    transform: scale(1);
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
}

.contact-info h2 {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    margin-bottom: var(--space-md);
}

.contact-info > p {
    color: var(--text-secondary);
    margin-bottom: var(--space-xl);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    padding: var(--space-md);
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--light-secondary);
    transition: var(--transition-base);
}

.contact-detail:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.contact-detail-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.25rem;
}

.contact-detail h4 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
    color: var(--dark);
}

.contact-detail p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.contact-form-wrapper {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--light-secondary);
}

.form-group {
    margin-bottom: var(--space-md);
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--dark);
}

.form-group label .required {
    color: var(--accent);
}

.form-control {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--light-secondary);
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition-base);
    background: var(--light);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(10, 77, 104, 0.1);
    background: var(--white);
}

.form-control::placeholder {
    color: var(--text-light);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

select.form-control {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2364748b' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
}

.contact-form-status {
    margin-bottom: var(--space-md);
    padding: 0.875rem 1rem;
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    line-height: 1.5;
    border: 1px solid transparent;
}

.contact-form-status.is-success {
    background: #ecfdf5;
    color: #065f46;
    border-color: #a7f3d0;
}

.contact-form-status.is-error {
    background: #fef2f2;
    color: #991b1b;
    border-color: #fecaca;
}

.contact-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.form-submit {
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
    margin-top: var(--space-sm);
}

.form-submit:disabled {
    opacity: 0.8;
    cursor: not-allowed;
}

.map-container {
    margin-top: var(--space-3xl);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    height: 450px;
}

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

/* ============================================
   PROCESS SECTION
   ============================================ */
.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-xl);
    position: relative;
}

.process-grid::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 12.5%;
    right: 12.5%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    z-index: 0;
}

.process-step {
    text-align: center;
    position: relative;
    z-index: 1;
}

.process-step-number {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--space-md);
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.75rem;
    font-weight: 900;
    box-shadow: var(--shadow-lg);
    position: relative;
    border: 4px solid var(--white);
}

.process-step h3 {
    font-size: 1.25rem;
    margin-bottom: var(--space-xs);
    color: var(--white);
}

.process-step p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* ============================================
   DESIGN PAGE SPECIFIC
   ============================================ */
.software-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
}

.software-card {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: var(--space-lg);
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: var(--space-lg);
    border: 1px solid var(--light-secondary);
    transition: var(--transition-base);
    align-items: center;
}

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

.software-card-img {
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 150px;
}

.software-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.software-card h3 {
    font-size: 1.25rem;
    margin-bottom: var(--space-xs);
    color: var(--primary);
}

.software-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* ============================================
   BUILD PAGE SPECIFIC
   ============================================ */
.build-types {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.build-type-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-base);
    border: 1px solid var(--light-secondary);
}

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

.build-type-img {
    height: 220px;
    overflow: hidden;
}

.build-type-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.build-type-card:hover .build-type-img img {
    transform: scale(1.1);
}

.build-type-content {
    padding: var(--space-lg);
}

.build-type-content h3 {
    font-size: 1.25rem;
    margin-bottom: var(--space-sm);
    color: var(--dark);
}

.build-type-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.value-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    text-align: center;
    border: 1px solid var(--light-secondary);
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
}

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

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

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

.value-card i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: var(--space-md);
    display: block;
}

.value-card h3 {
    font-size: 1.25rem;
    margin-bottom: var(--space-sm);
    color: var(--dark);
}

.value-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* ============================================
   SYSTEM PAGE SPECIFIC
   ============================================ */
.service-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
    margin-bottom: var(--space-3xl);
}

.service-detail.reverse {
    direction: rtl;
}

.service-detail.reverse > * {
    direction: ltr;
}

.service-detail-img {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.service-detail-img img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    transition: var(--transition-slow);
}

.service-detail-img:hover img {
    transform: scale(1.05);
}

.service-detail-content h3 {
    font-size: 1.75rem;
    margin-bottom: var(--space-md);
    color: var(--dark);
}

.service-detail-content p {
    color: var(--text-secondary);
    margin-bottom: var(--space-md);
}

.service-detail-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.service-detail-list li {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    color: var(--text-primary);
    font-size: 0.95rem;
}

.service-detail-list li i {
    color: var(--success);
    font-size: 1.1rem;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--dark);
    color: var(--white);
    padding-top: var(--space-3xl);
}

.footer-grid {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.5fr;
    gap: var(--space-3xl);
    padding-bottom: var(--space-3xl);
}

.footer-brand img {
    height: 60px;
    margin-bottom: var(--space-md);
}

.footer-brand p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
}

.footer-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: var(--space-lg);
    color: var(--white);
    position: relative;
    display: inline-block;
}

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

.footer-links {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer-links a {
    color: var(--text-light);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition-base);
}

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

.footer-links a::before {
    content: '›';
    font-size: 1.25rem;
    color: var(--accent);
}

.footer-contact p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: var(--space-sm);
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
}

.footer-contact i {
    color: var(--accent);
    margin-top: 0.25rem;
}

.footer-social {
    display: flex;
    gap: var(--space-sm);
    margin-top: var(--space-md);
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition-base);
}

.footer-social a:hover {
    background: var(--accent);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: var(--space-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.footer-copyright {
    color: var(--text-light);
    font-size: 0.875rem;
}

.visitor-counter {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.visitor-counter-label {
    color: var(--text-light);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.visitor-counter-digits {
    display: flex;
    gap: 4px;
}

.visitor-digit {
    width: 32px;
    height: 40px;
    background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 900;
    color: var(--accent-light);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.3);
}

/* ============================================
   BACK TO TOP
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--gradient-accent);
    color: var(--white);
    border: none;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition-base);
    box-shadow: var(--shadow-lg);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow-accent);
}

/* ============================================
   HOME FLOATING TOOLS
   ============================================ */

.home-floating-tools {
    position: fixed;
    left: 1.5rem;
    bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    z-index: 1000;
    align-items: flex-start;
}

.home-whatsapp-button {
    /* No fixed position here, handled by group container */
}

.home-visitor-chip {
    background: var(--gradient-primary);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius-lg);
    padding: 0.6rem 0.95rem;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(8px);
    min-width: 146px;
}

.home-visitor-label {
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.75);
}

.home-visitor-value {
    font-size: 1.05rem;
    line-height: 1.2;
    font-weight: 800;
    color: #86efac;
}

/* WhatsApp floating arrow-style button */
.home-whatsapp-button {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-accent);
    color: var(--white);
    width: 54px;
    height: 54px;
    border-radius: var(--radius-full);
    font-size: 1.45rem;
    box-shadow: var(--shadow-glow-accent);
    transition: var(--transition-base);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.home-whatsapp-button i {
    font-size: 1.45rem;
    margin: 0;
}

.home-whatsapp-button:hover {
    transform: scale(1.08) translateY(-2px);
    box-shadow: 0 0 32px 0 rgba(230, 57, 70, 0.25);
    background: var(--gradient-accent);
}

/* ============================================
   LOADING SCREEN
   ============================================ */
.loading-screen {
    position: fixed;
    inset: 0;
    background: var(--dark);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: var(--space-lg);
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.loading-logo {
    height: 80px;
    animation: pulse 2s ease-in-out infinite;
}

.loading-bar {
    width: 200px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.loading-bar-fill {
    height: 100%;
    background: var(--gradient-accent);
    border-radius: var(--radius-full);
    animation: loadingProgress 2s ease-in-out forwards;
}

@keyframes loadingProgress {
    from { width: 0; }
    to { width: 100%; }
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1200px) {
    .service-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-cards-grid .service-card:last-child {
        grid-column: span 2;
        max-width: 50%;
        margin: 0 auto;
    }

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

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

    .company-highlights-section .highlights-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat-item::after {
        display: none;
    }
}

@media (max-width: 992px) {
    .mobile-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: var(--space-lg);
        gap: 0;
        box-shadow: var(--shadow-xl);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition-base);
        border-top: 1px solid var(--light-secondary);
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-link {
        padding: 1rem;
        width: 100%;
        text-align: center;
        border-bottom: 1px solid var(--light-secondary);
    }

    .nav-dropdown .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        padding-left: var(--space-lg);
        display: none;
    }

    .nav-dropdown.active .dropdown-menu {
        display: block;
    }

    .about-grid,
    .contact-grid,
    .service-detail {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }

    .about-images {
        order: -1;
    }

    .service-detail.reverse {
        direction: ltr;
    }

    .services-grid,
    .build-types,
    .values-grid,
    .software-grid {
        grid-template-columns: 1fr;
    }

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

    .process-grid::before {
        display: none;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
        text-align: center;
    }

    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-links a {
        justify-content: center;
    }

    .footer-contact p {
        justify-content: center;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: var(--space-md);
        text-align: center;
    }
}

@media (max-width: 768px) {
    .top-bar-left {
        display: none;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .service-cards-grid {
        grid-template-columns: 1fr;
    }

    .service-cards-grid .service-card:last-child {
        grid-column: span 1;
        max-width: 100%;
    }

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

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

    .company-highlights-section .highlights-grid {
        grid-template-columns: 1fr;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .about-img-secondary {
        display: none;
    }

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

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

    .software-card {
        grid-template-columns: 1fr;
    }

    .software-card-img {
        height: 200px;
    }

    .section {
        padding: var(--space-2xl) var(--space-md);
    }

    .home-floating-tools {
        left: 0.85rem;
        bottom: 1.15rem;
    }
    .home-whatsapp-button {
        width: 44px;
        height: 44px;
        font-size: 1.15rem;
    }
    .home-whatsapp-button span {
        display: none;
    }
    .home-visitor-chip {
        min-width: 120px;
        padding: 0.5rem 0.72rem;
    }
}

@media (max-width: 480px) {
    .projects-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .visitor-digit {
        width: 24px;
        height: 32px;
        font-size: 1rem;
    }
}

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

.mt-1 { margin-top: var(--space-xs); }
.mt-2 { margin-top: var(--space-sm); }
.mt-3 { margin-top: var(--space-md); }
.mt-4 { margin-top: var(--space-lg); }
.mt-5 { margin-top: var(--space-xl); }

.mb-1 { margin-bottom: var(--space-xs); }
.mb-2 { margin-bottom: var(--space-sm); }
.mb-3 { margin-bottom: var(--space-md); }
.mb-4 { margin-bottom: var(--space-lg); }
.mb-5 { margin-bottom: var(--space-xl); }

.hidden { display: none !important; }
.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;
}

/* ============================================
   NEW ADDITIONS: PROJECTS, VIDEO VIEWER, RECENT WORKS
   ============================================ */

/* --- Why Partner With Us Section --- */
.partner-section {
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-secondary) 100%);
    padding: var(--space-3xl) var(--space-lg);
    position: relative;
    overflow: hidden;
}

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

.partner-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
    position: relative;
    z-index: 1;
}

.partner-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--white);
    margin-bottom: var(--space-xl);
    position: relative;
    display: inline-block;
}

.partner-content h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--gradient-accent);
    border-radius: var(--radius-full);
}

.partner-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.partner-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    padding: var(--space-md);
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition-base);
}

.partner-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(10px);
    border-color: var(--accent);
}

.partner-item-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: var(--gradient-accent);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.25rem;
}

.partner-item h4 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.partner-item p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

.partner-item ol {
    margin-top: 0.5rem;
    padding-left: 1.25rem;
    color: var(--text-light);
    font-size: 0.9rem;
}

.partner-item ol li {
    margin-bottom: 0.25rem;
}

.partner-visual {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.partner-visual img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    transition: var(--transition-slow);
}

.partner-visual:hover img {
    transform: scale(1.05);
}

/* --- Recent Works Section --- */
.recent-works-section {
    padding: var(--space-3xl) var(--space-lg);
    background: var(--light);
}

.recent-works-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.recent-work-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-base);
    border: 1px solid var(--light-secondary);
    position: relative;
}

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

.recent-work-badge {
    position: absolute;
    top: var(--space-md);
    left: var(--space-md);
    background: var(--gradient-accent);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 2;
}

.recent-work-img {
    height: 240px;
    overflow: hidden;
    position: relative;
}

.recent-work-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.recent-work-card:hover .recent-work-img img {
    transform: scale(1.1);
}

.recent-work-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.3);
    opacity: 0;
    transition: var(--transition-base);
}

.recent-work-card:hover .recent-work-play {
    opacity: 1;
}

.recent-work-play i {
    width: 60px;
    height: 60px;
    background: var(--gradient-accent);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    transform: scale(0.8);
    transition: var(--transition-bounce);
}

.recent-work-card:hover .recent-work-play i {
    transform: scale(1);
}

.recent-work-content {
    padding: var(--space-lg);
}

.recent-work-content h3 {
    font-size: 1.25rem;
    margin-bottom: var(--space-xs);
    color: var(--dark);
}

.recent-work-meta {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-sm);
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.recent-work-meta span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.recent-work-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: var(--space-md);
}

.recent-work-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
}

.recent-work-link:hover {
    gap: 0.75rem;
    color: var(--accent);
}

/* --- Projects Page --- */
.projects-hero {
    min-height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--dark) 0%, var(--primary-dark) 100%);
    position: relative;
    overflow: hidden;
    padding-top: 120px;
}

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

.projects-hero-content {
    text-align: center;
    color: var(--white);
    position: relative;
    z-index: 1;
    padding: var(--space-xl);
}

.projects-hero-content h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: var(--space-md);
}

.projects-hero-content p {
    font-size: 1.125rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* Project Filter Tabs */
.project-tabs {
    display: flex;
    justify-content: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-xl);
    flex-wrap: wrap;
}

.project-tab {
    padding: 0.875rem 1.75rem;
    border: 2px solid var(--light-secondary);
    background: var(--white);
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition-base);
    color: var(--text-secondary);
}

.project-tab:hover,
.project-tab.active {
    background: var(--gradient-primary);
    border-color: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Project Cards (Large) */
.project-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
}

.project-large-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--light-secondary);
    transition: var(--transition-base);
}

.project-large-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-5px);
}

.project-large-card.reverse {
    direction: rtl;
}

.project-large-card.reverse > * {
    direction: ltr;
}

.project-large-img {
    height: 100%;
    min-height: 350px;
    overflow: hidden;
    position: relative;
}

.project-large-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.project-large-card:hover .project-large-img img {
    transform: scale(1.05);
}

.project-large-content {
    padding: var(--space-2xl);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.project-tag {
    display: inline-block;
    padding: 0.375rem 1rem;
    background: rgba(10, 77, 104, 0.1);
    color: var(--primary);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--space-md);
    width: fit-content;
}

.project-large-content h3 {
    font-size: 1.75rem;
    margin-bottom: var(--space-md);
    color: var(--dark);
}

.project-large-content p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: var(--space-lg);
}

.project-stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
    padding: var(--space-md) 0;
    border-top: 1px solid var(--light-secondary);
    border-bottom: 1px solid var(--light-secondary);
}

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

.project-stat .number {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    display: block;
}

.project-stat .label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.project-large-content .btn {
    width: fit-content;
}

/* --- Project Viewer Page --- */
.viewer-hero {
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--dark);
    position: relative;
    overflow: hidden;
    padding-top: 120px;
}

.viewer-hero-bg {
    position: absolute;
    inset: 0;
    opacity: 0.3;
}

.viewer-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.viewer-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, var(--dark) 0%, transparent 100%);
}

.viewer-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    max-width: 900px;
    padding: var(--space-xl);
}

.viewer-hero-content h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: var(--space-md);
}

.viewer-hero-content .project-meta-bar {
    display: flex;
    justify-content: center;
    gap: var(--space-xl);
    flex-wrap: wrap;
    margin-top: var(--space-lg);
}

.viewer-hero-content .meta-item {
    text-align: center;
}

.viewer-hero-content .meta-item .value {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent-light);
}

.viewer-hero-content .meta-item .label {
    font-size: 0.875rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Video Section */
.video-section {
    padding: var(--space-3xl) var(--space-lg);
    background: var(--light);
}

.video-container {
    max-width: 1200px;
    margin: 0 auto;
}

.main-video-player {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    background: var(--dark);
    aspect-ratio: 16/9;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-video-player video,
.main-video-player iframe {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--dark) 0%, var(--primary-dark) 100%);
    cursor: pointer;
    transition: var(--transition-base);
}

.video-placeholder:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--dark) 100%);
}

.video-placeholder i {
    width: 100px;
    height: 100px;
    background: var(--gradient-accent);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: var(--space-lg);
    box-shadow: var(--shadow-glow-accent);
    transition: var(--transition-bounce);
}

.video-placeholder:hover i {
    transform: scale(1.1);
}

.video-placeholder p {
    color: var(--text-light);
    font-size: 1.125rem;
}

.video-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
    margin-top: var(--space-xl);
}

.video-thumb {
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 16/9;
    cursor: pointer;
    position: relative;
    border: 3px solid transparent;
    transition: var(--transition-base);
}

.video-thumb:hover,
.video-thumb.active {
    border-color: var(--accent);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.video-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-thumb-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-base);
}

.video-thumb:hover .video-thumb-overlay {
    background: rgba(0,0,0,0.2);
}

.video-thumb-overlay i {
    color: var(--white);
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    background: var(--gradient-accent);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Project Details */
.project-details-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--space-3xl);
    padding: var(--space-3xl) var(--space-lg);
}

.project-details-content h2 {
    font-size: 2rem;
    margin-bottom: var(--space-md);
    color: var(--dark);
}

.project-details-content p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: var(--space-md);
}

.project-details-content h3 {
    font-size: 1.25rem;
    margin: var(--space-xl) 0 var(--space-md);
    color: var(--dark);
}

.project-details-content ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.project-details-content ul li {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    color: var(--text-primary);
    font-size: 1rem;
}

.project-details-content ul li i {
    color: var(--success);
    font-size: 1.1rem;
}

.project-sidebar {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.sidebar-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--light-secondary);
}

.sidebar-card h4 {
    font-size: 1.1rem;
    margin-bottom: var(--space-md);
    color: var(--dark);
    padding-bottom: var(--space-sm);
    border-bottom: 2px solid var(--light-secondary);
}

.sidebar-stat {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-sm) 0;
    border-bottom: 1px solid var(--light-secondary);
}

.sidebar-stat:last-child {
    border-bottom: none;
}

.sidebar-stat .label {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.sidebar-stat .value {
    color: var(--dark);
    font-weight: 700;
    font-size: 0.95rem;
}

/* Related Projects */
.related-projects {
    padding: var(--space-3xl) var(--space-lg);
    background: var(--light);
}

/* Responsive for new sections */
@media (max-width: 992px) {
    .partner-grid {
        grid-template-columns: 1fr;
    }
    .partner-visual {
        order: -1;
    }
    .recent-works-grid {
        grid-template-columns: 1fr;
    }
    .project-large-card {
        grid-template-columns: 1fr;
    }
    .project-large-card.reverse {
        direction: ltr;
    }
    .project-stats-row {
        grid-template-columns: 1fr;
        gap: var(--space-sm);
    }
    .video-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
    .project-details-grid {
        grid-template-columns: 1fr;
    }
    .viewer-hero-content .project-meta-bar {
        gap: var(--space-md);
    }
}

@media (max-width: 768px) {
    .video-gallery {
        grid-template-columns: 1fr;
    }
    .project-large-content {
        padding: var(--space-lg);
    }
}

/* Recent Works hover effects */
[style*="aspect-ratio: 4/3; cursor: pointer"] > div:last-child {
    opacity: 0 !important;
}
[style*="aspect-ratio: 4/3; cursor: pointer"]:hover > div:last-child {
    opacity: 1 !important;
}
[style*="aspect-ratio: 4/3; cursor: pointer"]:hover img {
    transform: scale(1.1);
}
[style*="aspect-ratio: 4/3; cursor: pointer"] h4,
[style*="aspect-ratio: 4/3; cursor: pointer"] span {
    transform: translateY(10px);
    transition: transform 0.3s ease;
}
[style*="aspect-ratio: 4/3; cursor: pointer"]:hover h4,
[style*="aspect-ratio: 4/3; cursor: pointer"]:hover span {
    transform: translateY(0);
}

/* Project filter active state */
.projects-filter button.active {
    background: var(--gradient-accent) !important;
    border-color: var(--accent) !important;
    color: var(--white) !important;
}
