/* Global Variables */
:root {
    --primary-color: #008da8;
    /* Teal */
    --primary-dark: #006073;
    --primary-light: #4ccfda;

    --secondary-color: #34495e;

    /* CMYK Accents - Vibrant */
    --accent-cyan: #00e5ff;
    --accent-magenta: #ff4081;
    --accent-yellow: #ffeb3b;
    --accent-black: #212121;

    --bg-body: #f4f7f6;
    --bg-white: #ffffff;
    --bg-dark: #121212;

    --text-main: #2c3e50;
    --text-light: #7f8c8d;
    --text-white: #ffffff;

    --shadow-soft: 0 10px 30px -10px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 20px 40px -15px rgba(0, 0, 0, 0.2);
    --glass-bg: rgba(255, 255, 255, 0.95);

    --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    --container-width: 1200px;

    --cmyk-gradient: linear-gradient(90deg,
            var(--accent-cyan) 0%,
            var(--accent-magenta) 33%,
            var(--accent-yellow) 66%,
            var(--accent-black) 100%);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Cairo', sans-serif;
    direction: rtl;
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.7;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Container */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 20px;
    color: var(--text-main);
}

.footer-title {
    color: var(--primary-color);
}

p {
    margin-bottom: 15px;
    color: var(--text-light);
    font-size: 1.02rem;
    text-align: center;
}

.about-text {
    text-align: justify;
    margin-bottom: 15px;
    color: var(--text-light);
    font-size: 1.2rem;
    font-weight: 400;
}

/* Header & Navbar */
header {
    background-color: var(--glass-bg);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo img {
    height: 55px;
    transition: var(--transition);
}

.logo:hover img {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    gap: 35px;
}

.nav-links a {
    font-weight: 700;
    color: var(--secondary-color);
    position: relative;
    font-size: 1.05rem;
    padding: 5px 0;
    white-space: nowrap;
}

.nav-links a::before {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 3px;
    background: var(--cmyk-gradient);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.nav-links a:hover::before,
.nav-links a.active::before {
    width: 100%;
}

.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    padding: 5px;
}

.line {
    width: 30px;
    height: 3px;
    background: var(--text-main);
    border-radius: 5px;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding-top: 80px;
    position: relative;
    overflow: hidden;
    background: var(--bg-dark);
}

/* Slider */
.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6);
    /* Darken images for better text contrast */
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 40px;
    background: rgba(0, 0, 0, 0.4);
    /* Glass effect dark */
    backdrop-filter: blur(5px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease-out;
}

.hero h1 {
    font-size: 2.2rem;
    /* Adjusted for mobile default, override in media query */
    margin-bottom: 20px;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 1.1rem;
    color: #ffffff;
    margin-bottom: 40px;
    font-weight: 400;
}

.hero-btns .btn {
    padding: 15px 40px;
    font-size: 1.1rem;
    border-radius: 50px;
    margin: 10px 10px;
    /* Added margins for mobile stacking */
    box-shadow: 0 10px 20px rgba(0, 141, 168, 0.3);
}

/* Button Refinement */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: var(--primary-color);
    /* Fallback */
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 141, 168, 0.4);
    filter: brightness(1.1);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-dark);
    transform: translateY(-5px);
}

/* Layout Sections */
section {
    padding: 80px 0;
    position: relative;
}

.section-title {
    text-align: center;
    margin-bottom: 70px;
}

.section-title span {
    display: block;
    color: var(--primary-color);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--text-main);
    position: relative;
    display: inline-block;
}

/* CMYK Dot Accent */
.section-title h2::after {
    content: '';
    display: block;
    width: 60%;
    height: 6px;
    background: var(--cmyk-gradient);
    margin: 15px auto 0;
    border-radius: 10px;
    opacity: 0.8;
}

/* About Section */
.about {
    background: var(--bg-white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.about-img img {
    border-radius: 20px;
    box-shadow: var(--shadow-hover);
    transition: var(--transition);
    background: white;
    padding: 40px;
    width: 100%;
    /* Fix width */
}

.about-img:hover img {
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
}

.about-text h2 {
    font-size: 2rem;
    margin-bottom: 25px;
    color: var(--primary-dark);
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-top: 40px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: var(--bg-body);
    padding: 15px 20px;
    border-radius: 12px;
    transition: var(--transition);
    border: 1px solid transparent;
}

.feature-item:hover {
    background: var(--white);
    border-color: var(--primary-light);
    transform: translateX(-5px);
    box-shadow: var(--shadow-soft);
}

.feature-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
}

/* Services */
.services {
    background: var(--bg-body);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(320px, 1fr));
    gap: 40px;
}

.service-card {
    background: var(--bg-white);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(0, 0, 0, 0.03);
    z-index: 1;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--cmyk-gradient);
    /* Top accent */
    z-index: 2;
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-hover);
}

