/* ===== ROOT VARIABLES ===== */
:root {
    --gold: #D32F2F;
    --gold-light: #FAD85C;
    --blue: #0A3D6B;
    --blue-dark: #062341;
    --blue-sky: #1A8BC0;
    --blue-sky-light: #4DB8E8;
    --red: #D32F2F;
    --red-light: #E53935;
    --white: #FFFFFF;
    --gray-light: #F8F9FA;
    --gray-mid: #E9ECEF;
    --shadow-sm: 0 2px 12px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.10);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.14);
    --radius: 12px;
    --radius-lg: 20px;
    --transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --font-ar: 'Cairo', sans-serif;
    --font-en: 'Roboto', sans-serif;
}

/* ===== GLOBAL RESET ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ===== PRELOADER ===== */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0a0a0a;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.portrait-gallery {
    position: relative;
    width: 100%;
    max-width: 900px;
    height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.portrait-frame {
    position: relative;
    width: 300px;
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    transform-style: preserve-3d;
    perspective: 1000px;
}

.portrait-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: scale(1.1) rotateY(20deg);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.portrait-image.active {
    opacity: 1;
    transform: scale(1) rotateY(0deg);
}

.portrait-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.portrait-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent 0%,
            transparent 50%,
            rgba(0, 0, 0, 0.7) 100%);
    pointer-events: none;
}

.portrait-info {
    position: absolute;
    bottom: 30px;
    left: 20px;
    right: 20px;
    color: #fff;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease 0.3s;
}

.portrait-image.active .portrait-info {
    opacity: 1;
    transform: translateY(0);
}

.portrait-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
}

.portrait-subtitle {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.portrait-indicators {
    position: absolute;
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    display: none;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: #fff;
    transform: scale(1.2);
}

.loading-progress {
    position: absolute;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    display: none;
}

.progress-text {
    color: #fff;
    font-size: 16px;
    font-weight: 300;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.progress-bar {
    width: 200px;
    height: 3px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--gold), var(--blue-sky));
    width: 0%;
    transition: width 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-ar);
    background-color: var(--white);
    color: #1e2a3a;
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* ===== TYPOGRAPHY ===== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    letter-spacing: -0.02em;
}

.section-title {
    font-size: 1.8rem;
    font-weight: 800;
    position: relative;
    margin-bottom: 1rem;
}

.section-title .highlight {
    color: var(--gold);
}

.section-subtitle {
    font-size: 1.1rem;
    color: #5a6a7a;
    max-width: 680px;
    margin: 0 auto 2.5rem auto;
}

/* ===== BUTTONS ===== */
.btn-gold {
    background: var(--gold);
    color: var(--blue-dark);
    font-weight: 700;
    padding: 0.7rem 2rem;
    border-radius: 50px;
    border: none;
    transition: var(--transition);
    box-shadow: 0 4px 14px rgba(245, 180, 26, 0.35);
}

.btn-gold:hover {
    background: #e0a010;
    color: var(--blue-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(245, 180, 26, 0.45);
}

.btn-red {
    background: var(--red);
    color: #fff;
    font-weight: 700;
    padding: 0.7rem 2rem;
    border-radius: 50px;
    border: none;
    transition: var(--transition);
    box-shadow: 0 4px 14px rgba(211, 47, 47, 0.35);
}

.btn-red:hover {
    background: #b71c1c;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(211, 47, 47, 0.45);
}

.btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: #fff;
    font-weight: 600;
    padding: 0.7rem 2rem;
    border-radius: 50px;
    transition: var(--transition);
}

.btn-outline-light:hover {
    background: #fff;
    color: var(--blue-dark);
    border-color: #fff;
    transform: translateY(-3px);
}

/* ===== TOP BAR ===== */
.top-bar {
    background: var(--blue-dark);
    color: rgba(255, 255, 255, 0.85);
    padding: 0.5rem 0;
    font-size: 0.85rem;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1040;
}

.top-bar-info {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.top-bar-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: rgba(255, 255, 255, 0.85);
    transition: var(--transition);
}

.top-bar-item:hover {
    color: var(--gold);
}

