@import url('https://fonts.googleapis.com/css2?family=Noto+Kufi+Arabic:wght@100..900&display=swap');

:root {
    --primary-color: #560D21;
    --primary-hover: #7a1635;
    --text-dark: #2D2D2D;
    --text-light: #666666;
    --white: #ffffff;
    --bg-light: #f9f9f9;
    --bg-dark: #120306;
    --font-main: 'Noto Kufi Arabic', sans-serif;
    --transition: all 0.3s ease;
}

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

html,
body {
    overflow-x: hidden;
    max-width: 100vw;
}

body {
    font-family: var(--font-main);
    direction: rtl;
    background-color: var(--white);
    color: var(--text-dark);
    line-height: 1.6;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    outline: none;
    font-family: var(--font-main);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(15px, 5vw, 20px);
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: #FFFFFF;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 15px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

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

.logo img {
    height: 45px;
    display: block;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-weight: 600;
    font-size: 15px;
    position: relative;
    color: var(--text-dark);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    right: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

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

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

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

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

.order-btn {
    background: var(--primary-color);
    color: var(--white);
    padding: 10px 25px;
    border-radius: 5px;
    font-weight: 700;
    font-size: 14px;
    display: block;
}

.order-btn:hover {
    background: var(--primary-hover);
}

/* Hero Section */
.hero {
    height: clamp(80vh, 110vh, 120vh);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

/* .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
} */

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 0 clamp(15px, 5vw, 20px);
}

.hero-content h1 {
    font-size: 50px;
    font-weight: 600;
    margin-bottom: 20px;
    line-height: 1.3;
}

.hero-content p {
    font-size: clamp(1rem, 4vw, 1.25rem);
    font-weight: 300;
    color: #FFFFFF;
    margin-bottom: 40px;
}

.cta-btn {
    background: var(--primary-color);
    color: var(--white);
    padding: 15px 35px;
    border-radius: 5px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 16px;
    transition: var(--transition);
    position: relative;
    z-index: 100;
    opacity: 1;
    visibility: visible;
}

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

.cta-icon {
    width: 24px;
    height: 24px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

/* About Section */
.about {
    padding: 80px 0;
    background: var(--white);
}

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

.about-img img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-content {
    text-align: center;
    padding: 40px 20px;
    border: 1px solid #eee;
    border-radius: 10px;
    height: 90%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.badge {
    background: #F9F7F7;
    color: var(--primary-color);
    padding: 6px 16px;
    font-size: 11px;
    font-weight: 700;
    border-radius: 4px;
    display: inline-block;
    margin: 0 auto 20px;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.about-content h2 {
    font-size: clamp(1.5rem, 5vw, 2.125rem);
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--bg-dark);
}

.about-content p {
    color: var(--text-light);
    font-size: clamp(0.9rem, 3vw, 1.2rem);
    font-weight: 400;
    margin-bottom: 35px;
    line-height: 1.8;
}

.more-link {
    color: var(--text-dark);
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 15px;
}

.more-link .circle-icon {
    width: 32px;
    height: 32px;
    border: 1px solid #C89A9C;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 12px;
}

/* Custom Execution */
.custom-exec {
    padding: 80px 0;
}

.custom-header {
    text-align: center;
    margin-bottom: 40px;
}

.custom-header .badge {
    background: #FFF9F3;
    color: #8B5E3C;
}

.custom-header h2 {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 15px;
}

.custom-header p {
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto;
}

.custom-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.workman-img img {
    width: 100%;
}

.custom-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 15px;
}

.list-item {
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 600;
    font-size: 18px;
    color: #444;
}

.list-item span {
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    flex-shrink: 0;
}

.custom-cta {
    display: inline-block;
    background: transparent;
    border: 1px solid #BA9B9D;
    padding: 12px 40px;
    border-radius: 6px;
    font-weight: 700;
    color: var(--primary-color);
    transition: var(--transition);
    font-size: 15px;
}

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

/* Quality Section */
.quality {
    padding: 100px 0;
    background: #120306 url('images/Card.png') no-repeat center center;
    background-size: cover;
    background-attachment: scroll;
    color: var(--white);
    text-align: center;
    position: relative;
}

.quality::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

}

.quality .container {
    position: relative;
    z-index: 2;
}

.quality-header {
    margin-bottom: 80px;
}

.quality-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.quality-item {
    padding: 60px 40px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    text-align: right;
}

.quality-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(86, 13, 33, 0.15) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.quality-item:hover::before {
    opacity: 1;
}

.quality-item::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 1px;
    height: 100%;
    background: linear-gradient(to bottom, transparent, rgba(186, 15, 52, 0.8), transparent);
}

.quality-item:hover {
    transform: translateY(-5px);
}

.q-icon {
    margin: 0 0 25px 0;
    height: 70px;
    width: 70px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* .quality-item:hover .q-icon {
    transform: scale(1.1) rotate(5deg);
    border-color: rgba(186, 15, 52, 0.8);
    background: rgba(71, 15, 16, 0.4);
} */



.quality-item h3 {
    font-size: 22px;
    margin-bottom: 15px;
    font-weight: 700;

}

.quality-item p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
    line-height: 1.7;

}

/* Responsive */
@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 0.8fr 1.4fr 0.8fr;
        gap: 15px;
    }

    .about-img img {
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
        display: block;
    }

    .about-content {
        order: 0;
        padding: 20px 10px;
    }

    .custom-grid {
        grid-template-columns: 1fr 1.1fr;
        gap: 30px;
    }

    .custom-list-container {
        text-align: right;
    }

    .custom-list {
        align-items: flex-start;
    }

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