.service-icon {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: rgba(0, 141, 168, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    font-size: 2.8rem;
    transition: var(--transition);
}

/* Color specific icons */
.service-card[data-service="print"] .service-icon {
    color: var(--accent-cyan);
    background: rgba(0, 229, 255, 0.1);
}

.service-card[data-service="color"] .service-icon {
    color: var(--accent-magenta);
    background: rgba(255, 64, 129, 0.1);
}

.service-card[data-service="design"] .service-icon {
    color: var(--accent-yellow);
    background: rgba(255, 235, 59, 0.1);
}

.service-card[data-service="signs"] .service-icon {
    color: var(--accent-black);
    background: rgba(33, 33, 33, 0.1);
}

.service-card[data-service="uv"] .service-icon {
    color: #A020F0;
    background: rgba(188, 19, 254, 0.1);
}


.service-card[data-service="tdf"] .service-icon {
    color: #FF5722;
    background: rgba(255, 87, 34, 0.1);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

/* Stats Section with Gradient */
.stats {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color)) !important;
    color: var(--white) !important;
    position: relative;
    overflow: hidden;
}

/* Abstract shapes bg */
.stats::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    top: -100px;
    right: -100px;
}

.stat-item {
    padding: 20px;
}

.stat-icon {
    color: rgba(255, 255, 255, 0.8);
}

/* Services Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: var(--bg-white);
    padding: 40px;
    border-radius: 20px;
    width: 90%;
    max-width: 600px;
    position: relative;
    animation: modalSlideIn 0.4s ease;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 2rem;
    font-weight: bold;
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition);
}

.close-modal:hover {
    color: var(--accent-magenta);
}

.modal h2 {
    color: var(--primary-color);
    margin-bottom: 15px;
    border-bottom: 2px solid var(--primary-light);
    padding-bottom: 15px;
    display: inline-block;
}

.modal p {
    font-size: 1.1rem;
    color: var(--text-main);
    line-height: 1.8;
}

.modal-steps {
    margin-top: 20px;
}

.modal-step {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
    background: var(--bg-body);
    padding: 10px 15px;
    border-radius: 8px;
}

.step-number {
    background: var(--primary-color);
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    font-size: 0.9rem;
}

/* Clients Carousel */
.clients-section {
    background: var(--bg-white);
    border-top: 1px solid #eee;
    padding: 80px 0;
}

.clients-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    z-index: 1;
}

.main-clients-container {
    position: relative;
    z-index: 2;
}

.clients-content-wrapper {
    display: flex;
    align-items: center;
    gap: 50px;
}

.clients-title-box {
    flex: 0 0 auto;
    min-width: 200px;
    text-align: right;
    border-left: 4px solid var(--primary-color);
    padding-left: 25px;
}

.clients-title-box span {
    display: block;
    color: var(--secondary-color);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.clients-title-box h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin: 0;
    font-weight: 700;
}

.clients-carousel-wrapper {
    flex: 1;
    overflow: hidden;
    position: relative;
    padding: 30px 0;
}

.clients-carousel {
    display: flex;
    /* gap removed for smooth loop */
    animation: autoSlide 25s linear infinite;
    will-change: transform;
    width: max-content;
}

.clients-carousel:hover {
    animation-play-state: paused;
}

@keyframes autoSlide {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.client-card {
    position: relative;
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 160px;
    height: 100px;
    margin: 0 25px;
    /* Spacing */
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.client-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.client-card img {
    max-width: 100%;
    max-height: 70px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.4s ease;
}

.client-card:hover img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

/* Tooltips */
.client-card[data-tooltip]::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%) scale(0);
    background: var(--dark-bg);
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    z-index: 100;
}

.client-card[data-tooltip]:hover::after {
    opacity: 1;
    transform: translateX(-50%) scale(1);
}


/* Portfolio */
.portfolio {
    background: var(--bg-body);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.portfolio-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 300px;
    /* Fixed height for consistency */
    box-shadow: var(--shadow-soft);
    cursor: pointer;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 60%);
    opacity: 1;
    /* Always visible gradient */
    display: flex;
    align-items: flex-end;
    padding: 30px;
    transition: all 0.4s ease;
}

.portfolio-info {
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.portfolio-item:hover .portfolio-info {
    transform: translateY(0);
}

.portfolio-info h3 {
    color: var(--white);
    margin-bottom: 5px;
    font-size: 1.4rem;
}

.portfolio-info p {
    color: #ddd;
    font-size: 0.95rem;
    margin: 0;
}

/* Footer */
footer {
    background-color: var(--dark-bg);
    color: #ecf0f1;
    padding-top: 80px;
    font-size: 1rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 50px;
    padding-bottom: 50px;
}

.footer-links a {
    color: var(--primary-color);
    display: block;
    margin-bottom: 15px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-light);
    padding-right: 10px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 1.2rem;
    transition: var(--transition);
}

