/* public/css/style.css - Premium Metallic Gold & Ocean Navy Theme */

:root {
    --primary-color: #0b2545;
    --primary-dark: #0a192f;
    --primary-light: #134074;
    --accent-color: #c5a059;
    --accent-hover: #b38e47;
    --gold-color: #d4af37;
    --gold-light: #e5c158;
    --cyan-accent: #00b4d8;
    --text-dark: #0f172a;
    --text-muted: #64748b;
    --bg-light: #f8fafc;
    --white: #ffffff;
    --border-color: #e2e8f0;
    --font-family: 'Poppins', 'Open Sans', system-ui, -apple-system, sans-serif;
    --font-arabic: 'Cairo', 'Tajawal', sans-serif;
}

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

body {
    font-family: var(--font-family);
    color: var(--text-dark);
    background-color: #ffffff;
    line-height: 1.6;
    font-size: 15px;
}

body.rtl {
    font-family: var(--font-arabic), var(--font-family);
    direction: rtl;
    text-align: right;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--accent-color);
}

.container {
    width: 92%;
    max-width: 1240px;
    margin: 0 auto;
}

/* HEADER WRAPPER & TRANSPARENT HOMEPAGE OVERLAY */
.header-wrapper {
    position: relative;
    z-index: 1000;
}

.header-wrapper.transparent-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: transparent;
}

/* TOPBAR HIGH CONTRAST STYLES */
.topbar {
    background-color: #0a192f;
    color: #f1f5f9;
    font-size: 13.5px;
    padding: 9px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.transparent-header .topbar {
    background-color: rgba(10, 25, 47, 0.9);
    backdrop-filter: blur(5px);
}

.topbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.topbar-info {
    display: flex;
    align-items: center;
    gap: 22px;
    font-size: 13.5px;
}

.topbar-info span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #f1f5f9 !important;
    font-weight: 600;
}

.topbar-info i {
    color: var(--gold-color) !important;
    font-size: 14px;
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.topbar-socials {
    display: flex;
    align-items: center;
    gap: 12px;
}

.topbar-socials a {
    color: #cbd5e1;
    font-size: 13px;
    transition: color 0.2s ease;
}

.topbar-socials a:hover {
    color: var(--gold-color);
}

/* TOPBAR SEARCH FORM */
.topbar-search-form {
    display: flex;
    align-items: center;
    position: relative;
}

.topbar-search-input {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    padding: 4px 30px 4px 12px;
    border-radius: 15px;
    font-size: 12px;
    outline: none;
    width: 140px;
    transition: all 0.3s ease;
}

.topbar-search-input::placeholder {
    color: #cbd5e1;
}

.topbar-search-input:focus {
    width: 190px;
    background: rgba(255, 255, 255, 0.25);
    border-color: var(--gold-color);
}

.topbar-search-btn {
    position: absolute;
    right: 8px;
    background: none;
    border: none;
    color: var(--gold-color);
    cursor: pointer;
    font-size: 12px;
}

body.rtl .topbar-search-btn {
    right: auto;
    left: 8px;
}

.lang-switcher {
    font-size: 12px;
}

.lang-switcher a {
    color: #cbd5e1;
    margin: 0 4px;
    font-weight: 500;
}

.lang-switcher a.active, .lang-switcher a:hover {
    color: var(--gold-light);
    font-weight: 700;
}

/* HEADER & NAVBAR */
.header-main {
    background-color: var(--white);
    box-shadow: 0 4px 20px rgba(11, 37, 69, 0.08);
    transition: background 0.3s ease;
}

.transparent-header .header-main {
    background-color: rgba(11, 37, 69, 0.75);
    backdrop-filter: blur(8px);
    box-shadow: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

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

.logo-img {
    height: 72px;
    max-height: 82px;
    width: auto;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 2px 5px rgba(11, 37, 69, 0.14));
    transition: all 0.3s ease;
}

.logo-img:hover {
    filter: drop-shadow(0 4px 10px rgba(11, 37, 69, 0.25));
    transform: scale(1.03);
}

/* HOMEPAGE DARK / TRANSPARENT HEADER GOLD LOGO GLOW */
.transparent-header .logo-img {
    filter: drop-shadow(0 0 12px rgba(212, 175, 55, 0.75)) drop-shadow(0 2px 6px rgba(0, 0, 0, 0.6)) brightness(1.15);
}

.transparent-header .logo-img:hover {
    filter: drop-shadow(0 0 18px rgba(229, 193, 88, 0.95)) drop-shadow(0 4px 10px rgba(0, 0, 0, 0.8)) brightness(1.25);
    transform: scale(1.03);
}

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

.nav-links a {
    font-weight: 700;
    font-size: 14px;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 8px 0;
    position: relative;
    transition: color 0.2s ease;
}

.transparent-header .nav-links a {
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7);
}

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

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 3px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--gold-color), var(--accent-color));
}