@media (max-width: 780px) {
    header {
        padding: 15px 0;
    }

    .nav-container {
        justify-content: space-between;
    }

    .logo {
        margin: 0;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        box-shadow: 0 10px 10px rgba(0, 0, 0, 0.05);
    }

    .nav-links.active {
        max-height: 300px;
        padding: 20px 0;
    }

    .nav-links a {
        padding: 15px 20px;
        width: 100%;
        border-bottom: 1px solid #f0f0f0;
    }

    .order-action {
        display: none;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }

    .badge {
        width: auto !important;
        white-space: nowrap;
        max-width: 90%;
    }

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

    .about-content {
        order: 0;
    }

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

    .quality-item {
        text-align: center;
        padding: 40px 20px;
    }

    .q-icon {
        margin: 0 auto 25px auto;
    }

    .quality-item::after {
        display: none;
    }

    .custom-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .custom-list {
        align-items: center;
    }

    .custom-list-container {
        text-align: center;
    }

    .workman-img img {
        max-width: 300px;
        margin: 0 auto;
        display: block;
    }

    .custom-cta {
        margin-top: 10px;
    }

    .more-link {
        margin-bottom: 1rem;
    }
}

@media (max-width: 480px) {
    header {
        padding: 10px 0;
    }

    .logo img {
        height: 40px;
    }

    .order-btn {
        padding: 8px 15px;
        font-size: 12px;
    }

    .hero-content h1 {
        font-size: 1.5rem;
    }
}

/* Products Slider */
.products-slider {
    padding: 100px 0;
    background-color: #120306;
    color: var(--white);
    overflow: hidden;
}

.slider-header {
    text-align: center;
    margin-bottom: 60px;
}

.products-slider .slider-header .badge,
.quality-header .badge {
    background: transparent;
    color: var(--white);
    font-size: 14px;
    font-weight: 500;
    padding: 12px 0;
    margin-bottom: 25px;
    display: inline-block;
    position: relative;
    border-radius: 0;
    letter-spacing: 0;
}

.products-slider .slider-header .badge::before,
.products-slider .slider-header .badge::after,
.quality-header .badge::before,
.quality-header .badge::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(186, 15, 52, 0.8) 20%, rgba(186, 15, 52, 0.8) 80%, transparent 100%);
}

.products-slider .slider-header .badge::before,
.quality-header .badge::before {
    top: 0;
}

.products-slider .slider-header .badge::after,
.quality-header .badge::after {
    bottom: 0;
}

.slider-header h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.slider-header p {
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto;
}

.productsSwiper {
    padding: 50px 0 100px 0;
}

.swiper-slide {
    transition: all 0.5s ease;
    opacity: 0.4;
    transform: scale(0.85);
}

.swiper-slide-active {
    opacity: 1;
    transform: scale(1.05);
    z-index: 2;
}

.product-card {
    background: #1A050A;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.swiper-slide-active .product-card {
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    border-color: rgba(86, 13, 33, 0.3);
}

.product-img {
    position: relative;
    height: 200px;
    overflow: hidden;
    background-color: #f0f0f0;
}

.product-img::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transform: translateX(-100%);
    animation: shimmer 1.5s infinite;
}

.product-img.loaded::after {
    display: none;
}

.product-img img {
    width: 100%;
    height: 100%;
    transition: transform 0.8s ease, opacity 0.5s ease;
    opacity: 0;
}

.product-img.loaded img {
    opacity: 1;
}


.swiper-slide-active .product-card:hover .product-img img {
    transform: scale(1.1);
}

.p-icon {
    position: absolute;
    top: -35px;
    right: 30px;
    width: 70px;
    height: 70px;
    background: #1A050A;
    border: 3px solid var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* 
.p-icon img {
    width: 25px;
    height: 25px;
    filter: brightness(0) invert(1);
} */

.product-info {
    padding: 50px 20px 30px 20px;
    text-align: right;
    position: relative;
}

.product-info h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.product-info p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 25px;
}

.view-more {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
}

.view-more i {
    font-size: 12px;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.view-more:hover {
    color: var(--primary-color);
}

.view-more:hover i {
    transform: translateX(-5px);
}

/* Slider Controls */
.slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
}

.custom-arrow {
    position: static !important;
    width: 50px !important;
    height: 50px !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 50% !important;
    color: var(--white) !important;
    margin: 0 !important;
    transition: var(--transition) !important;
}

.custom-arrow::after {
    display: none !important;
}

.custom-arrow:hover {
    background: var(--primary-color);
    border-color: var(--primary-color) !important;
}

.custom-dots {
    position: static !important;
    width: auto !important;
    display: flex !important;
    gap: 8px !important;
}

.custom-dots .swiper-pagination-bullet {
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.2);
    opacity: 1;
    transition: var(--transition);
}

.custom-dots .swiper-pagination-bullet-active {
    width: 25px;
    border-radius: 4px;
    background: var(--primary-color);
}

@media (max-width: 768px) {
    .product-img {
        height: 250px;
    }

    .swiper-slide {
        opacity: 0.6;
        transform: scale(0.95);
    }

    .swiper-slide-active {
        transform: scale(1);
    }
}

/* =============================================
   Projects Slider Section (ما الجديد)
   ============================================= */
.projects-slider-section {
    padding: 80px 0 60px;
    background: #120306;
    color: var(--white);
    overflow: hidden;
    direction: rtl;
}

/* Header */
.pss-header {
    text-align: center;
    padding: 0 20px;
    margin-bottom: 60px;
}

