/* ==========================================================================
   بيت العمارة للتصميم والإنشاء - ArcHouse Engineering & Construction
   Design System & Main Stylesheet (RTL Arabic Corporate Architecture Theme)
   Colors: Dark Blue (#0F2D52), Gold (#C89B3C), White (#FFFFFF), Light Gray (#F4F6F9)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;500;600;700;800;900&family=Tajawal:wght@300;400;500;700;800;900&display=swap');

:root {
    /* Color Palette */
    --navy-primary: #0F2D52;
    --navy-dark: #08182D;
    --navy-deep: #050E1B;
    --navy-light: #1A4272;
    
    --gold-primary: #C89B3C;
    --gold-light: #E0B353;
    --gold-bright: #F7D070;
    --gold-glow: rgba(200, 155, 60, 0.25);
    
    --gray-bg: #F4F6F9;
    --gray-card: #FFFFFF;
    --gray-border: #E2E8F0;
    --gray-light: #FAFCFE;
    
    --text-primary: #0C1929;
    --text-secondary: #4A5B70;
    --text-muted: #788A9E;
    --text-white: #FFFFFF;

    /* Fonts & Typography */
    --font-heading: 'Cairo', system-ui, -apple-system, sans-serif;
    --font-body: 'Tajawal', system-ui, -apple-system, sans-serif;

    /* Layout & Shadows */
    --container-max: 1280px;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;
    --radius-full: 9999px;
    
    --shadow-subtle: 0 4px 20px rgba(15, 45, 82, 0.06);
    --shadow-card: 0 10px 30px rgba(15, 45, 82, 0.09);
    --shadow-hover: 0 20px 40px rgba(15, 45, 82, 0.16);
    --shadow-gold: 0 10px 25px rgba(200, 155, 60, 0.3);

    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base Setup */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    direction: rtl;
    font-size: 16px;
    text-align: right;
}

body {
    font-family: var(--font-body);
    background-color: var(--gray-bg);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.3;
    color: var(--navy-primary);
}

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

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

ul {
    list-style: none;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--navy-dark);
}
::-webkit-scrollbar-thumb {
    background: var(--gold-primary);
    border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--gold-light);
}

/* Container */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

/* Section Header Shared */
.section-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 3.5rem auto;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(200, 155, 60, 0.12);
    color: var(--gold-primary);
    padding: 0.4rem 1.2rem;
    border-radius: var(--radius-full);
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 1rem;
    border: 1px solid rgba(200, 155, 60, 0.3);
}

.section-title {
    font-size: 2.5rem;
    color: var(--navy-primary);
    margin-bottom: 1rem;
    position: relative;
}

.section-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.85rem 2rem;
    border-radius: var(--radius-md);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all var(--transition-fast);
    text-align: center;
}

.btn-gold {
    background: linear-gradient(135deg, var(--gold-primary) 0%, #B3862B 100%);
    color: var(--navy-dark);
    box-shadow: var(--shadow-gold);
}

.btn-gold:hover {
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold-primary) 100%);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(200, 155, 60, 0.45);
}

.btn-navy {
    background: var(--navy-primary);
    color: var(--text-white);
}

.btn-navy:hover {
    background: var(--navy-light);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(15, 45, 82, 0.3);
}

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

.btn-outline-gold:hover {
    background: var(--gold-primary);
    color: var(--navy-dark);
    transform: translateY(-3px);
}

.btn-outline-light {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.4);
    color: var(--text-white);
}

.btn-outline-light:hover {
    background: var(--text-white);
    color: var(--navy-dark);
    border-color: var(--text-white);
    transform: translateY(-3px);
}

/* Top Notification Bar */
.top-bar {
    background: var(--navy-deep);
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.88rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.top-bar-info {
    display: flex;
    gap: 1.8rem;
    align-items: center;
}

.top-bar-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.top-bar-item svg {
    color: var(--gold-primary);
    width: 16px;
    height: 16px;
}

.top-bar-social {
    display: flex;
    gap: 0.8rem;
    align-items: center;
}

.top-bar-social a {
    color: rgba(255, 255, 255, 0.7);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    transition: all var(--transition-fast);
}

.top-bar-social a:hover {
    color: var(--navy-dark);
    background: var(--gold-primary);
}

/* Header & Navigation */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(15, 45, 82, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(200, 155, 60, 0.2);
    transition: all var(--transition-normal);
}

.site-header.scrolled {
    background: var(--navy-dark);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 85px;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
}

.brand-logo-img {
    height: 54px;
    width: auto;
    object-fit: contain;
    background: #FFFFFF;
    padding: 4px 12px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(200, 155, 60, 0.4);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform var(--transition-fast);
}

.brand-logo-img:hover {
    transform: scale(1.03);
}

.brand-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--gold-primary), #9B7423);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--navy-dark);
    box-shadow: var(--shadow-gold);
}

