﻿/* =========================================================
   1. ENJEMAD ORIGINAL PREMIUM THEME (Core Design)
   ========================================================= */

/* ==================== CSS VARIABLES ==================== */
:root {
    --primary-color: #1a237e;
    --primary-dark: #000051;
    --primary-light: #534bae;
    --secondary-color: #00b0ff;
    --accent-color: #00e5ff;
    --light-color: #fff;
    --dark-color: #121212;
    --dark-text: #333;
    --light-text: #f5f5f5;
    --gray-light: #f8f9fa;
    --gray-medium: #e0e0e0;
    --gray-dark: #757575;
    --success-color: #00c853;
    --error-color: #ff1744;
    --shadow-light: 0 4px 15px rgba(0,0,0,.08);
    --shadow-medium: 0 8px 25px rgba(0,0,0,.12);
    --shadow-heavy: 0 12px 35px rgba(0,0,0,.15);
    --gradient-primary: linear-gradient(135deg,var(--primary-color),var(--primary-dark));
    --gradient-secondary: linear-gradient(135deg,var(--secondary-color),var(--accent-color));
    --gradient-hero: linear-gradient(135deg,rgba(26,35,126,.9),rgba(0,0,81,.8))
}

/* ==================== RESET & BASE STYLES ==================== */
*, ::after, ::before {
    box-sizing: border-box;
    margin: 0;
    padding: 0
}

html {
    scroll-behavior: smooth;
    font-size: 16px
}

body {
    font-family: 'Cairo', sans-serif;
    color: var(--dark-text);
    background-color: #B2F3F3;
    line-height: 1.7;
    overflow-x: hidden;
    direction: rtl
}

.container {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 20px
}

.section {
    padding: 100px 0
}

.bg-light {
    background: var(--gradient-hero), url('https://ik.imagekit.io/ourstyle/enjemad%20website%20images/background.png') no-repeat center center/cover;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
    font-size: 2.8rem;
    color: var(--primary-color);
    font-weight: 800;
    position: relative
}

.section-title::after {
    content: '';
    display: block;
    width: 100px;
    height: 5px;
    background: var(--gradient-secondary);
    margin: 15px auto;
    border-radius: 2px
}

.section-title-left {
    text-align: right
}

.section-title-left::after {
    margin: 15px 0
}

.text-center {
    text-align: center
}

/* ==================== PRELOADER ==================== */
.loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity .5s ease,visibility .5s ease
}

.loader-wrapper.fade-out {
    opacity: 0;
    visibility: hidden
}

.loader {
    text-align: center;
    color: #fff
}

.loader-logo img {
    width: 200px;
    margin-bottom: 30px;
    animation: pulse-loader 2s infinite ease-in-out
}

@keyframes pulse-loader {
    0%,100% {
        transform: scale(1)
    }
    50% {
        transform: scale(1.1)
    }
}

.loader-progress {
    width: 200px;
    height: 4px;
    background: rgba(255,255,255,.3);
    border-radius: 2px;
    overflow: hidden;
    position: relative
}

.loader-progress::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: var(--secondary-color);
    transform: translateX(-100%);
    animation: loading-bar 2s infinite linear
}

@keyframes loading-bar {
    0% {
        transform: translateX(-100%)
    }
    100% {
        transform: translateX(100%)
    }
}

/* ==================== BACKGROUND EFFECTS ==================== */
.background-effects {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden
}

.floating-shapes {
    position: relative;
    width: 100%;
    height: 100%
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(0,176,255,.1);
    animation: float 20s infinite linear
}

.shape-1 {
    width: 80px;
    height: 80px;
    top: 10%;
    right: 10%;
    animation-delay: 0s
}

.shape-2 {
    width: 120px;
    height: 120px;
    bottom: 15%;
    left: 5%;
    animation-delay: -5s
}

.shape-3 {
    width: 60px;
    height: 60px;
    top: 50%;
    right: 20%;
    animation-delay: -10s
}

.shape-4 {
    width: 100px;
    height: 100px;
    bottom: 30%;
    left: 15%;
    animation-delay: -15s
}

@keyframes float {
    0% {
        transform: translateY(0) rotate(0);
        opacity: 1
    }
    33% {
        transform: translateY(-30px) rotate(120deg);
        opacity: .7
    }
    66% {
        transform: translateY(20px) rotate(240deg);
        opacity: .5
    }
    100% {
        transform: translateY(0) rotate(360deg);
        opacity: 1
    }
}

/* ==================== HEADER & NAVBAR ==================== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255,255,255,0);
    transition: all .3s ease
}

    .main-header.scrolled {
        box-shadow: var(--shadow-medium);
        border-bottom: 1px solid rgba(255, 255, 255, 0.2); /* Very light line */

        background-color: rgba(31, 34, 82, 0.8);
        backdrop-filter: blur(5px); /* Apply blur effect */
        transition: background-color 0.2s ease, backdrop-filter 0.3s ease;
    }

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
    transition: height .3s ease
}

.main-header.scrolled .navbar {
    height: 70px
}

.navbar-brand {
    opacity: 1;
    transition: all .4s ease;
}

.navbar-brand img {
    height: 50px;
    width: auto;
    transition: height .3s ease
}

.main-header.scrolled .navbar-brand img {
    height: 40px
}

.logo-primary {
    display: none
}

.logo-white {
    display: block
}

.main-header.scrolled .logo-primary {
    display: block
}

.main-header.scrolled .logo-white {
    display: none
}

