:root {
    /* Colors - Enhanced Vibrant Professional Theme */
    --color-bg: #FFFFFF;
    --color-bg-alt: #F8FAFC;
    --color-surface: #F1F5F9;
    --color-primary: #0066FF;
    --color-primary-dark: #0047CC;
    --color-primary-light: #3385FF;
    --color-secondary: #FF6B35;
    --color-secondary-light: #FFF5F0;
    --color-accent: #00D9FF;
    --color-text: #1A1A2E;
    --color-text-muted: #64748B;
    --color-text-secondary: #E2E8F0;
    --color-metallic: #475569;
    --color-metallic-light: #94A3B8;
    --color-success: #00C896;
    --color-blue-bg: #E6F2FF;
    --color-orange-bg: #FFF5F0;
    --color-accent-gold: #FFA726;
    --color-gold: #FF9100;
    --color-gold-dark: #FF6D00;
    --color-navy: #1A1A2E;
    --color-navy-dark: #0F0F1E;

    /* Enhanced Gradients */
    --gradient-hero: linear-gradient(135deg, rgba(0, 102, 255, 0.95) 0%, rgba(0, 71, 204, 0.90) 100%);
    --gradient-primary: linear-gradient(135deg, #0066FF 0%, #0047CC 100%);
    --gradient-secondary: linear-gradient(135deg, #FF6B35 0%, #FF9100 100%);
    --gradient-card: linear-gradient(145deg, rgba(0, 102, 255, 0.04) 0%, rgba(255, 107, 53, 0.04) 100%);
    --gradient-accent: linear-gradient(90deg, #0066FF 0%, #00D9FF 100%);
    --gradient-gold: linear-gradient(135deg, #FFA726 0%, #FF9100 100%);
    --gradient-vibrant: linear-gradient(135deg, #0066FF 0%, #00D9FF 50%, #FF9100 100%);

    /* Fonts */
    --font-main: 'Montserrat', sans-serif;
    --font-display: 'Orbitron', sans-serif;

    /* Spacing */
    --spacing-container: 1200px;
    --spacing-section: 100px;

    /* Enhanced Effects */
    --shadow-card: 0 12px 35px -12px rgba(0, 0, 0, 0.12);
    --shadow-hover: 0 24px 70px rgba(0, 102, 255, 0.20);
    --border-glass: 1px solid rgba(0, 102, 255, 0.12);
    --shadow-gold: 0 12px 40px rgba(255, 145, 0, 0.30);
    --shadow-premium: 0 24px 70px rgba(0, 0, 0, 0.18);
    --glow-gold: 0 0 35px rgba(255, 167, 38, 0.4);
    --glow-primary: 0 0 35px rgba(0, 102, 255, 0.3);
    --shadow-intense: 0 30px 90px rgba(0, 102, 255, 0.25);

    /* Timing */
    --duration-fast: 0.2s;
    --duration-normal: 0.3s;
    --duration-slow: 0.6s;
    --easing: cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Utilities */
.container {
    max-width: var(--spacing-container);
    margin: 0 auto;
    padding: 0 20px;
}

.text-center {
    text-align: center;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-display);
    color: var(--color-text);
    font-weight: 700;
}

.highlight {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Buttons */
.btn-primary,
.btn-outline,
.btn-text {
    display: inline-block;
    padding: 12px 30px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 4px;
    /* Industrial sharp edges with slight rounding */
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.btn-primary {
    background: var(--gradient-gold);
    color: #FFFFFF;
    border: 2px solid var(--color-gold);
    box-shadow: var(--shadow-gold);
    font-weight: 700;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary:hover {
    background: var(--color-gold-dark);
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 16px 50px rgba(255, 145, 0, 0.50), var(--glow-gold);
}

.btn-primary:hover::before {
    width: 350px;
    height: 350px;
}

.btn-outline {
    background: transparent;
    color: #FFFFFF;
    border: 2px solid #FFFFFF;
}

.btn-outline:hover {
    background: #FFFFFF;
    color: var(--color-primary);
    border-color: #FFFFFF;
}

.btn-text {
    padding: 0;
    color: var(--color-primary);
}

.btn-text:hover {
    text-shadow: 0 0 10px rgba(0, 123, 255, 0.4);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 8px 0;
    transition: all var(--duration-normal) var(--easing);
    background: rgba(10, 25, 41, 0.95);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 184, 64, 0.1);
}

.navbar.scrolled {
    background: rgba(10, 25, 41, 0.98);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.7);
    padding: 5px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 118px;
    width: auto;
    max-width: 280px;
    object-fit: contain;
    margin: -14px 0;
    transition: all 0.3s ease;
    position: relative;
    z-index: 10;
}

.navbar.scrolled .logo img {
    height: 96px;
    margin: -10px 0;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: clamp(12px, 1.7vw, 24px);
    align-items: center;
}

.nav-links a {
    color: var(--color-text-secondary);
    text-decoration: none;
    font-size: clamp(0.8rem, 0.9vw, 0.92rem);
    font-weight: 600;
    transition: all var(--duration-fast) var(--easing);
    letter-spacing: 0.8px;
    position: relative;
}

.nav-links a:not(.btn-primary):hover {
    color: var(--color-accent-gold);
    text-shadow: var(--glow-gold);
}

.nav-links a:not(.btn-primary)::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-gold);
    transition: width var(--duration-normal) var(--easing);
}

.nav-links a:not(.btn-primary):hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 30px;
    height: 3px;
    background-color: #FFFFFF;
    transition: 0.3s;
}

/* Dropdown Menu */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown .dropbtn {
    cursor: pointer;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    min-width: 280px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    padding: 10px 0;
    z-index: 1000;
    margin-top: 5px;
    /* Reduced gap for easier hover */
    animation: fadeIn 0.3s ease;
}

/* Add invisible bridge between button and dropdown */
.dropdown::before {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 10px;
    /* Bridge height */
    background: transparent;
}

.dropdown-content a {
    color: var(--color-text);
    padding: 12px 20px;
    text-decoration: none;
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.dropdown-content a:hover {
    background-color: var(--color-blue-bg);
    border-left-color: var(--color-primary);
    padding-left: 25px;
}

.dropdown:hover .dropdown-content {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background: #000;
    /* Fallback */
}

/* Placeholder for video - simulated industrial tech vibe */
.placeholder-video {
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 50%, rgba(38, 132, 255, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 87, 34, 0.2) 0%, transparent 50%),
        url('../assets/images/hero-bg.png') no-repeat center center/cover;
    filter: brightness(0.5) saturate(1.2);
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: -1;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    letter-spacing: -2px;
    color: #FFFFFF;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.hero-content h1 .highlight {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
}

.hero-content p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.5);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* Scroll Mouse Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    position: relative;
}

.mouse::before {
    content: '';
    width: 4px;
    height: 8px;
    background: #fff;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

/* Stats Section */
.stats-section {
    padding: 60px 0;
    background: var(--color-blue-bg);
    border-bottom: 1px solid rgba(38, 132, 255, 0.1);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}

.stat-item .counter {
    font-family: var(--font-display);
    font-size: 3rem;
    color: var(--color-primary);
    font-weight: 700;
}

.stat-item p {
    color: var(--color-text);
    font-size: 1rem;
    margin-top: 5px;
    font-weight: 600;
}

/* Services Section */
.services-section {
    padding: var(--spacing-section) 0;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background:
        radial-gradient(circle at 12% 18%, rgba(0, 102, 255, 0.14) 0%, transparent 32%),
        radial-gradient(circle at 88% 82%, rgba(255, 145, 0, 0.16) 0%, transparent 34%),
        linear-gradient(145deg, #f8fbff 0%, #edf3ff 45%, #fef7ee 100%);
}

.services-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 102, 255, 0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 102, 255, 0.07) 1px, transparent 1px);
    background-size: 38px 38px;
    mask-image: radial-gradient(circle at center, rgba(0, 0, 0, 0.85), transparent 88%);
    pointer-events: none;
    z-index: 0;
}