.pss-badge {
    display: inline-block;
    position: relative;
    color: var(--white);
    font-size: 14px;
    font-weight: 500;
    padding: 12px 0;
    margin-bottom: 25px;
    letter-spacing: 0;
    background: transparent;
}

.pss-badge::before,
.pss-badge::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(186, 15, 52, 0.8) 20%, rgba(186, 15, 52, 0.8) 80%, transparent 100%);
}

.pss-badge::before {
    top: 0;
}

.pss-badge::after {
    bottom: 0;
}

.pss-header h2 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--white);
}

.pss-header p {
    color: rgba(255, 255, 255, 0.65);
    font-size: 15px;
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Swiper wrapper for PSS */
.pssSwiper {
    width: 100%;
    padding: 30px 0 60px;
    overflow: hidden;
}

.pssSwiper .swiper-wrapper {
    align-items: center;
}

/* Individual slides */
.pss-slide {
    border-radius: 14px;
    overflow: hidden;
    opacity: 0.45;
    transition: opacity 0.4s ease;
    cursor: pointer;
}

.pss-slide.swiper-slide-active {
    opacity: 1;
}

.pss-slide img {
    width: 100%;
    height: 370px;
    object-fit: cover;
    display: block;
    border-radius: 14px;
}

/* Pagination dots */
.pss-pagination {
    bottom: 10px !important;
}

.pss-pagination .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.3);
    opacity: 1;
    transition: all 0.35s ease;
}

.pss-pagination .swiper-pagination-bullet-active {
    width: 28px;
    border-radius: 4px;
    background: var(--primary-color);
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
    .pss-slide img {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .pss-slide img {
        height: 240px;
    }

    .pss-header h2 {
        font-size: 1.6rem;
    }
}

@media (max-width: 480px) {
    .pss-slide img {
        height: 200px;
    }
}

/* Why Choose Us */
.why-us {
    padding: 100px 0;
    background: #fff;
}

.why-grid {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 100px;
    align-items: center;
}

.why-images {
    position: relative;
}

.why-main-img {
    width: 100%;
    height: auto;
    display: block;
}

.why-content {
    margin-top: -5rem;
}

.why-content h2 {
    font-size: 42px;
    margin-bottom: 30px;
    color: #1A050A;
    position: relative;
    line-height: 1.4;
}

.why-content h2::after {
    content: '';
    position: absolute;
    right: -20px;
    top: 0;
    width: 4px;
    height: 100%;
    background: #BA9B9D;
    opacity: 0.3;
}

.why-list {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding-right: 0;
}

.why-list li {
    font-size: 18px;
    font-weight: 500;
    color: #444;
    display: flex;
    align-items: center;
    gap: 15px;
}

.why-list li::before {
    content: '';
    width: 8px;
    height: 8px;
    background: #560D21;
    border-radius: 50%;
    flex-shrink: 0;
}

/* Video Showcase */
.video-showcase {
    padding: 120px 0;
    background: #fff;
    position: relative;
}

.video-header {
    text-align: center;
    margin-bottom: 80px;
}

.video-header h2 {
    font-size: 40px;
    font-weight: 600;
    margin-bottom: 25px;
    color: #1A050A;
}

.video-header p {
    color: #888;
    max-width: 800px;
    margin: 0 auto;
    font-size: 17px;
    font-weight: 400;
    line-height: 1.6;
}

.video-wrapper {
    max-width: 1050px;
    margin: 0 auto;
    position: relative;
    padding: 0;
    /* Remove padding to let video be the master height */
}

.video-wrapper::before {
    content: '';
    position: absolute;
    top: 50px;
    bottom: -40px;
    left: -30px;
    right: -30px;
    border: 2px solid #470F10;
    opacity: 0.7;
    z-index: 0;
}

.video-frame {
    position: relative;
    z-index: 1;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25);
    background: #000;
}

.poster-img {
    width: 100%;
    height: 550px;
    object-fit: cover;
    display: block;
    opacity: 0.8;
    transition: transform 0.8s ease;
}

.video-frame:hover .poster-img {
    transform: scale(1.05);
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.2);
}

.play-button {
    width: 90px;
    height: 90px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #1A050A;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.play-button:hover {
    transform: scale(1.15);
    background: #560D21;
    color: #fff;
}

@media (max-width: 1024px) {
    .why-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .why-images {
        height: 500px;
    }

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

    .why-list {
        align-items: center;
    }

    .why-content h2::after {
        display: none;
    }
}

@media (max-width: 768px) {
    .why-images {
        height: 400px;
    }

    .why-content h2 {
        font-size: 32px;
    }

    .video-header h2 {
        font-size: 30px;
    }

    .video-wrapper::before {
        left: -15px;
        right: -15px;
        top: 30px;
        bottom: -20px;
    }

    .poster-img {
        height: 350px;
    }

    .play-button {
        width: 70px;
        height: 70px;
        font-size: 22px;
    }
}

@media (max-width: 480px) {
    .video-showcase {
        padding: 50px 0;
    }

    .video-header {
        margin-bottom: 30px;
    }

    .video-header .badge {
        width: auto !important;
        padding: 6px 20px;
    }

    .video-header h2 {
        font-size: 22px;
        margin-bottom: 15px;
    }

    .video-header p {
        font-size: 14px;
    }

    .video-wrapper::before {
        left: -8px;
        right: -10px;
        top: 20px;
        bottom: -15px;
        border-width: 1.5px;
    }

    .poster-img {
        height: 180px;
    }

    .play-button {
        width: 50px;
        height: 50px;
        font-size: 16px;
    }
}