/* IMPORTANT: Hide logo only on homepage top */
body.home-page .main-header:not(.scrolled) .navbar-brand {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

body.home-page .main-header.scrolled .navbar-brand {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.navbar-links {
    flex-grow: 1;
    text-align: center
}

.navbar-nav {
    display: inline-flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center
}

.nav-link {
    text-decoration: none;
    font-weight: 700;
    font-size: 1.05rem;
    transition: all .3s ease;
    position: relative;
    padding: 5px 0;
}

    .nav-link::after {
        content: '';
        position: absolute;
        bottom: 0;
        right: 0;
        width: 0;
        height: 2px;
        background: var(--secondary-color);
        transition: width .3s ease;

    }

.nav-link:hover {
    color: var(--secondary-color)
}

.nav-link:hover::after {
    width: 100%
}

.main-header:not(.scrolled) .nav-link {
    color: var(--light-text)
}

.main-header:not(.scrolled) .nav-link:hover {
    color: #fff
}

.main-header:not(.scrolled) .nav-link::after {
    background: #fff
}

.main-header.scrolled .nav-link {
    color: white;
}

.navbar-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem

}

.header-social {
    display: flex;
    gap: 1rem
}

    .header-social a {
        color: white;
        font-size: 1.2rem;
        transition: all .3s ease
    }

.main-header:not(.scrolled) .header-social a {
    color: #fff
}

.header-social a:hover {
    color: var(--secondary-color);
    transform: translateY(-2px)
}

.navbar-toggler {
    display: none;
    background: 0 0;
    border: none;
    color: var(--light-text);
    font-size: 1.8rem;
    cursor: pointer;
    transition: color .3s ease;
    z-index: 5
}

.main-header.scrolled .navbar-toggler {
    color: var(--primary-color)
}

.navbar-toggler:hover {
    color: var(--secondary-color)
}

/* ==================== MOBILE NAVIGATION ==================== */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100%;
    background: var(--light-color);
    box-shadow: var(--shadow-heavy);
    z-index: 1100;
    transition: right .4s ease;
    display: flex;
    flex-direction: column
}

.mobile-nav.active {
    right: 0
}

.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid var(--gray-medium)
}

.mobile-nav-header img {
    height: 40px
}

.mobile-nav-close {
    background: 0 0;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer
}

.mobile-nav-links {
    list-style: none;
    padding: 20px 0;
    flex-grow: 1
}

.mobile-nav-links li a {
    display: block;
    padding: 15px 25px;
    color: var(--dark-text);
    text-decoration: none;
    font-weight: 600;
    transition: all .3s ease;
    border-right: 3px solid transparent
}

.mobile-nav-links li a:hover {
    background: var(--gray-light);
    border-right-color: var(--secondary-color);
    padding-right: 30px
}

.mobile-nav-social {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    padding: 20px;
    border-top: 1px solid var(--gray-medium)
}

.mobile-nav-social a {
    color: var(--primary-color);
    font-size: 1.3rem;
    transition: all .3s ease
}

.mobile-nav-social a:hover {
    color: var(--secondary-color);
    transform: translateY(-3px)
}

/* ==================== HERO SECTION ==================== */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--light-text);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-hero), url('https://ik.imagekit.io/ourstyle/enjemad%20website%20images/background.png') no-repeat center center/cover;
    z-index: 1
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: auto;
    padding: 0 20px
}

/* Hero Specific Polish */
.hero-content h1 {
    color: #ffffff;
    letter-spacing: -0.5px;
}

/* Main Hero Image sizing */
.hero-side-logo {
    width: 100%;
    max-width: 3150px;
    height: auto;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.3));
    animation: fadeInUp 1.2s ease;
}

.hero-logo {
    transition: opacity .5s ease,transform .5s ease;
    max-width: 3100px;
    width: 140%;
    height: auto;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease both
}

.hero-logo.scrolled-past {
    opacity: 0;
    transform: scale(.2) translateY(-200px)
}

.hero-description {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 2.5rem;
    line-height: 1.6;
    animation: fadeInUp 1s ease .3s both
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease .6s both
}
/* Ensure proper column behavior for hero section */
.hero .row {
    order: 1; /* Logo on right */

    width: 100%;
    margin: 0;
    gap: 80px;
}

.hero-text-col {
    text-align: right;
}

.hero-img-col {
    order: 3; /* Logo on right */

    display: flex;
    justify-content: center;
    align-items: center;
}

/* Make sure Bootstrap columns work as expected */
@media (min-width: 992px) {
    .hero .row {
        display: flex;
        flex-wrap: nowrap;
    }
}
/* ==================== BUTTONS ==================== */
.btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: all .3s ease;
    border: none;
    cursor: pointer;
    font-family: 'Cairo', sans-serif
}

.btn-primary {
    background: var(--gradient-secondary);
    color: var(--primary-dark);
    box-shadow: var(--shadow-light)
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium)
}

.btn-outline {
    background: 0 0;
    color: var(--light-text);
    border: 2px solid hsla(0,0%,100%,.5)
}

.btn-outline:hover {
    background: var(--light-text);
    color: var(--primary-color);
    transform: translateY(-3px)
}
.btn-whatsapp-chat {
    background: #fff;
    color: #00a305;
    border: 2px solid hsla(0,0%,100%,.5)
}
    .btn-whatsapp-chat:hover {
        background: #00b0ff;
        color: #fff;
        transform: translateY(-3px)
    }
.btn-whatsapp-call {
    background: 0 0;
    color: #fff;
    border: 2px solid hsla(0,0%,100%,.5)
}

    .btn-whatsapp-call:hover {
        background: #00b0ff;
        color: #fff;
        transform: translateY(-3px)
    }
