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

:root {
    --primary-color: #2c3e50;
    --secondary-color: #e74c3c;
    --accent-color: #f39c12;
    --text-color: #333;
    --text-light: #666;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    --gradient: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
}

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

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.navbar {
    padding: 1rem 0;
}

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

.logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.logo i {
    margin-right: 0.5rem;
    color: var(--secondary-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--secondary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: width 0.3s ease;
}

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

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section - Premium Modern Corporate */
.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: white;
}

/* Static Background - NO Parallax */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        #1a252f 0%,     /* Dark Steel */
        #2c3e50 30%,    /* Steel Blue */
        #34495e 70%,    /* Slate */
        #2c3e50 100%);  /* Steel Blue */
    /* PREVENT any transforms */
    transform: none !important;
    will-change: auto;
}

.geometric-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.1;
    /* PREVENT transforms */
    transform: none !important;
    will-change: auto;
}

.shape {
    position: absolute;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.shape-1 {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    top: 10%;
    right: 10%;
    animation: float1 8s ease-in-out infinite;
}

.shape-2 {
    width: 150px;
    height: 150px;
    top: 60%;
    left: 5%;
    transform: rotate(45deg);
    animation: float2 10s ease-in-out infinite;
}

.shape-3 {
    width: 100px;
    height: 100px;
    border-radius: 20px;
    bottom: 20%;
    right: 30%;
    animation: float3 12s ease-in-out infinite;
}

@keyframes float1 {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(180deg); }
}

@keyframes float2 {
    0%, 100% { transform: rotate(45deg) translateY(0px); }
    50% { transform: rotate(225deg) translateY(-20px); }
}

@keyframes float3 {
    0%, 100% { transform: translateY(0px) scale(1); }
    50% { transform: translateY(-15px) scale(1.1); }
}

.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, 
        rgba(231, 76, 60, 0.1) 0%, 
        transparent 50%, 
        rgba(243, 156, 18, 0.1) 100%);
}

/* Hero Container */
.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* Main Content Area */
.hero-main {
    max-width: 600px;
}

.company-brand {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.brand-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 10px 30px rgba(231, 76, 60, 0.3);
    position: relative;
}

.brand-icon::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--secondary-color), var(--accent-color));
    border-radius: 22px;
    z-index: -1;
    filter: blur(8px);
    opacity: 0.7;
}

.company-name {
    font-size: 3rem;
    font-weight: 800;
    margin: 0;
    line-height: 1.1;
}

.primary-text {
    color: white;
}

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

.company-tagline {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0.5rem 0 0 0;
    font-weight: 400;
}

/* Hero Message */
.hero-message {
    margin-bottom: 3rem;
}

.value-proposition {
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1.5rem;
    color: white;
}

.highlight-text {
    color: var(--accent-color);
    position: relative;
}

.highlight-text::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
    animation: underlineGrow 2s ease-in-out infinite;
}

@keyframes underlineGrow {
    0%, 100% { transform: scaleX(1); }
    50% { transform: scaleX(1.1); }
}

.description {
    font-size: 1.1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
}

/* Action Buttons */
.hero-actions {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.btn-primary-modern {
    background: linear-gradient(135deg, var(--secondary-color), #c0392b);
    color: white;
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    font-weight: 600;
    font-size: 1rem;
    box-shadow: 0 8px 25px rgba(231, 76, 60, 0.3);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.btn-primary-modern:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(231, 76, 60, 0.4);
}

.btn-secondary-modern {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

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

.btn-arrow {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.btn-primary-modern:hover .btn-arrow {
    transform: translateX(5px);
}

/* Hero Sidebar */
.hero-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.stats-showcase {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
}

.stats-header h3 {
    font-size: 1.3rem;
    color: white;
    margin-bottom: 1.5rem;
    text-align: center;
    font-weight: 600;
}

.stats-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.stat-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.stat-row:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}

.stat-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
}

.stat-info {
    flex: 1;
}

.stat-number,
.stat-number-fixed {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--accent-color);
    line-height: 1;
    /* NO counter animation */
}

.stat-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 0.2rem;
}

/* Features Showcase */
.features-showcase {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature-highlight {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 1rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.feature-highlight:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.02);
}

.feature-badge {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: white;
}

.feature-badge i {
    color: var(--accent-color);
    font-size: 1.1rem;
}

.feature-badge span {
    font-weight: 500;
    font-size: 0.9rem;
}

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