/* HIDE MOBILE DRAWER CTA ON DESKTOP */
.mobile-drawer-cta {
    display: none !important;
}

/* CART BUTTON STYLES */
.cart-btn-link {
    background: linear-gradient(135deg, var(--gold-color), var(--accent-color));
    color: var(--primary-dark) !important;
    font-weight: 800 !important;
    padding: 8px 18px !important;
    border-radius: 25px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px !important;
    box-shadow: 0 4px 14px rgba(197, 160, 89, 0.35);
    transition: all 0.3s ease;
    text-decoration: none;
}

.cart-btn-link:hover {
    background: linear-gradient(135deg, var(--gold-light), var(--gold-color));
    color: var(--primary-dark) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(197, 160, 89, 0.5);
}

.cart-count {
    background-color: var(--primary-dark);
    color: var(--white);
    font-size: 11px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 10px;
}

.mobile-toggle {
    display: none;
    font-size: 26px;
    cursor: pointer;
    color: var(--primary-color);
    padding: 5px;
    transition: color 0.2s ease;
}

.transparent-header .mobile-toggle {
    color: #ffffff;
    text-shadow: 0 2px 6px rgba(0,0,0,0.6);
}

.mobile-toggle:hover {
    color: var(--gold-color) !important;
}

/* HERO CAROUSEL SLIDER (3 SLIDES) */
.hero-slider {
    position: relative;
    width: 100%;
    min-height: 720px;
    height: 80vh;
    overflow: hidden;
    background-color: var(--primary-dark);
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(10, 25, 47, 0.65) 0%, rgba(11, 37, 69, 0.45) 50%, rgba(10, 25, 47, 0.75) 100%);
}

.slide-content {
    position: relative;
    z-index: 10;
    color: var(--white);
    text-align: center;
    max-width: 950px;
    padding: 110px 20px 0 20px;
    transform: translateY(20px);
    transition: transform 0.8s ease;
}

.slide.active .slide-content {
    transform: translateY(0);
}

.slide-tag {
    display: inline-block;
    background: linear-gradient(90deg, var(--accent-color), var(--gold-color));
    color: var(--primary-dark);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    padding: 5px 18px;
    border-radius: 15px;
    margin-bottom: 20px;
    letter-spacing: 1px;
    box-shadow: 0 4px 12px rgba(197, 160, 89, 0.3);
}

.slide-content h2 {
    font-size: 48px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 15px;
    line-height: 1.2;
    text-shadow: 0 4px 15px rgba(0,0,0,0.85);
}

.slide-content p {
    font-size: 21px;
    color: var(--gold-light);
    margin-bottom: 35px;
    font-weight: 600;
    line-height: 1.5;
    text-shadow: 0 2px 10px rgba(0,0,0,0.8);
}

/* SQUARE OUTLINE SLIDER ARROWS */
.slider-arrow-square {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
    width: 44px;
    height: 55px;
    background-color: rgba(0, 0, 0, 0.25);
    border: 2px solid rgba(255, 255, 255, 0.8);
    color: #ffffff;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 20px;
    transition: all 0.3s ease;
}

.slider-arrow-square:hover {
    background-color: var(--gold-color);
    color: var(--primary-dark);
    border-color: var(--gold-light);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.6);
}

.prev-slide { left: 25px; }
.next-slide { right: 25px; }