.brand-text-wrapper {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--text-white);
    letter-spacing: -0.5px;
    line-height: 1.1;
}

.brand-name span {
    color: var(--gold-primary);
}

.brand-owner {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 2px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: rgba(255, 255, 255, 0.88);
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0%;
    height: 2px;
    background: var(--gold-primary);
    transition: width var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
    color: var(--gold-primary);
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.hamburger-btn {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--text-white);
    padding: 0.5rem;
}

.hamburger-btn svg {
    width: 30px;
    height: 30px;
}

/* Mobile Nav Drawer */
.mobile-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    max-width: 85vw;
    height: 100vh;
    background: var(--navy-dark);
    z-index: 2000;
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.5);
    transition: right var(--transition-normal);
}

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

.drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.drawer-close-btn {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: var(--text-white);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.drawer-menu {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.drawer-link {
    color: var(--text-white);
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    padding: 0.5rem 0.8rem;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.drawer-link:hover, .drawer-link.active {
    background: rgba(200, 155, 60, 0.15);
    color: var(--gold-primary);
}

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

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

/* Hero Section */
.hero-section {
    position: relative;
    min-height: calc(100vh - 120px);
    background: linear-gradient(135deg, rgba(8, 24, 45, 0.92) 0%, rgba(15, 45, 82, 0.85) 100%),
                url('../images/hero_bg.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    padding: 5rem 0;
    overflow: hidden;
    color: var(--text-white);
}

.hero-overlay-graphic {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(200, 155, 60, 0.12) 1px, transparent 1px);
    background-size: 30px 30px;
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3.5rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(200, 155, 60, 0.18);
    border: 1px solid var(--gold-primary);
    color: var(--gold-bright);
    padding: 0.5rem 1.4rem;
    border-radius: var(--radius-full);
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 3.2rem;
    color: var(--text-white);
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-title span {
    color: var(--gold-primary);
    background: linear-gradient(135deg, #F7D070 0%, #C89B3C 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2.5rem;
    max-width: 640px;
}

.hero-btns {
    display: flex;
    gap: 1.2rem;
    flex-wrap: wrap;
}

.hero-card-preview {
    background: rgba(15, 45, 82, 0.6);
    border: 1px solid rgba(200, 155, 60, 0.3);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: var(--radius-lg);
    padding: 2.2rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    position: relative;
}

.hero-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-owner-badge {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold-primary), var(--navy-primary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: var(--text-white);
    font-size: 1.3rem;
    border: 2px solid var(--gold-primary);
}

.hero-owner-info h4 {
    color: var(--text-white);
    font-size: 1.2rem;
}

.hero-owner-info p {
    color: var(--gold-primary);
    font-size: 0.9rem;
}

.hero-features-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hero-feature-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
}

.hero-feature-item svg {
    color: var(--gold-primary);
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* Feature Cards & Highlights */
.highlights-section {
    padding: 6rem 0;
    background: var(--gray-bg);
}

.grid-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.card-feature {
    background: var(--gray-card);
    padding: 2.2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    border: 1px solid var(--gray-border);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.card-feature::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 4px;
    height: 100%;
    background: var(--navy-primary);
    transition: background var(--transition-fast);
}

.card-feature:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(200, 155, 60, 0.3);
}

.card-feature:hover::before {
    background: var(--gold-primary);
}

.card-icon-wrapper {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-md);
    background: rgba(15, 45, 82, 0.06);
    color: var(--navy-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all var(--transition-normal);
}

.card-feature:hover .card-icon-wrapper {
    background: var(--navy-primary);
    color: var(--gold-primary);
    transform: scale(1.05);
}

.card-icon-wrapper svg {
    width: 32px;
    height: 32px;
}

.card-title {
    font-size: 1.35rem;
    color: var(--navy-primary);
    margin-bottom: 0.8rem;
}

.card-desc {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
}

/* Why Choose Us Section */
.why-us-section {
    padding: 6rem 0;
    background: var(--navy-dark);
    color: var(--text-white);
    position: relative;
}

.why-us-section .section-title {
    color: var(--text-white);
}

.why-us-section .section-subtitle {
    color: rgba(255, 255, 255, 0.75);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.why-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 2rem;
    border-radius: var(--radius-md);
    transition: all var(--transition-normal);
}

.why-card:hover {
    background: rgba(200, 155, 60, 0.08);
    border-color: var(--gold-primary);
    transform: translateY(-5px);
}

.why-icon {
    width: 50px;
    height: 50px;
    color: var(--gold-primary);
    margin-bottom: 1.2rem;
}

.why-card h4 {
    color: var(--text-white);
    font-size: 1.25rem;
    margin-bottom: 0.6rem;
}

.why-card p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

/* Stats Counter Section */
.stats-section {
    background: linear-gradient(135deg, var(--navy-primary) 0%, var(--navy-deep) 100%);
    padding: 4.5rem 0;
    color: var(--text-white);
    border-top: 3px solid var(--gold-primary);
}

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

.stat-item {
    padding: 1rem;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 3.2rem;
    font-weight: 800;
    color: var(--gold-primary);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 600;
}

/* Projects Showcase Section */
.projects-section {
    padding: 6rem 0;
    background: var(--gray-bg);
}

.project-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.6rem 1.6rem;
    border-radius: var(--radius-full);
    background: var(--gray-card);
    color: var(--text-secondary);
    border: 1px solid var(--gray-border);
    font-family: var(--font-heading);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
}

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

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2.2rem;
}

.project-card {
    background: var(--gray-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--gray-border);
    transition: all var(--transition-normal);
    cursor: pointer;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.project-img-wrapper {
    position: relative;
    height: 250px;
    overflow: hidden;
}

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

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

.project-category-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(15, 45, 82, 0.85);
    color: var(--gold-primary);
    backdrop-filter: blur(8px);
    padding: 0.3rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 700;
}

.project-info {
    padding: 1.8rem;
}

.project-name {
    font-size: 1.3rem;
    color: var(--navy-primary);
    margin-bottom: 0.5rem;
}

.project-meta {
    display: flex;
    justify-content: space-between;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--gray-border);
}

/* Dynamic Modal Styling */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(5, 14, 27, 0.85);
    backdrop-filter: blur(8px);
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
}

