@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

:root {
    --bg-dark: #faf9f6;
    /* Premium Alabaster Warm White */
    --bg-mid: #f4f0e6;
    /* Soft warm ivory cream background */
    --bg-card: #ffffff;
    /* Pure luxury white cards */
    --bg-nav: rgba(250, 249, 246, 0.85);
    --gold: #b5922c;
    --gold-light: #d4af37;
    --gold-dark: #8c6f1d;
    --gold-gradient: linear-gradient(135deg, #d4af37 0%, #b5922c 50%, #8c6f1d 100%);
    --gold-glow: 0 0 20px rgba(181, 146, 44, 0.12);
    --text-white: #1a1a18;
    /* Elegant charcoal black */
    --text-light: #3a3a37;
    /* Very legible soft charcoal */
    --text-muted: #757470;
    /* Sophisticated taupe grey */
    --border-color: rgba(181, 146, 44, 0.15);
    --border-hover: rgba(181, 146, 44, 0.4);
    --transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    --nav-height: 80px;

    --hero-overlay: rgba(0, 0, 0, 0.45);
    --banner-overlay: linear-gradient(to bottom, rgba(250, 249, 246, 0.82), rgba(250, 249, 246, 0.94));
    --cta-overlay: linear-gradient(135deg, rgba(250, 249, 246, 0.95) 0%, rgba(244, 240, 230, 0.9) 100%);
    --map-filter: none;
}

body.dark-theme {
    --bg-dark: #080808;
    --bg-mid: #121212;
    --bg-card: #1c1c1c;
    --bg-nav: rgba(8, 8, 8, 0.85);
    --gold: #d4af37;
    --gold-light: #f5e4a3;
    --gold-dark: #aa7c11;
    --gold-gradient: linear-gradient(135deg, #f5e4a3 0%, #d4af37 50%, #aa7c11 100%);
    --gold-glow: 0 0 20px rgba(212, 175, 55, 0.25);
    --text-white: #ffffff;
    --text-light: #f0f0f2;
    --text-muted: #9f9fa3;
    --border-color: rgba(212, 175, 55, 0.15);
    --border-hover: rgba(212, 175, 55, 0.45);

    --hero-overlay: rgba(0, 0, 0, 0.55);
    --banner-overlay: linear-gradient(to bottom, rgba(8, 8, 8, 0.9), rgba(8, 8, 8, 0.95));
    --cta-overlay: linear-gradient(135deg, rgba(8, 8, 8, 0.95) 0%, rgba(20, 20, 20, 0.9) 100%);
    --map-filter: invert(90%) hue-rotate(180deg) grayscale(80%) contrast(90%);
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-light);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--text-white);
    font-weight: 600;
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--gold-dark);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gold);
}

/* Layout Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: 100px 60px;
}

/* ── Article / Styling Journal Section ──────────────── */
.styling-journal {
    padding: 100px 40px;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-top: 50px;
}

.article-card {
    display: flex;
    flex-direction: row;
    border-radius: 16px;
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.article-card:hover {
    border-color: var(--gold);
    transform: translateY(-4px);
}

.article-card .article-content {
    flex: 1;
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
}

.article-card .article-image {
    width: 220px;
    flex-shrink: 0;
}

.article-card .article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.article-tag {
    font-size: 0.72rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 600;
}

.article-title {
    font-size: 1.15rem;
    font-weight: 600;
    line-height: 1.4;
    color: var(--text-white);
    margin: 0;
}

.article-desc {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.55;
    margin: 0;
}

.btn-link {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--gold);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 4px;
    transition: var(--transition);
}

.btn-link:hover {
    gap: 8px;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .section-padding {
        padding: 50px 20px !important;
    }

    .styling-journal {
        padding: 50px 16px !important;
    }

    .articles-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    .article-card {
        flex-direction: column !important;
    }

    .article-card .article-image {
        width: 100% !important;
        height: 200px !important;
        order: -1;
    }

    .article-card .article-content {
        padding: 20px 18px !important;
    }

    .article-title {
        font-size: 1.05rem !important;
    }

    /* About Highlights / Who We Are – side spacing on mobile */
    .about-split {
        flex-direction: column !important;
        gap: 30px !important;
        padding: 0 20px !important;
    }

    .about-text {
        padding: 0 4px !important;
    }

    .about-text .section-subtitle {
        padding: 0 !important;
    }

    .about-text .section-title {
        font-size: 1.6rem !important;
        line-height: 1.3 !important;
    }

    .about-text p {
        font-size: 0.9rem !important;
        line-height: 1.6 !important;
    }

    .about-stats {
        gap: 20px !important;
        flex-wrap: wrap !important;
    }

    /* Section titles/subtitles – global mobile spacing */
    .text-center .section-title,
    .text-center .section-subtitle {
        padding: 0 20px !important;
    }

    /* ── Footer – center everything on mobile ── */
    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 36px !important;
        text-align: center !important;
        padding: 0 20px !important;
    }

    .footer-col {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }

    .footer-col ul {
        list-style: none !important;
        padding: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 10px !important;
    }

    .footer-col .logo {
        justify-content: center !important;
    }

    .social-links {
        justify-content: center !important;
    }

    .newsletter-form {
        width: 100% !important;
        max-width: 320px !important;
    }

    .footer-bottom {
        flex-direction: column !important;
        text-align: center !important;
        gap: 12px !important;
        padding: 20px 20px !important;
    }

    .footer-bottom-links {
        justify-content: center !important;
    }
}

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

.section-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 2px;
    background: var(--gold-gradient);
    margin: 15px auto 0;
}

.section-subtitle {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 10px;
    font-weight: 600;
}

/* Header & Navigation (Apple iOS Frosted Glass - Full Width Cover Style) */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    background: rgba(20, 20, 20, 0.45);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
}

/* Light Theme Unscrolled */
body:not(.dark-theme) header {
    background: rgba(250, 249, 246, 0.65);
    border-bottom: 1px solid rgba(181, 146, 44, 0.15);
    box-shadow: 0 4px 30px rgba(181, 146, 44, 0.03);
}

/* Base header text and actions - Dark Mode defaults */
header .logo {
    color: #ffffff;
}

header .nav-links a {
    color: rgba(255, 255, 255, 0.85);
    text-shadow: none;
}

header .theme-toggle-btn,
header .cart-toggle-btn {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.05);
}

/* Base header text and actions - Light Mode overrides */
body:not(.dark-theme) header .logo,
body:not(.dark-theme) footer .logo {
    color: var(--text-white);
}

body:not(.dark-theme) header .nav-links a {
    color: var(--text-light);
    text-shadow: none;
}

body:not(.dark-theme) header .theme-toggle-btn,
body:not(.dark-theme) header .cart-toggle-btn {
    color: var(--text-white);
    border-color: var(--border-color);
    background: rgba(181, 146, 44, 0.04);
}

/* Scrolled Header State */
header.scrolled {
    height: 68px;
    background: rgba(10, 10, 10, 0.75);
    border-color: rgba(255, 255, 255, 0.06);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

body:not(.dark-theme) header.scrolled {
    background: rgba(250, 249, 246, 0.82);
    border-color: rgba(181, 146, 44, 0.22);
    box-shadow: 0 10px 30px rgba(181, 146, 44, 0.05);
}

header.scrolled .logo {
    color: #ffffff;
}

body:not(.dark-theme) header.scrolled .logo {
    color: var(--text-white);
}

header.scrolled .nav-links a {
    color: rgba(255, 255, 255, 0.85);
}

body:not(.dark-theme) header.scrolled .nav-links a {
    color: var(--text-light);
}

header.scrolled .theme-toggle-btn,
header.scrolled .cart-toggle-btn {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.05);
}

