/* ===== CSS VARIABLES & RESET ===== */
:root {
    --primary: #1e3a5f;
    --primary-dark: #152a45;
    --secondary: #e8b923;
    --accent: #c41e3a;
    --text: #333;
    --text-light: #666;
    --bg: #fff;
    --bg-light: #f8f9fa;
    --bg-dark: #1a1a2e;
    --border: #e0e0e0;
    --shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 25px -5px rgba(0,0,0,0.1);
    --radius: 8px;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

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

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

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.2;
}

.section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.divider {
    width: 60px;
    height: 4px;
    background: var(--secondary);
    margin: 0 auto;
    border-radius: 2px;
}

.lead {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 20px;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
}

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

.btn-primary:hover {
    background: #d4a520;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

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

/* ===== HEADER & NAVIGATION ===== */
.header {
    background: white;
    box-shadow: var(--shadow);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    height: 30px;
    width: auto;
    display: block;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

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

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary);
    transition: var(--transition);
}

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

.nav-menu a.btn-outline:hover {
    color: white;
}

.nav-menu a.btn-outline:hover::after {
    width: 0;
}

/* Dropdown */
.dropdown {
    position: relative;
}
.dropdown > a {
    display: flex;
    align-items: center;
    gap: 6px;
}
.dropdown-arrow {
    font-size: 0.6rem;
    transition: transform 0.3s ease;
}
.dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}
.dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    background: white;
    min-width: 280px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
    border-radius: var(--radius);
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1001;
    list-style: none;
    border: 1px solid var(--border);
}
.dropdown::before {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 15px;
}
.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.dropdown-menu li a {
    display: block;
    padding: 12px 20px;
    color: var(--text);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}
.dropdown-menu li a:hover {
    background: var(--bg-light);
    color: var(--primary);
    border-left-color: var(--secondary);
    padding-left: 25px;
}

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

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary);
    transition: var(--transition);
}

/* ===== HERO WITH IMAGE SLIDER ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    margin-top: 70px;
    overflow: hidden;
}

/* Image Slider */
.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    z-index: 1;
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.55) saturate(0.9);
    transform: scale(1.05);
    animation: slideZoom 8s ease-in-out infinite;
}

@keyframes slideZoom {
    0% { transform: scale(1.05); }
    50% { transform: scale(1.15); }
    100% { transform: scale(1.05); }
}

/* Overlay on top of slides */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(30, 58, 95, 0.5) 0%,
        rgba(21, 42, 69, 0.62) 50%,
        rgba(30, 58, 95, 0.5) 100%
    );
    z-index: 3;
}

/* Slider dots */
.slider-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin: 30px 0;
    position: relative;
    z-index: 5;
}

.dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.dot:hover {
    background: rgba(255,255,255,0.6);
}

.dot.active {
    background: var(--secondary);
    border-color: white;
    transform: scale(1.2);
}

/* Animated particles */
.particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    overflow: hidden;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--secondary);
    border-radius: 50%;
    opacity: 0;
    animation: particleFloat 15s infinite;
    box-shadow: 0 0 10px var(--secondary), 0 0 20px var(--secondary);
}

.particle:nth-child(1) { left: 10%; animation-delay: 0s; animation-duration: 12s; }
.particle:nth-child(2) { left: 20%; animation-delay: 2s; animation-duration: 15s; width: 6px; height: 6px; }
.particle:nth-child(3) { left: 30%; animation-delay: 4s; animation-duration: 10s; }
.particle:nth-child(4) { left: 40%; animation-delay: 1s; animation-duration: 18s; width: 3px; height: 3px; }
.particle:nth-child(5) { left: 50%; animation-delay: 6s; animation-duration: 14s; }
.particle:nth-child(6) { left: 60%; animation-delay: 3s; animation-duration: 16s; width: 5px; height: 5px; }
.particle:nth-child(7) { left: 70%; animation-delay: 5s; animation-duration: 11s; }
.particle:nth-child(8) { left: 80%; animation-delay: 7s; animation-duration: 13s; width: 4px; height: 4px; }
.particle:nth-child(9) { left: 90%; animation-delay: 2s; animation-duration: 17s; }
.particle:nth-child(10) { left: 95%; animation-delay: 4s; animation-duration: 12s; width: 6px; height: 6px; }