.services-section .container {
    position: relative;
    z-index: 1;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.service-card {
    background: var(--color-surface);
    background-image: var(--gradient-card);
    border: 1px solid rgba(255, 184, 64, 0.15);
    padding: 45px;
    border-radius: 16px;
    transition: all var(--duration-slow) var(--easing);
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.service-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--gradient-gold);
    border-radius: 16px;
    opacity: 0;
    z-index: -1;
    transition: opacity var(--duration-normal) var(--easing);
}

.service-card::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 184, 64, 0.1) 0%, transparent 70%);
    transform: translate(-50%, -50%) scale(0);
    transition: transform var(--duration-slow) var(--easing);
    border-radius: 50%;
}

.service-card:hover {
    transform: translateY(-18px) rotateX(6deg) scale(1.04);
    box-shadow: var(--shadow-intense), 0 35px 95px rgba(255, 167, 38, 0.25), var(--glow-gold);
    border-color: var(--color-gold);
}

.service-card:hover::before {
    opacity: 1;
    animation: border-glow 2.5s ease-in-out infinite;
}

.service-card:hover::after {
    transform: translate(-50%, -50%) scale(1.8);
}

@keyframes border-glow {

    0%,
    100% {
        filter: blur(10px);
    }

    50% {
        filter: blur(15px);
    }
}

.service-card .icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.service-card h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.service-card ul {
    list-style: none;
    color: var(--color-text-muted);
}

.service-card ul li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 15px;
}

.service-card ul li::before {
    content: '•';
    color: var(--color-primary);
    position: absolute;
    left: 0;
}

/* About Section */
.about-section {
    padding: var(--spacing-section) 0;
    background: var(--color-orange-bg);
}

.about-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    border-left: 4px solid var(--color-secondary);
    padding-left: 20px;
}

.about-content p {
    margin-bottom: 20px;
    color: var(--color-text-muted);
}

.about-image .image-placeholder {
    width: 100%;
    height: 400px;
    background: url('https://images.unsplash.com/photo-1531297461136-82lw8e41f75d?q=80&w=2070&auto=format&fit=crop') no-repeat center center/cover;
    border-radius: 12px;
    box-shadow: var(--shadow-card);
    filter: sepia(20%) hue-rotate(180deg) saturate(150%);
}

/* Contact Section */
.contact-section {
    padding: var(--spacing-section) 0;
    position: relative;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    margin-top: 60px;
}

.contact-info .info-item {
    margin-bottom: 40px;
}

.contact-info h4 {
    color: var(--color-primary);
    margin-bottom: 10px;
    font-family: var(--font-display);
}

.contact-info p,
.contact-info a {
    color: var(--color-text-muted);
    text-decoration: none;
    transition: color 0.3s;
}

.contact-info a:hover {
    color: var(--color-primary);
}

.contact-form {
    background: var(--color-surface);
    padding: 40px;
    border-radius: 12px;
    border: var(--border-glass);
}

.form-group {
    margin-bottom: 20px;
}

input,
textarea {
    width: 100%;
    padding: 15px;
    background: #FFFFFF;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 4px;
    color: var(--color-text);
    font-family: var(--font-main);
}

input::placeholder,
textarea::placeholder {
    color: #94A3B8;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    background: #FFFFFF;
    box-shadow: 0 0 0 3px rgba(38, 132, 255, 0.1);
}

/* ===========================
   PROJECTS PORTFOLIO
   =========================== */
.projects-section {
    padding: 80px 0;
}

.project-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 50px;
}

.filter-btn {
    background: transparent;
    border: 2px solid rgba(0, 102, 255, 0.1);
    color: var(--color-text-muted);
    padding: 10px 25px;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 102, 255, 0.2);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.project-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 102, 255, 0.15);
}

.project-image {
    height: 240px;
    background: var(--color-bg-alt);
    position: relative;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 15, 30, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-content {
    padding: 25px;
}

.project-category {
    font-size: 0.8rem;
    color: var(--color-primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    display: block;
}

.project-title {
    font-size: 1.25rem;
    color: var(--color-text);
    margin-bottom: 10px;
    font-family: var(--font-display);
}

.project-desc {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.project-tag {
    font-size: 0.75rem;
    background: rgba(0, 102, 255, 0.06);
    color: var(--color-primary);
    padding: 4px 10px;
    border-radius: 4px;
}

.projects-list-grid {
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 22px;
}

.project-list-item {
    border-left: 4px solid var(--color-primary);
}

.project-list-item .project-content {
    padding: 24px;
}

.project-list-item .project-title {
    font-size: 1.08rem;
    margin-bottom: 12px;
}

.project-list-item .project-desc {
    margin-bottom: 14px;
}

@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }
}

/* ===========================
   TESTIMONIALS SECTION
   =========================== */
.testimonials-section {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--color-bg) 0%, var(--color-bg-alt) 100%);
    position: relative;
    overflow: hidden;
}

.testimonials-section::before {
    content: '\201C';
    position: absolute;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 15rem;
    color: rgba(0, 102, 255, 0.04);
    font-family: Georgia, serif;
    line-height: 1;
    pointer-events: none;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.testimonial-card {
    background: white;
    border-radius: 20px;
    padding: 35px 30px;
    position: relative;
    border: 1px solid rgba(0, 102, 255, 0.06);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.04);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 102, 255, 0.12);
    border-color: var(--color-primary);
}

.testimonial-stars {
    color: #F59E0B;
    font-size: 0.95rem;
    margin-bottom: 18px;
    display: flex;
    gap: 3px;
}

.testimonial-text {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--color-text-muted);
    margin-bottom: 25px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 1px;
    flex-shrink: 0;
}

.testimonial-author strong {
    display: block;
    font-size: 0.95rem;
    color: var(--color-text);
}

.testimonial-author span {
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

/* ===========================
   MODERN UI GLASS EFFECTS
   =========================== */
.section-header h2 {
    position: relative;
    display: inline-block;
}

.section-header .line {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-gold));
    margin: 12px auto 0;
    border-radius: 3px;
}

/* Enhanced Service Cards Hover */
.service-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 60px rgba(0, 102, 255, 0.15);
}

/* Stats section glow */
.stat-number {
    text-shadow: 0 0 30px rgba(0, 102, 255, 0.3);
}

/* CTA box glass effect */
.cta-box {
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 102, 255, 0.15);
}

/* Smooth gradient dividers between sections */
.services-section,
.about-section {
    position: relative;
}

.services-section::after,
.about-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 102, 255, 0.12), transparent);
}

/* Footer */
footer {
    background: linear-gradient(135deg, #0F0F1E 0%, #1A1A2E 100%);
    color: #FFFFFF;
    font-size: 0.9rem;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-gold), var(--color-accent));
}

.footer-main {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 50px;
    padding: 70px 0 50px;
}

.footer-brand .footer-logo {
    height: 140px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    margin-bottom: 20px;
    filter: brightness(1.1);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 25px;
    font-size: 0.9rem;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-social a:hover {
    background: var(--color-gold);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 145, 0, 0.3);
    border-color: var(--color-gold);
}

.footer-column h4 {
    font-family: var(--font-display);
    font-size: 1rem;
    color: #fff;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 12px;
    letter-spacing: 1px;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--color-gold);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--color-gold);
    padding-left: 5px;
}