/* Experience Section */
.experience {
    padding: 120px 0;
    background: #fff;
}

.exp-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 100px;
    align-items: center;
}

.exp-slider-container {
    position: relative;
    padding-left: 20px;
}

.exp-ghost-layer {
    position: absolute;
    top: -25px;
    right: -25px;
    width: 100%;
    height: 100%;
    background: #BA9B9D;
    opacity: 0.15;
    border-radius: 50px;
    z-index: 1;
}

.expSwiper {
    position: relative;
    z-index: 2;
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.1);
}

.expSwiper .swiper-slide img {
    width: 100%;
    height: 550px;
    object-fit: cover;
}

.exp-content {
    text-align: right;
}

.outline-num {
    font-size: clamp(100px, 15vw, 220px);
    font-weight: 200;
    color: transparent;
    -webkit-text-stroke: 1.5px #470F10;
    margin-bottom: 0;
    line-height: 0.9;
    font-family: 'Inter', sans-serif;
}

.exp-title {
    font-size: 36px;
    font-weight: 700;
    color: #470F10;
    margin-bottom: 45px;
}

.exp-explore {
    display: inline-flex;
    align-items: center;
    gap: 20px;
    color: #BA9B9D;
    font-weight: 700;
    font-size: 20px;
    transition: all 0.3s ease;
}

.arrow-icon {
    width: 50px;
    height: 50px;
    border: 1.5px solid #BA9B9D;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: all 0.3s ease;
}

.exp-explore:hover {
    color: #470F10;
}

.exp-explore:hover .arrow-icon {
    border-color: #470F10;
    background: #470F10;
    color: #fff;
    transform: rotate(-45deg);
}

.exp-pagination {
    bottom: 30px !important;
}

.exp-pagination .swiper-pagination-bullet {
    background: #fff;
    opacity: 0.6;
}

.exp-pagination .swiper-pagination-bullet-active {
    opacity: 1;
    background: #fff;
    width: 25px;
    border-radius: 10px;
}

@media (max-width: 1024px) {
    .exp-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .exp-visual {
        order: 2;
    }

    .exp-content {
        order: 1;
        text-align: center;
    }

    .expSwiper .swiper-slide img {
        height: 400px;
    }

    .outline-num {
        font-size: 100px;
    }
}





.expertise {
    padding: 100px 48px;
    background: var(--white);
    overflow: hidden;
}

.expertise-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    align-items: center;
    gap: 80px;
}

.expertise-image {
    position: relative;
}

.expertise-image img {
    width: 100%;
    max-width: 480px;
    -o-object-fit: contain;
    object-fit: contain;

}

.expertise-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

/* About Slider */
.expertise-slider-container {
    position: relative;
    max-width: 500px;
    width: 100%;
    margin: 0 auto;
}

.expertise-slider-bg {
    position: absolute;
    top: 15px;
    right: -15px;
    bottom: -15px;
    left: 15px;
    border-radius: 12px;
    z-index: 0;
}

.expertise-slider-wrapper {
    position: relative;
    z-index: 1;
    border-radius: 10px;
    overflow: hidden;
}

.expertise-slider {
    display: flex;
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.expertise-slide {
    min-width: 100%;
    position: relative;
}

.expertise-slide img {
    width: 100%;
    height: 480px;
    border-radius: 10px;
}

.slide-caption {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 22px;
    font-weight: 500;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.expertise-slider-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 25px;
    position: relative;
    z-index: 10;
}

.expertise-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #D1D1D1;
    cursor: pointer;
    transition: all 0.3s ease;
}

.expertise-dot.active {
    background: #470F10;
    transform: scale(1.3);
}

.exp-num-img {
    width: 450px;
    height: auto;
    display: block;
    margin-bottom: 20px;
}

.exp-subtitle {
    font-size: 30px;
    font-weight: 500;
    color: #470F10;
    margin-bottom: 40px;
    text-align: center;
}

.exp-discover-link {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    color: #BA9B9D;
    font-size: 20px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.arrow-circle {
    width: 45px;
    height: 45px;
    border: 1.5px solid #BA9B9D;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: all 0.3s ease;
}

.exp-discover-link:hover {
    color: #470F10;
}

.exp-discover-link:hover .arrow-circle {
    border-color: #470F10;
    background: #470F10;
    color: #fff;
    transform: rotate(-45deg);
}

@media (max-width: 1024px) {
    .expertise-container {
        grid-template-columns: 1fr !important;
        gap: 60px;
    }

    .expertise-content {
        order: 2;
        text-align: center;
        align-items: center;
    }

    .expertise-slider-container {
        order: 1;
    }

    .exp-num-outline {
        font-size: 100px;
    }
}

@media (max-width: 768px) {
    .expertise-slider-bg {
        right: -10px;
        left: 10px;
    }

    .expertise-slide img {
        height: 380px;
    }
}

@media (max-width: 480px) {
    .expertise-slider-bg {
        right: 0;
        left: 0;
        top: 10px;
        bottom: -10px;
    }

    .expertise-slide img {
        height: 280px;
    }

    .exp-num-img {
        width: 100%;
        max-width: 280px;
    }

    .exp-subtitle {
        font-size: 22px;
        margin-bottom: 25px;
    }
}


/* ========================================
   CTA SECTION
======================================== */
.cta-section {
    padding: 80px 0;
    background-color: var(--white);
}

.cta-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    padding: 100px 20px;
    text-align: center;
    background: url('images/Frame 2147224770.png') no-repeat center center/cover;
    color: var(--white);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

/* .cta-overlay {
    position: absolute;
    inset: 0;
    background: rgba(18, 3, 6, 0.85); 
    z-index: 1;
} */

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 42px;
    margin-bottom: 25px;
    line-height: 1.3;
}