.btn-learn-more {
    color: var(--primary-color);
    font-weight: 700;
    transition: all .3s ease;
    font-size: 1rem
}

.btn-learn-more i {
    margin-right: 8px;
    transition: transform .3s ease
}

.service-card:hover .btn-learn-more {
    color: var(--secondary-color)
}

.service-card:hover .btn-learn-more i {
    transform: translateX(-5px)
}

.btn-whatsapp {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    background: #25d366;
    color: #fff;
    font-size: 1.2rem;
    padding: 15px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    margin-bottom: 30px;
    transition: all .3s ease
}

.btn-whatsapp:hover {
    background: #128c7e;
    transform: scale(1.05)
}

.btn-submit {
    background: var(--gradient-primary);
    color: #fff;
    padding: 15px 40px;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all .3s ease;
    box-shadow: var(--shadow-light)
}

.btn-submit:hover {
    background: var(--gradient-secondary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium)
}

/* ==================== SERVICES SECTION ==================== */
.service-banner-combined {
    position: relative;
    height: 320px;
    border-radius: 24px;
    overflow: hidden;
    text-decoration: none;
    display: flex;
    align-items: flex-end;
    padding: 30px;
    background: #fff;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid #f8f9fa;
}

    .service-banner-combined:hover {
        transform: translateY(-15px) rotateX(3deg);
        box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
        border-color: var(--secondary-color);
    }

.sb-bg-combined {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.8s ease;
    filter: brightness(0.8);
}

.sb-gradient-overlay-combined {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26,35,126,0.85) 0%, rgba(0,176,255,0.75) 100%);
    z-index: 1;
    opacity: 0.9;
}

.service-banner-combined:hover .sb-bg-combined {
    transform: scale(1.12);
    filter: brightness(1);
}

.sb-icon-combined {
    position: absolute;
    top: 30px;
    left: 30px;
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--primary-color);
    transition: all 0.4s ease;
    z-index: 3;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.service-banner-combined:hover .sb-icon-combined {
    transform: scale(1.15) rotate(8deg);
    background: #fff;
    color: var(--secondary-color);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.sb-content-combined {
    position: relative;
    z-index: 2;
    color: #fff;
    width: 100%;
}

.sb-badge-combined {
    display: inline-block;
    background: rgba(255, 255, 255, 0.25);
    color: #fff;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.sb-title-combined {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 12px;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    line-height: 1.3;
}

.sb-desc-combined {
    opacity: 0.95;
    margin-bottom: 20px;
    font-size: 1.05rem;
    text-shadow: 0 1px 5px rgba(0,0,0,0.3);
    line-height: 1.5;
}

.sb-btn-combined {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary-color);
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 700;
    transition: all 0.4s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    backdrop-filter: blur(10px);
}

.service-banner-combined:hover .sb-btn-combined {
    background: #fff;
    color: var(--secondary-color);
    transform: translateX(-8px);
    box-shadow: 0 8px 20px rgba(0,176,255,0.3);
}

.sb-hover-effect-combined {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.7s ease;
    z-index: 2;
}

.service-banner-combined:hover .sb-hover-effect-combined {
    left: 100%;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .service-banner-combined {
        height: 280px;
        padding: 25px;
    }

    .sb-icon-combined {
        top: 20px;
        left: 20px;
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .sb-title-combined {
        font-size: 1.5rem;
    }

    .sb-desc-combined {
        font-size: 1rem;
    }
}
/* ==================== FEATURES SECTION ==================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(300px,1fr));
    gap: 30px
}

.feature-item {
    text-align: center;
    padding: 40px 25px;
    border-radius: 15px;
    background: var(--light-color);
    box-shadow: var(--shadow-light);
    transition: all .3s ease;
    position: relative;
    overflow: hidden
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-secondary);
    transform: scaleX(0);
    transition: transform .3s ease
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium)
}

.feature-item:hover::before {
    transform: scaleX(1)
}

.feature-icon {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    transition: color .3s ease
}

.feature-item:hover .feature-icon {
    color: var(--secondary-color)
}

.feature-item h4 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--primary-color)
}

/* ==================== MODERN PROJECTS SECTION ==================== */
.projects-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.project-card-modern {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid #f0f0f0;
    position: relative;
}

    .project-card-modern:hover {
        transform: translateY(-12px);
        box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
        border-color: var(--secondary-color);
    }

.project-card-image-modern {
    position: relative;
    height: 280px;
    overflow: hidden;
}

    .project-card-image-modern img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: all 0.6s ease;
    }

.project-card-modern:hover .project-card-image-modern img {
    transform: scale(1.15);
    filter: brightness(1.1);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.1) 50%, transparent 100%);
    opacity: 0;
    transition: all 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 20px;
}

.project-card-modern:hover .project-overlay {
    opacity: 1;
}

.project-badge {
    background: rgba(0, 200, 83, 0.9);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.3);
}

.btn-view-project {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    color: var(--primary-color);
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

    .btn-view-project:hover {
        background: white;
        transform: scale(1.1);
        color: var(--secondary-color);
    }

.project-card-info-modern {
    padding: 25px;
    position: relative;
}

.project-category {
    font-size: 0.85rem;
    color: var(--secondary-color);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    display: inline-block;
    background: rgba(0, 176, 255, 0.1);
    padding: 4px 12px;
    border-radius: 15px;
}

.project-title {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 15px;
    line-height: 1.4;
    min-height: 3.6em;
}

.project-stats {
    display: flex;
    gap: 20px;
    border-top: 1px solid #f0f0f0;
    padding-top: 15px;
}

.project-stat {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--gray-dark);
    font-size: 0.9rem;
    font-weight: 600;
}

    .project-stat i {
        color: var(--secondary-color);
        width: 16px;
    }