.footer-links a i {
    font-size: 0.75rem;
    color: var(--color-gold);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.footer-links a:hover i {
    opacity: 1;
}

.footer-contact-item {
    display: flex;
    gap: 12px;
    margin-bottom: 18px;
    align-items: flex-start;
}

.footer-contact-item i {
    color: var(--color-gold);
    font-size: 1rem;
    margin-top: 3px;
    width: 16px;
    text-align: center;
}

.footer-contact-item p,
.footer-contact-item a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    line-height: 1.6;
    transition: color 0.3s;
    margin: 0;
}

.footer-contact-item a:hover {
    color: var(--color-gold);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 25px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    margin: 0;
}

.footer-bottom-links {
    display: flex;
    gap: 25px;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s;
}

.footer-bottom-links a:hover {
    color: var(--color-gold);
}

/* Legacy footer support */
.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.social-links a {
    margin-left: 20px;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.3s;
}

.social-links a:hover {
    color: #FFFFFF;
}

/* Animations */
@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0) translateX(-50%);
    }

    40% {
        transform: translateY(-10px) translateX(-50%);
    }

    60% {
        transform: translateY(-5px) translateX(-50%);
    }
}

/* Ripple Animation */
.ripple {
    position: absolute;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    transform: scale(0);
    animation: ripple 0.6s linear;
    pointer-events: none;
}

@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Scroll Animation Classes */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.2s;
}

.delay-2 {
    transition-delay: 0.4s;
}

.scroll-reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.scroll-reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.section-header .line {
    width: 60px;
    height: 4px;
    background: var(--color-primary);
    margin: 0 auto 20px;
}

.section-header p {
    color: var(--color-text-muted);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px;
        right: 20px;
        background: #0a1118;
        padding: 20px;
        border-radius: 8px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        width: 250px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .about-wrapper {
        grid-template-columns: 1fr;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 50px 0 30px;
        text-align: center;
    }

    .footer-column h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-social {
        justify-content: center;
    }

    .footer-links a {
        justify-content: center;
    }

    .footer-contact-item {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* Subpage Styles */
.page-header {
    padding: 150px 0 80px;
    background: var(--gradient-primary);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../assets/images/hero-bg.png') no-repeat center center/cover;
    opacity: 0.15;
    z-index: 0;
}

.page-header .container {
    position: relative;
    z-index: 1;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: white;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.page-header p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.98);
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.4);
}

.service-detail {
    padding: 80px 0;
}

.detail-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
}

.detail-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--color-primary);
}

.service-hero-icon {
    margin-bottom: 30px;
    animation: fadeInUp 1s ease;
}

.service-hero-icon img {
    filter: drop-shadow(0 10px 30px rgba(38, 132, 255, 0.2));
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.detail-content h3 {
    font-size: 1.8rem;
    margin: 40px 0 20px;
    color: var(--color-primary-light);
}

.detail-content p {
    color: var(--color-text-muted);
    line-height: 1.8;
    margin-bottom: 20px;
}

.service-features {
    display: grid;
    gap: 20px;
    margin: 30px 0;
}

.feature-item {
    background: var(--gradient-card);
    padding: 25px;
    border-radius: 8px;
    border-left: 4px solid var(--color-primary);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(38, 132, 255, 0.2);
}

.feature-item h4 {
    color: var(--color-primary-light);
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.feature-item p {
    margin: 0;
    font-size: 0.95rem;
}

.advantage-list {
    list-style: none;
    padding: 0;
    margin: 20px 0 40px;
}

.advantage-list li {
    padding: 12px 0 12px 30px;
    position: relative;
    color: var(--color-text-muted);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.advantage-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-success);
    font-weight: bold;
    font-size: 1.2rem;
}

.detail-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.sidebar-card {
    background: var(--color-surface);
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.sidebar-card h3 {
    color: var(--color-primary);
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.service-links {
    list-style: none;
    padding: 0;
}

.service-links li {
    margin-bottom: 15px;
}

.service-links a {
    color: var(--color-text-muted);
    text-decoration: none;
    display: block;
    padding: 10px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.service-links a:hover {
    background: rgba(38, 132, 255, 0.1);
    color: var(--color-primary);
    padding-left: 20px;
}

.sidebar-card p {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.sidebar-card a {
    color: var(--color-primary-light);
    text-decoration: none;
}

.sidebar-card a:hover {
    color: var(--color-accent);
}

.delay-3 {
    transition-delay: 0.6s;
}

/* Responsive Subpages */
@media (max-width: 768px) {
    .detail-grid {
        grid-template-columns: 1fr;
    }

    .detail-sidebar {
        position: static;
    }

    .page-header h1 {
        font-size: 2rem;
    }
}

/* Corporate Pages */
.content-with-image {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
    margin-top: 30px;
}

.vision-mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 60px 0;
}

.vm-card {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.vm-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.feature-box {
    background: var(--color-blue-bg);
    padding: 30px;
    border-radius: 8px;
}

.project-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.category-card {
    background: white;
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.project-count {
    background: var(--gradient-primary);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 600;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.testimonial-card {
    background: var(--color-orange-bg);
    padding: 30px;
    border-radius: 12px;
}

.testimonial-card .quote {
    font-size: 4rem;
    color: var(--color-secondary);
    line-height: 1;
}

/* References Section */
.references-section {
    padding: var(--spacing-section) 0;
    background: var(--color-bg-alt);
}

.reference-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin: 60px 0;
}

.ref-stat {
    text-align: center;
}

.ref-number {
    font-family: var(--font-display);
    font-size: 3.5rem;
    color: var(--color-primary);
    font-weight: 700;
    margin-bottom: 10px;
}

.ref-label {
    font-size: 1.1rem;
    color: var(--color-text);
    font-weight: 600;
}

.cta-box {
    text-align: center;
    background: var(--gradient-primary);
    padding: 60px 40px;
    border-radius: 12px;
    color: white;
    margin-top: 40px;
}

.cta-box h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: white;
}

/* Page Transition Overlay */
.page-transition-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-navy-dark);
    z-index: 9999;
    transform: scaleY(0);
    transform-origin: bottom;
    pointer-events: none;
    transition: transform 0.5s cubic-bezier(0.7, 0, 0.3, 1);
}

.page-transition-overlay.active {
    transform: scaleY(1);
    transform-origin: top;
}

/* Animation Utilities */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.scroll-reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1s ease, transform 1s ease;
}

.scroll-reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.2s;
}

.delay-2 {
    transition-delay: 0.4s;
}

.delay-3 {
    transition-delay: 0.6s;
}

/* Ensure Hero Text Visibility */
.hero-content h1,
.hero-content p {
    color: #FFFFFF;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* Ken Burns Effect */
@keyframes kenBurns {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.15);
    }
}

.ken-burns {
    animation: kenBurns 20s ease-out infinite alternate;
    will-change: transform;
}

/* Timeline Styles (Corporate) */
.timeline-section {
    position: relative;
    padding: 60px 0;
}

.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background-color: var(--color-primary);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
    border-radius: 2px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 25px;
    right: -12.5px;
    background-color: white;
    border: 4px solid var(--color-secondary);
    top: 15px;
    border-radius: 50%;
    z-index: 1;
}

.timeline-left {
    left: 0;
}

.timeline-right {
    left: 50%;
}

.timeline-left::before {
    content: " ";
    height: 0;
    position: absolute;
    top: 22px;
    width: 0;
    z-index: 1;
    right: 30px;
    border: medium solid white;
    border-width: 10px 0 10px 10px;
    border-color: transparent transparent transparent white;
}

.timeline-right::before {
    content: " ";
    height: 0;
    position: absolute;
    top: 22px;
    width: 0;
    z-index: 1;
    left: 30px;
    border: medium solid white;
    border-width: 10px 10px 10px 0;
    border-color: transparent white transparent transparent;
}

.timeline-right::after {
    left: -12.5px;
}