body:not(.dark-theme) header.scrolled .theme-toggle-btn,
body:not(.dark-theme) header.scrolled .cart-toggle-btn {
    color: var(--text-white);
    border-color: var(--border-color);
    background: rgba(181, 146, 44, 0.04);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    max-width: 100% !important;
    padding: 0 24px !important;
}

@media (min-width: 769px) {
    header .container {
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        align-items: center;
        padding: 0 40px !important;
    }

    .logo {
        justify-self: start;
    }

    #nav-menu {
        justify-self: center;
    }

    .header-actions {
        justify-self: end;
    }
}

.logo {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #ffffff;
    transition: var(--transition);
}

.logo-icon {
    font-size: 1.8rem;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    white-space: nowrap;
}

.logo-text span {
    color: var(--gold);
    font-weight: 300;
}

nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

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

.nav-links>li {
    position: relative;
}

.nav-links a {
    position: relative;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    padding: 8px 20px;
    border-radius: 24px;
    background: rgba(255,255,255,0.04);
    color: var(--text-light);
    transition: all 0.35s cubic-bezier(0.25,1,0.5,1);
    overflow: hidden;
}

/* Decorative accent line */
.nav-links a::before {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 24px;
    opacity: 0;
    transition: opacity 0.35s ease;
}

.nav-links a:hover,
.nav-links a.active {
    background: var(--gold-gradient);
    color: #fff !important;
    opacity: 1;
}

.nav-links a:hover::before,
.nav-links a.active::before {
    opacity: 1;
}

/* Dropdown link chevron animation */
.dropdown > a {
    display: flex;
    align-items: center;
}

.dropdown > a i {
    transition: transform 0.3s ease;
}

.dropdown:hover > a i {
    transform: rotate(180deg);
}

/* Services Dropdown */
.dropdown {
    cursor: pointer;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(15px);
    background: var(--bg-mid);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    width: 240px;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    padding: 10px 0;
    z-index: 1010;
}

body.dark-theme .dropdown-menu {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(5px);
}

.dropdown-menu li a {
    display: block;
    padding: 12px 20px;
    font-size: 0.9rem;
    color: var(--text-light) !important;
    text-shadow: none !important;
    background: transparent !important;
    transition: var(--transition);
    opacity: 0.9;
    text-align: center;
}

.dropdown-menu li a::after {
    display: none !important;
}

.dropdown-menu li a:hover {
    background: rgba(212, 175, 55, 0.08) !important;
    color: var(--gold) !important;
    opacity: 1;
}

/* Header CTA and Cart Button */
.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.hamburger {
    display: none;
}

.theme-toggle-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.9);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.theme-toggle-btn:hover {
    border-color: var(--gold);
    box-shadow: var(--gold-glow), 0 0 15px rgba(181, 146, 44, 0.25);
    color: var(--gold);
    transform: translateY(-2px);
}

.cart-toggle-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.9);
    padding: 8px 16px;
    border-radius: 50px;
    cursor: pointer;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.cart-toggle-btn:hover {
    border-color: var(--gold);
    box-shadow: var(--gold-glow), 0 0 15px rgba(181, 146, 44, 0.25);
    color: var(--gold);
    transform: translateY(-2px);
}

.cart-count {
    background: var(--gold-gradient);
    color: #ffffff;
    font-weight: 700;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    box-shadow: 0 2px 8px rgba(181, 146, 44, 0.4);
    transition: transform 0.3s ease;
}

.cart-toggle-btn:hover .cart-count {
    transform: scale(1.1);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.btn-primary {
    background: var(--gold-gradient);
    color: #111111;
    border: none;
    box-shadow: var(--gold-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--gold);
    border: 1px solid var(--gold);
}

.btn-outline:hover {
    background: var(--gold-gradient);
    color: #111111;
    transform: translateY(-2px);
    box-shadow: var(--gold-glow);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    background: none;
    border: none;
}

.hamburger span {
    width: 28px;
    height: 2px;
    background-color: var(--text-white);
    transition: var(--transition);
}

/* Mobile Nav Active states */
.hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--hero-overlay);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
}

.hero-content h1 {
    font-size: 3.8rem;
    line-height: 1.15;
    margin-bottom: 20px;
    color: var(--gold);
}

.hero-content h1 span {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 1.1rem;
    color: #e0e0e0;
    margin-bottom: 35px;
    max-width: 580px;
}

.hero-btns {
    display: flex;
    gap: 15px;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    pointer-events: none;
    filter: brightness(0.75); /* Black dimming filter for cinematic look */
}

/* Sliding Text Rotator */
.sliding-text-wrapper {
    display: inline-block;
    position: relative;
    height: 1.2em;
    vertical-align: top;
    overflow: hidden;
    min-width: 480px;
}

.sliding-text {
    position: absolute;
    left: 0;
    bottom: -100%;
    width: 100%;
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.76, 0, 0.24, 1);
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.sliding-text.active {
    bottom: 0;
    opacity: 1;
}

.sliding-text.exit {
    bottom: 100%;
    opacity: 0;
}


/* Page Banner (For Inner Pages) */
.page-banner {
    position: relative;
    padding: 160px 0 100px;
    background-size: cover;
    background-position: center;
    text-align: center;
}

.page-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--banner-overlay);
}

.page-banner-content {
    position: relative;
    z-index: 2;
}

.page-banner h1 {
    font-size: 3.2rem;
    margin-bottom: 10px;
}

.page-banner h1 span {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.breadcrumbs {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

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

.breadcrumbs span {
    color: var(--gold);
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 40px 30px;
    border-radius: 8px;
    text-align: center;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--gold);
    box-shadow: var(--gold-glow);
}

.feature-icon {
    font-size: 2.5rem;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
    display: inline-block;
}

.feature-card h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* Services Grid (Overview) */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    height: 420px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.service-card:hover {
    border-color: var(--gold);
    box-shadow: var(--gold-glow);
}

.service-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.service-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0) 50%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    z-index: 2;
    transition: var(--transition);
}

.service-card:hover .service-card-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.25) 100%);
}

.service-card h3 {
    font-size: 1.6rem;
    margin-bottom: 10px;
    color: #ffffff;
    /* Keep title white on the dark overlay */
}

.service-card .btn-link {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--gold);
    display: flex;
    align-items: center;
    gap: 5px;
}

.service-card .btn-link span {
    transition: var(--transition);
}

.service-card:hover .btn-link span {
    transform: translateX(5px);
}

/* Showcase Grid (Service Pages) */
.showcase-filter {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-white);
    padding: 10px 24px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition);
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--gold-gradient);
    color: var(--bg-dark);
    border-color: transparent;
    box-shadow: var(--gold-glow);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold);
    box-shadow: var(--gold-glow);
}

.product-img-wrapper {
    position: relative;
    height: 230px;
    overflow: hidden;
}

.product-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-card:hover .product-img-wrapper img {
    transform: scale(1.05);
}

.product-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(8, 8, 8, 0.85);
    border: 1px solid var(--gold);
    color: var(--gold);
    font-size: 0.75rem;
    padding: 4px 10px;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
}

.product-details {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-details h3 {
    font-size: 1.3rem;
    margin-bottom: 8px;
}

.product-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    flex-grow: 1;
}

.product-action {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-color);
    padding-top: 15px;
}

.product-spec {
    font-size: 0.85rem;
    color: var(--gold);
}