.top-bar-item i {
    font-size: 1rem;
    color: var(--gold);
}

.top-bar-social {
    display: flex;
    gap: 0.8rem;
    justify-content: flex-end;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    transition: var(--transition);
    font-size: 0.9rem;
    text-decoration: none;
}

.social-link:hover {
    background: var(--gold);
    color: var(--blue-dark);
    transform: translateY(-2px);
}

/* ===== HEADER ===== */
.navbar-custom {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 2px 24px rgba(0, 0, 0, 0.06);
    padding: 0;
    transition: var(--transition);
    border-bottom: 2px solid transparent;
}

.navbar-custom.scrolled {
    box-shadow: 0 6px 32px rgba(0, 0, 0, 0.10);
    border-bottom-color: var(--gold);
}

.navbar-custom .navbar-brand {
    font-weight: 900;
    font-size: 1.8rem;
    color: var(--blue-dark);
    letter-spacing: -0.02em;
}

.navbar-custom .navbar-brand span {
    color: var(--gold);
}

.navbar-custom .nav-link {
    font-weight: 600;
    font-size: 0.95rem;
    color: #1e2a3a !important;
    padding: 0.5rem 1rem !important;
    transition: var(--transition);
    position: relative;
}

.navbar-custom .nav-link:hover {
    color: var(--blue-sky) !important;
}

.navbar-custom .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 1rem;
    left: 1rem;
    height: 3px;
    background: var(--gold);
    border-radius: 4px;
    transform: scaleX(0);
    transition: var(--transition);
}

.navbar-custom .nav-link:hover::after {
    transform: scaleX(1);
}

.navbar-custom .nav-link.active::after {
    transform: scaleX(1);
}

.lang-switch {
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--blue-dark);
    background: var(--gray-light);
    padding: 0.3rem 0.8rem;
    border-radius: 30px;
    border: 1px solid var(--gray-mid);
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.lang-switch:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: #fff;
}

/* ===== HERO CAROUSEL ===== */
.hero-carousel {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
}

.hero-carousel .carousel-inner,
.hero-carousel .carousel-item {
    height: 100vh;
    min-height: 600px;
}

.hero-carousel .carousel-item {
    position: relative;
}

.hero-carousel .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.carousel-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(6, 35, 65, 0.85) 0%, rgba(10, 61, 107, 0.75) 50%, rgba(26, 139, 192, 0.65) 100%);
    z-index: 1;
}

.hero-carousel .carousel-item .container {
    position: relative;
    z-index: 2;
    height: 100%;
    padding: 2rem;
}

/* Slide content animation */
.carousel-item .slide-content {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.carousel-item.active .slide-content {
    opacity: 1;
    transform: translateY(0);
}

.carousel-item .slide-content .badge-hero {
    display: inline-block;
    background: rgba(245, 180, 26, 0.18);
    backdrop-filter: blur(6px);
    padding: 0.4rem 1.6rem;
    border-radius: 50px;
    color: var(--gold);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.04em;
    border: 1px solid rgba(245, 180, 26, 0.20);
    margin-bottom: 1.5rem;
}

.carousel-item .slide-content h1 {
    font-size: 4.2rem;
    font-weight: 900;
    color: #fff !important;
    line-height: 1.1;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.carousel-item .slide-content h1 .gold-text {
    color: var(--gold);
}

.carousel-item .slide-content .hero-sub {
    font-size: 1.6rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.80);
    margin-bottom: 1.2rem;
}

.carousel-item .slide-content .hero-desc {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.75);
    max-width: 540px;
    margin-bottom: 2.2rem;
    line-height: 1.8;
}

.carousel-item .slide-content .hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

/* Slide image mockup */
.carousel-item .mockup-box {
    width: 100%;
    max-width: 480px;
    aspect-ratio: 4/3;
    background: rgba(255, 255, 255, 0.04);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.20);
    margin-right: auto;
}

.carousel-item .mockup-box img {
    max-width: 90%;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.20));
}

/* Carousel controls */
.hero-carousel .carousel-control-prev,
.hero-carousel .carousel-control-next {
    width: 5%;
    opacity: 0.6;
    transition: var(--transition);
    z-index: 5;
}