.cta-content p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-outline-btn {
    display: inline-block;
    padding: 14px 45px;
    border: 1.5px solid var(--white);
    border-radius: 12px;
    color: var(--white);
    font-weight: 600;
    font-size: 18px;
    transition: var(--transition);
}

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

@media (max-width: 780px) {
    .cta-content h2 {
        font-size: 23px;
    }
}

/* ========================================
   MAIN FOOTER
======================================== */
/* ========================================
   MAIN FOOTER
======================================== */
.main-footer {
    position: relative;
    padding: 100px 0 30px;
    background: #000 url('images/footer\ \(3\).png') no-repeat center center/cover;
    color: var(--white);
    overflow: hidden;
}


.main-footer .container {
    position: relative;
    z-index: 2;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
    align-items: flex-start;
}

.footer-col h3 {
    font-size: clamp(1.2rem, 3vw, 1.375rem);
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60px;
    height: 2px;
    background: var(--primary-color);
}

/* Brand Column */
.brand-col {
    text-align: center;
    padding-top: 10px;
}

.footer-logo {
    margin-bottom: 10px;
}

.footer-logo img {
    height: 85px;
    /* Larger logo as in screenshot */
    width: auto;
}

.since-text {
    display: block;
    font-size: 16px;
    letter-spacing: 6px;
    margin-bottom: 25px;
    opacity: 0.9;
    font-weight: 300;
}

.brand-desc {
    font-size: 15px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
    max-width: 480px;
    margin: 0 auto;
}

/* Links Column (Right Side) */
.links-col {
    text-align: right;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 17px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--white);
    padding-right: 10px;
}

/* Contact Column (Left Side) */
.contact-col {
    text-align: right;
}

.contact-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    /* Removed justify-content: flex-end to allow natural RTL order (Icon on right, Text on left) */
}

.contact-text {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
}

.contact-icon-box {
    width: 42px;
    height: 42px;
    /* Red border as in screenshot */
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon-box img {
    width: 40px;
    height: 40px;
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    order: 2;
    /* Left side visually in RTL space-between */
}

.social-links {
    display: flex;
    gap: 20px;
    order: 1;
    /* Right side visually in RTL space-between */
}

.social-links a {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-links img {
    width: 100%;
    height: auto;
}

.social-links a:hover {
    transform: translateY(-3px);
    opacity: 0.7;
}

/* Responsive Footer */
@media (max-width: 1024px) {
    .main-footer {
        padding: 70px 0 30px;
    }

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

    .footer-col h3 {
        margin-bottom: 20px;
    }

    .brand-col {
        grid-column: auto;
        order: 0;
        margin-bottom: 0;
    }

    .brand-desc {
        font-size: 14px;
    }

    .footer-logo img {
        height: 70px;
    }
}

@media (max-width: 768px) {
    .main-footer {
        padding: 60px 0 30px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 35px;
        margin-bottom: 40px;
    }

    .footer-col h3 {
        margin-bottom: 20px;
    }

    .since-text {
        margin-bottom: 15px;
        font-size: 14px;
        letter-spacing: 4px;
    }

    .brand-col {
        order: -1;
        margin-bottom: 20px;
    }

    .links-col,
    .contact-col {
        text-align: center;
    }

    .contact-col {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .contact-list {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        text-align: right;
    }

    .contact-list li {
        width: 100%;
        justify-content: flex-start;
    }

    .footer-col h3::after {
        right: 50%;
        transform: translateX(50%);
    }

    .footer-bottom {
        flex-direction: column-reverse;
        gap: 20px;
        text-align: center;
    }

    .social-links,
    .copyright {
        order: initial;
    }
}

@media (max-width: 480px) {
    .main-footer {
        padding: 40px 0 20px;
    }

    .footer-grid {
        gap: 30px;
    }

    .footer-col h3 {
        font-size: 18px;
        margin-bottom: 20px;
    }

    .contact-text {
        font-size: 14px;
    }
}

/* ========================================
   ABOUT PAGE RE-DESIGN (ISOLATED)
======================================== */
.about-hero-new {
    height: 100vh;
    min-height: 700px;
    width: 100%;
    position: relative;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center;
    overflow: hidden;
    color: var(--white);
    background-color: #000;
}

.about-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.about-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    z-index: 2;
}

.about-hero-content {
    position: relative;
    z-index: 10;
    max-width: 1100px;
    padding: 0 20px;
}

.about-reveal-title {
    font-size: clamp(45px, 9vw, 48px);
    font-weight: 500;
    margin-bottom: 25px;
    line-height: 1.1;
    letter-spacing: -2px;
    color: var(--white) !important;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.about-reveal-desc {
    font-size: clamp(18px, 2.8vw, 20px);
    line-height: 1.6;
    max-width: 775px;
    margin: 0 auto;
    font-weight: 400;
    color: #B4B4B4;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* Features Section (About) */
.about-features-new {
    padding: 65px 0;
    background: var(--white);
    position: relative;
    z-index: 5;
    background-color: #F9F7F7;
}

.about-features-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 50px;
    padding: 20px 0;
}

.about-feature-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    text-align: right;
}

.about-feature-icon {
    flex-shrink: 0;
    order: 1;
    /* Icon on the right (before text) in RTL */
}

.about-feature-icon img {
    width: 55px;
    /* Reduced size as requested */
    height: auto;
    object-fit: contain;
}

.about-feature-text {
    order: 2;
    /* Text on the left (after icon) in RTL */
}

.about-feature-text h3 {
    font-size: clamp(1.2rem, 4vw, 1.625rem);
    color: #560D21;
    font-weight: 700;
    margin-bottom: 8px;
}

.about-feature-text p {
    color: #555;
    font-size: clamp(0.85rem, 3vw, 1.0625rem);
    font-weight: 500;
}

/* Responsive Re-Design */
@media (max-width: 1199px) {
    .about-reveal-desc {
        font-size: 24px;
    }
}

@media (max-width: 1024px) {
    .about-features-grid {
        grid-template-columns: 1fr !important;
        gap: 60px;
    }

    .about-feature-item {
        flex-direction: column;
        text-align: center;
    }

    .about-feature-icon {
        order: -1;
    }

    .about-feature-text {
        order: 0;
    }
}

@media (max-width: 768px) {
    .about-hero-new {
        height: auto;
        padding: 150px 0 100px;
    }

    .about-reveal-desc {
        font-size: 18px;
    }
}

/* Brand Banner Section */
.brand-banner-section {
    padding: 0;
    /* Full bleed - no padding */
    background-color: #F9F7F7;
    overflow: hidden;
    width: 100%;
}

.brand-banner-full {
    width: 100%;
    overflow: hidden;
}

.brand-banner-full img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 1.5s ease;
}

.brand-banner-full:hover img {
    transform: scale(1.05);
}

/* Services Showcase Section */
.services-showcase {
    background-color: #1a0a0a;
    /* Dark Burgundy/Black */
    padding: 100px 0;
    overflow: hidden;
    color: var(--white);
}

.service-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 120px;
    position: relative;
    gap: 40px;
}