.add-to-quote-btn {
    background: transparent;
    border: 1px solid var(--gold);
    color: var(--gold);
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.add-to-quote-btn:hover {
    background: var(--gold-gradient);
    color: var(--bg-dark);
    border-color: transparent;
    box-shadow: var(--gold-glow);
}

.add-to-quote-btn.added {
    background: #28a745;
    color: var(--text-white);
    border-color: #28a745;
    cursor: default;
}

/* About Section (Home Page Split Layout) */
.about-split {
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-text {
    flex: 1;
}

.about-text p {
    color: var(--text-muted);
    margin-bottom: 20px;
}

.about-stats {
    display: flex;
    gap: 40px;
    margin-top: 30px;
}

.stat-item h4 {
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 5px;
}

.stat-item p {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-img {
    flex: 1;
    position: relative;
}

.about-img::after {
    display: none; /* Removed the extra border frame */
}

.about-img img {
    position: relative;
    z-index: 2;
    border-radius: 8px;
    border: 2px solid var(--gold); /* Border directly on image */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    width: 100%;
    height: auto;
    object-fit: cover;
    aspect-ratio: 4 / 3;
    display: block;
}

/* Google Review Badge */
.google-review-badge {
    position: absolute;
    top: -20px;
    right: -20px;
    background: var(--bg-card);
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 10;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.google-review-badge:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    border-color: var(--gold);
}

.google-review-badge .google-logo {
    width: 28px;
    height: 28px;
}

.google-review-info {
    display: flex;
    flex-direction: column;
}

.google-rating {
    display: flex;
    align-items: center;
    gap: 6px;
}

.rating-number {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-color);
}

.google-rating .stars {
    color: #fbbc04; /* Google star color */
    font-size: 0.8rem;
    margin-bottom: 0;
}

.review-title {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-top: 2px;
}

@media (max-width: 768px) {
    .google-review-badge {
        top: -15px;
        right: 10px;
        padding: 8px 15px;
    }
}

/* Testimonials Slider Wrapper */
.testimonials-slider-wrapper {
    overflow: hidden;
    width: 100%;
    margin-top: 50px;
    padding: 20px 0;
    position: relative;
    mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
}

.testimonials-track {
    display: flex;
    gap: 30px;
    width: max-content;
    animation: slide-right 30s linear infinite;
}

.testimonials-track:hover {
    animation-play-state: paused;
}

.testimonials-track .testimonial-card {
    width: 400px;
    flex-shrink: 0;
}

@keyframes slide-right {
    0% {
        transform: translateX(-50%);
    }

    100% {
        transform: translateX(0);
    }
}

@media (max-width: 768px) {
    .testimonials-track .testimonial-card {
        width: 320px;
        padding: 30px;
    }
}

.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 40px;
    border-radius: 12px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    overflow: hidden;
}

.testimonial-card::before {
    content: '“';
    position: absolute;
    top: 10px;
    right: 25px;
    font-size: 7.5rem;
    font-family: var(--font-heading);
    color: var(--gold);
    opacity: 0.08;
    line-height: 1;
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-8px);
    border-color: var(--gold);
    box-shadow: var(--gold-glow), 0 15px 35px rgba(0, 0, 0, 0.15);
}

.testimonial-card:hover::before {
    opacity: 0.15;
    transform: scale(1.1);
}

.stars {
    color: var(--gold);
    font-size: 0.95rem;
    margin-bottom: 18px;
    transition: var(--transition);
    display: flex;
    gap: 4px;
}

.testimonial-card:hover .stars {
    transform: scale(1.03);
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

.testimonial-card p {
    font-style: italic;
    color: var(--text-light);
    margin-bottom: 25px;
    line-height: 1.7;
    font-size: 1rem;
}

.client-info {
    display: flex;
    align-items: center;
    gap: 15px;
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
    transition: var(--transition);
}

.testimonial-card:hover .client-info {
    border-top-color: var(--gold);
}

.client-avatar {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border-color);
    transition: var(--transition);
}

.testimonial-card:hover .client-avatar {
    border-color: var(--gold);
    transform: scale(1.08);
}

.client-name h4 {
    font-size: 1.15rem;
    margin-bottom: 3px;
    color: var(--text-white);
    transition: var(--transition);
}

.testimonial-card:hover .client-name h4 {
    color: var(--gold);
}

.client-name span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Premium Full-Background CTA Banner Section */
.cta-banner {
    position: relative;
    padding: 140px 0;
    background: #000000 url('https://images.unsplash.com/photo-1469371670807-013ccf25f16a?w=1600&auto=format&fit=crop&q=80') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    /* Parallax effect */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    width: 100%;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.93) 0%, rgba(12, 12, 12, 0.9) 50%, rgba(0, 0, 0, 0.93) 100%);
    z-index: 1;
}

body.dark-theme .cta-banner::before {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.96) 0%, rgba(6, 6, 6, 0.93) 50%, rgba(0, 0, 0, 0.96) 100%);
}

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

.cta-banner .cta-subtitle {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 4px;
    font-weight: 600;
    margin-bottom: 20px;
    display: inline-block;
}

.cta-banner h2 {
    font-size: 3.2rem;
    line-height: 1.2;
    margin-bottom: 20px;
    font-weight: 700;
    color: #ffffff !important;
    /* Keep white for dark background overlay */
}

.cta-banner h2 span {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cta-banner p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85) !important;
    /* Legible white-ish text */
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}

.cta-banner .cta-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-outline-gold {
    position: relative;
    overflow: hidden;
    background: transparent;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.btn-outline-gold i {
    font-size: 1rem;
    margin-right: 8px;
    transition: transform 0.3s ease;
}

.btn-outline-gold:hover {
    border-color: var(--gold);
    color: var(--gold);
    transform: translateY(-4px);
    box-shadow: var(--gold-glow);
}

.btn-outline-gold:hover i {
    transform: scale(1.1);
}

/* Contact Us Layout */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: start;
}

.contact-info-panel h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.contact-info-panel>p {
    color: var(--text-muted);
    margin-bottom: 35px;
}

.contact-details-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-item {
    display: flex;
    gap: 20px;
}

.contact-item-icon {
    font-size: 1.5rem;
    color: var(--gold);
    width: 50px;
    height: 50px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-item-text h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.contact-item-text p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 35px;
}

.social-btn {
    width: 40px;
    height: 40px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-size: 1.1rem;
    transition: var(--transition);
}

.social-btn:hover {
    border-color: var(--gold);
    color: var(--gold);
    box-shadow: var(--gold-glow);
    transform: translateY(-3px);
}

/* Contact Form Styling */
.contact-form-wrapper {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 40px;
    border-radius: 8px;
}

.form-group {
    margin-bottom: 20px;
}

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

.form-group label {
    display: block;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gold);
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    color: var(--text-white);
    padding: 12px 16px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    border-radius: 4px;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--gold);
    box-shadow: var(--gold-glow);
    outline: none;
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

.form-status {
    margin-top: 15px;
    font-size: 0.95rem;
    text-align: center;
    padding: 10px;
    border-radius: 4px;
    display: none;
}

.form-status.success {
    display: block;
    background: rgba(40, 167, 69, 0.15);
    color: #28a745;
    border: 1px solid rgba(40, 167, 69, 0.3);
}

.form-status.error {
    display: block;
    background: rgba(220, 53, 69, 0.15);
    color: #dc3545;
    border: 1px solid rgba(220, 53, 69, 0.3);
}

/* Map Section */
.map-section {
    border-top: 1px solid var(--border-color);
    padding-top: 100px;
}

.map-container {
    height: 450px;
    background: var(--bg-card);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
    filter: var(--map-filter);
}

/* Quote Drawer System */
.quote-drawer {
    position: fixed;
    top: 0;
    right: -420px;
    width: 420px;
    height: 100%;
    background: var(--bg-mid);
    border-left: 1px solid var(--border-color);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.6);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.quote-drawer.open {
    right: 0;
}