.modal-backdrop.open {
    opacity: 1;
    visibility: visible;
}

.modal-container {
    background: var(--gray-card);
    width: 100%;
    max-width: 900px;
    max-height: 90vh;
    border-radius: var(--radius-lg);
    overflow-y: auto;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
    position: relative;
    animation: modalSlideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.modal-close-btn {
    position: absolute;
    top: 1.2rem;
    left: 1.2rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(15, 45, 82, 0.1);
    border: none;
    color: var(--navy-primary);
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all var(--transition-fast);
}

.modal-close-btn:hover {
    background: var(--navy-primary);
    color: var(--gold-primary);
}

.modal-body {
    padding: 2.5rem;
}

.modal-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--gray-border);
}

.modal-tab-btn {
    padding: 0.8rem 1.5rem;
    background: transparent;
    border: none;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    color: var(--text-muted);
    cursor: pointer;
    position: relative;
}

.modal-tab-btn.active {
    color: var(--navy-primary);
}

.modal-tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    right: 0;
    width: 100%;
    height: 3px;
    background: var(--gold-primary);
}

.modal-gallery-display {
    width: 100%;
    height: 380px;
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.modal-gallery-display img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-details-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}

.modal-detail-box {
    background: var(--gray-bg);
    padding: 1.5rem;
    border-radius: var(--radius-md);
}

.detail-item {
    margin-bottom: 0.8rem;
    display: flex;
    flex-direction: column;
}

.detail-item strong {
    color: var(--navy-primary);
    font-size: 0.9rem;
}

.detail-item span {
    color: var(--text-secondary);
    font-size: 1rem;
}

/* Testimonials Slider */
.testimonials-section {
    padding: 6rem 0;
    background: var(--navy-dark);
    color: var(--text-white);
}

.testimonials-section .section-title {
    color: var(--text-white);
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
}

.quote-icon {
    width: 48px;
    height: 48px;
    color: var(--gold-primary);
    margin-bottom: 1.2rem;
    opacity: 0.5;
}

.testimonial-text {
    font-size: 1.25rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--gold-primary);
}

.testimonial-role {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Footer Section */
.site-footer {
    background: var(--navy-deep);
    color: rgba(255, 255, 255, 0.8);
    padding-top: 5rem;
    padding-bottom: 2rem;
    border-top: 1px solid rgba(200, 155, 60, 0.2);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 3rem;
    margin-bottom: 3.5rem;
}

.footer-col h4 {
    color: var(--text-white);
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.6rem;
}

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

.footer-about p {
    line-height: 1.7;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.75);
    transition: all var(--transition-fast);
}