.service-row.reverse {
    flex-direction: row-reverse;
}

/* Outline Background Text */
.service-text-bg {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.service-text-bg img {
    max-width: 100%;
    height: auto;
    opacity: 0.8;
}

.fallback-outline {
    font-size: clamp(80px, 15vw, 180px);
    font-weight: 900;
    color: transparent;
    -webkit-text-stroke: 2px rgba(255, 255, 255, 0.2);
    letter-spacing: 5px;
    line-height: 1;
}

/* Service Card */
.service-card-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
}

.service-card {
    background: #2a1515;
    /* Slightly lighter burgundy */
    width: 100%;
    max-width: 580px;
    display: flex;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: visible;
    /* To allow icon badge to overflow */
    position: relative;
}

.service-card-img {
    flex: 1.2;
    position: relative;
    overflow: hidden;
}

.service-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

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

.service-icon-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 60px;
    height: 60px;
    background: #5d141d;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--white);
    z-index: 5;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.service-icon-badge img {
    width: 30px !important;
    height: 30px !important;
    object-fit: contain !important;
}

.service-card-content {
    flex: 1;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.service-card-content h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--white);
}

.service-card-content p {
    font-size: 16px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 25px;
}

.service-more {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--white);
    font-weight: 600;
    font-size: 16px;
    transition: gap 0.3s ease;
}

.service-more i {
    font-size: 14px;
    background: rgba(255, 255, 255, 0.1);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.service-more:hover {
    gap: 18px;
}

.service-more:hover i {
    background: var(--burgundy);
}

/* Responsive Services */
@media (max-width: 1024px) {

    .service-row,
    .service-row.reverse {
        flex-direction: column-reverse;
        gap: 60px;
        margin-bottom: 100px;
    }

    .service-text-bg {
        width: 100%;
    }

    .service-card {
        display: flex;
        flex-direction: column;
    }

    .service-card-img {
        flex: none;
        width: 100%;
        height: 420px;
        /* Increased height to show more of the image without making it too huge */
        order: -1;
    }

    .service-card-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        /* Center it so it distributes the space evenly */
        display: block;
    }

    .service-card-content {
        flex: none;
        order: 1;
    }
}

@media (max-width: 576px) {
    .service-card-content {
        padding: 30px 20px;
    }

    .service-card-content h3 {
        font-size: 22px;
    }
}

/* Bedroom Intro Section */
.bedroom-intro {
    padding: 100px 0;
    background: var(--white);
    overflow: hidden;
}

.bedroom-intro-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 60px;
}

.intro-title-box {
    flex: 1;
}

.bedroom-badge {
    background: #F8EBEB;
    /* Soft light background */
    color: var(--primary-color);
    padding: 6px 18px;
    font-size: 13px;
    font-weight: 700;
    border-radius: 2px;
    display: inline-block;
    margin-bottom: 20px;
}

.intro-main-title {
    font-size: 30px;
    color: var(--bg-dark);
    /* Very dark color */
    margin-bottom: 15px;
    line-height: 1.3;
    font-weight: 600;
}

.intro-sub-title {
    font-size: clamp(1.2rem, 2vw, 1.6rem);
    color: var(--primary-color);
    /* Dark red/burgundy */
    font-weight: 700;
}

.intro-desc-box {
    flex: 1;
    border-right: 2px solid var(--primary-color);
    padding-right: 40px;
    position: relative;
}

.intro-desc-box p {
    color: var(--text-light);
    /* Gray text */
    font-size: 15px;
    line-height: 1.9;
    max-width: 500px;
    margin: 0;
    font-weight: 500;
}

@media (max-width: 1024px) {
    .bedroom-intro-wrapper {
        flex-direction: column;
        gap: 40px;
    }

    .intro-desc-box {
        padding-right: 20px;
        border-right: 2px solid var(--primary-color);
    }

    .intro-main-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .bedroom-intro {
        padding: 60px 0;
    }

    .intro-desc-box {
        border-right: none;
        padding-right: 0;
        border-top: 2px solid var(--primary-color);
        padding-top: 20px;
    }
}