body.rtl .prev-slide { left: auto; right: 25px; }
body.rtl .next-slide { right: auto; left: 25px; }

.slider-dots {
    position: absolute;
    bottom: 65px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 25;
    display: flex;
    gap: 12px;
}

.slider-dots .slider-dot,
.slider-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
    border: 2px solid #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dots .slider-dot.active,
.slider-dots .dot.active {
    width: 32px;
    border-radius: 10px;
    background: linear-gradient(90deg, var(--gold-color), var(--accent-color));
    border-color: var(--gold-light);
    box-shadow: 0 0 10px rgba(197, 160, 89, 0.8);
}

/* PILL OUTLINE BUTTON */
.btn-pill-outline {
    border: 2px solid #ffffff;
    border-radius: 30px;
    color: #ffffff;
    padding: 12px 34px;
    font-weight: 700;
    font-size: 14px;
    background: transparent;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-pill-outline:hover {
    background: #ffffff;
    color: var(--primary-dark);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.4);
}

/* FEATURE BOXES */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 0;
    margin-top: -30px;
    position: relative;
    z-index: 20;
    box-shadow: 0 10px 30px rgba(11, 37, 69, 0.15);
    border-radius: 8px;
    overflow: hidden;
}

.feature-box {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 38px 25px;
    text-align: center;
    transition: transform 0.3s ease;
    border-right: 1px solid rgba(197, 160, 89, 0.15);
}

.feature-box:nth-child(even) {
    background-color: var(--primary-dark);
}

.feature-box i {
    font-size: 38px;
    color: var(--gold-color);
    margin-bottom: 15px;
}

.feature-box h4 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--white);
}

.feature-box p {
    font-size: 13px;
    color: #94a3b8;
}

/* SECTION TITLES */
.section {
    padding: 75px 0;
}

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

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

.section-header h3 {
    font-size: 34px;
    color: var(--primary-color);
    font-weight: 800;
    position: relative;
    display: inline-block;
    padding-bottom: 12px;
}

.section-header h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 65px;
    height: 3px;
    background: linear-gradient(90deg, var(--gold-color), var(--accent-color));
}

.section-header p {
    color: var(--text-muted);
    font-size: 15px;
    margin-top: 10px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

.service-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(11, 37, 69, 0.05);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(11, 37, 69, 0.12);
    border-color: var(--accent-color);
}

.service-img {
    height: 220px;
    width: 100%;
    object-fit: cover;
}

.service-body {
    padding: 25px;
}

.service-body h4 {
    font-size: 19px;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: 700;
}

.service-body p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 20px;
}

/* STATS BAR */
.stats-bar {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    color: var(--white);
    padding: 60px 0;
    border-top: 3px solid var(--accent-color);
    border-bottom: 3px solid var(--accent-color);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}

.stat-item .num {
    font-size: 44px;
    font-weight: 800;
    color: var(--gold-color);
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.stat-item p {
    font-size: 14px;
    color: #cbd5e1;
    text-transform: uppercase;
    margin-top: 5px;
    letter-spacing: 0.5px;
}

/* BUTTONS */
.btn {
    padding: 12px 28px;
    font-size: 14px;
    font-weight: 700;
    border-radius: 25px;
    display: inline-block;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold-color), var(--accent-color));
    color: var(--primary-dark);
    box-shadow: 0 4px 14px rgba(197, 160, 89, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--gold-light), var(--gold-color));
    color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(197, 160, 89, 0.45);
}

.btn-outline {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--accent-color);
}

.btn-outline:hover {
    background-color: var(--accent-color);
    color: var(--primary-dark);
    transform: translateY(-2px);
}