.timeline-content {
    padding: 20px 30px;
    background-color: white;
    position: relative;
    border-radius: 6px;
    box-shadow: var(--shadow-card);
}

.timeline-date {
    font-weight: bold;
    color: var(--color-primary);
    margin-bottom: 10px;
    display: block;
}

/* Responsive Timeline */
@media screen and (max-width: 600px) {
    .timeline::after {
        left: 31px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }

    .timeline-item::before {
        left: 60px;
        border: medium solid white;
        border-width: 10px 10px 10px 0;
        border-color: transparent white transparent transparent;
    }

    .timeline-left::after,
    .timeline-right::after {
        left: 18.5px;
    }

    .timeline-right {
        left: 0%;
    }
}

/* Management Team Styles */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.team-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: transform 0.3s ease;
}

.team-card:hover {
    transform: translateY(-10px);
}

.team-img {
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.team-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.team-card:hover .team-img img {
    transform: scale(1.1);
}

.team-info {
    padding: 20px;
    text-align: center;
}

.team-info h4 {
    color: var(--color-navy);
    margin-bottom: 5px;
    font-size: 1.2rem;
}

.team-info p {
    color: var(--color-primary);
    font-size: 0.9rem;
    font-weight: 600;
}

/* Hero Slider Styles */
.hero-slider {
    position: relative;
    overflow: hidden;
    height: 100vh;
    width: 100%;
}

.slider-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease-in-out, visibility 1s;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

/* Ensure video background covers the slide */
.slide .video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
}

.slide .video-background .placeholder-video {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.slide .video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    /* Overlay darkness */
    z-index: -1;
}

.slider-controls button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: none;
    font-size: 2rem;
    padding: 15px 20px;
    cursor: pointer;
    z-index: 20;
    transition: background 0.3s;
    border-radius: 4px;
}

.slider-controls button:hover {
    background: rgba(245, 158, 11, 0.8);
}

.prev-slide {
    left: 30px;
}

.next-slide {
    right: 30px;
}

.slider-dots {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 20;
}

.dot {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
}

.dot.active {
    background: var(--color-gold);
    box-shadow: 0 0 10px var(--color-gold);
    transform: scale(1.3);
}

/* Subpage Header Backgrounds */
.page-header.corporate::before {
    background-image: url('../assets/images/header-corporate.jpg') !important;
}

.page-header.projects::before {
    background-image: url('../assets/images/header-projects.jpg') !important;
}

/* Service Subpage Headers */
.page-header.electrical::before,
.page-header.mechanical::before,
.page-header.automation::before,
.page-header.maintenance::before,
.page-header.solar::before,
.page-header.corporate::before,
.page-header.projects::before {
    opacity: 0.6;
    /* Make hero image more visible */
    mix-blend-mode: overlay;
    /* Better blending with the blue gradient */
}

.page-header.electrical::before {
    background-image: url('../assets/images/hero-lines.jpg') !important;
}

@media (max-width: 1280px) {
    .logo img {
        height: 102px;
        max-width: 245px;
        margin: -10px 0;
    }

    .navbar.scrolled .logo img {
        height: 86px;
        margin: -6px 0;
    }

    .nav-links {
        gap: 12px;
    }

    .nav-links a {
        letter-spacing: 0.3px;
    }

    .btn-primary,
    .btn-outline {
        padding: 10px 18px;
        font-size: 0.8rem;
    }
}