/* Bedroom Gallery Section */
.bedroom-gallery {
    padding: 60px 0 100px;
    background: var(--white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    height: 300px;
    background-color: #f0f0f0;
    /* Skeleton background */
}

/* Skeleton Shimmer Effect */
.gallery-item::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.4),
            transparent);
    transform: translateX(-100%);
    animation: shimmer 1.5s infinite;
    z-index: 0;
}

.gallery-item.loaded::after {
    display: none;
}

@keyframes shimmer {
    100% {
        transform: translateX(100%);
    }
}


.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.5s ease;
    opacity: 0;
    /* Hide initially */
    position: relative;
    z-index: 1;
}

.gallery-item.loaded img {
    opacity: 1;
}


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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

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

.view-btn {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
    padding: 10px 25px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 5px;
    transform: translateY(20px);
    transition: all 0.4s ease;
    cursor: pointer;
}

.gallery-item:hover .view-btn {
    transform: translateY(0);
}

.view-btn:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.center-text-overlay {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--white);
    font-size: 22px;
    font-weight: 800;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.8);
    z-index: 2;
    pointer-events: none;
    width: 100%;
    text-align: center;
}

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Lightbox Loader */
.lightbox-loader {
    position: absolute;
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    border-top-color: var(--primary-color);
    animation: spin 1s ease-in-out infinite;
    display: none;
    z-index: 5;
}

.lightbox.loading .lightbox-loader {
    display: block;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}


.lightbox-img {
    max-width: 100%;
    max-height: 90vh;
    border-radius: 5px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    object-fit: contain;
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0;
}

.lightbox:not(.loading) .lightbox-img {
    opacity: 1;
}


.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: var(--white);
    font-size: 45px;
    cursor: pointer;
    z-index: 2001;
    transition: color 0.3s ease;
    line-height: 1;
}

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

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 2001;
}

.lightbox-nav:hover {
    background: var(--primary-color);
}

.lightbox-prev {
    right: 40px;
    /* Arabic layout: prev is right */
}

.lightbox-next {
    left: 40px;
    /* Arabic layout: next is left */
}

/* Responsive Gallery */
@media (max-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

    .gallery-item {
        height: 250px;
    }

    .lightbox-nav {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }

    .lightbox-prev {
        right: 15px;
    }

    .lightbox-next {
        left: 15px;
    }
}

/* Contact Page Styles */
.contact-page {
    position: relative;
    padding: 180px 0 100px 0;
    /* Space for fixed header */
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.contact-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contact-header {
    text-align: center;
    margin-bottom: 60px;
    color: var(--white);
}

.contact-header h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: 20px;
}

.contact-header p {
    color: rgba(255, 255, 255, 0.7);
    max-width: 650px;
    margin: 0 auto;
    font-size: 16px;
    line-height: 1.8;
}

.contact-container {
    max-width: 1600px;
    /* Make the container much wider */
    width: 95%;
}

.contact-form-wrapper {
    width: 65%;
    max-width: 1600px;
    margin: 40px auto 0;
    padding: 50px 60px;
    background: rgba(0, 0, 0, 0.35);
    border-radius: 12px;
}

@media (max-width: 992px) {
    .contact-form-wrapper {
        width: 95%;
        padding: 30px 20px;
    }
}

.form-title {
    color: var(--white);
    font-size: clamp(1.5rem, 4vw, 1.625rem);
    margin-bottom: 35px;
    font-weight: 700;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    width: 100%;
}

.form-group {
    margin-bottom: 25px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.form-group label {
    color: rgba(255, 255, 255, 0.9);
    font-size: 15px;
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    background: transparent;
    border: 1px solid #F9F7F7;
    padding: 11px;
    border-radius: 5px;
    color: var(--white);
    font-family: var(--font-main);
    font-size: 15px;
    transition: var(--transition);
    box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--primary-color);
    outline: none;
    background: rgba(255, 255, 255, 0.05);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-group input[type="tel"] {
    text-align: right;
    direction: rtl;
}

.select-wrapper {
    position: relative;
    width: 100%;
}

.select-wrapper select {
    width: 100%;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
}

.select-wrapper select option {
    background: #141414;
    color: var(--white);
}

.select-wrapper select:invalid {
    color: rgba(255, 255, 255, 0.5);
}

.select-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.4);
    pointer-events: none;
    font-size: 12px;
}

.submit-btn {
    width: 100%;
    background: var(--primary-color);
    color: var(--white);
    padding: 11px;
    border-radius: 4px;
    font-size: 18px;
    font-weight: 700;
    margin-top: 2rem;
    transition: var(--transition);
    position: relative;
    z-index: 10;
    display: block;
    opacity: 1 !important;
    visibility: visible !important;
}

.submit-btn:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(86, 13, 33, 0.3);
}

/* Responsive Form */
/* Form stacking is now handled by auto-fit grid */

@media (max-width: 480px) {
    .contact-page {
        padding: 120px 0 50px 0;
    }

    .contact-form-wrapper {
        padding: 20px 15px;
        width: 95%;
    }

    .contact-header h1 {
        font-size: 1.5rem;
    }

    .form-title {
        font-size: 20px;
    }

    .submit-btn {
        font-size: 16px;
        padding: 10px;
    }
}

/* =============================================
   SERVICES SHOWCASE SECTION
   ============================================= */
.services-showcase {
    background: #120306;
    padding: 60px 0 0;
    overflow: hidden;
}