.hero-carousel .carousel-control-prev:hover,
.hero-carousel .carousel-control-next:hover {
    opacity: 1;
}

.hero-carousel .carousel-control-prev-icon,
.hero-carousel .carousel-control-next-icon {
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
}

.hero-carousel .carousel-indicators {
    bottom: 30px;
    z-index: 5;
}

.hero-carousel .carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.6);
    background: transparent;
    margin: 0 6px;
    transition: var(--transition);
}

.hero-carousel .carousel-indicators button.active {
    background: var(--gold);
    border-color: var(--gold);
    transform: scale(1.2);
}

/* ===== ANIMATIONS (General) ===== */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in {
    opacity: 0;
    transition: opacity 0.9s ease;
}

.fade-in.visible {
    opacity: 1;
}

/* ===== SECTIONS ===== */
.section-padding {
    padding: 80px 0;
}

.section-padding-sm {
    padding: 60px 0;
}

.bg-light-gray {
    background-color: var(--gray-light);
}

.bg-dark-blue {
    background-color: var(--blue-dark);
    color: #fff;
}

.bg-dark-blue .section-subtitle {
    color: rgba(255, 255, 255, 0.70);
}

/* ===== ABOUT ===== */
.about-number {
    font-size: 2.8rem;
    font-weight: 900;
    color: var(--gold);
    line-height: 1;
}

.about-number-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--blue-dark);
}

.icon-box {
    width: 64px;
    height: 64px;
    background: rgba(26, 139, 192, 0.10);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--blue-sky);
    transition: var(--transition);
    flex-shrink: 0;
}

.icon-box.gold {
    background: rgba(245, 180, 26, 0.14);
    color: var(--gold);
}

.icon-box.red {
    background: rgba(211, 47, 47, 0.10);
    color: var(--red);
}

/* ===== PRODUCTS / ANIMATED SWIPER CARDS ===== */
.bg-products-modern {
    background: linear-gradient(180deg, #f8faff 0%, #edf3f8 100%);
}

.products-glow-blob {
    position: absolute;
    width: 450px;
    height: 450px;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    z-index: 1;
}

.glow-top-right {
    top: -120px;
    right: -120px;
    background: radial-gradient(circle, rgba(245, 180, 26, 0.12) 0%, rgba(245, 180, 26, 0) 70%);
}

.glow-bottom-left {
    bottom: -150px;
    left: -150px;
    background: radial-gradient(circle, rgba(26, 139, 192, 0.14) 0%, rgba(26, 139, 192, 0) 70%);
}

/* Swiper Navigation Buttons */
.swiper-nav-btn {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid rgba(10, 61, 107, 0.12);
    color: var(--blue-dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(10, 61, 107, 0.08);
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.swiper-nav-btn:hover {
    background: var(--blue-dark);
    color: var(--gold);
    border-color: var(--blue-dark);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 24px rgba(6, 35, 65, 0.22);
}

.swiper-nav-btn.swiper-button-disabled {
    opacity: 0.35;
    cursor: not-allowed;
    pointer-events: none;
    transform: none;
    box-shadow: none;
}

/* Product Card Modern Container */
.product-card-modern {
    background: #ffffff;
    border-radius: 22px;
    border: 1px solid rgba(10, 61, 107, 0.08);
    box-shadow: 0 10px 30px rgba(10, 61, 107, 0.05);
    transition: all 0.45s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    position: relative;
    transform: translateY(0);
}

.product-card-modern:hover {
    transform: translateY(-10px);
    box-shadow: 0 24px 50px rgba(10, 61, 107, 0.14), 0 0 0 1px rgba(245, 180, 26, 0.35);
    border-color: rgba(245, 180, 26, 0.35);
}

/* Media Area */
.product-card-modern .card-media {
    position: relative;
    aspect-ratio: 4/3;
    width: 100%;
    background: radial-gradient(circle at center, #ffffff 30%, #f1f5f9 100%);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.product-card-modern .card-media .product-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.65s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.3s ease;
    filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.08));
}

.product-card-modern:hover .card-media .product-img {
    transform: scale(1.1) translateY(-4px);
    filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.14));
}