/* Hover effect for entire card */
.project-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26,35,126,0.03) 0%, rgba(0,176,255,0.02) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
    pointer-events: none;
}

.project-card-modern:hover::before {
    opacity: 1;
}

/* Floating animation for cards */
.project-card-modern:nth-child(1) {
    animation-delay: 0.1s;
}

.project-card-modern:nth-child(2) {
    animation-delay: 0.2s;
}

.project-card-modern:nth-child(3) {
    animation-delay: 0.3s;
}

/* Responsive Design */
@media (max-width: 768px) {
    .projects-grid-modern {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .project-card-image-modern {
        height: 240px;
    }

    .project-card-info-modern {
        padding: 20px;
    }

    .project-title {
        font-size: 1.2rem;
        min-height: auto;
    }
}

@media (max-width: 480px) {
    .projects-grid-modern {
        grid-template-columns: 1fr;
    }

    .project-stats {
        flex-direction: column;
        gap: 10px;
    }
}


/* Project Counter */
.project-counter {
    display: flex;
    justify-content: center;
    gap: 3.5rem;
    margin-bottom: 3rem;
    padding: 2.5rem;
    border-radius: 20px;
    position: relative;
    z-index: 10;
    background: var(--gradient-hero), url('https://ik.imagekit.io/ourstyle/enjemad%20website%20images/background.png') no-repeat center center/cover;
    width: 100%;
}

.counter-item {
    color: white;
    border-radius: 16px;
    padding: 30px 25px;
    background: rgba(255, 255, 255, 0.05);
    text-align: center;
    position: relative;
    border-width: 3px;
    border-style: solid;
    border-color: var(--secondary-color);
    border-image: initial;
    overflow: hidden;
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    flex: 1;
    display:flex;
    gap:1rem;
    justify-content: center;
    align-items:center;
    min-width: 200px;
}

    .counter-item::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
        transform: scaleX(0);
        transform-origin: left;
        transition: transform 0.5s ease;
    }

    .counter-item:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
        background: rgba(255, 255, 255, 0.08);
    }

        .counter-item:hover::before {
            transform: scaleX(1);
        }

.counter-number {
    font-size: 4.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, white, var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 0.75rem;
    position: relative;
    z-index: 2;
    transition: all 0.4s ease;
}

.counter-item:hover .counter-number {
    transform: scale(1.1);
}

.counter-label {
    color: #c9d6f5;
    font-weight: 600;
    font-size: 1.2rem;
    position: relative;
    z-index: 2;
    transition: all 0.4s ease;
}

.counter-item:hover .counter-label {
    color: var(--secondary-color);
    transform: scale(1.2);
}



/* Number counting animation */
@keyframes countUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.counting {
    animation: countUp 0.5s ease-out forwards;
}

/* Background decoration */
.bg-decoration {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.decoration-circle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, var(--primary-color) 0%, transparent 70%);
    opacity: 0.03;
    animation: pulse 20s infinite ease-in-out;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }
}

/* Responsive design */
@media (max-width: 768px) {
    .project-counter {
        flex-direction: column;
        gap: 2rem;
        padding: 1.5rem;
    }

    .counter-item {
        min-width: 250px;
    }

    .counter-number {
        font-size: 4rem;
    }
}

/* More Projects CTA */
.more-projects-cta {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    padding: 4rem 2rem;
    text-align: center;
    color: white;
    margin-top: 3rem;
    position: relative;
    overflow: hidden;
}

    .more-projects-cta::before {
        content: '';
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
        animation: float 6s ease-in-out infinite;
    }

.more-projects-content {
    position: relative;
    z-index: 2;
}

.more-projects-cta h4 {
    color: white;
    font-weight: 700;
}

.more-projects-cta .btn-outline-primary {
    border: 2px solid white;
    color: white;
    background: transparent;
}

    .more-projects-cta .btn-outline-primary:hover {
        background: white;
        color: var(--primary-color);
    }

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

@media (max-width: 768px) {
    .project-counter {
        flex-direction: column;
        gap: 2rem;
    }


}
/* ==================== ABOUT SECTION ==================== */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 50px
}

.about-text {
    flex: 1;
    min-width: 300px
}

.about-text h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--primary-color)
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    line-height: 1.8
}

.about-stats {
    display: flex;
    gap: 30px;
    margin-top: 30px;
    flex-wrap: wrap
}

.stat-item {
    text-align: center
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1
}

.stat-label {
    font-size: 1rem;
    color: var(--gray-dark)
}

.about-image {
    flex: 1;
    min-width: 300px;
    position: relative
}

.about-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: var(--shadow-medium)
}

.about-image::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--secondary-color);
    border-radius: 15px;
    z-index: -1
}

/* ==================== CLIENTS SECTION ==================== */
.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(120px,1fr));
    gap: 30px;
    align-items: center
}

.client-logo {
    text-align: center
}

.client-logo a {
    display: block;
    background-color: #fff;
    box-shadow: var(--shadow-light);
    transition: all .3s ease;
    border-radius: 20px;
    overflow: hidden
}

.client-logo img {
    display: block;
    width: 100%;
    height: 100%;
    aspect-ratio: 1/1;
    object-fit: contain;
    transition: all .3s ease;
    padding: 15px
}

.client-logo a:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: var(--shadow-medium)
}