/* Professional Construction Background */
.particle-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background: 
        radial-gradient(circle at 20% 80%, rgba(52, 73, 94, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(44, 62, 80, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(26, 37, 47, 0.2) 0%, transparent 50%);
    animation: particleFloat 30s ease-in-out infinite;
}

@keyframes particleFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

/* Split Screen Layout */
.hero-split {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    gap: 3rem;
    position: relative;
    z-index: 2;
    align-items: center;
}

/* Left Side - Content */
.hero-left {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    padding: 3rem;
    border-radius: 30px;
    backdrop-filter: blur(20px);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transform: perspective(1000px) rotateY(-5deg);
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.hero-content:hover {
    transform: perspective(1000px) rotateY(0deg) translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

/* Brand Logo */
.brand-logo {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.logo-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--white);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    animation: logoFloat 3s ease-in-out infinite;
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(5deg); }
}

.logo-text .hero-title {
    margin: 0;
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.subtitle-text {
    display: block;
    font-size: 1.2rem;
    font-weight: 400;
    opacity: 0.9;
    margin-top: 0.5rem;
}

/* Hero Description */
.hero-description {
    font-size: 1.2rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.highlight-badge {
    background: linear-gradient(135deg, var(--accent-color), #ff6b6b);
    color: var(--white);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.4);
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Interactive Feature Cards */
.hero-features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.feature-card {
    padding: 1.5rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    transform-style: preserve-3d;
}

.feature-card:hover {
    transform: translateY(-5px) rotateX(10deg);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.feature-card .feature-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    color: var(--white);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.feature-card h4 {
    color: var(--white);
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.feature-card p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    font-size: 0.9rem;
}

/* CTA Buttons */
.hero-cta {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.btn-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    border-radius: inherit;
    filter: blur(20px);
    opacity: 0.3;
    z-index: -1;
    animation: glowPulse 2s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.1); }
}

/* Right Side - Visual */
.hero-right {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* Professional Visual Showcase */
.hero-visual-clean {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.construction-showcase {
    text-align: center;
    padding: 2rem;
}

.main-icon {
    font-size: 6rem;
    color: var(--accent-color);
    margin-bottom: 2rem;
    opacity: 0.9;
}

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

.stat-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 1rem;
    text-align: center;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.stat-title {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.quality-badges {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.badge-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.9);
}

.badge-item i {
    color: var(--accent-color);
}

/* 3D Building Animation */
.building-animation {
    position: relative;
    width: 100%;
    height: 100%;
    max-width: 300px;
    max-height: 300px;
    margin: 0 auto;
    transform-style: preserve-3d;
    animation: buildingRotate 20s linear infinite;
    /* Parallax override fix */
    transform: none !important;
}

@keyframes buildingRotate {
    0% { transform: rotateY(0deg); }
    100% { transform: rotateY(360deg); }
}

.building-layer {
    position: absolute;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.1) 0%, 
        rgba(255, 255, 255, 0.05) 100%);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.layer-1 {
    width: 60px;
    height: 150px;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%) translateZ(0px);
    animation: layerFloat1 4s ease-in-out infinite;
}

.layer-2 {
    width: 80px;
    height: 180px;
    left: 45%;
    top: 45%;
    transform: translateX(-50%) translateY(-50%) translateZ(30px);
    animation: layerFloat2 5s ease-in-out infinite;
}

.layer-3 {
    width: 50px;
    height: 120px;
    left: 55%;
    top: 55%;
    transform: translateX(-50%) translateY(-50%) translateZ(60px);
    animation: layerFloat3 6s ease-in-out infinite;
}

@keyframes layerFloat1 {
    0%, 100% { transform: translateX(-50%) translateY(-50%) translateZ(0px) rotateY(0deg); }
    50% { transform: translateX(-50%) translateY(-60%) translateZ(20px) rotateY(10deg); }
}

@keyframes layerFloat2 {
    0%, 100% { transform: translateX(-50%) translateY(-50%) translateZ(50px) rotateY(0deg); }
    50% { transform: translateX(-40%) translateY(-60%) translateZ(70px) rotateY(-10deg); }
}

@keyframes layerFloat3 {
    0%, 100% { transform: translateX(-50%) translateY(-50%) translateZ(100px) rotateY(0deg); }
    50% { transform: translateX(-60%) translateY(-40%) translateZ(120px) rotateY(15deg); }
}

.crane-animation {
    position: absolute;
    top: 20%;
    right: 20%;
    font-size: 3rem;
    color: var(--accent-color);
    animation: craneWork 3s ease-in-out infinite;
    text-shadow: 0 0 20px rgba(255, 193, 7, 0.5);
}

@keyframes craneWork {
    0%, 100% { transform: rotate(0deg) scale(1); }
    25% { transform: rotate(10deg) scale(1.1); }
    75% { transform: rotate(-10deg) scale(1.1); }
}

/* Floating Stats */


/* Enhanced Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    animation: scrollBounce 2s ease-in-out infinite;
    cursor: pointer;
    z-index: 10;
}

.scroll-arrow {
    width: 50px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.2rem;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.scroll-indicator:hover .scroll-arrow {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.scroll-indicator span {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

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

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient);
    background-size: cover;
    background-position: center;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(44, 62, 80, 0.8);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
    animation: fadeInUp 1s ease;
}

.highlight {
    color: var(--accent-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 3rem;
    animation: fadeInUp 1s ease 0.4s both;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
}

.feature-item i {
    color: var(--accent-color);
    font-size: 1.5rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    animation: fadeInUp 1s ease 0.6s both;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

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

.btn-primary:hover {
    background: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(231, 76, 60, 0.3);
}

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

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

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: var(--white);
    font-size: 1.5rem;
    animation: bounce 2s infinite;
}

/* Section Styles */
section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
    position: relative; /* For underline effect */
    display: inline-block; /* For underline effect */
}

.section-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 60px;
    height: 4px;
    background: var(--accent-color);
    border-radius: 2px;
    transition: width 0.3s ease; /* Smooth transition for hover effect */
}

.section-title:hover::after {
    width: 100px; /* Expand on hover */
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* Services Section */
.services {
    background: var(--bg-light);
    /* Isolate from other sections */
    isolation: isolate;
    position: relative;
    z-index: 5;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    /* CRITICAL: Prevent layout shifts during animations */
    align-items: start;
    position: relative;
    z-index: 10;
    /* Lock grid layout */
    contain: layout;
}

.service-card {
    background: var(--white);
    padding: 3rem 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 4px;
    background: var(--secondary-color);
    transition: left 0.3s ease;
}

.service-card:hover::before {
    left: 0;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    color: var(--white);
    font-size: 2rem;
}

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

.service-card p {
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.service-features {
    list-style: none;
    text-align: left;
}

.service-features li {
    padding: 0.5rem 0;
    color: var(--text-light);
    position: relative;
    padding-left: 1.5rem;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

/* About Section */
.about {
    padding: 80px 0;
    background: var(--light-bg);
    text-align: center;
    position: relative;
    z-index: 5; /* Ensure about section is above other elements */
}

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

.about-text {
    max-width: 100%;
}

.about-text h2 {
    font-size: 2.8rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

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

.about-intro {
    font-size: 1.2rem;
    color: var(--text-color);
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

/* Modern Statistics Showcase */
.modern-stats-showcase {
    margin: 3rem 0;
    padding: 0;
}

.stats-grid-modern {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.modern-stat-card {
    background: var(--white);
    border-radius: 20px;
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    border-left: 4px solid var(--secondary-color);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.modern-stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(231, 76, 60, 0.1), transparent);
    transition: left 0.6s ease;
}

.modern-stat-card:hover::before {
    left: 100%;
}

.modern-stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border-left-color: var(--accent-color);
}

.stat-icon-modern {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 8px 20px rgba(231, 76, 60, 0.3);
    flex-shrink: 0;
}

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

.stat-number-modern {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 0.3rem;
}

.stat-label-modern {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.3rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-description {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.4;
}

/* About Features Section */
.about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.about-feature {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    text-align: left;
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    box-shadow: 0 8px 20px rgba(231, 76, 60, 0.3);
    flex-shrink: 0;
}

.feature-content h4 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.feature-content p {
    font-size: 1rem;
    color: var(--text-color);
    line-height: 1.6;
}

/* Projects Section */
.projects {
    background: var(--bg-light);
}

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

.project-card {
    position: relative;
    height: 300px;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
}

.project-image {
    width: 100%;
    height: 100%;
    background: var(--gradient);
    position: relative;
    transition: transform 0.3s ease;
}

.project-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><rect width="100%" height="100%" fill="%23ecf0f1"/><polygon points="20,20 80,20 80,80 20,80" fill="%232c3e50" opacity="0.1"/><rect x="30" y="30" width="40" height="40" fill="%23e74c3c" opacity="0.2"/></svg>');
    background-size: cover;
    background-position: center;
}

.project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: var(--white);
    padding: 2rem;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

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

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

.project-overlay h4 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.project-overlay p {
    opacity: 0.9;
}

/* Contact Section */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    align-items: flex-start; /* Align items to the top */
}

.contact-info {
    flex: 1;
}

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

.contact-info > p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.contact-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    flex-shrink: 0;
}

.contact-details h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.contact-details p {
    color: var(--text-light);
    line-height: 1.6;
}

.contact-tabs {
    flex: 1.5;
    background: var(--bg-light);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e1e8ed;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
}

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

/* Footer */
.footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 3rem 0 1rem;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-logo i {
    margin-right: 0.5rem;
    color: var(--accent-color);
}

.footer-section h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-section ul li a:hover {
    opacity: 1;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.7;
}

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

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

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-features {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

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

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

    .about-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }

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

    .contact-form {
        padding: 2rem;
    }

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

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

    .section-title {
        font-size: 2rem;
    }

    .stat-item {
        padding: 1rem;
    }

    .stat-number {
        font-size: 2rem;
    }
}

/* Gallery Section */
.gallery {
    background: var(--bg-light);
}

.gallery-filter {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.gallery-btn {
    padding: 0.8rem 1.5rem;
    border: 2px solid var(--primary-color);
    background: transparent;
    color: var(--primary-color);
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.gallery-btn.active,
.gallery-btn:hover {
    background: var(--secondary-color);
    color: var(--white);
    border-color: var(--secondary-color);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    height: 250px;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
}

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

.gallery-image {
    width: 100%;
    height: 100%;
    background: var(--gradient);
    position: relative;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><rect width="100%" height="100%" fill="%23ecf0f1"/><polygon points="30,30 70,30 70,70 30,70" fill="%232c3e50" opacity="0.2"/></svg>');
    background-size: cover;
    background-position: center;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.gallery-overlay i {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.gallery-overlay span {
    font-weight: 500;
    font-size: 1.1rem;
}

/* References Section */
.references-content {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.testimonials-section h3,
.references-partners h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    text-align: center;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    overflow: hidden; /* Prevent content overflow during animation */
}

.testimonial-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    position: relative;
    opacity: 1; /* Always visible */
    transform: translateY(0); /* No initial transform */
    transition: all 0.3s ease; /* Smooth transition for hover effects */
    /* Ensure text is visible against the background */
    color: var(--primary-color); /* Set a readable default text color */
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.testimonial-card.animate {
    opacity: 1;
    transform: translateY(0);
}

.testimonial-card::before {
    content: '\" '; /* Add a space to prevent collision with text */
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 4rem;
    color: var(--secondary-color);
    font-family: serif;
}

.testimonial-stars {
    display: flex;
    justify-content: center;
    color: var(--accent-color); /* Stars color */
    margin-bottom: 1rem;
}

.testimonial-stars i {
    margin: 0 0.2rem;
    font-size: 1.2rem;
}

.testimonial-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-color); /* Testimonial text color */
    margin-bottom: 1.5rem;
}

.testimonial-author {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.testimonial-author h5 {
    font-size: 1.2rem;
    color: var(--primary-color); /* Author name color */
    margin-bottom: 0.3rem;
}

.testimonial-author span {
    font-size: 0.9rem;
    color: var(--text-color-light); /* Author title color */
}

/* Dark Mode Styles for Testimonials */
[data-theme="dark"] .testimonials-section {
    background: var(--dark-background);
}

[data-theme="dark"] .testimonials-section h2 {
    color: var(--dark-primary-color);
}

[data-theme="dark"] .testimonial-card {
    background: var(--dark-card-background);
    box-shadow: var(--dark-shadow);
    color: var(--dark-text-color);
}

[data-theme="dark"] .testimonial-card::before {
    color: var(--dark-secondary-color);
}

[data-theme="dark"] .testimonial-stars {
    color: var(--dark-accent-color);
}

[data-theme="dark"] .testimonial-content p {
    color: var(--dark-text-color);
}

[data-theme="dark"] .testimonial-author {
    border-top-color: var(--dark-border-color);
}

[data-theme="dark"] .testimonial-author h5 {
    color: var(--dark-primary-color);
}

[data-theme="dark"] .testimonial-author span {
    color: var(--dark-text-color-light);
}

/* Responsive adjustments for testimonials */
@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

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

.partner-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.partner-card:hover {
    transform: translateY(-5px);
}

.partner-icon {
    width: 70px;
    height: 70px;
    background: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--white);
    font-size: 1.8rem;
}

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

.partner-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Work Process Section */
.work-process {
    background: var(--bg-light);
}

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

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

.process-step:hover {
    transform: translateY(-5px);
}

.step-number {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background: var(--secondary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
}

.step-content h4 {
    color: var(--primary-color);
    font-weight: 600;
    margin: 1.5rem 0 1rem;
}

.step-content p {
    color: var(--text-light);
    line-height: 1.6;
}

/* FAQ Section */
.faq-content {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border-radius: 10px;
    margin-bottom: 1rem;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem 2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--white);
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: var(--bg-light);
}

.faq-question h4 {
    color: var(--primary-color);
    font-weight: 600;
    margin: 0;
}

.faq-question i {
    color: var(--secondary-color);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

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

.faq-item.active .faq-answer {
    padding: 0 2rem 1.5rem;
    max-height: 200px;
}

.faq-answer p {
    color: var(--text-light);
    line-height: 1.7;
    margin: 0;
}

/* Enhanced Responsive Design */
@media (max-width: 768px) {
    .gallery-filter {
        gap: 0.5rem;
    }
    
    .gallery-btn {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }

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

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

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

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

    .references-content {
        gap: 3rem;
    }

    .testimonial-card,
    .partner-card,
    .process-step {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

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

    .contact-form {
        padding: 1.5rem;
    }

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

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

    .gallery-filter {
        flex-direction: column;
        align-items: center;
    }

    .testimonials-section h3,
    .references-partners h3 {
        font-size: 1.5rem;
    }

    .testimonial-card::before {
        font-size: 3rem;
        top: -5px;
    }

    .faq-question {
        padding: 1.2rem 1.5rem;
    }

    .faq-answer {
        padding: 0 1.5rem;
    }

    .faq-item.active .faq-answer {
        padding: 0 1.5rem 1.2rem;
    }
}

/* Dropdown Menu Styles */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dropdown-toggle i {
    transition: transform 0.3s ease;
    font-size: 0.8rem;
}

.dropdown:hover .dropdown-toggle i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 200px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-radius: 10px;
    padding: 1rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

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

.dropdown-menu li {
    list-style: none;
}

.dropdown-menu a {
    display: block;
    padding: 0.8rem 1.5rem;
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.dropdown-menu a:hover {
    background: var(--bg-light);
    color: var(--secondary-color);
    border-left-color: var(--secondary-color);
}

/* Team Section */
.team {
    background: var(--bg-light);
}

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

.team-member {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.team-member:hover {
    transform: translateY(-10px);
}

.member-photo {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.photo-placeholder {
    width: 100%;
    height: 100%;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 4rem;
}

.member-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(231, 76, 60, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.team-member:hover .member-overlay {
    opacity: 1;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--white);
    color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.social-links a:hover {
    transform: scale(1.1);
}

.member-info {
    padding: 2rem;
    text-align: center;
}

.member-info h4 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.member-info span {
    color: var(--secondary-color);
    font-weight: 500;
    display: block;
    margin-bottom: 1rem;
}

.member-info p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Products Section */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.product-category {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.product-category:hover {
    transform: translateY(-5px);
}

.category-header {
    background: var(--gradient);
    color: var(--white);
    padding: 2rem;
    text-align: center;
}

.category-header i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.category-header h3 {
    font-weight: 600;
    margin: 0;
}

.product-list {
    padding: 1.5rem;
}

.product-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid var(--bg-light);
}

.product-item:last-child {
    border-bottom: none;
}

.product-item span:first-child {
    color: var(--primary-color);
    font-weight: 500;
}

.product-item span:last-child {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Blog Section */
.blog {
    background: var(--bg-light);
}

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

.blog-post {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.blog-post:hover {
    transform: translateY(-5px);
}

.post-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.image-placeholder {
    width: 100%;
    height: 100%;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 3rem;
}

.post-date {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--secondary-color);
    color: var(--white);
    border-radius: 10px;
    padding: 0.5rem;
    text-align: center;
    min-width: 60px;
}

.post-date .day {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
}

.post-date .month {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
}

.post-content {
    padding: 2rem;
}

.post-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

.post-meta span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.post-content h3 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.post-content p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.read-more {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s ease;
}

.read-more:hover {
    gap: 1rem;
}

/* Certificates Section */
.certificates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.certificate-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
    border-top: 4px solid var(--secondary-color);
}

.certificate-card:hover {
    transform: translateY(-5px);
}

.certificate-icon {
    width: 80px;
    height: 80px;
    background: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--white);
    font-size: 2rem;
}

.certificate-card h4 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.certificate-card p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

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

/* Floating Action Buttons */
.floating-actions {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    z-index: 1000;
}

.floating-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--white);
    font-size: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    position: relative;
    animation: float 3s ease-in-out infinite;
}

.floating-btn:hover {
    transform: scale(1.1);
}

.whatsapp-btn {
    background: #25D366;
}

.phone-btn {
    background: var(--secondary-color);
}

.contact-btn {
    background: var(--primary-color);
}

.floating-btn .tooltip {
    position: absolute;
    right: 70px;
    background: var(--primary-color);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 5px;
    font-size: 0.9rem;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.3s ease;
    pointer-events: none;
}

.floating-btn:hover .tooltip {
    opacity: 1;
    transform: translateX(0);
}

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

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background: var(--white);
    margin: 10% auto;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.modal-header {
    padding: 2rem 2rem 1rem;
    border-bottom: 1px solid var(--bg-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    color: var(--primary-color);
    margin: 0;
}

.close {
    font-size: 2rem;
    color: var(--text-light);
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover {
    color: var(--secondary-color);
}

.modal-body {
    padding: 2rem;
}

.quick-contact-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.quick-option {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    text-decoration: none;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.quick-option:hover {
    background: var(--secondary-color);
    color: var(--white);
    transform: translateY(-5px);
}

.quick-option i {
    font-size: 2rem;
    margin-bottom: 1rem;
    display: block;
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.5s ease;
}

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

.loading-logo {
    margin-bottom: 2rem;
}

.loading-logo i {
    font-size: 4rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.loading-logo h3 {
    color: var(--primary-color);
    margin: 0;
}

.loading-spinner {
    margin-bottom: 2rem;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--bg-light);
    border-top: 4px solid var(--secondary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
}

.lightbox-content {
    position: relative;
    margin: auto;
    padding: 0;
    width: 90%;
    max-width: 1200px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    color: var(--white);
    font-size: 2rem;
    cursor: pointer;
    z-index: 10001;
}

#lightbox-image {
    max-width: 100%;
    max-height: 90%;
    object-fit: contain;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 0 2rem;
}

.lightbox-prev,
.lightbox-next {
    background: rgba(0, 0, 0, 0.5);
    color: var(--white);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
    cursor: pointer;
    transition: background 0.3s ease;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: var(--secondary-color);
}

.lightbox-caption {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: var(--white);
    text-align: center;
    background: rgba(0, 0, 0, 0.7);
    padding: 1rem 2rem;
    border-radius: 5px;
}

/* Enhanced Mobile Responsive */
@media (max-width: 768px) {
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: var(--bg-light);
        margin-top: 0.5rem;
    }

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

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

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

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

    .floating-actions {
        bottom: 1rem;
        right: 1rem;
    }

    .floating-btn {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .quick-contact-options {
        grid-template-columns: 1fr;
    }
}

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

    .floating-btn .tooltip {
        display: none;
    }

    .modal-content {
        margin: 20% auto;
        width: 95%;
    }
}

/* Dark Theme Variables */
:root[data-theme="dark"] {
    --primary-color: #3a4f66;
    --secondary-color: #ff6b6b;
    --accent-color: #ffd93d;
    --text-color: #e8e8e8;
    --text-light: #b8b8b8;
    --bg-light: #2a2a2a;
    --white: #1a1a1a;
    --shadow: 0 2px 20px rgba(255, 255, 255, 0.1);
    --gradient: linear-gradient(135deg, #2a2a2a 0%, #3a3a3a 100%);
}

/* Header Controls */
.header-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.theme-toggle {
    width: 40px;
    height: 40px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text-color);
}

.theme-toggle:hover {
    background: var(--secondary-color);
    color: var(--white);
    transform: scale(1.1);
}

.language-selector {
    display: flex;
    gap: 0.5rem;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.5rem 0.8rem;
    border: 2px solid var(--bg-light);
    background: transparent;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text-color);
    font-size: 0.85rem;
}

.lang-btn img {
    width: 16px;
    height: 12px;
    border-radius: 2px;
}

.lang-btn.active,
.lang-btn:hover {
    border-color: var(--secondary-color);
    background: var(--secondary-color);
    color: var(--white);
}

/* Chat Widget */
.chat-btn {
    background: #007bff;
}

.chat-widget {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    width: 350px;
    height: 500px;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    display: none;
    flex-direction: column;
    z-index: 1000;
    animation: slideInLeft 0.3s ease;
}

@keyframes slideInLeft {
    from { transform: translateX(-100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

.chat-header {
    background: var(--gradient);
    color: var(--white);
    padding: 1rem;
    border-radius: 15px 15px 0 0;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.chat-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.5rem;
}

.chat-info h4 {
    margin: 0;
    font-size: 1.1rem;
}

.status {
    font-size: 0.85rem;
    opacity: 0.9;
}

.status.online::before {
    content: '●';
    color: #4caf50;
    margin-right: 0.3rem;
}

.chat-close {
    margin-left: auto;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.chat-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.chat-body {
    flex: 1;
    padding: 1rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.message {
    max-width: 80%;
    animation: messageSlide 0.3s ease;
}

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

.bot-message {
    align-self: flex-start;
}

.user-message {
    align-self: flex-end;
}

.message-content {
    background: var(--bg-light);
    padding: 0.8rem 1rem;
    border-radius: 15px;
    color: var(--text-color);
    line-height: 1.4;
}

.user-message .message-content {
    background: var(--secondary-color);
    color: var(--white);
}

.message-time {
    font-size: 0.75rem;
    color: var(--text-light);
    margin-top: 0.3rem;
    text-align: right;
}

.bot-message .message-time {
    text-align: left;
}

.chat-footer {
    padding: 1rem;
    border-top: 1px solid var(--bg-light);
    display: flex;
    gap: 0.5rem;
}

.chat-input {
    flex: 1;
    padding: 0.8rem;
    border: 1px solid var(--bg-light);
    border-radius: 20px;
    outline: none;
    font-size: 0.9rem;
}

.chat-send {
    width: 40px;
    height: 40px;
    background: var(--secondary-color);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.chat-send:hover {
    background: #c0392b;
}

/* Newsletter Section */
.newsletter {
    background: var(--gradient);
    color: var(--white);
    padding: 4rem 0;
}

.newsletter-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.newsletter-text h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.newsletter-group {
    display: flex;
    gap: 0.5rem;
}

.newsletter-group input {
    flex: 1;
    padding: 1rem;
    border: none;
    border-radius: 10px;
    outline: none;
}

.newsletter-consent {
    margin-top: 1rem;
    font-size: 0.9rem;
}

.newsletter-consent label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

/* Contact Tabs */
.tab-buttons {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.tab-btn {
    flex: 1;
    padding: 1rem;
    border: 2px solid var(--bg-light);
    background: transparent;
    color: var(--text-color);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.tab-btn.active,
.tab-btn:hover {
    border-color: var(--secondary-color);
    background: var(--secondary-color);
    color: var(--white);
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
    animation: fadeInUp 0.5s ease;
}

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

/* Google Maps */
.google-map {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.map-overlay {
    position: absolute;
    top: 2rem;
    left: 2rem;
    background: rgba(255, 255, 255, 0.95);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    max-width: 300px;
}

.map-info h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.map-info p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    border-top: 1px solid var(--bg-light);
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
    z-index: 10000;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.cookie-consent.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.cookie-text {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
}

.cookie-text i {
    font-size: 2rem;
    color: var(--accent-color);
}

.cookie-actions {
    display: flex;
    gap: 1rem;
}

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

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

/* PWA Install Prompt */
.pwa-install {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    z-index: 10000;
    display: none;
    max-width: 400px;
    width: 90%;
    animation: modalSlideIn 0.3s ease;
}

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

.pwa-icon {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.pwa-text h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.pwa-text p {
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.pwa-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Subtle Micro-Animations */
.btn {
    position: relative;
    overflow: hidden;
    transform: translateZ(0);
}

.btn::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.6s ease;
}

.btn:hover::before {
    left: 100%;
}

/* Card Hover Animations */
.service-card,
.project-card,
.team-member,
.blog-post,
.certificate-card {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    will-change: transform;
}

.service-card:hover,
.project-card:hover,
.team-member:hover,
.blog-post:hover,
.certificate-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Floating Animation with Delay */
.floating-btn:nth-child(1) { animation-delay: 0s; }
.floating-btn:nth-child(2) { animation-delay: 0.2s; }
.floating-btn:nth-child(3) { animation-delay: 0.4s; }
.floating-btn:nth-child(4) { animation-delay: 0.6s; }

/* Text Gradient Effect */
.gradient-text {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientShift 3s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% { filter: hue-rotate(0deg); }
    50% { filter: hue-rotate(20deg); }
}

/* Glassmorphism Effects */
.glass-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* Pulse Animation for Important Elements */
.pulse-animation {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Text Typing Effect */
.typing-animation {
    overflow: hidden;
    white-space: nowrap;
    animation: typing 3s steps(40, end), blink-caret 0.75s step-end infinite;
}

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

@keyframes blink-caret {
    from, to { border-color: transparent; }
    50% { border-color: var(--secondary-color); }
}

/* Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    z-index: 10001;
    transition: width 0.1s ease;
}

/* Number Counter Animation */
.counter {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.counter.animate {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger Animation for Lists */
.stagger-animation > * {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.stagger-animation.animate > *:nth-child(1) { transition-delay: 0.1s; }
.stagger-animation.animate > *:nth-child(2) { transition-delay: 0.2s; }
.stagger-animation.animate > *:nth-child(3) { transition-delay: 0.3s; }
.stagger-animation.animate > *:nth-child(4) { transition-delay: 0.4s; }
.stagger-animation.animate > *:nth-child(5) { transition-delay: 0.5s; }
.stagger-animation.animate > *:nth-child(6) { transition-delay: 0.6s; }

.stagger-animation.animate > * {
    opacity: 1;
    transform: translateY(0);
}

/* Image Ken Burns Effect */
.ken-burns {
    overflow: hidden;
}

.ken-burns img {
    transition: transform 8s ease-in-out;
    transform: scale(1);
}

.ken-burns:hover img {
    transform: scale(1.1);
}

/* Form Focus Animations */
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.form-group label {
    transition: all 0.3s ease;
    transform-origin: left top;
}

.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label {
    transform: translateY(-20px) scale(0.8);
    color: var(--secondary-color);
}

/* Ripple Effect */
.ripple {
    position: relative;
    overflow: hidden;
}

.ripple::after {
    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.6s, height 0.6s;
}

.ripple:active::after {
    width: 300px;
    height: 300px;
}

/* Loading Skeleton */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

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

/* Modern Statistics Showcase */
.modern-stats-showcase {
    margin: 3rem 0;
    padding: 0;
}

.stats-grid-modern {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.modern-stat-card {
    background: var(--white);
    border-radius: 20px;
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    border-left: 4px solid var(--secondary-color);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.modern-stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(231, 76, 60, 0.1), transparent);
    transition: left 0.6s ease;
}

.modern-stat-card:hover::before {
    left: 100%;
}

.modern-stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border-left-color: var(--accent-color);
}

.stat-icon-modern {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 8px 20px rgba(231, 76, 60, 0.3);
    flex-shrink: 0;
}

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

.stat-number-modern {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 0.3rem;
}

.stat-label-modern {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.3rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-description {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.4;
}

/* Shake animation for form errors */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

/* Ripple effect styles */
.ripple-effect {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: scale(0);
    animation: ripple-animation 0.6s linear;
    pointer-events: none;
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* 3D Flip Cards for Services - LOCKED POSITION */
.service-card-3d {
    /* REMOVE perspective from container */
    height: 400px;
    cursor: pointer;
    margin-bottom: 2rem;
    /* ABSOLUTE POSITION LOCK */
    position: relative;
    transform: none !important;
    contain: strict;
    z-index: 10;
    /* EXACT dimensions */
    min-height: 400px;
    max-height: 400px;
    width: 100%;
    /* NO animations on container */
    opacity: 1 !important;
    transition: none !important;
    /* PREVENT ANY SHIFTS */
    overflow: visible;
    isolation: isolate;
}

.card-inner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s ease-in-out;
    transform-style: preserve-3d;
    transform-origin: 50% 50%;
    transform: rotateY(0deg);
    /* ADD perspective here instead */
    perspective: 1000px;
    /* ABSOLUTE LOCK */
    z-index: 1;
    will-change: transform;
    margin: 0;
    padding: 0;
    /* FORCE EXACT POSITIONING */
    left: 0 !important;
    top: 0 !important;
}

.service-card-3d:hover .card-inner,
.service-card-3d.flipped .card-inner {
    transform: rotateY(180deg) !important;
}

.card-front, .card-back {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transform-origin: 50% 50%;
    /* ABSOLUTE POSITION LOCK */
    z-index: 2;
    margin: 0 !important;
    padding: 2rem;
    box-sizing: border-box;
    /* FORCE EXACT POSITIONING */
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
}

.card-front {
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, var(--white) 0%, #f8f9fa 100%);
    transform: rotateY(0deg);
    color: var(--text-color);
}

.card-back {
    transform: rotateY(180deg);
    justify-content: flex-start;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%) !important;
    color: white !important;
}

/* Card Back Content Visibility */
.card-back * {
    color: white !important;
}

/* Override any glass-card interference */
.card-back.glass-card {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%) !important;
    backdrop-filter: none !important;
    border: none !important;
}

.service-card-3d .glass-card {
    backdrop-filter: none !important;
    background: inherit !important;
}

.card-back h4 {
    color: white !important;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.card-back .tech-specs li {
    color: rgba(255, 255, 255, 0.95) !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
}

.card-back .tech-specs li i {
    color: #f39c12 !important;
}

.card-back .tech-specs li strong {
    color: #f39c12 !important;
}

.card-back .bar-label {
    color: rgba(255, 255, 255, 0.9) !important;
}

.card-back .btn-neon {
    background: linear-gradient(135deg, #e74c3c, #f39c12) !important;
    color: white !important;
}

/* Service Icons - Clean */
.service-icon-3d {
    width: 80px;
    height: 80px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(231, 76, 60, 0.3);
}

.service-icon-3d i {
    font-size: 2rem;
    color: white;
}

@keyframes iconFloat {
    0%, 100% { transform: translateY(0px) rotateX(0deg) rotateY(0deg); }
    25% { transform: translateY(-10px) rotateX(5deg) rotateY(5deg); }
    50% { transform: translateY(0px) rotateX(0deg) rotateY(10deg); }
    75% { transform: translateY(-5px) rotateX(-5deg) rotateY(5deg); }
}



/* Card Flip Hint - Subtle */
.flip-hint {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
    font-size: 0.8rem;
    opacity: 0.7;
}

.flip-hint i {
    font-size: 0.8rem;
}

/* Card Content - Fixed Colors */
.card-front h3 {
    font-size: 1.4rem;
    color: var(--primary-color) !important;
    margin-bottom: 1rem;
    font-weight: 600;
}

.card-front p {
    color: var(--text-light) !important;
    font-size: 1rem;
    line-height: 1.5;
}

.back-content {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: left;
    width: 100%;
    color: white !important;
}

.back-content h4 {
    color: white !important;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    text-align: center;
    font-weight: 600;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Tech Specs - Fixed Colors */
.tech-specs {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
    flex: 1;
}

.tech-specs li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 0;
    color: white !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    font-size: 0.95rem;
    transition: all 0.3s ease;
    font-weight: 400;
}

.tech-specs li:last-child {
    border-bottom: none;
}

.tech-specs li:hover {
    padding-left: 0.5rem;
    color: var(--accent-color) !important;
}

.tech-specs li i {
    color: var(--accent-color) !important;
    font-size: 1rem;
    min-width: 18px;
    flex-shrink: 0;
}

.tech-specs li strong {
    color: var(--accent-color) !important;
    font-weight: 700;
}

/* Performance Bar - Clean */
.performance-bar {
    margin: 1rem 0;
}

.bar-label {
    color: white !important;
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    overflow: hidden;
}

.progress {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-color), #ffd700);
    border-radius: 3px;
    transition: width 1s ease;
}

/* CTA Button - Fixed Colors */
.cta-button {
    text-align: center;
    margin-top: 1rem;
}

.btn-neon {
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color)) !important;
    color: white !important;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
    transition: all 0.3s ease;
}

.btn-neon:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(231, 76, 60, 0.4);
    color: white !important;
}

/* Enhanced Mobile Responsive */
@media (max-width: 768px) {
    /* Hero Mobile Responsive */
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-main {
        max-width: none;
        text-align: center;
    }
    
    .company-brand {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .company-name {
        font-size: 2.2rem;
    }
    
    .value-proposition {
        font-size: 1.8rem;
    }
    
    .hero-actions {
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-sidebar {
        order: -1;
    }
    
    .stats-showcase {
        padding: 1.5rem;
    }
    
    .stats-list {
        gap: 0.8rem;
    }
    
    /* Modern Stats Mobile */
    .stats-grid-modern {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .modern-stat-card {
        padding: 1.5rem;
        gap: 1rem;
    }
    
    .stat-icon-modern {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .stat-number-modern {
        font-size: 2rem;
    }
    
    .stat-label-modern {
        font-size: 1rem;
    }
    
    .main-icon {
        font-size: 4rem;
        margin-bottom: 1rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
        margin: 1rem 0;
    }
    
    .stat-card {
        padding: 0.8rem 0.5rem;
    }
    
    .stat-value {
        font-size: 1.2rem;
    }
    
    .stat-title {
        font-size: 0.7rem;
    }
    
    .quality-badges {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .badge-item {
        font-size: 0.7rem;
        padding: 0.4rem 0.8rem;
    }
    
    /* Fix 3D cards on mobile */
    .service-card-3d {
        height: 350px;
        perspective: 800px;
    }
    
    .card-front, .card-back {
        padding: 1.5rem;
    }
    
    .service-icon-3d {
        width: 80px;
        height: 80px;
        margin-bottom: 1rem;
    }
    
    .service-icon-3d i {
        font-size: 2rem;
    }
    
    .scroll-indicator span {
        display: none;
    }
    
    .header-controls {
        gap: 0.5rem;
    }
    
    .lang-btn {
        padding: 0.4rem 0.6rem;
        font-size: 0.8rem;
    }
    
    .chat-widget {
        width: calc(100% - 2rem);
        height: 80vh;
        left: 1rem;
        right: 1rem;
        bottom: 1rem;
    }
    
    .newsletter-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .newsletter-group {
        flex-direction: column;
    }
    
    .tab-buttons {
        flex-direction: column;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-actions {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .map-overlay {
        position: static;
        margin: 1rem;
        max-width: none;
    }
}

@media (max-width: 480px) {
    .header-controls {
        display: none;
    }
    
    .pwa-actions {
        flex-direction: column;
    }
    
    .cookie-text {
        flex-direction: column;
        text-align: center;
    }
}

/* Enhanced Features Showcase - Matched to About Features */
.enhanced-features-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.enhanced-features-showcase .feature-card-lg {
    /* Remove card-specific styles that conflict with about-feature */
    background: none;
    box-shadow: none;
    border-bottom: none;
    padding: 0;
    /* Use about-feature styles */
    display: flex;
    align-items: flex-start;
    text-align: left;
}

.enhanced-features-showcase .feature-card-lg::before {
    display: none; /* Hide card background effect */
}

.enhanced-features-showcase .feature-icon-lg {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    box-shadow: 0 8px 20px rgba(231, 76, 60, 0.3);
    flex-shrink: 0;
    margin-bottom: 0; /* Adjust margin for flex alignment */
}

.enhanced-features-showcase .feature-content-lg {
    flex: 1;
    padding-left: 1.5rem; /* Add spacing similar to about-feature */
}

.enhanced-features-showcase .feature-content-lg h4 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.enhanced-features-showcase .feature-content-lg p {
    font-size: 0.9rem;
    color: var(--text-color);
    line-height: 1.6;
}

/* Responsive adjustments for the enhanced features showcase */
@media (max-width: 768px) {
    .enhanced-features-showcase {
        grid-template-columns: 1fr; /* Stack on mobile */
    }

    .enhanced-features-showcase .feature-card-lg {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .enhanced-features-showcase .feature-icon-lg {
        margin-bottom: 1rem;
    }

    .enhanced-features-showcase .feature-content-lg {
        padding-left: 0;
    }
}

@media (max-width: 480px) {
    .enhanced-features-showcase .feature-icon-lg {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .enhanced-features-showcase .feature-content-lg h4 {
        font-size: 1.3rem;
    }

    .enhanced-features-showcase .feature-content-lg p {
        font-size: 0.9rem;
    }
}

/* Testimonials section styling */
.testimonials-section {
    padding: 4rem 0;
}