/* Badges on Card Media */
.card-badge-top-start {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 3;
}

.card-badge-top-end {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 3;
}

.badge-status {
    padding: 0.35rem 0.85rem;
    border-radius: 30px;
    font-size: 0.74rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.badge-status.badge-gold {
    background: linear-gradient(135deg, #F5B41A, #ffd24d);
    color: #062341;
}

.badge-status.badge-blue {
    background: linear-gradient(135deg, #0A3D6B, #1A8BC0);
    color: #ffffff;
}

.badge-status.badge-red {
    background: linear-gradient(135deg, #D32F2F, #E53935);
    color: #ffffff;
}

.badge-category-glass {
    background: rgba(255, 255, 255, 0.90);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: var(--blue-dark);
    font-size: 0.74rem;
    font-weight: 700;
    padding: 0.35rem 0.85rem;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

/* Card Hover Quick Actions */
.card-actions-overlay {
    position: absolute;
    bottom: 12px;
    left: 12px;
    display: flex;
    gap: 8px;
    z-index: 4;
    opacity: 0;
    transform: translateY(14px);
    transition: all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.product-card-modern:hover .card-actions-overlay {
    opacity: 1;
    transform: translateY(0);
}

.btn-action-round {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid rgba(10, 61, 107, 0.12);
    color: var(--blue-dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
    cursor: pointer;
    transition: all 0.25s ease;
    font-size: 0.95rem;
    text-decoration: none;
}

.btn-action-round:hover {
    background: var(--gold);
    color: #062341;
    transform: translateY(-3px) scale(1.08);
}

.btn-action-round.btn-whatsapp-action:hover {
    background: #25D366;
    color: #fff;
    border-color: #25D366;
}

/* Card Content Area */
.product-card-modern .card-content {
    padding: 1.4rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.rating-stars {
    font-size: 0.78rem;
    display: flex;
    align-items: center;
}

.rating-num {
    font-size: 0.78rem;
    color: #64748b;
    font-weight: 700;
}

.stock-badge {
    font-size: 0.74rem;
    font-weight: 700;
    background: rgba(37, 211, 102, 0.12);
    color: #198754;
    padding: 0.2rem 0.65rem;
    border-radius: 20px;
}

.product-card-modern .product-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--blue-dark);
    margin-bottom: 0.4rem;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.product-card-modern:hover .product-title {
    color: var(--blue-sky);
}

.product-card-modern .product-desc {
    font-size: 0.88rem;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Specs Badges / Pills */
.specs-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 1.25rem;
}

.spec-pill {
    font-size: 0.74rem;
    background: #f1f5f9;
    color: #334155;
    padding: 0.25rem 0.65rem;
    border-radius: 6px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: all 0.25s ease;
}

.spec-pill i {
    color: var(--blue-sky);
    font-size: 0.8rem;
}

.product-card-modern:hover .spec-pill {
    background: rgba(26, 139, 192, 0.08);
    color: var(--blue-dark);
}

/* Card Footer Action */
.card-footer-action {
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 8px;
    padding-top: 1rem;
    border-top: 1px solid #f1f5f9;
}

.btn-card-primary {
    flex: 1;
    background: var(--blue-dark);
    color: #ffffff;
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    font-size: 0.86rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    text-decoration: none;
    cursor: pointer;
}

.btn-card-primary .icon-arrow {
    transition: transform 0.3s ease;
    font-size: 1rem;
}

.btn-card-primary:hover {
    background: var(--gold);
    color: #062341;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 180, 26, 0.4);
}

.btn-card-primary:hover .icon-arrow {
    transform: translateX(-4px);
}

.btn-card-quote {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #f1f5f9;
    color: var(--blue-dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: all 0.3s ease;
    text-decoration: none;
    flex-shrink: 0;
    border: 1px solid transparent;
}

.btn-card-quote:hover {
    background: var(--red);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(211, 47, 47, 0.35);
}

/* Swiper Controls Bar */
.swiper-controls-bar {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

/* Swiper Pagination */
.swiper-pagination-custom {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.swiper-pagination-custom .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    border-radius: 10px;
    background: #cbd5e1;
    opacity: 1;
    margin: 0;
    transition: all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
    cursor: pointer;
}

.swiper-pagination-custom .swiper-pagination-bullet-active {
    width: 32px;
    background: var(--gold);
    box-shadow: 0 2px 10px rgba(245, 180, 26, 0.45);
}

.btn-outline-primary-custom {
    border: 1.5px solid var(--blue-dark);
    color: var(--blue-dark);
    background: transparent;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-outline-primary-custom:hover {
    background: var(--blue-dark);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(6, 35, 65, 0.15);
}

/* Quick View Modal Enhancements */
.product-modal-content {
    border-radius: 24px;
    overflow: hidden;
}

.modal-img-container {
    background: #f8fafc;
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e2e8f0;
}

.modal-product-image {
    max-height: 230px;
    object-fit: contain;
}

.specs-table-wrapper table th {
    background: #f8fafc;
    color: #475569;
    width: 38%;
    font-weight: 700;
}

/* ===== CATEGORY CARDS ===== */
.category-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.04);
    height: 100%;
    cursor: default;
}

.category-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--gold);
}

.category-card .cat-icon {
    font-size: 3rem;
    color: var(--blue-sky);
    margin-bottom: 1rem;
    display: block;
}

.category-card .cat-count {
    font-size: 0.85rem;
    color: #8a9aa8;
    font-weight: 600;
}

/* ===== SERVICES ===== */
.service-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.04);
    height: 100%;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--red);
}

.service-card .serv-icon {
    font-size: 3.2rem;
    color: var(--red);
    margin-bottom: 1rem;
    display: block;
}

/* ===== WHY CHOOSE US ===== */
.why-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 0.8rem 0;
}

.why-item .why-icon {
    font-size: 1.8rem;
    color: var(--gold);
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.why-item h6 {
    font-weight: 700;
    margin-bottom: 0.1rem;
}

.why-item p {
    font-size: 0.95rem;
    color: #5a6a7a;
    margin: 0;
}

.counter-box {
    background: rgba(255, 255, 255, 0.04);
    border-radius: var(--radius);
    padding: 1.8rem 1rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: var(--transition);
    backdrop-filter: blur(4px);
}

.counter-box:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-4px);
}

.counter-box .counter-number {
    font-size: 3rem;
    font-weight: 900;
    color: var(--gold);
    line-height: 1.2;
}

.counter-box .counter-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.75);
    font-weight: 600;
}