/* ==================== CONTACT SECTION ==================== */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: stretch
}

.contact-info-box {
    background: var(--gradient-primary);
    color: var(--light-text);
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--shadow-heavy)
}

.contact-info-box h3 {
    color: #fff;
    font-size: 1.8rem;
    margin-bottom: 15px
}

.contact-info-box p {
    color: rgba(255,255,255,.8);
    margin-bottom: 25px
}

.contact-details p {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255,255,255,.8);
    margin-bottom: 10px
}

.contact-details i {
    color: var(--secondary-color)
}

.contact-form-box {
    background: #fff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--shadow-heavy)
}

.contact-form-box h3 {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--primary-color)
}

.form-group {
    margin-bottom: 20px
}

.form-group:last-of-type {
    margin-bottom: 0
}

.form-control {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--gray-medium);
    border-radius: 8px;
    font-family: 'Cairo', sans-serif;
    font-size: 1rem;
    transition: all .3s ease
}

.form-control:focus {
    outline: 0;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(0,176,255,.1)
}

textarea.form-control {
    resize: vertical;
    min-height: 120px
}

.form-actions {
    text-align: center;
    margin-top: 20px
}

/* ==================== FOOTER ==================== */
.main-footer {
    background: var(--gradient-primary);
    color: rgba(255,255,255,.8);
    padding-top: 80px
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(250px,1fr));
    gap: 40px;
    padding-bottom: 60px
}

.footer-col h4 {
    color: #fff;
    font-size: 1.3rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50px;
    height: 2px;
    background: var(--secondary-color)
}

.footer-col p {
    margin-bottom: 20px;
    line-height: 1.8
}

.footer-col ul {
    list-style: none
}

.footer-col li {
    margin-bottom: 12px
}

.footer-col a {
    color: rgba(255,255,255,.8);
    text-decoration: none;
    transition: all .3s ease
}

.footer-col a:hover {
    color: #fff;
    padding-right: 5px
}

.footer-logo img {
    height: 50px;
    margin-bottom: 20px
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 20px
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,.1);
    border-radius: 50%;
    transition: all .3s ease
}

.footer-social a:hover {
    background: var(--secondary-color);
    transform: translateY(-3px)
}

.contact-info li {
    display: flex;
    align-items: center;
    gap: 15px
}

.contact-info i {
    width: 20px;
    text-align: center
}

.footer-bottom {
    text-align: center;
    padding: 25px 0;
    border-top: 1px solid rgba(255,255,255,.2)
}

.footer-bottom p {
    margin: 0;
    color: rgba(255,255,255,.7)
}


/* Location Link Styling */
.location-link {
    color: rgba(255,255,255,.8);
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

    .location-link:hover {
        color: #fff;
        border-bottom-color: var(--secondary-color);
    }

/* Enhanced Social Media */
.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

    .social-link:hover {
        background: var(--secondary-color);
        color: #fff;
        transform: translateY(-3px);
        box-shadow: 0 5px 15px rgba(0,176,255,0.3);
    }

    /* Specific colors for each platform on hover */
    .social-link:nth-child(1):hover { /* Facebook */
        background: #1877f2;
    }

    .social-link:nth-child(2):hover { /* Instagram */
        background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    }

    .social-link:nth-child(3):hover { /* WhatsApp */
        background: #25d366;
    }
/* ==================== FLOATING ELEMENTS ==================== */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    left: 40px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-medium);
    transition: all .3s ease;
    animation: pulse-whatsapp 2s infinite
}

.whatsapp-float:hover {
    background-color: #128c7e;
    transform: scale(1.1);
    animation: none
}

.whatsapp-tooltip {
    position: absolute;
    left: 70px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--dark-color);
    color: #fff;
    padding: 8px 15px;
    border-radius: 5px;
    font-size: .9rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all .3s ease
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
    left: 80px
}

@keyframes pulse-whatsapp {
    0% {
        box-shadow: 0 0 0 0 rgba(37,211,102,.7)
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37,211,102,0)
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37,211,102,0)
    }
}

.scroll-to-top {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: all .3s ease;
    box-shadow: var(--shadow-light)
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible
}

.scroll-to-top:hover {
    background: var(--gradient-secondary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium)
}

/* ==================== ANIMATIONS ==================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px)
    }
    to {
        opacity: 1;
        transform: translateY(0)
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .8s ease,transform .8s ease
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0)
}

.stagger-animation > * {
    transition-delay: 0s !important
}

.stagger-animation.is-visible > *:nth-child(1) {
    transition-delay: .1s
}

.stagger-animation.is-visible > *:nth-child(2) {
    transition-delay: .2s
}

.stagger-animation.is-visible > *:nth-child(3) {
    transition-delay: .3s
}

.stagger-animation.is-visible > *:nth-child(4) {
    transition-delay: .4s
}

.stagger-animation.is-visible > *:nth-child(5) {
    transition-delay: .5s
}

.stagger-animation.is-visible > *:nth-child(15) {
    transition-delay: 1.5s
}

/* =========================================================
   2. NEW ADDITIONS (PRODUCTS, CATALOG & HERO LOGIC)
   ========================================================= */