.quote-drawer-header {
    padding: 24px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.quote-drawer-header h3 {
    font-size: 1.4rem;
}

.close-drawer-btn {
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
}

.close-drawer-btn:hover {
    color: var(--gold);
}

.quote-drawer-items {
    flex-grow: 1;
    overflow-y: auto;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.empty-cart-message {
    text-align: center;
    color: var(--text-muted);
    padding: 50px 0;
}

.empty-cart-message i {
    font-size: 3rem;
    color: var(--border-color);
    margin-bottom: 15px;
    display: block;
}

.quote-item {
    display: flex;
    gap: 15px;
    background: var(--bg-card);
    padding: 15px;
    border-radius: 6px;
    border: 1px solid var(--border-color);
    position: relative;
}

.quote-item-img {
    width: 70px;
    height: 70px;
    border-radius: 4px;
    object-fit: cover;
}

.quote-item-details {
    flex-grow: 1;
}

.quote-item-details h4 {
    font-size: 1rem;
    margin-bottom: 5px;
}

.quote-item-details span {
    font-size: 0.8rem;
    color: var(--gold);
    display: block;
    margin-bottom: 8px;
}

.quote-item-qty {
    display: flex;
    align-items: center;
    gap: 10px;
}

.qty-btn {
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    color: var(--text-white);
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.8rem;
    transition: var(--transition);
}

.qty-btn:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.qty-val {
    font-size: 0.9rem;
    font-weight: 600;
}

.remove-quote-item {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 1rem;
    transition: var(--transition);
}

.remove-quote-item:hover {
    color: #dc3545;
}

.quote-drawer-footer {
    padding: 24px;
    border-top: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.quote-drawer-footer .btn {
    width: 100%;
}

.drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.drawer-overlay.open {
    opacity: 1;
    visibility: visible;
}

/* Footer Section */
footer {
    background: var(--bg-mid);
    border-top: 1px solid var(--border-color);
    padding: 80px 0 30px;
}

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

.footer-col h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    height: 60px;
    display: flex;
    align-items: center;
}

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

.footer-col p {
    color: var(--text-muted);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-col ul a {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.footer-col ul a:hover {
    color: var(--gold);
    padding-left: 5px;
}

.newsletter-form {
    display: flex;
    gap: 8px;
}

.newsletter-form input {
    flex-grow: 1;
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    color: var(--text-white);
    padding: 10px 14px;
    border-radius: 4px;
    font-size: 0.9rem;
}

.newsletter-form input:focus {
    border-color: var(--gold);
    outline: none;
}

.newsletter-form .btn {
    padding: 10px 20px;
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a:hover {
    color: var(--gold);
}

/* Floating Quote Button (Bottom Right) */
.floating-quote-btn {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background: var(--gold-gradient);
    color: var(--bg-dark);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.4);
    cursor: pointer;
    z-index: 900;
    transition: var(--transition);
}

.floating-quote-btn:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 25px rgba(212, 175, 55, 0.6);
}

.floating-quote-btn .floating-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ffffff;
    color: var(--bg-dark);
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* Design Journal / Articles Section */
.styling-journal {
    background-color: var(--bg-dark);
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.article-card {
    display: flex;
    flex-direction: row;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    height: 240px;
    transition: var(--transition);
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transform: translateZ(0); /* Force perfect clipping */
}

.article-card:hover {
    transform: translateY(-8px);
    border-color: var(--gold);
    box-shadow: var(--gold-glow);
}

.article-content {
    flex: 1;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.article-tag {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 12px;
    display: block;
}

.article-title {
    font-size: 1.4rem;
    line-height: 1.35;
    margin-bottom: 12px;
    font-family: var(--font-heading);
    color: var(--text-white);
    position: relative;
    padding-left: 0;
    transition: padding 0.4s cubic-bezier(0.25, 1, 0.5, 1), color 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.article-title::before {
    content: '\f178';
    /* FontAwesome right arrow */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: -20px;
    top: 0.25em;
    opacity: 0;
    transition: left 0.4s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    color: var(--gold);
    font-size: 0.95rem;
}

.article-card:hover .article-title {
    padding-left: 22px;
    color: var(--gold);
}

.article-card:hover .article-title::before {
    left: 0;
    opacity: 1;
}

.article-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-card .btn-link {
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--gold);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.article-card .btn-link span {
    transition: var(--transition);
}

.article-card:hover .btn-link span {
    transform: translateX(5px);
}

.article-image {
    flex: 1.2;
    position: relative;
    overflow: hidden;
    height: 100%;
}

.article-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    object-position: center;
    transition: var(--transition);
}

.article-card:hover .article-image img {
    transform: scale(1.08);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .articles-grid {
        gap: 20px;
    }

    .article-card {
        height: 240px;
    }

    .article-content {
        padding: 20px;
    }
}

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

    .article-card {
        height: 240px;
    }
}

@media (max-width: 576px) {
    .article-card {
        flex-direction: column;
        height: auto;
    }

    .article-image {
        height: 200px;
        order: -1;
        width: 100%;
    }

    .article-content {
        padding: 20px;
    }
}

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

@media (max-width: 768px) {
    :root {
        --nav-height: 70px;
    }

    header .container {
        padding-left: 5px !important;
    }

    .section-padding {
        padding: 70px 0;
    }
    
    .section-padding.container {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

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

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

    .sliding-text-wrapper {
        min-width: 100%;
        display: block;
        height: 1.3em;
        margin-top: 5px;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .page-banner h1 {
        font-size: 2.4rem;
    }

    /* Mobile Nav Menu */
    .hamburger {
        display: flex;
        z-index: 1011;
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        max-width: none;
        height: 100vh;
        max-height: none;
        background: var(--bg-mid);
        border: none;
        border-radius: 0;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        gap: 0;
        padding: 100px 20px 40px 20px;
        z-index: 1010;
        overflow-y: auto;
        box-shadow: none;
        
        opacity: 0;
        visibility: hidden;
        transform: translateY(-20px);
        transition: opacity 0.3s ease, transform 0.4s ease, visibility 0.4s;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
        opacity: 0;
        transform: translateY(10px);
        transition: opacity 0.3s ease, transform 0.3s ease;
        border-bottom: 1px solid var(--border-color);
    }
    
    .nav-links li:last-child {
        border-bottom: none;
    }

    .nav-links.active li {
        opacity: 1;
        transform: translateY(0);
    }
    
    .nav-links.active li:nth-child(1) { transition-delay: 0.1s; }
    .nav-links.active li:nth-child(2) { transition-delay: 0.15s; }
    .nav-links.active li:nth-child(3) { transition-delay: 0.2s; }
    .nav-links.active li:nth-child(4) { transition-delay: 0.25s; }
    .nav-links.active li:nth-child(5) { transition-delay: 0.3s; }
    .nav-links.active li:nth-child(6) { transition-delay: 0.35s; }

    .nav-links a {
        display: block;
        width: 100%;
        margin: 0;
        padding: 20px 0;
        color: var(--text-light);
        text-shadow: none;
        font-family: 'Inter', sans-serif;
        font-size: 1.4rem;
        font-weight: 500;
        letter-spacing: 0.5px;
        text-align: center;
        border-radius: 0;
        transition: color 0.2s ease;
    }

    .nav-links a::before {
        display: none !important;
    }

    .dropdown > a {
        justify-content: center;
    }

    .nav-links a.active, 
    .nav-links a:hover,
    .nav-links .dropdown.active > a {
        color: var(--gold);
        background: none;
        padding-left: 0;
        transform: none;
    }

    .nav-links.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .dropdown-menu {
        position: static !important;
        transform: none !important;
        box-shadow: none;
        border: none;
        width: 100%;
        opacity: 1;
        visibility: visible;
        display: none;
        padding: 0;
        background: rgba(0, 0, 0, 0.02);
        border-radius: 0;
        margin-top: 0;
    }
    
    body.dark-theme .dropdown-menu {
        background: rgba(255, 255, 255, 0.02);
    }

    .dropdown.active .dropdown-menu,
    .dropdown:hover .dropdown-menu {
        display: block;
        transform: none !important;
        position: static !important;
    }

    .dropdown-menu li a {
        padding: 12px 20px;
        text-align: center;
        font-size: 1.1rem;
        color: var(--text-muted);
        border-bottom: 1px solid rgba(0, 0, 0, 0.03);
    }
    
    body.dark-theme .dropdown-menu li a {
        border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    }

    .dropdown-menu li a:hover, .dropdown-menu li a.active {
        background: none;
        color: var(--gold);
        padding: 12px 20px;
    }
    
    html[dir="rtl"] .dropdown-menu li a {
        padding: 12px 20px !important;
        text-align: center !important;
    }
    
    html[dir="rtl"] .dropdown-menu li a:hover, 
    html[dir="rtl"] .dropdown-menu li a.active {
        padding: 12px 20px !important;
    }

    html[dir="rtl"] .dropdown-menu,
    html[dir="rtl"] .dropdown.active .dropdown-menu,
    html[dir="rtl"] .dropdown:hover .dropdown-menu {
        transform: none !important;
        position: static !important;
        left: 0 !important;
    }

    .about-split {
        flex-direction: column-reverse;
        gap: 40px;
    }

    .about-img::after {
        display: none;
    }

    .quote-drawer {
        width: 100%;
        right: -100%;
    }

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

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

@media (max-width: 768px) {
    .hero-btns {
        flex-direction: column;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .contact-form-wrapper {
        padding: 24px;
    }
    
    .contact-info-panel h2 {
        font-size: 1.8rem;
    }
    
    .contact-item {
        gap: 15px;
    }
}

/* FAQ Accordion Styling */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: var(--gold);
    box-shadow: var(--gold-glow);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    outline: none;
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    cursor: pointer;
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-white);
    transition: var(--transition);
}

.faq-item:hover .faq-question,
.faq-item.active .faq-question {
    color: var(--gold);
}

.faq-question span {
    padding-right: 15px;
}

.faq-icon {
    font-size: 1rem;
    color: var(--gold);
    transition: transform var(--transition);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease;
    padding: 0 25px;
}

.faq-answer p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-light);
    padding-bottom: 20px;
    margin: 0;
}

/* Active FAQ Item state */
.faq-item.active {
    border-color: var(--gold);
    box-shadow: var(--gold-glow);
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding: 0 25px 5px;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

/* Branded Contact Buttons */
.btn-whatsapp {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #25D366, #128C7E) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    padding: 14px 32px !important;
    border-radius: 50px !important;
    font-weight: 600 !important;
    letter-spacing: 0.5px;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3), inset 0 2px 2px rgba(255, 255, 255, 0.2) !important;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-whatsapp i {
    font-size: 1.2rem;
    margin-right: 8px;
    vertical-align: middle;
    transition: transform 0.3s ease;
}

.btn-whatsapp:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.55), inset 0 2px 2px rgba(255, 255, 255, 0.3) !important;
}

.btn-whatsapp:hover i {
    transform: rotate(15deg) scale(1.1);
}

.btn-whatsapp::after,
.btn-call::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 30%;
    height: 200%;
    background: linear-gradient(to right,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.3) 50%,
            rgba(255, 255, 255, 0) 100%);
    transform: rotate(25deg);
    transition: all 0.75s ease;
}

.btn-whatsapp:hover::after,
.btn-call:hover::after {
    left: 130%;
    transition: all 0.75s ease;
}

.btn-call {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #0288d1, #01579b) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    padding: 14px 32px !important;
    border-radius: 50px !important;
    font-weight: 600 !important;
    letter-spacing: 0.5px;
    box-shadow: 0 8px 25px rgba(2, 136, 209, 0.3), inset 0 2px 2px rgba(255, 255, 255, 0.2) !important;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-call i {
    font-size: 1.1rem;
    margin-right: 8px;
    vertical-align: middle;
    transition: transform 0.3s ease;
}

.btn-call:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 30px rgba(2, 136, 209, 0.55), inset 0 2px 2px rgba(255, 255, 255, 0.3) !important;
}

.btn-call:hover i {
    transform: rotate(15deg) scale(1.1);
}

/* Premium Gallery Section */
.premium-gallery-section {
    background: var(--bg-dark);
    border-top: 1px solid var(--border-color);
}

.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-light);
    padding: 10px 22px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--gold-gradient);
    color: var(--bg-dark);
    border-color: transparent;
    box-shadow: var(--gold-glow);
    font-weight: 600;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    grid-auto-flow: dense;
}