/* ===== PARTNERS / SWIPER CARDS ===== */
.bg-partners-modern {
    background: linear-gradient(180deg, #edf3f8 0%, #f8faff 100%);
}

.partnersSwiper {
    padding-bottom: 2rem;
    overflow: hidden;
}

.partner-card-modern {
    background: #ffffff;
    border-radius: 18px;
    border: 1px solid rgba(10, 61, 107, 0.08);
    box-shadow: 0 8px 24px rgba(10, 61, 107, 0.04);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    padding: 1.5rem 1rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    height: 100%;
    min-height: 135px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: grab;
}

.partner-card-modern:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(10, 61, 107, 0.12);
    border-color: var(--gold);
}

.partner-logo-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    width: 100%;
}

.partner-name {
    font-size: 1.35rem;
    font-weight: 900;
    letter-spacing: 0.05em;
    color: var(--blue-dark);
    margin: 0;
    transition: color 0.3s ease, transform 0.3s ease;
    font-family: var(--font-en);
}

.partner-card-modern:hover .partner-name {
    color: var(--blue-sky);
    transform: scale(1.05);
}

.partner-origin {
    font-size: 0.72rem;
    font-weight: 700;
    color: #64748b;
    letter-spacing: 0.08em;
}

.partner-badge-status {
    font-size: 0.68rem;
    font-weight: 700;
    padding: 0.18rem 0.6rem;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 0.2rem;
}

.badge-status-gold {
    background: rgba(245, 180, 26, 0.15);
    color: #b37d00;
    border: 1px solid rgba(245, 180, 26, 0.3);
}

.badge-status-blue {
    background: rgba(26, 139, 192, 0.10);
    color: var(--blue-sky);
    border: 1px solid rgba(26, 139, 192, 0.2);
}