/* Each alternating row */
.service-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    min-height: 400px;
    position: relative;
    margin-bottom: 120px;
}

.service-row:last-child {
    margin-bottom: 0;
}


/* "reverse" rows: card on right, text-bg on left */
.service-row.reverse {
    direction: ltr;
    /* flip columns visually while keeping RTL text inside */
}

.service-row.reverse .service-card-wrapper,
.service-row.reverse .service-text-bg {
    direction: rtl;
}

/* Ensure card interior also flips correctly for alternating rows */
.service-row.reverse .service-card {
    grid-template-columns: 1.2fr 1fr;
    /* Text wider than image or vice versa? Image looks smaller in some. Let's keep 1fr 1fr or similar. */
}

.service-row:not(.reverse) .service-card {
    grid-template-columns: 1fr 1.2fr;
}


/* ── Background outline word ── */
.service-text-bg {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 300px;
    overflow: hidden;
    padding: 40px;
}

.service-text-bg img {
    width: 80%;
    max-width: 320px;
    opacity: 0.9;
    display: block;
    user-select: none;
}

/* Fallback outline text (row 3 & 5 use h2) */
.fallback-outline {
    font-size: clamp(80px, 12vw, 180px);
    font-weight: 900;
    color: transparent;
    -webkit-text-stroke: 2px rgba(186, 15, 52, 0.45);
    line-height: 1;
    margin: 0;
    user-select: none;
    letter-spacing: -4px;
}

/* ── Card wrapper (right half) ── */
.service-card-wrapper {
    padding: 30px 40px 30px 20px;
    display: flex;
    align-items: center;
}

.service-card {
    background: #1A050A;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    overflow: visible;
    /* to allow badge overflow if needed */
    display: grid;
    width: 100%;
    min-height: 280px;
    position: relative;
    transition: all 0.3s ease;
}

.service-row:not(.reverse) .service-card {
    border-right: 4px solid var(--primary-color);
}

.service-row.reverse .service-card {
    border-left: 4px solid var(--primary-color);
}

.service-card:hover {
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    border-color: rgba(186, 15, 52, 0.3);
}

/* Image side */
.service-card-img {
    position: relative;
    overflow: hidden;
    background-color: #f0f0f0;
}

.service-card-img::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transform: translateX(-100%);
    animation: shimmer 1.5s infinite;
}

.service-card-img.loaded::after {
    display: none;
}

.service-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease, opacity 0.5s ease;
    opacity: 0;
}

.service-card-img.loaded img {
    opacity: 1;
}


.service-card:hover .service-card-img img {
    transform: scale(1.06);
}

/* Content side */
.service-card-content {
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 14px;
    text-align: right;
    color: var(--white);
}

.service-card-content h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--white);
    margin: 0;
}

.service-card-content p {
    font-size: 13px;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

/* "عرض المزيد" link */
.service-more {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--white);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.service-more i {
    width: 32px;
    height: 32px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    color: var(--white);
    transition: all 0.3s ease;
}

.service-more:hover {
    color: var(--primary-color);
}

.service-more:hover i {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateX(-5px);
}


/* Icon circle badge on card image */
.svc-icon-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 46px;
    height: 46px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.svc-icon-badge img {
    width: 30px;
    height: 30px;
}

/* ── Responsive ── */
@media (max-width: 1200px) {
    .service-card {
        grid-template-columns: 1fr !important;
        border-right: none !important;
        border-left: none !important;
        border-top: 4px solid var(--primary-color);
        min-height: auto;
    }

    .service-card-img {
        height: 250px;
    }

    .service-card-content {
        padding: 24px 20px;
    }
}


@media (max-width: 768px) {
    .service-row {
        grid-template-columns: 1fr;
        min-height: auto;
        margin-bottom: 60px;
    }

    .service-row.reverse {
        direction: rtl;
    }

    .service-text-bg {
        min-height: 120px;
        padding: 10px;
        order: -1;
    }

    .service-text-bg img {
        width: 60%;
        max-width: 180px;
    }

    .fallback-outline {
        font-size: 70px;
    }

    .service-card-wrapper {
        padding: 10px;
    }

    .service-card-img {
        height: 220px;
    }


    .service-card-content {
        padding: 20px 16px;
    }
}

@media (max-width: 480px) {
    .service-text-bg img {
        width: 65%;
    }

    .fallback-outline {
        font-size: 60px;
    }
}

/* Global Section Padding Reductions for Responsive */
@media (max-width: 1024px) {

    .about,
    .custom-exec,
    .cta-section,
    .projects-slider-section {
        padding: 60px 0;
    }

    .products-slider,
    .quality,
    .why-us {
        padding: 70px 0;
    }

    .video-showcase {
        padding: 80px 0;
    }

    .expertise {
        padding: 70px 20px;
    }

    .productsSwiper {
        padding: 30px 0 60px 0;
    }

    .slider-header {
        margin-bottom: 40px;
    }

    .video-header,
    .quality-header {
        margin-bottom: 50px;
    }
}

@media (max-width: 768px) {

    .about,
    .custom-exec,
    .cta-section,
    .projects-slider-section {
        padding: 40px 0;
    }

    .products-slider,
    .quality,
    .why-us,
    .video-showcase,
    .expertise {
        padding: 50px 0;
    }

    .expertise {
        padding: 50px 15px;
    }

    .productsSwiper {
        padding: 20px 0 40px 0;
    }

    .slider-header {
        margin-bottom: 30px;
    }

    .video-header,
    .quality-header {
        margin-bottom: 40px;
    }
}