.page-header.electrical {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.page-header.mechanical::before {
    background-image: url('../assets/images/hero-internal.jpg') !important;
}

.page-header.mechanical {
    background: linear-gradient(135deg, #ff6b35 0%, #ff9100 100%);
}

.page-header.automation::before {
    background-image: url('../assets/images/hero-slide-2.jpg') !important;
}

.page-header.automation {
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
}

.page-header.maintenance::before {
    background-image: url('../assets/images/hero-panel.jpg') !important;
}

.page-header.maintenance {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.page-header.solar {
    background: linear-gradient(135deg, #f59e0b 0%, #ea580c 100%);
}

.page-header.solar::before {
    background-image: url('../assets/images/hero-solar.jpg') !important;
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-gold);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 998;
    box-shadow: var(--shadow-gold);
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 15px 40px rgba(255, 145, 0, 0.4);
}

/* KVKK Cookie Notice */
.cookie-notice {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(26, 26, 46, 0.98);
    color: white;
    padding: 20px;
    z-index: 1000;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.cookie-notice.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-text {
    flex: 1;
    min-width: 300px;
}

.cookie-text p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
}

.cookie-text a {
    color: var(--color-accent);
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
}

.cookie-btn {
    padding: 10px 25px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 0.85rem;
}

.cookie-accept {
    background: var(--gradient-gold);
    color: white;
}

.cookie-accept:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 145, 0, 0.3);
}

.cookie-decline {
    background: transparent;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.cookie-decline:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Contact Map Styling */
.contact-map {
    margin: 30px 0;
}

@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .cookie-buttons {
        width: 100%;
    }

    .cookie-btn {
        flex: 1;
    }

    .scroll-to-top {
        bottom: 25px;
        right: auto;
        left: 20px;
        width: 42px;
        height: 42px;
        font-size: 18px;
    }
}

/* Page Loading Indicator */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader.loaded {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.loader-logo {
    width: 200px;
    height: auto;
    max-height: 200px;
    object-fit: contain;
    margin-bottom: 30px;
    animation: pulse 1.5s ease-in-out infinite;
    display: block;
}

.loader-spinner {
    width: 60px;
    height: 60px;
    border: 5px solid rgba(0, 0, 0, 0.1);
    border-top: 5px solid var(--color-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

/* Hero Logo Showcase */
.hero-logo-showcase {
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes logoFloat {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.7;
        transform: scale(0.95);
    }
}

/* Loading Progress Bar */
.loading-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: var(--gradient-gold);
    z-index: 10000;
    transition: width 0.3s ease;
}

/* Language Switcher */
/* Language Switcher */
/* Navbar Language Switcher */
.nav-lang-switcher {
    display: flex;
    gap: 5px;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 4px;
    border-radius: 6px;
}

.nav-lang-btn {
    border: none;
    background: transparent;
    color: var(--color-text-secondary);
    cursor: pointer;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 6px 10px;
    border-radius: 4px;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
    font-family: var(--font-main);
}

.nav-lang-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    color: var(--color-accent-gold);
}

.nav-lang-btn.active {
    background: var(--gradient-gold);
    color: white;
}

@media (max-width: 768px) {
    .nav-lang-switcher {
        margin-top: 15px;
    }
}

/* Project Grid Styles from Example Site */
.grid {
    display: grid;
    gap: 30px;
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.image-card {
    background: var(--color-surface);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.image-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.image-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.image-card:hover img {
    transform: scale(1.05);
}

.image-card-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.image-card h3 {
    margin-bottom: 15px;
    font-size: 1.25rem;
    color: var(--color-text);
}

.image-card p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    margin-bottom: auto;
}

/* WhatsApp Sticky Button */
/* Contact Floating Buttons */
.whatsapp-float {
    position: fixed !important;
    width: 60px;
    height: 60px;
    bottom: 40px !important;
    right: 40px !important;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    z-index: 1000 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    background-color: #128C7E;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(18, 140, 126, 0.5);
    color: #FFF;
}

.whatsapp-float i {
    margin-top: 0;
}

/* Phone Float Button */
.phone-float {
    position: fixed !important;
    width: 60px;
    height: 60px;
    bottom: 110px !important;
    right: 40px !important;
    background: linear-gradient(135deg, #0066FF 0%, #0047CC 100%);
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 28px;
    box-shadow: 0 4px 12px rgba(0, 102, 255, 0.3);
    z-index: 1000 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

.phone-float:hover {
    background: linear-gradient(135deg, #0047CC 0%, #003399 100%);
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 102, 255, 0.5);
    color: #FFF;
}

.phone-float i {
    animation: phone-ring 1.5s ease-in-out infinite;
}

@keyframes phone-ring {

    0%,
    100% {
        transform: rotate(0deg);
    }

    10%,
    30% {
        transform: rotate(-10deg);
    }

    20%,
    40% {
        transform: rotate(10deg);
    }
}

/* Contact Tooltip */
.contact-tooltip {
    position: absolute;
    right: 75px;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    padding: 12px 16px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    white-space: nowrap;
    min-width: 180px;
    z-index: 999;
    pointer-events: none;
}

.contact-tooltip::after {
    content: '';
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid white;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
}

.whatsapp-float:hover .contact-tooltip,
.phone-float:hover .contact-tooltip {
    opacity: 1;
    visibility: visible;
    right: 80px;
}

.contact-tooltip strong {
    display: block;
    color: #0066FF;
    font-size: 0.95rem;
    margin-bottom: 6px;
    font-weight: 700;
}

.contact-tooltip p {
    margin: 4px 0;
    font-size: 0.9rem;
    color: #1A1A2E;
    font-weight: 500;
}

.contact-tooltip .tooltip-subtitle {
    font-size: 0.8rem;
    color: #64748B;
    font-style: italic;
    margin-top: 2px;
}

@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 25px !important;
        right: 20px !important;
        font-size: 25px;
    }

    .phone-float {
        width: 50px;
        height: 50px;
        bottom: 90px !important;
        right: 20px !important;
        font-size: 24px;
    }

    .contact-tooltip {
        display: none;
    }
}

/* FAQ Section */
.faq-section {
    padding: var(--spacing-section) 0;
    background: var(--color-surface);
}

.faq-grid {
    display: grid;
    gap: 20px;
    margin-top: 60px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.faq-item {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: var(--shadow-hover);
}

.faq-question {
    padding: 25px 30px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    transition: all 0.3s ease;
    user-select: none;
}

.faq-question:hover {
    background: var(--color-blue-bg);
}

.faq-question h3 {
    font-size: 1.1rem;
    margin: 0;
    font-weight: 600;
    color: var(--color-text);
    flex: 1;
}

.faq-icon {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--color-primary);
    transition: transform 0.3s ease;
    margin-left: 20px;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    color: var(--color-secondary);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    background: var(--color-bg-alt);
    padding: 0 30px;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 25px 30px;
}

.faq-answer p {
    color: var(--color-text-muted);
    line-height: 1.8;
    margin: 0;
}

@media (max-width: 768px) {
    .faq-question {
        padding: 20px;
    }

    .faq-question h3 {
        font-size: 1rem;
    }

    .faq-answer {
        padding: 0 20px;
    }

    .faq-item.active .faq-answer {
        padding: 20px;
    }
}

/* Page Transition Logo */
.page-transition-overlay {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #FFFFFF;
}

.transition-logo {
    width: 220px;
    height: auto;
    max-height: 220px;
    object-fit: contain;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 10001;
}

.page-transition-overlay.active .transition-logo {
    opacity: 1;
    transform: scale(1);
    animation: pulse-logo 1.5s infinite ease-in-out;
}

@keyframes pulse-logo {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

/* --- LOGO SLIDER STYLES --- */
/* --- LOGO SLIDER SECTION --- */
.logo-slider-section {
    padding: 56px 0;
    background:
        radial-gradient(circle at 8% 10%, rgba(0, 102, 255, 0.14) 0%, transparent 36%),
        radial-gradient(circle at 92% 90%, rgba(245, 158, 11, 0.16) 0%, transparent 34%),
        linear-gradient(160deg, #f7fbff 0%, #edf4ff 55%, #f6f9ff 100%);
    border-top: 1px solid rgba(0, 102, 255, 0.06);
    border-bottom: 1px solid rgba(0, 102, 255, 0.08);
    overflow: hidden;
    position: relative;
}

.logo-slider-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 22px;
}

.logo-slider-head p {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.7px;
    text-transform: uppercase;
    color: var(--color-primary-dark);
}

.logo-slider-head a {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.4px;
    color: var(--color-primary);
    text-decoration: none;
    border: 1px solid rgba(0, 102, 255, 0.22);
    border-radius: 999px;
    padding: 8px 16px;
    transition: all 0.25s ease;
}

.logo-slider-head a:hover {
    background: var(--color-primary);
    color: #fff;
}

/* Gradient Overlay for smooth fade at edges */
.logo-slider-section::before,
.logo-slider-section::after {
    content: "";
    position: absolute;
    top: 0;
    width: 120px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.logo-slider-section::before {
    left: 0;
    background: linear-gradient(to right, #f7fbff, transparent);
}

.logo-slider-section::after {
    right: 0;
    background: linear-gradient(to left, #f6f9ff, transparent);
}

.logo-slider-container {
    width: 100%;
    margin: 0;
    position: relative;
    overflow: hidden;
    padding: 16px 0;
    border-radius: 22px;
    border: 1px solid rgba(0, 102, 255, 0.08);
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 16px 42px rgba(15, 23, 42, 0.08);
}

.logo-slider-track {
    display: flex;
    align-items: center;
    gap: 32px;
    animation: scroll-logos 36s linear infinite;
    width: max-content;
    padding: 10px 0;
}

.logo-slider-container:hover .logo-slider-track {
    animation-play-state: paused;
}

.logo-slider-container:focus-within .logo-slider-track {
    animation-play-state: paused;
}

.logo-slide {
    flex-shrink: 0;
    width: 210px;
    height: 154px;
    background: white;
    border-radius: 14px;
    padding: 18px;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
    border: 1px solid rgba(0, 102, 255, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    transition: all 0.35s ease;
    margin: 0;
    cursor: pointer;
}

.logo-slide:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 36px rgba(0, 102, 255, 0.16);
    border-color: var(--color-primary);
    z-index: 10;
}

.logo-slide:focus-visible {
    outline: 3px solid rgba(0, 102, 255, 0.35);
    outline-offset: 2px;
}

.logo-slide img {
    width: 100%;
    height: 66px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.76;
    transition: all 0.3s ease;
}

.logo-slide:hover img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

.logo-slide .brand-name {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--color-primary-dark);
    text-align: center;
    white-space: nowrap;
    opacity: 0.8;
    transform: translateY(0);
    transition: all 0.3s ease;
}

.logo-slide:hover .brand-name {
    opacity: 1;
    color: var(--color-primary);
}

@keyframes scroll-logos {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-210px * 18 - 32px * 18));
    }
}

@media (prefers-reduced-motion: reduce) {
    .logo-slider-section::before,
    .logo-slider-section::after {
        display: none;
    }

    .logo-slider-container {
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }

    .logo-slider-track {
        animation: none;
        gap: 20px;
        padding: 8px 10px;
    }

    .logo-slide {
        scroll-snap-align: start;
    }
}

/* --- REFERENCE GRID STYLES (Projects Page) --- */
.references-grid-section {
    padding: 100px 0;
    background: var(--color-bg-alt);
}

.ref-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.ref-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-card);
    transition: all 0.3s ease;
    height: 200px;
    position: relative;
    overflow: hidden;
}

.ref-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--color-primary);
}

.ref-card .ref-logo {
    width: 100%;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.ref-card .ref-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: none;
    /* Default Colored */
    transition: all 0.3s ease;
}

.ref-card:hover .ref-logo img {
    transform: scale(1.05);
    /* Slight zoom */
}

.ref-card h4 {
    font-size: 0.9rem;
    color: var(--color-text);
    text-align: center;
    font-weight: 600;
    margin: 0;
}