/* ==================== INNER PAGES HERO ==================== */
.page-header-bg {
    position: relative;
    height: 50vh;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    background: linear-gradient(to bottom, rgba(26, 35, 126, 0.95), rgba(0, 0, 0, 0.6)), url('https://ik.imagekit.io/ourstyle/enjemad%20website%20images/photo_2020-07-05_20-31-08.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.page-header-bg h1 {
    font-size: 3rem;
    font-weight: 800;
    text-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.page-header-bg p {
    font-size: 1.3rem;
    opacity: 0.9;
    margin-top: 10px;
}

/* ==================== PRODUCT CARD LISTING ==================== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.filter-bar {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
}

.filter-btn {
    padding: 8px 25px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 30px;
    color: #666;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.filter-btn.active, .filter-btn:hover {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

/* NEW CARD CSS */
.product-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card:hover {
    box-shadow: var(--shadow-medium);
    transform: translateY(-8px);
    border-color: var(--secondary-color);
}

/* Image Container (Correct Fit) */
.card-img-wrap {
    height: 240px;
    width: 100%;
    padding: 20px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-img-wrap img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.product-card:hover .card-img-wrap img {
    transform: scale(1.1);
}

.card-cat-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(245,245,245,0.95);
    color: #444;
    padding: 4px 10px;
    font-size: 0.75rem;
    border-radius: 5px;
    font-weight: 700;
    border: 1px solid #ddd;
    z-index: 5;
}

.card-body-custom {
    padding: 15px 20px 20px;
    border-top: 1px solid #f9f9f9;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.card-title {
    font-size: 1.1rem;
    color: var(--primary-dark);
    font-weight: 700;
    margin-bottom: 5px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-dims {
    color: #999;
    font-size: 0.85rem;
    direction: ltr;
}

/* ==================== PRODUCT DETAILS LAYOUT ==================== */
/* Desktop Force Side-by-Side */
@media (min-width: 992px) {
    .product-split-desktop {
        display: grid !important;
        grid-template-columns: 1.1fr 0.9fr;
        gap: 50px;
        align-items: start;
    }

    .gallery-box {
        position: sticky;
        top: 110px;
    }
}

@media (max-width: 991px) {
    .product-split-desktop {
        display: flex;
        flex-direction: column;
    }

    .gallery-col {
        order: -1;
        margin-bottom: 30px;
    }
    .info-col {
        padding: 0 10px;
    }
}

/* Gallery Zoom */
.gallery-box {
    background: #fff;
}

.main-img-stage {
    height: 400px;
    width: 100%;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    cursor: crosshair;
    margin-bottom: 15px;
    position: relative;
}

.main-img-stage img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.1s ease;
    transform-origin: center center;
}

/* HOVER ANIMATIONS */
.hover-scale {
    transition: transform 0.2s, box-shadow 0.2s;
}

.hover-scale:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 25px rgba(37,211,102,0.4);
}

.hover-lift {
    transition: transform 0.3s;
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

/* ==================== REFINED PRODUCT INFO STYLES ==================== */
/* Modern Feature Bullets */
.feature-bullets {
    background: #f8faff;
    border: 1px solid #eef2f9;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    margin-bottom: 30px;
}

.feature-bullets h5 {
    color: var(--primary-dark);
    font-weight: 800;
    font-size: 1.2rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(0,0,0,0.05);
}

.feature-bullets ul li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    font-size: 1.1rem;
    color: #555;
    line-height: 1.6;
    transition: transform 0.2s;
}

.feature-bullets ul li:hover {
    transform: translateX(-5px);
    color: var(--primary-color);
}

.feature-bullets i {
    background: #e8f5e9;
    color: #2e7d32;
    min-width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    margin-left: 15px;
    margin-top: 5px;
}

/* Modern Specs Table */
.size-box {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 30px;
}

.spec-header {
    background: var(--primary-color);
    color: #fff;
    padding: 15px 20px;
    font-weight: 700;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.spec-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.2s;
}

.spec-row:last-child {
    border-bottom: none;
}

.spec-row:hover {
    background: #fafafa;
}

.spec-key {
    font-weight: 700;
    color: var(--gray-dark);
    font-size: 1rem;
}

.spec-val {
    font-weight: 800;
    color: var(--primary-dark);
    font-size: 1.1rem;
    background: #f0f2f5;
    padding: 5px 15px;
    border-radius: 8px;
}


/* ==================== RELATED PRODUCTS STYLES ==================== */
.products-grid-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.grid-product-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.4s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

    .grid-product-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 20px 40px rgba(0, 176, 255, 0.15);
        border-color: var(--secondary-color);
    }

.grid-product-link {
    text-decoration: none;
    display: block;
    height: 100%;
}

.grid-product-image {
    position: relative;
    height: 200px;
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 25px;
    overflow: hidden;
}

    .grid-product-image img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
        transition: all 0.4s ease;
    }

.grid-product-card:hover .grid-product-image img {
    transform: scale(1.15);
}

.grid-product-hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 35, 126, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.grid-product-card:hover .grid-product-hover {
    opacity: 1;
}

.grid-product-hover span {
    color: white;
    font-weight: 700;
    padding: 10px 20px;
    border: 2px solid white;
    border-radius: 25px;
    transition: all 0.3s ease;
}

    .grid-product-hover span:hover {
        background: white;
        color: var(--primary-color);
    }

.grid-product-content {
    padding: 20px;
    text-align: center;
}

.grid-product-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 15px;
    line-height: 1.4;
    min-height: 2.8em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.grid-product-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--secondary-color);
    font-weight: 700;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.grid-product-card:hover .grid-product-cta {
    color: var(--primary-color);
}

.grid-empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
}

.empty-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    opacity: 0.5;
}

.empty-text {
    color: var(--gray-dark);
    margin: 0;
}