.footer-links a:hover {
    color: var(--gold-primary);
    padding-right: 6px;
}

.footer-contact-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;

}

.footer-contact-item svg {
    color: var(--gold-primary);
    width: 20px;
    height: 20px;
    margin-top: 3px;
    flex-shrink: 0;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.9rem;
}

/* Contact Form Styling */
.contact-section {
    padding: 6rem 0;
    background: var(--gray-bg);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3.5rem;
}

.contact-info-card {
    background: var(--navy-primary);
    color: var(--text-white);
    padding: 3rem 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    position: relative;
    overflow: hidden;
}

.contact-info-card h3 {
    color: var(--text-white);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.contact-info-card p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2.5rem;
}

.contact-item-box {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
    margin-bottom: 2rem;
}

.contact-icon-bubble {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: rgba(200, 155, 60, 0.15);
    border: 1px solid var(--gold-primary);
    color: var(--gold-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-form-box {
    background: var(--gray-card);
    padding: 3rem 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    border: 1px solid var(--gray-border);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-family: var(--font-heading);
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--navy-primary);
}

.form-control {
    width: 100%;
    padding: 0.9rem 1.2rem;
    border: 1.5px solid var(--gray-border);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 1rem;
    background: var(--gray-light);
    color: var(--text-primary);
    transition: all var(--transition-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--gold-primary);
    background: #FFFFFF;
    box-shadow: 0 0 0 4px rgba(200, 155, 60, 0.15);
}

.form-control.error {
    border-color: #E53E3E;
    background: #FFF5F5;
}

.error-text {
    color: #E53E3E;
    font-size: 0.85rem;
    margin-top: 0.3rem;
    display: none;
}

.form-control.error + .error-text {
    display: block;
}

/* Floating Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gold-primary);
    color: var(--navy-dark);
    border: none;
    box-shadow: var(--shadow-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    z-index: 990;
    transition: all var(--transition-normal);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--gold-light);
    transform: translateY(-4px);
}

/* Toast Message Notification */
.toast-message {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--navy-primary);
    color: var(--text-white);
    padding: 1.2rem 2rem;
    border-radius: var(--radius-md);
    border-right: 5px solid var(--gold-primary);
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
    z-index: 4000;
    display: flex;
    align-items: center;
    gap: 1rem;
    transform: translateX(120%);
    transition: transform var(--transition-normal);
}

.toast-message.show {
    transform: translateX(0);
}

/* Language Toggle Button Styles */
.lang-toggle-btn {
    background: rgba(200, 155, 60, 0.15);
    color: var(--gold-primary);
    border: 1px solid var(--gold-primary);
    padding: 0.35rem 0.9rem;
    border-radius: var(--radius-full);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.88rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: all var(--transition-fast);
}

.lang-toggle-btn:hover {
    background: var(--gold-primary);
    color: var(--navy-dark);
    transform: translateY(-2px);
}

/* LTR (English) Overrides */
html[dir="ltr"] {
    direction: ltr;
    text-align: left;
}

html[dir="ltr"] .nav-link::after {
    left: 0;
    right: auto;
}

html[dir="ltr"] .card-feature::before {
    left: 0;
    right: auto;
}

html[dir="ltr"] .footer-col h4::after {
    left: 0;
    right: auto;
}

html[dir="ltr"] .footer-links a:hover {
    padding-left: 6px;
    padding-right: 0;
}

html[dir="ltr"] .mobile-drawer {
    left: -100%;
    right: auto;
    box-shadow: 10px 0 40px rgba(0, 0, 0, 0.5);
    transition: left var(--transition-normal);
}

html[dir="ltr"] .mobile-drawer.open {
    left: 0;
    right: auto;
}

html[dir="ltr"] .toast-message {
    left: 2rem;
    right: auto;
    transform: translateX(-120%);
    border-right: none;
    border-left: 5px solid var(--gold-primary);
}

html[dir="ltr"] .toast-message.show {
    transform: translateX(0);
}

html[dir="ltr"] .back-to-top {
    right: 2rem;
    left: auto;
}

html[dir="ltr"] .modal-close-btn {
    right: 1.2rem;
    left: auto;
}

html[dir="ltr"] .modal-tab-btn.active::after {
    left: 0;
    right: auto;
}

html[dir="ltr"] .project-category-badge {
    left: 1rem;
    right: auto;
}

html[dir="ltr"] .contact-info-card {
    border-right: none;
}