@media (min-width: 992px) {
    .gallery-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .gallery-item.featured-large {
        grid-column: span 2;
        grid-row: span 2;
    }

    .gallery-item.featured-wide {
        grid-column: span 2;
    }
}

.gallery-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    display: none;
    /* Hidden by default unless active/show */
    flex-direction: column;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transform: scale(0.9);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), opacity 0.4s ease, border-color 0.3s ease, box-shadow 0.4s ease;
}

.gallery-item.show {
    display: flex;
    transform: scale(1);
    opacity: 1;
}

.gallery-image-wrapper {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.gallery-item.featured-large .gallery-image-wrapper {
    height: 460px;
}

@media (max-width: 991px) {
    .gallery-item.featured-large .gallery-image-wrapper {
        height: 200px;
    }
}

.gallery-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

.gallery-item:hover {
    transform: translateY(-5px);
    border-color: var(--gold);
    box-shadow: 0 15px 35px rgba(212, 175, 55, 0.15), 0 5px 15px rgba(0, 0, 0, 0.4);
}

.gallery-item-details {
    padding: 16px 20px;
    background: var(--bg-card);
    border-top: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: center;
}

.gallery-item-cat {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--gold);
    margin-bottom: 5px;
    font-weight: 600;
}

.gallery-item-details h3 {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-white);
    line-height: 1.4;
    transition: color 0.3s ease;
}

.gallery-item:hover .gallery-item-details h3 {
    color: var(--gold);
}

.gallery-item-action {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.7);
    width: 50px;
    height: 50px;
    background: rgba(212, 175, 55, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-dark);
    font-size: 1.2rem;
    opacity: 0;
    z-index: 3;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.gallery-image-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 2;
}

.gallery-item:hover .gallery-image-wrapper::after {
    opacity: 1;
}

.gallery-item:hover .gallery-item-action {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

/* Lightbox Pop-up */
.gallery-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3000;
    display: none;
    align-items: center;
    justify-content: center;
    transition: opacity 0.4s ease;
}

.gallery-lightbox.active {
    display: flex;
}

.lightbox-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(8, 8, 8, 0.95);
    backdrop-filter: blur(12px);
    cursor: zoom-out;
}

.lightbox-close-btn {
    position: absolute;
    top: 30px;
    right: 35px;
    font-size: 3rem;
    color: var(--text-white);
    background: none;
    border: none;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
}

.lightbox-close-btn:hover {
    color: var(--gold);
    transform: rotate(90deg);
}

.lightbox-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-white);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: var(--transition);
}

.lightbox-nav-btn:hover {
    background: var(--gold);
    color: var(--bg-dark);
    border-color: transparent;
    box-shadow: var(--gold-glow);
}

.lightbox-nav-btn.prev {
    left: 40px;
}

.lightbox-nav-btn.next {
    right: 40px;
}

.lightbox-content {
    position: relative;
    max-width: 80%;
    max-height: 80%;
    z-index: 5;
    text-align: center;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid var(--border-color);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
    display: flex;
    flex-direction: column;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
    background: #000;
}