.partners-pagination-custom {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.partners-pagination-custom .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    border-radius: 8px;
    background: #cbd5e1;
    opacity: 1;
    margin: 0 4px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.partners-pagination-custom .swiper-pagination-bullet-active {
    width: 24px;
    background: var(--gold);
}

/* ===== NEWSLETTER SECTION ===== */
.newsletter-section {
    background: linear-gradient(135deg, #062341 0%, #0A3D6B 60%, #08345c 100%);
    padding: 20px 0;
    position: relative;
    overflow: hidden;
}

.newsletter-glow {
    position: absolute;
    width: 480px;
    height: 480px;
    border-radius: 50%;
    filter: blur(90px);
    pointer-events: none;
    z-index: 1;
}

.newsletter-glow.glow-1 {
    top: -120px;
    right: -100px;
    background: radial-gradient(circle, rgba(245, 180, 26, 0.16) 0%, rgba(245, 180, 26, 0) 70%);
}

.newsletter-glow.glow-2 {
    bottom: -150px;
    left: -100px;
    background: radial-gradient(circle, rgba(26, 139, 192, 0.20) 0%, rgba(26, 139, 192, 0) 70%);
}

.newsletter-card-wrapper {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.10);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 28px;
    padding: 3.5rem 2rem;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
    position: relative;
}

/* Newsletter Input Group */
.newsletter-form {
    max-width: 580px;
    position: relative;
}

.newsletter-input-group {
    background: #ffffff;
    border-radius: 60px;
    padding: 6px;
    display: flex;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
}

.newsletter-input-group:focus-within {
    border-color: var(--gold);
    box-shadow: 0 12px 35px rgba(245, 180, 26, 0.3);
}

.newsletter-input-group .input-icon {
    font-size: 1.2rem;
    color: #94a3b8;
    padding: 0 1rem 0 0.5rem;
    display: flex;
    align-items: center;
}

.newsletter-input {
    border: none;
    outline: none;
    background: transparent;
    font-size: 0.95rem;
    font-family: var(--font-ar);
    color: #1e293b;
    flex: 1;
    min-width: 0;
    padding: 0.6rem 0.5rem;
}

.newsletter-input::placeholder {
    color: #94a3b8;
    font-size: 0.9rem;
}

.btn-newsletter-submit {
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    flex-shrink: 0;
    border: none;
    box-shadow: 0 4px 14px rgba(245, 180, 26, 0.4);
    transition: all 0.3s ease;
}

.btn-newsletter-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 180, 26, 0.55);
}

.newsletter-feedback {
    font-size: 0.9rem;
    font-weight: 600;
}

@media (max-width: 768px) {
    .newsletter-card-wrapper {
        padding: 2.5rem 1.25rem;
        border-radius: 20px;
    }

    .newsletter-input-group {
        flex-direction: column;
        border-radius: 18px;
        padding: 10px;
        gap: 10px;
    }

    .newsletter-input {
        width: 100%;
        text-align: center;
    }

    .btn-newsletter-submit {
        width: 100%;
    }

    .newsletter-input-group .input-icon {
        display: none;
    }
}

/* ===== CONTACT ===== */
.contact-info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.6rem 0;
}

.contact-info-item .ci-icon {
    width: 44px;
    height: 44px;
    background: rgba(26, 139, 192, 0.10);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--blue-sky);
    flex-shrink: 0;
}

.form-control-custom {
    border: 1px solid var(--gray-mid);
    border-radius: var(--radius);
    padding: 0.7rem 1.2rem;
    font-family: var(--font-ar);
    transition: var(--transition);
    background: #fff;
    text-align: right;
}

.form-control-custom:focus {
    border-color: var(--blue-sky);
    box-shadow: 0 0 0 4px rgba(26, 139, 192, 0.10);
}

/* ===== FOOTER ===== */
.footer {
    background: var(--blue-dark);
    color: rgba(255, 255, 255, 0.75);
    padding: 60px 0 30px 0;
}

.footer h5 {
    color: #fff;
    font-weight: 700;
    margin-bottom: 1.2rem;
    font-size: 1.1rem;
}