/* ===========================
   ANIMATIONS & UTILITIES
   =========================== */

/* Ken Burns Effect */
@keyframes kenBurns {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.1);
    }
}

.ken-burns {
    animation: kenBurns 20s ease-out infinite alternate;
}

/* Fade In Up */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Scroll Reveal */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-reveal.visible,
.scroll-reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Delays */
.delay-1 {
    transition-delay: 0.15s;
}

.delay-2 {
    transition-delay: 0.3s;
}

.delay-3 {
    transition-delay: 0.45s;
}

.delay-4 {
    transition-delay: 0.6s;
}

/* ===========================
   COMPREHENSIVE MOBILE RESPONSIVE
   =========================== */

/* Medium screens - tablets */
@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 2.8rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }

    .content-with-image {
        grid-template-columns: 1fr;
    }

    .logo img {
        height: 100px;
        max-width: 250px;
    }

    .navbar.scrolled .logo img {
        height: 80px;
    }
}
/* Mobile screens */
@media (max-width: 768px) {

    /* Hero Section Mobile */
    .hero-content {
        padding-top: 60px; /* Accounts for fixed header */
    }

    .hero-content h1 {
        font-size: 1.8rem;
        letter-spacing: -1px;
        padding: 0 10px;
        line-height: 1.2;
    }

    .hero-content p {
        font-size: 0.95rem;
        padding: 0 15px;
        margin-bottom: 25px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 12px;
        padding: 0 30px;
    }

    .hero-buttons .btn-primary,
    .hero-buttons .btn-outline {
        width: 100%;
        text-align: center;
        padding: 14px 20px;
        font-size: 0.85rem;
    }

    /* Mobile Menu - Dropdown Support */
    .nav-links .dropdown .dropbtn {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
    }

    .nav-links .dropdown .dropdown-content {
        display: none;
        position: static;
        box-shadow: none;
        border-radius: 0;
        padding: 0;
        margin-top: 5px;
        margin-bottom: 5px;
        min-width: auto;
        background: rgba(255, 255, 255, 0.05);
    }

    .nav-links .dropdown .dropdown-content a {
        color: rgba(255, 255, 255, 0.8);
        padding: 10px 15px;
        font-size: 0.85rem;
        border-left: none;
    }

    .nav-links .dropdown .dropdown-content a:hover {
        background: rgba(255, 255, 255, 0.1);
        color: white;
        padding-left: 20px;
    }

    .nav-links .dropdown:hover .dropdown-content {
        display: none;
    }

    .nav-links .dropdown.open .dropdown-content {
        display: block;
    }

    /* Language Switcher Mobile */
    .nav-lang-switcher {
        display: flex;
        justify-content: center;
        gap: 10px;
        padding-top: 10px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        margin-top: 10px;
    }

    /* Logo Mobile */
    .logo img {
        height: 80px;
        max-width: 200px;
        margin: -10px 0;
    }

    .navbar.scrolled .logo img {
        height: 65px;
        margin: -8px 0;
    }

    /* Stats Section Mobile */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .stat-item .counter {
        font-size: 2rem;
    }

    .stat-item p {
        font-size: 0.85rem;
    }

    /* Services Section Mobile */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .service-card {
        padding: 30px 25px;
    }

    .service-card:hover {
        transform: translateY(-8px) scale(1.01);
    }

    /* About Section Mobile */
    .about-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about-content h2 {
        font-size: 1.8rem;
    }

    /* Contact Section Mobile */
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contact-form {
        padding: 25px;
    }

    /* Testimonials Mobile */
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .testimonial-card {
        padding: 25px 20px;
    }

    /* References Section Mobile */
    .reference-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .ref-number {
        font-size: 2.2rem;
    }

    .ref-label {
        font-size: 0.85rem;
    }

    .cta-box {
        padding: 40px 20px;
    }

    .cta-box h3 {
        font-size: 1.4rem;
    }

    /* Blog Grid Mobile */
    .blog-grid {
        grid-template-columns: 1fr !important;
    }

    /* Projects Grid Mobile */
    .projects-grid {
        grid-template-columns: 1fr;
    }

    .ref-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .ref-card {
        height: 150px;
        padding: 20px;
    }

    /* Logo Slider Mobile */
    .logo-slider-section {
        padding: 30px 0 !important;
    }

    .logo-slider-head {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 14px;
    }

    .logo-slider-head a {
        padding: 7px 14px;
    }

    .logo-slide {
        width: 140px;
        height: 120px;
        padding: 15px;
    }

    .logo-slide img {
        height: 50px;
    }

    /* Page Header Mobile */
    .page-header {
        padding: 120px 0 60px;
    }

    .page-header h1 {
        font-size: 1.8rem;
    }

    .page-header p {
        font-size: 1rem;
    }

    /* Footer Mobile */
    .footer-main {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 50px 0 30px;
        text-align: center;
    }

    .footer-column h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-social {
        justify-content: center;
    }

    .footer-links a {
        justify-content: center;
    }

    .footer-contact-item {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    /* Floating Buttons Mobile */
    .whatsapp-float {
        bottom: 25px !important;
        right: 20px !important;
        width: 50px;
        height: 50px;
    }

    .phone-float {
        bottom: 90px !important;
        right: 20px !important;
        width: 50px;
        height: 50px;
    }

    .contact-tooltip {
        display: none !important;
    }

    /* Scroll to Top Mobile */
    .scroll-to-top {
        bottom: 25px !important;
        right: auto !important;
        left: 20px !important;
        width: 42px;
        height: 42px;
    }

    /* Cookie Notice Mobile */
    .cookie-notice .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .cookie-buttons {
        flex-direction: row;
        gap: 10px;
    }

    /* Content with Image Mobile */
    .content-with-image {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    /* Vision Mission Mobile */
    .vision-mission-grid {
        grid-template-columns: 1fr;
    }

    /* Team Grid Mobile */
    .team-grid {
        grid-template-columns: 1fr;
    }

    /* Timeline Mobile */
    .timeline-item.timeline-left,
    .timeline-item.timeline-right {
        padding-left: 30px;
        padding-right: 0;
    }

    /* Slider Controls & Indicators Mobile */
    .slider-controls {
        position: absolute;
        bottom: 18px;
        left: 0;
        width: 100%;
        display: flex;
        justify-content: space-between;
        padding: 0 75px; /* Avoid collision with floating side buttons (left 20px, right 20px) */
        pointer-events: none;
        z-index: 20;
    }

    .slider-controls button {
        position: static;
        transform: none;
        top: auto;
        bottom: auto;
        left: auto;
        right: auto;
        width: 40px;
        height: 40px;
        font-size: 1rem;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        pointer-events: auto;
        border-radius: 50%; /* Modern circular arrows */
    }

    .slider-dots {
        bottom: 28px; /* Perfectly align dots horizontally with the new arrow height */
        z-index: 15;
    }

    .scroll-indicator {
        display: none !important; /* Hide bouncing mouse icon on mobile to prevent clutter */
    }

    /* Section Header Mobile */
    .section-header h2 {
        font-size: 1.6rem;
    }

    /* Detail Grid Mobile */
    .detail-grid {
        grid-template-columns: 1fr;
    }

    .detail-sidebar {
        position: static;
    }
}

/* Extra small screens */
@media (max-width: 480px) {
    .hero-content {
        padding-top: 70px;
    }

    .hero-content h1 {
        font-size: 1.5rem;
        letter-spacing: -0.5px;
        line-height: 1.25;
        margin-bottom: 12px;
    }

    .hero-content p {
        font-size: 0.9rem;
        line-height: 1.4;
        margin-bottom: 20px;
    }

    .hero-buttons {
        padding: 0 15px;
        gap: 8px;
    }
    
    .hero-buttons .btn-primary,
    .hero-buttons .btn-outline {
        padding: 12px 16px;
        font-size: 0.8rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .stat-item .counter {
        font-size: 1.6rem;
    }

    .service-card {
        padding: 25px 20px;
    }

    .logo img {
        height: 60px;
        max-width: 160px;
    }

    .nav-links {
        width: 100%;
        right: 0;
        top: 60px;
        border-radius: 0;
    }

    .ref-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .ref-card {
        height: 120px;
        padding: 15px;
    }

    .page-header h1 {
        font-size: 1.5rem;
    }

    .reference-stats {
        grid-template-columns: 1fr;
    }

    .logo-slide {
        width: 120px;
        height: 100px;
        padding: 10px;
    }

    .cta-box h3 {
        font-size: 1.2rem;
    }

    .section-header h2 {
        font-size: 1.3rem;
    }

    .about-content h2 {
        font-size: 1.5rem;
    }
}

/* ===========================
   PREMIUM CORPORATE SECTIONS
   =========================== */

.showcase-reel-section {
    padding: 110px 0;
    background:
        radial-gradient(circle at 85% 20%, rgba(0, 102, 255, 0.08) 0%, transparent 35%),
        radial-gradient(circle at 10% 85%, rgba(255, 145, 0, 0.12) 0%, transparent 35%),
        #ffffff;
}

.reel-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 40px;
    align-items: center;
}

.reel-media-wrap {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(0, 102, 255, 0.15);
    box-shadow: 0 20px 55px rgba(0, 28, 84, 0.18);
}

.reel-media-wrap::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.2), rgba(0, 0, 0, 0.45));
    z-index: 2;
}