.lightbox-info {
    background: var(--bg-mid);
    padding: 20px 30px;
    border-top: 1px solid var(--border-color);
    text-align: left;
}

.lightbox-info span {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gold);
    font-weight: 600;
    display: block;
    margin-bottom: 5px;
}

.lightbox-info h3 {
    margin: 0;
    font-size: 1.25rem;
    color: var(--text-white);
    font-weight: 600;
}

@media (max-width: 768px) {
    .lightbox-nav-btn {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }

    .lightbox-nav-btn.prev {
        left: 15px;
    }

    .lightbox-nav-btn.next {
        right: 15px;
    }

    .lightbox-close-btn {
        top: 20px;
        right: 25px;
        font-size: 2.2rem;
    }

    .lightbox-content {
        max-width: 95%;
    }
}

/* Mobile clean‑up – remove shadows & style hamburger */
@media (max-width: 768px) {
    /* Remove any shadows globally on mobile */
    * {
        box-shadow: none !important;
        text-shadow: none !important;
    }

    /* Hamburger button – premium glass pill */
    .hamburger {
        width: 48px;
        height: 48px;
        background: rgba(255,255,255,0.08);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        border: 1px solid rgba(255,255,255,0.12);
        cursor: pointer;
    }
    .hamburger span {
        background: var(--text-white);
        width: 22px;
        height: 2px;
        border-radius: 1px;
        transition: transform 0.35s ease, opacity 0.35s ease;
    }
    .hamburger.active span:nth-child(1) { transform: translateY(10px) rotate(45deg); }
    .hamburger.active span:nth-child(2) { opacity: 0; }
    .hamburger.active span:nth-child(3) { transform: translateY(-10px) rotate(-45deg); }

    /* Drawer overlay – keep subtle dark backdrop */
    .drawer-overlay {
        background: rgba(0,0,0,0.45);
    }
}

/* ================================================
   Article / Journal Section – Mobile Responsive
   ================================================ */
@media (max-width: 768px) {

    /* Section spacing */
    .styling-journal,
    .section-padding {
        padding: 50px 0 !important;
    }
    
    .styling-journal.container,
    .section-padding.container {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    /* Section title */
    .section-title {
        font-size: 1.6rem !important;
        line-height: 1.3 !important;
        margin-bottom: 8px !important;
    }

    .section-subtitle {
        font-size: 0.9rem !important;
    }

    /* Articles grid – single column on mobile */
    .articles-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 24px !important;
    }

    /* Article card – stacked image on top, content below */
    .article-card {
        display: flex !important;
        flex-direction: column !important;
        border-radius: 14px !important;
        overflow: hidden !important;
        background: var(--bg-card) !important;
        border: 1px solid var(--border-color) !important;
        height: auto !important;
        transform: translateZ(0) !important;
    }

    /* Reverse the column order so image always comes first */
    .article-card .article-image {
        order: -1;
        width: 100% !important;
        height: 200px !important;
        flex-shrink: 0;
    }

    .article-card .article-image img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        display: block !important;
    }

    /* Article content block */
    .article-card .article-content {
        width: 100% !important;
        padding: 20px 18px !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 8px !important;
    }

    .article-tag {
        font-size: 0.72rem !important;
        letter-spacing: 1.5px !important;
        text-transform: uppercase !important;
        color: var(--gold) !important;
        font-weight: 600 !important;
    }

    .article-title {
        font-size: 1.15rem !important;
        line-height: 1.4 !important;
        margin: 0 !important;
    }

    .article-desc {
        font-size: 0.88rem !important;
        color: var(--text-muted) !important;
        line-height: 1.55 !important;
        margin: 0 !important;
    }

    .btn-link {
        font-size: 0.88rem !important;
        font-weight: 600 !important;
        color: var(--gold) !important;
        margin-top: 6px !important;
        display: inline-flex !important;
        align-items: center !important;
        gap: 4px !important;
    }

    /* Hero section text scaling */
    .hero-content h1 {
        font-size: 2rem !important;
        line-height: 1.2 !important;
    }

    .sliding-text-wrapper {
        min-width: unset !important;
        width: 100% !important;
    }

    .hero-content p {
        font-size: 0.95rem !important;
    }

    .hero-btns {
        flex-direction: column !important;
        gap: 12px !important;
        align-items: center !important;
    }

    .hero-btns .btn-whatsapp,
    .hero-btns .btn-call {
        padding: 8px 18px !important;
        font-size: 0.75rem !important;
    }

    .hero-btns .btn-whatsapp i,
    .hero-btns .btn-call i {
        font-size: 0.8rem !important;
    }

    .mobile-only-item {
        display: block !important;
        margin-top: 15px;
        padding-top: 15px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .mobile-only-item .theme-toggle-btn {
        width: 100%;
        background: transparent !important;
        border: none !important;
        color: var(--text-white) !important;
        font-size: 1.1rem;
        font-family: inherit;
        font-weight: 500;
        padding: 10px 0;
        display: flex !important;
        align-items: center;
        gap: 15px;
        box-shadow: none !important;
        border-radius: 0 !important;
        justify-content: center;
        cursor: pointer;
    }

    .header-actions .theme-toggle-btn {
        display: none !important;
    }
}

.mobile-only-item {
    display: none;
}

/* Floating Action Buttons */
.floating-btn {
    position: fixed;
    bottom: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 30px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 1000;
    transition: all 0.3s ease;
    text-decoration: none;
}

.floating-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 14px rgba(0,0,0,0.4);
    color: #fff;
}

/* Smart Floating Widget (Left Side) */
.floating-profile {
    position: fixed;
    left: 20px;
    bottom: 30px;
    z-index: 1000;
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: all 0.4s ease;
}

.profile-toggle {
    width: 70px; 
    height: 70px;
    border-radius: 50%;
    border: 3px solid #25D366;
    padding: 4px;
    background: #fff;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    cursor: pointer;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
    animation: floatingProfileAnim 4s ease-in-out infinite;
}

.profile-toggle img {
    border-radius: 50%;
    width: 100%; 
    height: 100%;
    object-fit: cover;
}

.live-label {
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    background: #ff4d4d;
    color: white;
    font-size: 10px;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 8px rgba(255, 77, 77, 0.3);
    white-space: nowrap;
}

@keyframes floatingProfileAnim {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.floating-profile:hover .profile-toggle {
    transform: scale(1.1);
    border-color: #ff4d4d;
}

.profile-chat-text {
    position: absolute;
    left: 80px;
    background: white;
    color: #333;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    white-space: nowrap;
    pointer-events: none;
    animation: blinkTextSimple 3s infinite;
    border: 1px solid #25D366;
    display: flex;
    align-items: center;
    gap: 8px;
}

.profile-chat-text::before {
    content: '\f060';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.8rem;
    color: #25D366;
}

@keyframes blinkTextSimple {
    0%, 100% { opacity: 1; transform: translateX(0); }
    50% { opacity: 0; transform: translateX(10px); }
}

.floating-call {
    right: 30px;
    background-color: var(--gold);
    animation: call-ripple 2.5s linear infinite;
}

.floating-call:hover {
    background-color: var(--gold-dark);
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.4);
    animation: none;
}

.floating-call i {
    -webkit-animation: phone-ring 2s infinite ease-in-out;
    animation: phone-ring 2s infinite ease-in-out;
}

@-webkit-keyframes phone-ring {
    0% { -webkit-transform: rotate(0deg); }
    10% { -webkit-transform: rotate(-20deg); }
    20% { -webkit-transform: rotate(20deg); }
    30% { -webkit-transform: rotate(-20deg); }
    40% { -webkit-transform: rotate(20deg); }
    50% { -webkit-transform: rotate(0deg); }
    100% { -webkit-transform: rotate(0deg); }
}