.footer a {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
}

.footer a:hover {
    color: var(--gold);
    transform: translateX(-4px);
}

.footer .footer-link {
    padding: 0.2rem 0;
    display: block;
}

.footer .social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    transition: var(--transition);
    font-size: 1.2rem;
    margin-left: 0.5rem;
    text-decoration: none;
}

.footer .social-icon:hover {
    background: var(--gold);
    color: var(--blue-dark);
    transform: translateY(-4px);
}

.footer .footer-divider {
    border-color: rgba(255, 255, 255, 0.06);
    margin: 2rem 0 1.5rem 0;
}

.footer .copyright {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.45);
}

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    background: #25D366;
    color: #fff;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.35);
    transition: var(--transition);
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.08) translateY(-4px);
    color: #fff;
    box-shadow: 0 10px 32px rgba(37, 211, 102, 0.45);
}

/* ===== SCROLL TOP ===== */
.scroll-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gold);
    color: var(--blue-dark);
    border: none;
    font-size: 1.4rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.scroll-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top:hover {
    background: #e0a010;
    transform: translateY(-4px) scale(1.04);
}

/* ===== PRODUCT FILTER ===== */
.filter-btn {
    background: transparent;
    border: 1px solid var(--gray-mid);
    border-radius: 50px;
    padding: 0.4rem 1.4rem;
    font-weight: 600;
    font-size: 0.85rem;
    color: #1e2a3a;
    transition: var(--transition);
    cursor: pointer;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--blue-dark);
}

.filter-btn.active {
    background: var(--gold);
    border-color: var(--gold);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .top-bar-info {
        gap: 1rem;
    }

    .carousel-item .slide-content h1 {
        font-size: 3rem;
    }

    .carousel-item .slide-content .hero-sub {
        font-size: 1.3rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .hero-carousel .carousel-item {
        min-height: 500px;
    }

    .carousel-item .mockup-box {
        max-width: 360px;
        margin-right: auto;
        margin-left: auto;
    }
}

@media (max-width: 768px) {
    .top-bar {
        display: none;
    }

    .navbar-custom {
        top: 0;
    }

    .carousel-item .slide-content h1 {
        font-size: 2.4rem;
    }

    .carousel-item .slide-content .hero-sub {
        font-size: 1.1rem;
    }

    .carousel-item .slide-content .hero-desc {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .section-padding {
        padding: 50px 0;
    }

    .carousel-item .mockup-box {
        max-width: 280px;
        margin-top: 1.5rem;
    }

    .counter-box .counter-number {
        font-size: 2.2rem;
    }
}

@media (max-width: 576px) {
    .carousel-item .slide-content h1 {
        font-size: 1.8rem;
    }

    .carousel-item .slide-content .hero-sub {
        font-size: 0.95rem;
    }

    .carousel-item .slide-content .hero-desc {
        font-size: 0.9rem;
    }

    .carousel-item .slide-content .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .navbar-custom .navbar-brand {
        font-size: 1.4rem;
    }

    .hero-carousel .carousel-control-prev,
    .hero-carousel .carousel-control-next {
        width: 8%;
    }
}

/* ===== UTILITY ===== */
.text-gold {
    color: var(--gold);
}

.text-blue-sky {
    color: var(--blue-sky);
}

.text-red {
    color: var(--red);
}

.bg-gold-soft {
    background: rgba(245, 180, 26, 0.06);
}

.border-gold {
    border-color: var(--gold) !important;
}

.gap-1 {
    gap: 0.5rem;
}

.gap-2 {
    gap: 1rem;
}

.gap-3 {
    gap: 1.5rem;
}

.gap-4 {
    gap: 2rem;
}

.object-fit-cover {
    object-fit: cover;
}

.page-hero {
    position: relative;
    background: linear-gradient(135deg, rgba(10, 61, 107, 0.96), rgba(6, 35, 65, 0.92)),
        url('../img/slider/3.jpg') center/cover no-repeat;
    color: var(--white);
    overflow: hidden;
    padding: 120px 0 80px;
}

.page-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at left top, rgba(212, 175, 55, 0.18), transparent 35%);
}