/* FOOTER */
.site-footer {
    background-color: var(--primary-dark);
    color: #94a3b8;
    font-size: 14px;
    padding-top: 65px;
    border-top: 4px solid var(--accent-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(197, 160, 89, 0.15);
}

.footer-col h4 {
    color: var(--white);
    font-size: 16px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 8px;
}

@media (min-width: 992px) {
    .footer-col:not(:first-child) {
        margin-top: 36px;
    }
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 2px;
    background-color: var(--accent-color);
}

body.rtl .footer-col h4::after {
    left: auto;
    right: 0;
}

.footer-col ul {
    list-style: none;
}

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

.footer-col ul li a {
    color: #94a3b8;
}

.footer-col ul li a:hover {
    color: var(--gold-color);
}

.copyright-bar {
    padding: 22px 0;
    text-align: center;
    font-size: 13px;
}

/* SLEEK TOAST MODAL NOTIFICATION STYLING */
.injaz-toast-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 99999;
    animation: toastSlideUp 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

body.rtl .injaz-toast-container {
    right: auto;
    left: 30px;
}

.injaz-toast-container.fade-out {
    animation: toastFadeOut 0.35s ease forwards;
}

.injaz-toast-card {
    background: var(--primary-dark);
    color: #ffffff;
    border: 2px solid var(--accent-color);
    border-radius: 12px;
    padding: 22px 25px;
    width: 340px;
    max-width: 90vw;
    box-shadow: 0 15px 35px rgba(10, 25, 47, 0.4);
    position: relative;
}

.injaz-toast-close {
    position: absolute;
    top: 10px;
    right: 14px;
    background: none;
    border: none;
    color: #94a3b8;
    font-size: 20px;
    cursor: pointer;
    transition: color 0.2s ease;
}

body.rtl .injaz-toast-close {
    right: auto;
    left: 14px;
}

.injaz-toast-close:hover {
    color: var(--gold-color);
}

.injaz-toast-icon {
    font-size: 32px;
    color: var(--gold-color);
    margin-bottom: 10px;
}

.injaz-toast-body h4 {
    font-size: 16px;
    color: var(--gold-light);
    margin-bottom: 5px;
    font-weight: 700;
}

.injaz-toast-body p {
    font-size: 13px;
    color: #cbd5e1;
    margin-bottom: 18px;
}

.injaz-toast-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.injaz-toast-btn {
    padding: 9px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
}

.injaz-toast-btn.primary {
    background: linear-gradient(135deg, var(--gold-color), var(--accent-color));
    color: var(--primary-dark);
    border: none;
}

.injaz-toast-btn.primary:hover {
    background: linear-gradient(135deg, var(--gold-light), var(--gold-color));
    transform: translateY(-1px);
}

.injaz-toast-btn.secondary {
    background: transparent;
    color: #cbd5e1;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.injaz-toast-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

@keyframes toastSlideUp {
    from { opacity: 0; transform: translateY(30px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes toastFadeOut {
    from { opacity: 1; transform: translateY(0) scale(1); }
    to { opacity: 0; transform: translateY(20px) scale(0.95); }
}

/* RESPONSIVE MEDIA QUERIES FOR MOBILE & TABLETS */
@media (max-width: 992px) {
    .service-detail-grid,
    .product-detail-grid {
        grid-template-columns: 1fr !important;
        gap: 30px;
    }

    .desktop-only-btn {
        display: none !important;
    }

    .topbar-info span:not(:first-child) {
        display: none !important;
    }

    .topbar-content {
        padding: 4px 15px;
        justify-content: space-between;
    }

    .logo-img {
        height: 52px !important;
        max-height: 58px !important;
    }

    .header-main {
        padding: 4px 0;
    }

    .navbar-content {
        position: relative;
        padding: 6px 0;
    }

    .nav-actions {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .cart-btn-link {
        padding: 6px 12px !important;
        font-size: 12px !important;
        gap: 6px !important;
        border-radius: 18px !important;
    }

    .cart-btn-link i {
        font-size: 13px !important;
    }

    .cart-count {
        font-size: 10px !important;
        padding: 1px 5px !important;
    }

    .mobile-toggle {
        display: flex !important;
        align-items: center;
        justify-content: center;
        background: transparent;
        border: none;
        color: var(--gold-color) !important;
        font-size: 22px;
        cursor: pointer;
        padding: 4px;
    }

    .transparent-header .mobile-toggle {
        color: #ffffff !important;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #0a192f;
        padding: 15px 20px 25px 20px;
        box-shadow: 0 15px 35px rgba(0,0,0,0.5);
        border-bottom: 3px solid var(--gold-color);
        z-index: 99999;
        gap: 0;
    }

    .nav-links.active {
        display: flex !important;
    }

    .nav-links li {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .nav-links a {
        color: #ffffff !important;
        font-size: 15px;
        padding: 12px 5px;
        width: 100%;
        display: block;
    }

    .nav-links a.active {
        color: var(--gold-light) !important;
        font-weight: 800;
    }

    .mobile-drawer-cta {
        display: block !important;
        border-bottom: none !important;
        margin-top: 10px;
    }

    .hero-slider {
        height: 480px !important;
        min-height: 480px !important;
    }

    .slide-content {
        padding: 20px !important;
    }

    .slide-content h2 {
        font-size: 24px !important;
        line-height: 1.3 !important;
    }

    .slide-content p {
        font-size: 14px !important;
    }

    .slide-actions {
        flex-direction: column;
        gap: 10px;
    }

    .hero-nav {
        bottom: 15px !important;
    }

    .hero-prev, .hero-next {
        width: 38px !important;
        height: 38px !important;
    }

    .service-spec-grid {
        grid-template-columns: 1fr !important;
    }

    .products-grid,
    .services-grid,
    .stats-grid,
    .footer-grid {
        grid-template-columns: 1fr !important;
    }

    /* Admin Mobile Adaptation */
    .wp-sidebar {
        width: 100% !important;
        position: relative !important;
        top: 0 !important;
        height: auto !important;
    }

    .wp-content {
        margin-left: 0 !important;
        width: 100% !important;
        padding: 15px !important;
    }

    .wp-wrapper {
        flex-direction: column !important;
    }
}
}

@media (max-width: 480px) {
    .logo-img {
        height: 58px !important;
        max-height: 64px !important;
    }

    .topbar-search-form input {
        width: 130px !important;
    }
}

/* FLOATING BACK TO TOP BUTTON */
.back-to-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 99990;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold-color), var(--accent-color));
    color: var(--primary-dark);
    border: 2px solid #ffffff;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 18px rgba(10, 25, 47, 0.4);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body.rtl .back-to-top-btn {
    right: auto;
    left: 30px;
}

.back-to-top-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top-btn:hover {
    background: linear-gradient(135deg, var(--gold-light), var(--gold-color));
    transform: translateY(-4px);
    box-shadow: 0 8px 22px rgba(197, 160, 89, 0.6);
}

/* PUBLIC CONTACT FORM STYLING */
.contact-card {
    background: #ffffff;
    padding: 35px 40px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: 0 8px 25px rgba(11, 37, 69, 0.06);
}

.contact-card h3 {
    font-size: 22px;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 25px;
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 10px;
}

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

.contact-form-group {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
}

.contact-form-group label {
    display: block;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 8px;
    font-size: 13.5px;
}

.contact-form-input {
    width: 100% !important;
    padding: 12px 16px !important;
    border: 1.5px solid var(--border-color) !important;
    border-radius: 8px !important;
    font-size: 14.5px !important;
    outline: none !important;
    transition: all 0.2s ease !important;
    font-family: inherit !important;
    background-color: var(--bg-light) !important;
    box-sizing: border-box !important;
}

.contact-form-input:focus {
    border-color: var(--accent-color) !important;
    background-color: #ffffff !important;
    box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.2) !important;
}

@media (max-width: 768px) {
    .contact-form-grid {
        grid-template-columns: 1fr;
    }
}

/* SCROLL REVEAL & INTERACTION ANIMATIONS */
.reveal-init {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.reveal-active {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* HOVER SCALE & ELEVATION ANIMATIONS FOR CARDS */
.service-card, .feature-box, .product-card {
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease;
}

.service-card:hover, .feature-box:hover {
    transform: translateY(-8px) scale(1.015);
    box-shadow: 0 16px 32px rgba(11, 37, 69, 0.14);
    border-color: var(--accent-color);
}

.stat-item .num {
    transition: color 0.3s ease, transform 0.3s ease;
    display: inline-block;
}

.stat-item:hover .num {
    color: var(--gold-light);
    transform: scale(1.1);
}