.reel-media-wrap video {
    width: 100%;
    height: 430px;
    object-fit: cover;
    transform: scale(1.03);
}

.reel-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 3;
    background: rgba(255, 255, 255, 0.92);
    color: #0f172a;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 8px 14px;
    border-radius: 999px;
    letter-spacing: 0.8px;
}

.reel-content h2 {
    font-size: 2.2rem;
    margin-bottom: 12px;
}

.reel-content>p {
    color: var(--color-text-muted);
    margin-bottom: 22px;
}

.reel-points {
    list-style: none;
    margin: 0 0 26px;
    padding: 0;
    display: grid;
    gap: 12px;
}

.reel-points li {
    background: rgba(0, 102, 255, 0.09);
    border: 1px solid rgba(0, 102, 255, 0.16);
    border-radius: 10px;
    padding: 12px 14px;
    color: #1e293b;
    font-weight: 600;
}

.process-section {
    padding: 110px 0;
    background: linear-gradient(180deg, #f8fafc 0%, #eef2ff 100%);
    position: relative;
}

.process-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('../assets/images/corporate-grid.svg') center/cover no-repeat;
    opacity: 0.24;
    pointer-events: none;
}

.process-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin-top: 45px;
}

.process-step {
    background: white;
    border: 1px solid rgba(0, 102, 255, 0.12);
    border-radius: 14px;
    padding: 24px;
    box-shadow: 0 8px 30px rgba(15, 23, 42, 0.06);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.process-step:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 45px rgba(0, 102, 255, 0.18);
}

.step-number {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: white;
    background: var(--gradient-primary);
    margin-bottom: 14px;
}

.process-step h3 {
    font-size: 1.06rem;
    margin-bottom: 8px;
}

.process-step p {
    color: var(--color-text-muted);
    font-size: 0.92rem;
    line-height: 1.7;
}

.industries-section {
    padding: 110px 0;
    background:
        linear-gradient(rgba(6, 11, 24, 0.86), rgba(6, 11, 24, 0.9)),
        url('../assets/images/industry-wave.svg') center/cover no-repeat;
    color: white;
}

.industries-section .section-header h2,
.industries-section .section-header p {
    color: white;
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 42px;
}

.industry-card {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    min-height: 220px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 16px 35px rgba(0, 0, 0, 0.3);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.industry-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 55px rgba(0, 102, 255, 0.28);
}

.industry-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.04);
    transition: transform 0.6s ease;
}

.industry-card:hover img {
    transform: scale(1.12);
}

.industry-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.88));
    z-index: 1;
}

.industry-card-content {
    position: relative;
    z-index: 2;
    padding: 22px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
}

.industry-card-content h3 {
    color: white;
    font-size: 1.08rem;
    margin-bottom: 6px;
}

.industry-card-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.88rem;
    line-height: 1.6;
}

.trust-band {
    padding: 45px 0;
    background: #0b1224;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.trust-items {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.trust-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: #e2e8f0;
    padding: 14px 16px;
    font-weight: 600;
    font-size: 0.9rem;
    text-align: center;
}

.trust-item i {
    color: #fbbf24;
    margin-right: 6px;
}

@media (max-width: 992px) {
    .reel-grid {
        grid-template-columns: 1fr;
    }

    .process-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .industries-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .trust-items {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .showcase-reel-section,
    .process-section,
    .industries-section {
        padding: 80px 0;
    }

    .reel-media-wrap video {
        height: 320px;
    }

    .process-grid,
    .industries-grid,
    .trust-items {
        grid-template-columns: 1fr;
    }
}

/* ===========================
   CORPORATE / PROJECT / BLOG PRO
   =========================== */

.corporate-proof-section {
    margin-top: 90px;
    padding: 44px;
    border-radius: 18px;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #e2e8f0;
    border: 1px solid rgba(148, 163, 184, 0.25);
    box-shadow: 0 24px 50px rgba(2, 6, 23, 0.35);
}

.corporate-proof-section h3 {
    color: #ffffff;
    font-size: 1.35rem;
    margin-bottom: 18px;
}

.cert-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 20px;
}

.cert-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 18px;
}

.cert-card i {
    color: #fbbf24;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.cert-card h4 {
    color: #ffffff;
    font-size: 0.95rem;
    margin-bottom: 6px;
}

.cert-card p {
    color: rgba(226, 232, 240, 0.85);
    font-size: 0.86rem;
    line-height: 1.6;
}

.capability-section {
    margin-top: 70px;
}

.capability-grid {
    margin-top: 28px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.capability-card {
    background: white;
    border-radius: 12px;
    border: 1px solid rgba(0, 102, 255, 0.12);
    padding: 22px;
    box-shadow: 0 10px 35px rgba(15, 23, 42, 0.07);
}

.capability-card h4 {
    font-size: 1rem;
    margin-bottom: 12px;
}

.capability-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 9px;
}

.capability-list li {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    padding-left: 20px;
    position: relative;
}

.capability-list li::before {
    content: '\2022';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--color-primary);
    font-weight: 700;
}