.page-hero .container {
    position: relative;
    z-index: 1;
}

.page-hero .page-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--white);
    font-size: 0.82rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.page-hero h1 {
    font-size: clamp(2.1rem, 5vw, 4rem);
    line-height: 1.3;
    margin-bottom: 1rem;
}

.page-hero .page-lead {
    max-width: 760px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.08rem;
}

.page-panel {
    background: #fff;
    border: 1px solid rgba(10, 61, 107, 0.08);
    border-radius: 22px;
    box-shadow: var(--shadow-sm);
    padding: 2rem;
}

.feature-card,
.service-card,
.partner-card,
.cert-card {
    background: #fff;
    border: 1px solid rgba(10, 61, 107, 0.08);
    border-radius: 22px;
    padding: 1.6rem;
    box-shadow: var(--shadow-sm);
    height: 100%;
    transition: var(--transition);
}

.feature-card:hover,
.service-card:hover,
.partner-card:hover,
.cert-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.feature-icon,
.service-icon {
    width: 58px;
    height: 58px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: rgba(212, 175, 55, 0.12);
    color: var(--gold);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.feature-card h3,
.service-card h3,
.partner-card h3,
.cert-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.8rem;
}

.stat-box {
    background: linear-gradient(180deg, rgba(10, 61, 107, 0.04), rgba(212, 175, 55, 0.04));
    border: 1px solid rgba(10, 61, 107, 0.08);
    border-radius: 18px;
    padding: 1.4rem 1rem;
    text-align: center;
    height: 100%;
}

.stat-box strong {
    display: block;
    font-size: 2rem;
    color: var(--gold);
    margin-bottom: 0.35rem;
}

.stat-box span {
    color: #46596d;
    font-weight: 600;
}

.bullet-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.bullet-list li {
    position: relative;
    padding-right: 2rem;
    margin-bottom: 0.9rem;
    color: #2d4054;
}

.bullet-list li::before {
    content: "✓";
    position: absolute;
    right: 0;
    top: 0;
    color: var(--gold);
    font-weight: 700;
}

.brand-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.2rem;
}

.partner-card {
    text-align: center;
    padding: 1.5rem 1rem;
}

.partner-card .partner-name {
    display: block;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--blue-dark);
    margin-bottom: 0.3rem;
}

.partner-card .partner-origin {
    color: #586d82;
    font-weight: 700;
}

.contact-card {
    background: var(--white);
    border: 1px solid rgba(10, 61, 107, 0.08);
    border-radius: 22px;
    padding: 1.7rem;
    box-shadow: var(--shadow-sm);
    height: 100%;
}

.map-frame {
    border: 0;
    border-radius: 20px;
    width: 100%;
    min-height: 320px;
    box-shadow: var(--shadow-sm);
}

/*** Header ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: rgba(0, 0, 0, .3);
    /* background: rgba(0, 0, 0, .75); */
    z-index: 1;
}

.carousel-caption {
    animation: slideFromLeft 3s ease-out;
}

@keyframes slideFromRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.carousel-control-prev,
.carousel-control-next {
    width: 15%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
    background-color: var(--primary);
    border: 10px solid var(--primary);
}

@media (max-width: 768px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: 450px;
    }

    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

/* Carousel Animations */
.carousel-item {
    position: relative;
}

.carousel-item img {
    animation: slideFromRight 3s ease-out;
}

.carousel-caption {
    animation: slideFromLeft 3s ease-out;
}

@keyframes slideFromRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideFromLeft {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}
/* Custom styling for the "More" button in product cards */
.product-card-modern .btn-outline-danger {
    border-radius: 20px;
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 6px 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-color: var(--gold);
    color: var(--gold);
    background: transparent;
}

.product-card-modern .btn-outline-danger:hover {
    background-color: var(--gold);
    color: #fff;
    box-shadow: 0 4px 12px rgba(211, 47, 47, 0.3);
    transform: translateY(-2px);
}

.product-card-modern .btn-outline-danger i {
    transition: transform 0.3s ease;
}

.product-card-modern .btn-outline-danger:hover i {
    transform: translateX(-5px);
}