@keyframes particleFloat {
    0% {
        bottom: -10%;
        opacity: 0;
        transform: translateX(0) scale(0);
    }
    10% {
        opacity: 1;
        transform: translateX(20px) scale(1);
    }
    90% {
        opacity: 1;
        transform: translateX(-20px) scale(1);
    }
    100% {
        bottom: 110%;
        opacity: 0;
        transform: translateX(40px) scale(0);
    }
}

/* Floating electrical icons */
.floating-icons {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    pointer-events: none;
    overflow: hidden;
}

.float-icon {
    position: absolute;
    font-size: 1.5rem;
    color: rgba(232, 185, 35, 0.15);
    animation: iconFloat 8s ease-in-out infinite;
}

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

/* Hero content */
.hero-content {
    position: relative;
    z-index: 4;
    text-align: center;
    color: white;
    padding: 60px 0;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(232, 185, 35, 0.2);
    border: 1px solid rgba(232, 185, 35, 0.4);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--secondary);
    margin-bottom: 30px;
    backdrop-filter: blur(10px);
    animation: fadeInUp 1s ease;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease 0.2s both;
    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.85;
    margin-bottom: 40px;
    animation: fadeInUp 1s ease 0.4s both;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 30px;
    animation: fadeInUp 1s ease 0.6s both;
}

.hero-cta .btn-outline {
    border-color: rgba(255,255,255,0.5);
    color: white;
}

.hero-cta .btn-outline:hover {
    background: white;
    color: var(--primary);
    border-color: white;
}

/* Hero stats bar */
.hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    animation: fadeInUp 1s ease 0.8s both;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius);
    padding: 25px 50px;
    max-width: 700px;
    margin: 20px auto 0;
}

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

.hero-stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary);
    display: inline-block;
    line-height: 1;
}

.hero-stat-suffix {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary);
}

.hero-stat-label {
    display: block;
    font-size: 0.875rem;
    opacity: 0.8;
    margin-top: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-stat-divider {
    width: 1px;
    height: 50px;
    background: rgba(255,255,255,0.2);
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 0;
    right: 0;
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: rgba(255,255,255,0.6);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: fadeInUp 1s ease 1.2s both;
    width: 100%;
    pointer-events: none;
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid rgba(255,255,255,0.4);
    border-radius: 13px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--secondary);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 2s ease infinite;
}

@keyframes scrollWheel {
    0% { top: 8px; opacity: 1; }
    100% { top: 20px; opacity: 0; }
}

/* ===== ABOUT SECTION ===== */
.about {
    background: var(--bg-light);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-image img {
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    width: 100%;
    height: auto;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid var(--border);
}

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

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
}

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

/* ===== SERVICES SECTION ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: white;
    padding: 40px 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
    border: 1px solid var(--border);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--secondary);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.6rem;
    line-height: 1;
    color: var(--secondary);
    transition: var(--transition);
}
.service-card:hover .service-icon {
    background: var(--secondary);
    color: #fff;
}

.service-card h3 {
    margin-bottom: 15px;
    color: var(--primary);
}

/* ===== PROJECTS SECTION ===== */
.projects {
    background: var(--bg-light);
}

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

.project-card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.project-image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

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

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

.project-overlay {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--secondary);
    color: var(--primary-dark);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.project-info {
    padding: 25px;
}

.project-info h3 {
    margin-bottom: 10px;
    color: var(--primary);
}