.kpi-strip {
    margin: 30px 0 40px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.kpi-item {
    background: linear-gradient(135deg, #f8fafc, #edf2ff);
    border: 1px solid rgba(0, 102, 255, 0.14);
    border-radius: 12px;
    padding: 18px;
    text-align: center;
}

.kpi-item strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1.55rem;
    color: var(--color-primary);
}

.kpi-item span {
    font-size: 0.84rem;
    color: var(--color-text-muted);
    font-weight: 600;
}

.case-study-grid {
    margin-top: 70px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.case-study-card {
    background: white;
    border: 1px solid rgba(0, 102, 255, 0.1);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.case-study-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 45px rgba(0, 102, 255, 0.18);
}

.case-study-head {
    padding: 18px;
    color: #ffffff;
    background: linear-gradient(120deg, #0f172a 0%, #1d4ed8 100%);
}

.case-study-head h3,
.case-study-head h4,
.case-study-head p,
.case-study-head span {
    color: #ffffff !important;
}

.case-study-body {
    padding: 18px;
}

.case-study-row {
    margin-bottom: 11px;
}

.case-study-row:last-child {
    margin-bottom: 0;
}

.case-study-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.6px;
    color: var(--color-primary);
    margin-bottom: 4px;
}

.case-study-row p {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    line-height: 1.65;
}

.insight-band {
    margin-top: 70px;
    padding: 42px;
    border-radius: 16px;
    background: linear-gradient(125deg, rgba(0, 102, 255, 0.96), rgba(30, 64, 175, 0.94));
    color: white;
    box-shadow: 0 20px 45px rgba(30, 64, 175, 0.32);
}

.insight-band h3 {
    color: white;
    margin-bottom: 8px;
}

.insight-band p {
    color: rgba(255, 255, 255, 0.96);
    margin-bottom: 18px;
    line-height: 1.75;
}

.insight-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.insight-band .btn-outline {
    border-color: rgba(255, 255, 255, 0.8);
    color: #ffffff;
    background: transparent;
}

.insight-band .btn-outline:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: #ffffff;
}

@media (max-width: 992px) {
    .cert-grid,
    .case-study-grid,
    .kpi-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .capability-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .corporate-proof-section,
    .insight-band {
        padding: 28px 20px;
    }

    .cert-grid,
    .case-study-grid,
    .kpi-strip {
        grid-template-columns: 1fr;
    }
}

/* ===========================
   CONTACT PREMIUM ADDITIONS
   =========================== */

.contact-trust-section {
    padding: 70px 0 100px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.contact-trust-grid {
    margin-top: 28px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.contact-trust-card {
    background: #ffffff;
    border: 1px solid rgba(0, 102, 255, 0.12);
    border-radius: 14px;
    padding: 22px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.07);
}

.contact-trust-card h3 {
    font-size: 1rem;
    margin-bottom: 8px;
}

.contact-trust-card p {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
}

.contact-quick-actions {
    margin-top: 18px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* ===========================
   SERVICE PAGE UTILITIES
   =========================== */

.section-compact-top {
    padding-top: 0;
}

.section-intro-tight {
    margin-top: 10px;
}

.service-icon-img {
    width: 120px;
    height: 120px;
}

.content-image-spacious {
    margin: 30px 0;
}

.content-image-compact {
    margin: 20px 0;
}

.service-media {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    object-fit: cover;
}

.service-media-h400 {
    height: 400px;
}

.service-media-h350 {
    height: 350px;
}

.service-media-h300 {
    height: 300px;
}

.service-media-dim {
    filter: brightness(0.8);
}

.service-block-gap {
    margin-top: 40px;
}

.advantage-grid-two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.ordered-list-spaced {
    line-height: 2;
    margin-left: 20px;
}

.feature-cta {
    padding: 30px;
    border-radius: 12px;
    margin: 30px 0;
}

.feature-cta-title {
    margin-top: 0;
}

.feature-cta-text {
    margin-bottom: 15px;
}

.feature-cta-electric {
    background: linear-gradient(135deg, #f59e0b20 0%, #d9770620 100%);
    border-left: 4px solid #f59e0b;
}

.feature-cta-electric .feature-cta-title {
    color: #b45309;
}

.feature-cta-mechanical {
    background: linear-gradient(135deg, #ff6b3520 0%, #ff910020 100%);
    border-left: 4px solid #ff6b35;
}

.feature-cta-mechanical .feature-cta-title {
    color: #e65100;
}

.feature-cta-automation {
    background: linear-gradient(135deg, #2563eb20 0%, #1e40af20 100%);
    border-left: 4px solid #2563eb;
}

.feature-cta-automation .feature-cta-title {
    color: #1565c0;
}

.feature-cta-maintenance {
    background: linear-gradient(135deg, #10b98120 0%, #05966920 100%);
    border-left: 4px solid #10b981;
}

.feature-cta-maintenance .feature-cta-title {
    color: #00796b;
}

.feature-cta-solar {
    background: linear-gradient(135deg, #f59e0b20 0%, #ea580c20 100%);
    border-left: 4px solid #f59e0b;
}

.feature-cta-solar .feature-cta-title {
    color: #ea580c;
}

.sidebar-muted-text {
    font-size: 0.9rem;
    color: #64748b;
}

.sidebar-emergency {
    background: #fff1f2;
    border: 1px solid #fecaca;
}

.sidebar-emergency h3 {
    color: #dc2626;
}

.sidebar-emergency p {
    color: #7f1d1d;
}

.sidebar-hotline {
    font-size: 1.5rem;
    font-weight: 700;
    color: #dc2626;
    margin: 10px 0;
}

.sidebar-hotline a {
    text-decoration: none;
    color: inherit;
}

.sidebar-call-btn {
    background: #dc2626;
    border-color: #dc2626;
    width: 100%;
}

.solar-calc-card {
    background: linear-gradient(135deg, #f59e0b 0%, #ea580c 100%);
    color: #ffffff;
}

.solar-calc-card h3 {
    color: #ffffff;
}

.solar-calc-card p {
    color: rgba(255, 255, 255, 0.9);
}

.insight-band-bottom {
    margin: 0 0 90px;
}

@media (max-width: 768px) {
    .advantage-grid-two {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 992px) {
    .contact-trust-grid {
        grid-template-columns: 1fr;
    }
}

/* ===========================
   HOME TESTIMONIALS CAROUSEL
   =========================== */

.testimonials-section .testimonials-carousel {
    position: relative;
    margin-top: 45px;
    padding: 0 72px;
}

.testimonials-section .testimonials-viewport {
    overflow: hidden;
    border-radius: 20px;
}

.testimonials-section .testimonials-track {
    display: flex;
    transition: transform 0.55s ease;
    will-change: transform;
}

.testimonials-section .testimonials-track .testimonial-card {
    flex: 0 0 100%;
    margin: 0;
    background: #ffffff;
    border-radius: 20px;
    padding: 36px 32px;
    border: 1px solid rgba(0, 102, 255, 0.1);
    box-shadow: 0 12px 36px rgba(15, 23, 42, 0.08);
}

.testimonials-section .testimonials-track .testimonial-card:hover {
    transform: none;
    box-shadow: 0 12px 36px rgba(15, 23, 42, 0.08);
    border-color: rgba(0, 102, 255, 0.1);
}

.testimonials-section .testimonial-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(0, 102, 255, 0.2);
    background: #ffffff;
    color: var(--color-primary);
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.12);
    transition: all 0.25s ease;
    z-index: 5;
}

.testimonials-section .testimonial-nav:hover {
    background: var(--color-primary);
    color: #ffffff;
    transform: translateY(-50%) scale(1.05);
}

.testimonials-section .testimonial-prev {
    left: 10px;
}

.testimonials-section .testimonial-next {
    right: 10px;
}

.testimonials-section .testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 24px;
}

.testimonials-section .testimonial-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: rgba(100, 116, 139, 0.35);
    cursor: pointer;
    transition: transform 0.25s ease, background-color 0.25s ease;
}

.testimonials-section .testimonial-dot.active {
    background: var(--color-primary);
    transform: scale(1.25);
}

.testimonials-section .testimonials-carousel.is-static {
    padding: 0;
}

.testimonials-section .testimonials-carousel.is-static .testimonial-nav,
.testimonials-section .testimonials-carousel.is-static+.testimonial-dots {
    display: none;
}

@media (max-width: 768px) {
    .testimonials-section .testimonials-carousel {
        padding: 0 52px;
    }

    .testimonials-section .testimonials-track .testimonial-card {
        padding: 26px 20px;
    }

    .testimonials-section .testimonial-nav {
        width: 40px;
        height: 40px;
    }

    .testimonials-section .testimonial-prev {
        left: 0;
    }

    .testimonials-section .testimonial-next {
        right: 0;
    }
}