@media (max-width: 768px) {
    .products-grid-layout {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 20px;
    }

    .grid-product-image {
        height: 160px;
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .products-grid-layout {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }

    .grid-product-content {
        padding: 15px 10px;
    }

    .grid-product-title {
        font-size: 0.9rem;
        min-height: 2.6em;
    }
}

/* ==================== THUMBNAIL GALLERY STYLES ==================== */
.thumb-btn {
    width: 70px;
    height: 70px;
    object-fit: contain;
    padding: 5px;
    cursor: pointer;
    background: #fff;
    border-radius: 12px;
    border: 2px solid #e0e0e0;
    transition: all 0.2s ease;
}

.thumb-btn:hover {
    border-color: #b3e5fc;
    transform: translateY(-2px);
}

.thumb-btn.active {
    border-color: #00b0ff !important;
    box-shadow: 0 0 10px rgba(0, 176, 255, 0.3);
}

/* ==================== CATALOG LISTING STYLES ==================== */
.catalog-header {
    background-size: cover;
    background-position: center;
    height: 40vh;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    position: relative;
    margin-bottom: 4rem;
    border-bottom: 5px solid var(--secondary-color);
}

.catalog-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(10, 25, 48, 0.9), rgba(10, 25, 48, 0.7));
}

.catalog-header-content {
    position: relative;
    z-index: 2;
    padding: 20px;
}

.catalog-header h1 {
    font-weight: 800;
    font-size: 2.8rem;
    margin-bottom: 10px;
    text-shadow: 0 4px 15px rgba(0,0,0,0.5);
}

.catalog-header p {
    font-size: 1.2rem;
    opacity: 0.9;
    font-weight: 300;
}

.catalog-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px 60px 20px;
}

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

/* The "Safe" Product Card */
.shop-card {
    background: #ffffff;
    border: 1px solid #eaebed;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none !important;
}

.shop-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    border-color: var(--secondary-color);
}

/* Badge */
.shop-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 10;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 6px 12px;
    border-radius: 30px;
    backdrop-filter: blur(4px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.badge-blue {
    background: rgba(0, 176, 255, 0.1);
    color: #0077b6;
    border: 1px solid #b3e5fc;
}

.badge-gold {
    background: rgba(255, 215, 0, 0.15);
    color: #b77b08;
    border: 1px solid #ffe57f;
}

/* Image Area */
.shop-img-area {
    width: 100%;
    height: 260px;
    padding: 25px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid #f9f9f9;
}

.shop-img-area img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.shop-card:hover .shop-img-area img {
    transform: scale(1.08);
}

/* Info Area */
.shop-info {
    padding: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
    background: #fff;
}

.shop-title {
    font-size: 1.15rem;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.4;
}

.shop-sub {
    font-size: 0.9rem;
    color: #777;
    margin-bottom: 15px;
    direction: ltr;
    display: inline-block;
    background: #f7f9fc;
    padding: 4px 10px;
    border-radius: 6px;
}

.shop-btn {
    width: 100%;
    padding: 10px;
    border-radius: 12px;
    background: #fff;
    color: var(--secondary-color);
    border: 1px solid var(--secondary-color);
    font-weight: 700;
    font-size: 0.9rem;
    transition: 0.2s;
    margin-top: auto;
}

.shop-card:hover .shop-btn {
    background: var(--secondary-color);
    color: #fff;
}

/* Filter Bar */
.shop-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 50px;
}

.shop-filter-btn {
    background: #fff;
    border: 1px solid #e0e0e0;
    color: #555;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.shop-filter-btn:hover, .shop-filter-btn.active {
    background: var(--secondary-color);
    color: #fff;
    border-color: var(--secondary-color);
    box-shadow: 0 5px 15px rgba(0,176,255,0.3);
}

/* ==================== MODERN SERVICE BANNERS ==================== */
.service-banner-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.service-banner {
    position: relative;
    height: 300px;
    border-radius: 20px;
    overflow: hidden;
    text-decoration: none;
    display: flex;
    align-items: flex-end;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.service-banner:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.25);
}

.service-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.9), rgba(0,0,0,0.2));
    z-index: 1;
}

.sb-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}

.service-banner:hover .sb-bg {
    transform: scale(1.1);
}

.sb-content {
    position: relative;
    z-index: 2;
    color: #fff;
    width: 100%;
}

.sb-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 5px;
    color: #fff;
}

.sb-desc {
    opacity: 0.9;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.sb-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--secondary-color);
    color: #fff;
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 700;
    transition: 0.3s;
}

.service-banner:hover .sb-btn {
    background: #fff;
    color: var(--primary-color);
}

/* ==================== CLEAN PARTNER SQUARES ==================== */
.clients-grid-clean {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 20px;
}

.partner-square {
    aspect-ratio: 1/1;
    width: 80%;
    border-radius: 20px;
    overflow: hidden;
    transition: 0.3s;
    position: relative;
}

.partner-square img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.partner-square:hover {
    transform: scale(1.05);
}

/* ==================== CENTERED CONTACT ==================== */
.whatsapp-centered-box {
    background: #00a305;
    border: 1px solid #eef;
    color: white;
    border-radius: 20px;
    padding: 60px 20px;
    text-align: center;
    box-shadow: var(--shadow-medium);
    max-width: 800px;
    margin: 0 auto;
}
.elegant-number-display {
    margin: 1.5rem 0;
}

.elegant-number {
    display: inline-flex;
    align-items: center;
    background: #fff;
    padding: 8px 25px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border: 2px solid #f0f0f0;
    transition: all 0.3s ease;
    position: relative;
}

    .elegant-number:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
        border-color: var(--secondary-color);
    }