@keyframes phone-ring {
    0% { transform: rotate(0deg); }
    10% { transform: rotate(-20deg); }
    20% { transform: rotate(20deg); }
    30% { transform: rotate(-20deg); }
    40% { transform: rotate(20deg); }
    50% { transform: rotate(0deg); }
    100% { transform: rotate(0deg); }
}

@keyframes call-ripple {
    0% {
        box-shadow: 0 4px 10px rgba(0,0,0,0.3),
                    0 0 0 0 rgba(212, 175, 55, 0.6), 
                    0 0 0 0 rgba(212, 175, 55, 0.6);
    }
    40% {
        box-shadow: 0 4px 10px rgba(0,0,0,0.3),
                    0 0 0 15px rgba(212, 175, 55, 0), 
                    0 0 0 0 rgba(212, 175, 55, 0.6);
    }
    80% {
        box-shadow: 0 4px 10px rgba(0,0,0,0.3),
                    0 0 0 15px rgba(212, 175, 55, 0), 
                    0 0 0 30px rgba(212, 175, 55, 0);
    }
    100% {
        box-shadow: 0 4px 10px rgba(0,0,0,0.3),
                    0 0 0 0 rgba(212, 175, 55, 0), 
                    0 0 0 0 rgba(212, 175, 55, 0);
    }
}
/* Legendary Button Style */
.btn-legendary {
    position: relative;
    background: linear-gradient(135deg, #2b2b2b 0%, #1a1a18 100%);
    color: var(--gold) !important;
    border: 1px solid rgba(212, 175, 55, 0.3);
    overflow: hidden;
    z-index: 1;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 700;
}

body:not(.dark-theme) .btn-legendary {
    background: linear-gradient(135deg, #ffffff 0%, #f9f6f0 100%);
    color: var(--gold-dark) !important;
    box-shadow: 0 4px 15px rgba(181, 146, 44, 0.15);
}

.btn-legendary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.2), transparent);
    transition: left 0.6s ease;
    z-index: -1;
}

.btn-legendary:hover {
    transform: translateY(-4px) scale(1.02);
    border-color: var(--gold);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.4);
    color: #fff !important;
    background: var(--gold-gradient);
}

body:not(.dark-theme) .btn-legendary:hover {
    color: #111 !important;
    box-shadow: 0 10px 30px rgba(181, 146, 44, 0.4);
}

.btn-legendary:hover::before {
    left: 100%;
}

/* Specific button colors for legendary variants */
.btn-legendary.whatsapp-legend {
    border-color: rgba(37, 211, 102, 0.4);
    color: #25D366 !important;
}
.btn-legendary.whatsapp-legend:hover {
    background: linear-gradient(135deg, #128C7E 0%, #25D366 100%);
    color: #fff !important;
    border-color: #25D366;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
}


/* --- FAQ Accordion Smooth Styles --- */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: var(--gold);
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 20px;
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--gold);
}

.faq-icon {
    color: var(--gold);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0 20px;
}