/* ===== CLIENTS RIBBON ===== */
.clients-ribbon {
    background: white;
    padding: 40px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.clients-ribbon .section-header {
    margin-bottom: 30px;
}

.ribbon-wrapper {
    overflow: hidden;
    width: 100%;
}

.ribbon-track {
    display: flex;
    align-items: center;
    gap: 60px;
    width: max-content;
}

.ribbon-scroll {
    animation: scrollRibbon 30s linear infinite;
}

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

.ribbon-track img {
    height: 60px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: var(--transition);
    flex-shrink: 0;
}

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

/* ===== TESTIMONIALS ===== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: white;
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    position: relative;
}

.quote-icon {
    font-size: 4rem;
    color: var(--secondary);
    opacity: 0.3;
    line-height: 1;
    margin-bottom: -20px;
}

.testimonial-content p {
    font-style: italic;
    color: var(--text-light);
    margin-bottom: 20px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
    border-top: 1px solid var(--border);
    padding-top: 20px;
}

.avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info h4 {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    margin-bottom: 5px;
}

.author-info span {
    font-size: 0.875rem;
    color: var(--text-light);
}

/* ===== TESTIMONIALS PAGE ===== */
.section-subtext {
    color: var(--text-light);
    max-width: 620px;
    margin: 0 auto;
}
.testimonials-grid--page {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    margin-top: 40px;
}
.testimonial-card--lg {
    padding: 45px;
}
.testimonial-card--lg .testimonial-content p {
    font-size: 1.05rem;
    line-height: 1.8;
}

/* ===== CONTACT SECTION ===== */
.contact {
    background: var(--bg-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info h3 {
    margin-bottom: 20px;
    color: var(--primary);
}

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

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(30, 58, 95, 0.1);
}

/* ===== FOOTER ===== */
.footer {
    background: var(--bg-dark);
    color: white;
    padding: 60px 0 20px;
}

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

.footer h3, .footer h4 {
    color: var(--secondary);
    margin-bottom: 20px;
}

.footer ul {
    list-style: none;
}

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

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

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

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

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

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
    min-height: 45vh;
    display: flex;
    align-items: center;
    position: relative;
    margin-top: 70px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}
.page-hero-bg {
    position: absolute;
    inset: 0;
    opacity: 1;
}
.page-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.page-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(30,58,95,0.62) 0%, rgba(21,42,69,0.70) 100%);
}
.page-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    padding: 60px 20px;
    width: 100%;
}
.page-hero-title {
    font-size: 2.8rem;
    margin-bottom: 15px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}
.page-hero-subtitle {
    font-size: 1.1rem;
    opacity: 0.85;
    max-width: 600px;
    margin: 0 auto;
}

/* ===== BREADCRUMBS ===== */
.breadcrumbs {
    background: var(--bg-light);
    padding: 15px 0;
    border-bottom: 1px solid var(--border);
}
.breadcrumbs .container {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.875rem;
    color: var(--text-light);
}
.breadcrumbs a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}
.breadcrumbs a:hover {
    text-decoration: underline;
}
.breadcrumbs .sep {
    color: var(--border);
}
.breadcrumbs .current {
    color: var(--text);
    font-weight: 500;
}