.number-main {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary-dark);
    direction: ltr;
    font-family: 'Cairo', sans-serif;
    letter-spacing: 2px;
}

.number-dots {
    display: flex;
    gap: 4px;
    margin-right: 15px;
}

    .number-dots span {
        width: 6px;
        height: 6px;
        background: var(--secondary-color);
        border-radius: 50%;
        animation: dot-pulse 1.4s ease-in-out infinite both;
    }

        .number-dots span:nth-child(2) {
            animation-delay: 0.2s;
        }

        .number-dots span:nth-child(3) {
            animation-delay: 0.4s;
        }

.copy-message {
    position: absolute;
    top: -45px;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: #4CAF50;
    color: white;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
    z-index: 10;
}

    .copy-message.show {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(0);
    }

    .copy-message::after {
        content: '';
        position: absolute;
        bottom: -6px;
        left: 50%;
        transform: translateX(-50%);
        border-left: 6px solid transparent;
        border-right: 6px solid transparent;
        border-top: 6px solid #4CAF50;
    }

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(76, 175, 80, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(76, 175, 80, 0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-10px) rotate(180deg);
    }
}
/* ==================== WHY CHOOSE US SPLIT LAYOUT ==================== */
.split-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.split-col {
    flex: 1;
    min-width: 320px;
}

.split-text-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feature-text-group {
    display: flex;
    align-items: center;
    gap: 20px;
    text-align: right;
    background: #ffffff;
    padding: 20px 25px;
    border-radius: 16px;
    border: 1px solid #eef;
    box-shadow: var(--shadow-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-text-group:hover {
    transform: translateX(-10px);
    box-shadow: var(--shadow-medium);
    border-color: #dbeeff;
}

.icon-box-circle {
    width: 65px;
    height: 65px;
    min-width: 65px;
    background: linear-gradient(135deg, #e3f2fd, #f5faff);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.6rem;
    border: 1px solid #e3f2fd;
}

.feat-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 4px;
}

.feat-desc {
    margin: 0;
    font-size: 0.95rem;
    color: #666;
    line-height: 1.5;
}

/* ==================== RESPONSIVE DESIGN ==================== */
@media (max-width: 1200px) {
    .container {
        max-width: 1140px
    }
}

@media (max-width: 992px) {
    .container {
        max-width: 960px
    }

    .navbar-links, .header-social {
        display: none
    }

    .navbar-toggler {
        display: block
    }

    .hero {
        height: auto;
        padding-top: 120px;
        padding-bottom: 80px
    }

    .section {
        padding: 80px 0
    }

    .section-title {
        font-size: 2.3rem
    }

    .contact-layout, .about-content {
        grid-template-columns: 1fr
    }

    /* Mobile Adjustments for New Hero */
    .hero {
        height: auto;
        min-height: 100vh;
        padding-top: 120px;
        padding-bottom: 50px;
    }

    .hero-text-col {
        text-align: center;
        padding-left: 0;
        padding-top: 20px;
        order: 2;
    }

    .hero-img-col {
        order: 1;
        margin-bottom: 20px;
    }

    .hero-side-logo {
        max-width: 250px;
    }

    /* Service Banners */
    .service-banner-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .service-banner {
        height: 220px;
        padding: 20px;
    }

    .sb-title {
        font-size: 1.5rem;
    }

    /* Partner Grid */
    .clients-grid-clean {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    /* Split Layout */
    .split-row {
        flex-direction: column;
        gap: 50px;
    }

    .split-col {
        width: 100%;
    }

    .img-side {
        order: 2;
    }

    .text-side {
        order: 1;
    }
}

@media (max-width: 768px) {
    .hero-logo {
        max-width: 300px
    }

    .hero-description {
        font-size: 1.3rem
    }

    .section {
        padding: 60px 0
    }

    .section-title {
        font-size: 2rem
    }

    .services-grid {
        grid-template-columns: 1fr
    }

    .about-content {
        gap: 40px
    }

    .about-image::before {
        display: none
    }

    .whatsapp-float {
        bottom: 20px;
        left: 20px;
        width: 50px;
        height: 50px;
        font-size: 24px
    }

    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 1rem
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px
    }

    .footer-col h4::after {
        right: 50%;
        transform: translateX(50%)
    }

    .contact-info li, .footer-social {
        justify-content: center
    }

    /* Catalog Header */
    .catalog-header h1 {
        font-size: 2rem;
    }

    .catalog-header {
        height: 35vh;
        min-height: 280px;
    }

    .shop-img-area {
        height: 200px;
    }

    /* Page Header */
    .page-header-bg {
        height: 35vh;
        min-height: 250px;
    }

    .page-header-bg h1 {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .hero {
        padding: 100px 0 60px
    }

    .hero-logo {
        max-width: 250px
    }

    .hero-description {
        font-size: 1.1rem
    }

    .hero-cta {
        flex-direction: column;
        align-items: center
    }

    .btn {
        width: 100%;
        max-width: 300px
    }

    .about-stats {
        justify-content: center
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 40px
    }

    .clients-grid {
        gap: 20px;
        grid-template-columns: repeat(auto-fill,minmax(100px,1fr))
    }

    .contact-layout {
        gap: 30px
    }

    .contact-info-box, .contact-form-box {
        padding: 30px
    }

    /* Hero CTA on phones */
    .hero-cta {
        flex-direction: column;
        width: 100%;
        padding: 0 20px;
    }

    .hero-cta .btn {
        width: 100%;
        margin-bottom: 10px;
    }

    .hero-logo {
        width: 180px;
        margin-bottom: 1.5rem;
    }
}