.social-icon:hover {
    background: var(--primary-color);
    transform: translateY(-5px);
}

.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    background-color: #128C7E;
    transform: scale(1.1);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

.copyright {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: #7f8c8d;
    margin-top: 20px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Slider Controls Styles */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
    font-size: 1.2rem;
    color: white;
    /* Ensure visible */
}

.slider-arrow:hover {
    background: var(--primary-color);
}

.slider-arrow.prev {
    left: 30px;
}

.slider-arrow.next {
    right: 30px;
}

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--primary-color);
    transform: scale(1.2);
}


/* Responsive */
@media (max-width: 992px) {
    .container {
        padding: 0 15px;
    }

    .hero h1 {
        font-size: 2.8rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .nav-links {
        display: none;
    }

    /* Mobile Menu Logic handled by JS */
    .hamburger {
        display: flex;
    }

    .clients-content-wrapper {
        flex-direction: column;
        text-align: center;
    }

    .clients-title-box {
        text-align: center;
        border-left: none;
        border-bottom: 3px solid var(--primary-color);
        padding-left: 0;
        margin-bottom: 20px;
        width: 100%;
        padding-bottom: 10px;
    }
}

@media (max-width: 768px) {
    .section-title h2 {
        font-size: 2rem;
    }

    .hero-content {
        padding: 25px 15px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .contact-info li,
    .footer-links a {
        justify-content: center;
    }

    .social-icons {
        justify-content: center;
    }

    /* Mobile Menu */
    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--bg-white);
        align-items: center;
        justify-content: center;
        gap: 30px;
        z-index: 999;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }

    .hero h1 {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }

    .hero p {
        font-size: 1rem;
        margin-bottom: 25px;
    }

    /* Mobile Slider Adjustments */
    .slider-arrow {
        width: 40px;
        height: 40px;
        background: rgba(0, 0, 0, 0.3);
        top: auto;
        bottom: 80px;
        transform: none;
    }

    .slider-arrow.prev {
        left: 20px;
    }

    .slider-arrow.next {
        right: 20px;
    }

    .slider-dots {
        bottom: 40px;
    }

    .slide img {
        object-fit: contain;
        background: var(--bg-dark);
    }
}


/* --- CRITICAL FIXES (Updated) --- */

/* 1. Footer Colors - High Contrast */
footer {
    background-color: #121212 !important;
    color: #ffffff !important;
}

.footer-links a,
.contact-info li,
.contact-info li span,
.contact-info li i {
    color: #e0e0e0 !important;
}

.footer-links a:hover {
    color: var(--primary-color) !important;
}

.copyright p {
    color: #9baaab !important;
}

/* 2. Hero Content - Better Visibility */
.hero-content {
    background: rgba(0, 0, 0, 0.3) !important;
    /* Lighter background */
    backdrop-filter: blur(2px) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
}

.hero h1 {
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.6) !important;
}

.hero p {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6) !important;
    color: #f5f5f5 !important;
}

/* 3. Portfolio Text - Readable on Images */
.portfolio-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 10%, rgba(0, 0, 0, 0.5) 50%, transparent 100%) !important;
}

.portfolio-info h3 {
    color: #ffffff !important;
    text-shadow: 0 2px 5px black;
}

/* 4. Modal CSS - RTL Fixes */
.close-modal {
    right: auto !important;
    left: 20px !important;
    /* Move to Left for RTL */
    top: 20px !important;
    background: rgba(255, 255, 255, 0.1);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.close-modal:hover {
    background: rgba(233, 30, 99, 0.2);
    color: #e91e63 !important;
}

.modal {
    z-index: 9999 !important;
    /* Ensure on top of everything */
}

/* 5. Hamburger Animation Fix */
.hamburger.active .line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active .line:nth-child(2) {
    opacity: 0;
}

.hamburger.active .line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* 6. Clients Section Background Match */
.clients-section {
    background-color: var(--bg-white) !important;
}

/* 7. Services Grid - 4 Columns */
.services-grid {
    grid-template-columns: repeat(3 1fr) !important;
}

@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 600px) {
    .services-grid {
        grid-template-columns: 1fr !important;
    }
}

/* 8. Hero Text Background - Removed as requested */
.hero-content {
    background: transparent !important;
    backdrop-filter: none !important;
    border: none !important;
    box-shadow: none !important;
}

.hero h1 {
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.9) !important;
    /* Stronger shadow for readability */
}

/* 9. Footer Logo Centering */
.logo {
    display: flex;
    justify-content: center;
    width: 100%;
}

@media (min-width: 992px) {
    .logo {
        justify-content: flex-start;
    }
}

.footer-about img {
    margin: 0 auto 20px auto;
    display: block;
}