/* ===== SERVICE DETAIL PAGE ===== */
.service-detail-section {
    padding: 60px 0;
}
.service-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
    margin-bottom: 50px;
}
.service-detail-content h2 {
    color: var(--primary);
    font-size: 1.9rem;
    margin-bottom: 20px;
}
.service-detail-content p {
    color: var(--text-light);
    margin-bottom: 18px;
    line-height: 1.8;
}
.service-features {
    list-style: none;
    margin: 25px 0;
}
.service-features li {
    padding: 8px 0;
    padding-left: 28px;
    position: relative;
    color: var(--text);
}
.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary);
    font-weight: 700;
    font-size: 1.1rem;
}
.service-standards {
    background: var(--bg-light);
    border-left: 4px solid var(--secondary);
    padding: 25px;
    border-radius: 0 var(--radius) var(--radius) 0;
    margin: 30px 0;
}
.service-standards h3 {
    color: var(--primary);
    margin-bottom: 12px;
    font-size: 1.1rem;
}
.service-standards p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.7;
}
.service-cta-box {
    background: var(--primary);
    padding: 30px;
    border-radius: var(--radius);
    margin-top: 30px;
    color: white;
}
.service-cta-box h3 {
    color: var(--secondary);
    margin-bottom: 10px;
    font-size: 1.2rem;
}
.service-cta-box p {
    margin-bottom: 20px;
    opacity: 0.9;
    font-size: 0.95rem;
}
.service-detail-image {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.service-detail-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* ===== GALLERY PAGE ===== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}
.gallery-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
    box-shadow: var(--shadow);
    background: var(--bg-light);
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}
.gallery-item:hover img {
    transform: scale(1.08);
}
.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(30,58,95,0.9) 0%, transparent 50%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 25px;
    opacity: 0;
    transition: var(--transition);
}
.gallery-item:hover .gallery-overlay {
    opacity: 1;
}
.gallery-overlay h3 {
    color: white;
    font-size: 1.15rem;
    margin-bottom: 5px;
}
.gallery-overlay span {
    color: var(--secondary);
    font-size: 0.85rem;
    font-weight: 500;
}

/* ===== CLIENTS PAGE ===== */
.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 25px;
}
.client-card {
    background: white;
    border-radius: var(--radius);
    padding: 30px 20px;
    text-align: center;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: var(--transition);
}
.client-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--secondary);
}
.client-logo {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}
.client-logo img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: var(--transition);
}
.client-card:hover .client-logo img {
    filter: grayscale(0%);
    opacity: 1;
}
.client-name {
    margin: 0;
    font-size: 0.85rem;
    color: var(--text-light);
    text-align: center;
}

/* ===== CONTACT PAGE ===== */
.contact-page-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 40px;
    align-items: start;
}
.contact-info-block {
    background: var(--primary);
    color: white;
    padding: 50px;
    border-radius: var(--radius);
}
.contact-info-block h2 {
    color: var(--secondary);
    margin-bottom: 35px;
    font-size: 1.6rem;
}
.contact-info-item {
    display: flex;
    gap: 18px;
    margin-bottom: 30px;
    align-items: flex-start;
}
.contact-info-item .icon {
    font-size: 1.3rem;
    color: var(--secondary);
    margin-top: 2px;
    flex-shrink: 0;
}
.contact-info-item h4 {
    font-size: 1rem;
    margin-bottom: 6px;
    color: white;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
}
.contact-info-item p {
    opacity: 0.85;
    font-size: 0.95rem;
    line-height: 1.5;
}
.map-container {
    margin-top: 30px;
    border-radius: var(--radius);
    overflow: hidden;
    height: 250px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
}
.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}
.contact-form-block {
    background: white;
    padding: 50px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.contact-form-block h2 {
    color: var(--primary);
    margin-bottom: 10px;
}
.contact-form-block > p {
    color: var(--text-light);
    margin-bottom: 30px;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text);
}
.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(30, 58, 95, 0.08);
}
.form-group textarea {
    resize: vertical;
    min-height: 140px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
        padding: 20px 30px;
    }
    
    .hero-stat-divider {
        width: 50px;
        height: 1px;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .floating-icons {
        display: none;
    }
    
    .about-grid,
    .contact-grid,
    .service-detail-grid,
    .contact-page-grid {
        grid-template-columns: 1fr;
    }
    
    .stats {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .dropdown-menu {
        position: static;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        border: none;
        padding: 0 0 0 15px;
        min-width: 100%;
    }
    .dropdown.active .dropdown-menu {
        display: block;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-info-block,
    .contact-form-block {
        padding: 30px;
    }
    
    .ribbon-track img {
        height: 40px;
    }
}

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

    .logo img {
        height: 22px;
    }
}

/* ===== UTILITY ===== */
.img-responsive {
    max-width: 100%;
    height: auto;
    display: block;
}