.faq-answer p {
    margin: 0 0 20px 0;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Active State */
.faq-item.active {
    border-color: var(--gold);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.faq-item.active .faq-question {
    color: var(--gold);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-item.active .faq-answer {
    max-height: 500px; /* Adjust if content is very long */
    opacity: 1;
    padding: 10px 20px 20px 20px;
}

/* ==========================================================================
   MOBILE RESPONSIVENESS OVERRIDES
   ========================================================================== */
@media (max-width: 768px) {
    /* Scale down floating action buttons */
    .floating-btn {
        width: 50px;
        height: 50px;
        font-size: 24px;
        bottom: 20px;
    }
    
    .floating-call {
        right: 20px;
    }

    .floating-profile {
        bottom: 20px;
        left: 15px;
    }

    .profile-toggle {
        width: 55px;
        height: 55px;
    }

    .profile-chat-text {
        font-size: 0.75rem;
        left: 65px;
        padding: 4px 10px;
    }
    
    .floating-lang-toggle {
        width: 120px !important;
        height: 42px !important;
        bottom: 85px !important;
        right: 20px !important;
    }
    
    .lang-btn {
        font-size: 0.75rem !important;
    }
}

/* ==========================================================================
   GOOGLE TRANSLATE & RTL TRANSLATION SYSTEM
   ========================================================================== */

/* Hide Google Translate original top bar and widgets */
.skiptranslate, 
#google_translate_element, 
.goog-te-banner-frame, 
.goog-te-balloon-frame,
#goog-gt-tt {
    display: none !important;
    visibility: hidden !important;
}

body {
    top: 0 !important;
}

.goog-text-highlight {
    background: none !important;
    box-shadow: none !important;
}

/* --- Floating Language Toggle Widget (Frosted Glass Pill) --- */
.floating-lang-toggle {
    position: fixed;
    right: 30px;
    bottom: 110px;
    width: 130px;
    height: 45px;
    background: rgba(18, 18, 18, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
    z-index: 9999;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    direction: ltr !important;
}

body:not(.dark-theme) .floating-lang-toggle {
    background: rgba(255, 255, 255, 0.85);
    border-color: rgba(181, 146, 44, 0.35);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.floating-lang-toggle:hover {
    transform: translateY(-4px) scale(1.02);
    border-color: var(--gold);
    box-shadow: 0 12px 35px rgba(212, 175, 55, 0.25);
}

body:not(.dark-theme) .floating-lang-toggle:hover {
    box-shadow: 0 12px 35px rgba(181, 146, 44, 0.2);
}

.lang-btn {
    flex: 1;
    height: 100%;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 700;
    font-family: 'Cairo', 'Inter', sans-serif;
    cursor: pointer;
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
    border-radius: 20px;
}

body:not(.dark-theme) .lang-btn {
    color: #666;
}

.lang-btn.active {
    color: #ffffff !important;
}

body:not(.dark-theme) .lang-btn.active {
    color: #ffffff !important;
}

/* Sliding active background indicator */
.lang-slider {
    position: absolute;
    top: 4px;
    left: 4px;
    width: calc(50% - 4px);
    height: calc(100% - 8px);
    background: var(--gold-gradient);
    border-radius: 25px;
    z-index: 1;
    transition: transform 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 2px 10px rgba(212, 175, 55, 0.3);
}

/* Adjust sliding indicator position based on active language */
.floating-lang-toggle.active-ar .lang-slider {
    transform: translateX(100%);
}

/* --- Arabic (RTL) Layout Adjustments --- */
html[dir="rtl"] body {
    font-family: 'Cairo', 'Inter', sans-serif;
    text-align: right;
}

html[dir="rtl"] h1, 
html[dir="rtl"] h2, 
html[dir="rtl"] h3, 
html[dir="rtl"] h4, 
html[dir="rtl"] h5, 
html[dir="rtl"] h6,
html[dir="rtl"] .logo-text,
html[dir="rtl"] .section-title {
    font-family: 'Cairo', 'Playfair Display', serif;
}

/* Header adjustments */
html[dir="rtl"] .logo img {
    margin-right: 0 !important;
    margin-left: 10px !important;
}

html[dir="rtl"] .logo-text span {
    margin-left: 0;
    margin-right: 4px;
}

html[dir="rtl"] .header-actions .theme-toggle-btn {
    margin-right: 0;
    margin-left: 15px;
}

html[dir="rtl"] .dropdown-menu {
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) translateY(15px) !important;
    text-align: center !important;
    width: max-content !important;
    min-width: 240px !important;
}

html[dir="rtl"] .dropdown:hover .dropdown-menu {
    transform: translateX(-50%) translateY(5px) !important;
}

html[dir="rtl"] .dropdown-menu li a {
    text-align: center !important;
    padding: 12px 20px !important;
}

/* Hero section RTL */
html[dir="rtl"] .hero-content {
    text-align: right;
}

html[dir="rtl"] .hero-btns {
    justify-content: flex-start;
}

html[dir="rtl"] .hero-btns .btn {
    margin-right: 0;
    margin-left: 15px;
}

html[dir="rtl"] .hero-btns .btn i {
    margin-right: 0 !important;
    margin-left: 8px !important;
}

/* Article Card layouts */
html[dir="rtl"] .article-card {
    /* Removed incorrect row-reverse */
}

@media (max-width: 768px) {
    html[dir="rtl"] .article-card {
        flex-direction: column !important;
    }
}

html[dir="rtl"] .article-content {
    text-align: right;
}

html[dir="rtl"] .btn-link span {
    display: inline-block;
    transform: scaleX(-1);
}

/* Footer RTL */
html[dir="rtl"] .footer-grid {
    direction: rtl;
}

html[dir="rtl"] .footer-col {
    text-align: right;
}

html[dir="rtl"] .footer-col h4 {
    border-left: none;
    border-right: 3px solid var(--gold);
    padding-left: 0;
    padding-right: 15px;
}

html[dir="rtl"] .newsletter-form {
    /* Native RTL flex */
}

html[dir="rtl"] .newsletter-form input {
    border-radius: 0 4px 4px 0 !important;
    text-align: right;
}

html[dir="rtl"] .newsletter-form button {
    border-radius: 4px 0 0 4px !important;
}

/* Quote Drawer RTL */
html[dir="rtl"] .quote-drawer {
    right: auto !important;
    left: -420px !important;
    border-left: none !important;
    border-right: 1px solid var(--border-color) !important;
    box-shadow: 10px 0 40px rgba(0, 0, 0, 0.6) !important;
}

html[dir="rtl"] .quote-drawer.open {
    left: 0 !important;
    right: auto !important;
}

@media (max-width: 768px) {
    html[dir="rtl"] .quote-drawer {
        left: -100% !important;
        right: auto !important;
        width: 100% !important;
    }
    html[dir="rtl"] .quote-drawer.open {
        left: 0 !important;
        right: auto !important;
    }
}

html[dir="rtl"] .quote-drawer-header {
    /* Native RTL flex */
}

html[dir="rtl"] .quote-item {
    text-align: right;
}

html[dir="rtl"] .quote-item-details {
    padding-left: 0 !important;
    padding-right: 15px !important;
}

/* FAQ RTL */
html[dir="rtl"] .faq-question {
    text-align: right;
}

/* Contact page RTL styling */
html[dir="rtl"] .contact-split {
    /* Native RTL flex */
}

html[dir="rtl"] .contact-info-card {
    text-align: right;
}

html[dir="rtl"] .info-item {
    text-align: right;
}

html[dir="rtl"] .info-item i {
    margin-right: 0;
    margin-left: 15px;
}

html[dir="rtl"] .form-group input,
html[dir="rtl"] .form-group textarea,
html[dir="rtl"] .form-group select {
    text-align: right;
}

html[dir="rtl"] .form-group label {
    display: block;
    text-align: right;
}

/* Testimonial slider layouts */
html[dir="rtl"] .testimonial-card {
    text-align: right;
}

html[dir="rtl"] .client-info {
    /* Native RTL flex */
}

html[dir="rtl"] .client-name {
    margin-left: 0;
    margin-right: 15px;
    text-align: right;
}

/* Mobile navigation drawer in RTL */
html[dir="rtl"] .nav-links.active {
    left: auto;
    right: 0;
}

html[dir="rtl"] .mobile-only-item .theme-toggle-btn {
    justify-content: center !important;
}

/* RTL overrides for floating widgets */
html[dir="rtl"] .floating-profile {
    left: auto !important;
    right: 20px !important;
    flex-direction: row-reverse !important;
}

html[dir="rtl"] .profile-chat-text {
    left: auto !important;
    right: 80px !important;
    border: 1px solid #25D366 !important;
    animation: blinkTextSimpleRTL 3s infinite !important;
}

html[dir="rtl"] .profile-chat-text::before {
    content: '\f061' !important; /* Right arrow instead of left arrow */
}

@keyframes blinkTextSimpleRTL {
    0%, 100% { opacity: 1; transform: translateX(0); }
    50% { opacity: 0; transform: translateX(-10px); }
}

html[dir="rtl"] .floating-call {
    right: auto !important;
    left: 30px !important;
}

html[dir="rtl"] .floating-lang-toggle {
    right: auto !important;
    left: 30px !important;
}

@media (max-width: 768px) {
    html[dir="rtl"] .profile-chat-text {
        right: 65px !important;
    }
    
    html[dir="rtl"] .floating-call {
        left: 20px !important;
    }

    html[dir="rtl"] .floating-lang-toggle {
        left: 20px !important;
    }
}

/* Mobile responsive updates for Services pages product grids and cards */
@media (max-width: 768px) {
    .product-grid {
        grid-template-columns: 1fr !important;
        justify-content: center !important;
        justify-items: center !important;
        gap: 24px !important;
    }

    .product-card {
        width: 100% !important;
        max-width: 350px !important;
        margin: 0 auto !important;
        text-align: center !important;
    }

    .product-details {
        align-items: center !important;
        padding: 20px !important;
    }

    .product-desc {
        text-align: center !important;
    }

    .product-action {
        width: 100% !important;
        justify-content: center !important;
        text-align: center !important;
        border-top: 1px solid var(--border-color) !important;
        padding-top: 15px !important;
    }

    .product-action .btn-outline {
        margin-top: 10px !important;
        width: 100% !important;
        display: block !important;
        text-align: center !important;
    }
}

/* RTL Breadcrumb improvements */
html[dir="rtl"] .breadcrumbs {
    flex-direction: row-reverse !important;
}

html[dir="rtl"] .breadcrumbs i.fa-chevron-right {
    transform: rotate(180deg) !important;
}

/* RTL Product Category Badge placement */
html[dir="rtl"] .product-category {
    left: auto !important;
    right: 15px !important;
}

html[dir="rtl"] .nav-links .dropdown-menu li a,
html[dir="rtl"] .dropdown-menu li a {
    text-align: center !important;
    padding-right: 20px !important;
    padding-left: 20px !important;
    display: block !important;
    box-sizing: border-box !important;
}

@media (max-width: 768px) {
    html[dir="rtl"] .nav-links .dropdown-menu li a,
    html[dir="rtl"] .dropdown-menu li a {
        text-align: center !important;
    }
}

/* Hero video volume control */
.video-volume-control {
    position: absolute;
    bottom: 30px;
    right: 40px;
    z-index: 10;
    background: rgba(20, 20, 20, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    backdrop-filter: blur(15px) saturate(180%);
    -webkit-backdrop-filter: blur(15px) saturate(180%);
}

.video-volume-control:hover {
    border-color: var(--gold);
    color: var(--gold);
    box-shadow: var(--gold-glow), 0 0 15px rgba(181, 146, 44, 0.25);
    transform: translateY(-2px) scale(1.05);
}

.video-volume-control:active {
    transform: translateY(0) scale(0.95);
}

/* RTL layout */
html[dir="rtl"] .video-volume-control {
    right: auto !important;
    left: 40px !important;
}

/* Mobile responsive layout */
@media (max-width: 768px) {
    .video-volume-control {
        bottom: 20px;
        right: 20px;
        width: 42px;
        height: 42px;
        font-size: 1rem;
    }
    html[dir="rtl"] .video-volume-control {
        right: auto !important;
        left: 20px !important;
    }
}

