/* ==========================================================================
   DESIGN SYSTEM & VARIABLES - ATAA AL KHAIR TECHNICAL & CLEANING SERVICES
   ========================================================================== */

:root {
    /* Color Palette */
    --primary: #0c2340;        /* Deep Navy Blue */
    --primary-light: #16365f;  /* Lighter Navy for borders/hover */
    --primary-dark: #061224;   /* Very dark navy */
    --gold: #dfa01a;          /* Logo Gold */
    --gold-hover: #b88210;    /* Darker Gold */
    --gold-light: rgba(223, 160, 26, 0.15); /* Gold glow tint */
    --white: #ffffff;
    --light-bg: #f4f7fa;      /* Clean ice-blue gray background */
    --text-primary: #1b2a47;  /* Dark text */
    --text-secondary: #55688a;/* Muted body text */
    --border-color: #e2e8f0;  /* Standard border */
    --error: #e53e3e;
    --success: #38a169;
    --whatsapp: #25d366;
    
    /* Layout & Fonts */
    --font-en: 'Outfit', sans-serif;
    --font-ar: 'Cairo', sans-serif;
    --border-radius: 12px;
    --border-radius-sm: 8px;
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    --box-shadow-hover: 0 15px 40px rgba(12, 35, 64, 0.15);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* ==========================================================================
   LANGUAGE STYLES (English vs Arabic)
   ========================================================================== */

html[lang="en"] {
    font-family: var(--font-en);
}

html[lang="ar"] {
    font-family: var(--font-ar);
}

html[lang="en"] .lang-ar {
    display: none !important;
}

html[lang="ar"] .lang-en {
    display: none !important;
}

/* RTL Adjustments */
html[dir="rtl"] {
    text-align: right;
}

html[dir="rtl"] .top-bar-content,
html[dir="rtl"] .header-container,
html[dir="rtl"] .about-grid,
html[dir="rtl"] .vision-mission-grid,
html[dir="rtl"] .contact-grid,
html[dir="rtl"] .footer-grid {
    direction: rtl;
}

/* ==========================================================================
   RESET & BASICS
   ========================================================================== */

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    background-color: var(--white);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

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

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

ul {
    list-style: none;
}

/* Common Text Helpers */
.text-gold { color: var(--gold); }
.text-white { color: var(--white); }
.text-light { color: var(--text-secondary); }
.text-center { text-align: center; }
.font-bold { font-weight: 700; }
.mt-3 { margin-top: 1.5rem; }
.mt-1 { margin-top: 0.5rem; }
.font-cairo { font-family: var(--font-ar); }
.text-right { text-align: right; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    gap: 8px;
}

.btn-gold {
    background-color: var(--gold);
    color: var(--white);
}

.btn-gold:hover {
    background-color: var(--gold-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(223, 160, 26, 0.4);
}

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

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

.btn-block {
    display: flex;
    width: 100%;
}

.btn-whatsapp-large {
    background-color: var(--whatsapp);
    color: var(--white);
    font-size: 1.05rem;
    padding: 14px 32px;
}

.btn-whatsapp-large:hover {
    background-color: #20ba5a;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

/* ==========================================================================
   TOP BAR & HEADER
   ========================================================================== */

.top-bar {
    background-color: var(--primary-dark);
    color: var(--white);
    font-size: 0.85rem;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.top-contact a {
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    gap: 6px;
}

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

.top-license-info {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Main Header Styling */
.main-header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.main-header.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.main-header.scrolled .brand-logo {
    height: 80px; /* Shrinks logo smoothly on scroll */
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 4px; /* Reduced padding to fit larger logo */
    padding-bottom: 4px;
}

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

.brand-logo {
    height: 125px; /* Forced large size for high readability */
    width: auto;
    object-fit: contain;
    border-radius: var(--border-radius-sm);
    transition: var(--transition);
}

/* Navigation Links */
.nav-menu ul {
    display: flex;
    gap: 30px;
}

.nav-link {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-primary);
    padding: 8px 0;
    position: relative;
}

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

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

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

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

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Language Toggle Button */
.lang-toggle-btn {
    background: transparent;
    border: 1px solid var(--border-color);
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}

.lang-toggle-btn:hover {
    border-color: var(--gold);
    color: var(--gold);
    background-color: var(--light-bg);
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    background: transparent;
    border: none;
    color: var(--primary);
    cursor: pointer;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero-section {
    position: relative;
    background-color: var(--primary);
    /* High premium dark gradient with glowing radial highlights */
    background-image: 
        radial-gradient(circle at 80% 20%, rgba(223, 160, 26, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 10% 80%, rgba(22, 54, 95, 0.6) 0%, transparent 60%),
        linear-gradient(135deg, #0c2340 0%, #051020 100%);
    padding: 100px 0 120px 0;
    color: var(--white);
    overflow: hidden;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, 0.4) 100%);
    z-index: 1;
}

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

.hero-content {
    max-width: 750px;
    animation: fadeInUp 0.8s ease-out;
}

.badge-verified {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(223, 160, 26, 0.15);
    border: 1px solid rgba(223, 160, 26, 0.3);
    color: var(--gold);
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-title {
    font-size: 3.2rem;
    line-height: 1.2;
    font-weight: 800;
    margin-bottom: 24px;
    letter-spacing: -0.5px;
}

html[lang="ar"] .hero-title {
    font-size: 2.8rem;
    line-height: 1.4;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
    max-width: 650px;
    font-weight: 300;
}

.hero-cta-buttons {
    display: flex;
    gap: 16px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   HIGHLIGHTS BAR
   ========================================================================== */

.highlights-section {
    margin-top: -60px;
    position: relative;
    z-index: 10;
}

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

.highlight-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 30px 24px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    gap: 20px;
    border-bottom: 4px solid var(--gold);
    transition: var(--transition);
}

html[dir="rtl"] .highlight-card {
    flex-direction: row-reverse;
}

.highlight-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(12, 35, 64, 0.12);
}

.highlight-icon {
    font-size: 2rem;
    color: var(--primary);
    background-color: rgba(12, 35, 64, 0.05);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transition);
}

.highlight-card:hover .highlight-icon {
    background-color: var(--gold);
    color: var(--white);
}

.highlight-text h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 4px;
}

.highlight-text p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* ==========================================================================
   SECTION TITLE WRAPPER
   ========================================================================== */

.section-title-wrapper {
    margin-bottom: 50px;
}

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

.section-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.3;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 16px auto 0 auto;
}

/* ==========================================================================
   ABOUT US & CREDENTIALS
   ========================================================================== */

.about-section {
    padding: 100px 0;
    background-color: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.about-text {
    font-size: 1.02rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
}

.feature-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.feature-item i {
    color: var(--gold);
    font-size: 1.4rem;
    margin-top: 3px;
}

.feature-item h4 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 4px;
}

.feature-item p {
    font-size: 0.92rem;
    color: var(--text-secondary);
}

/* Official Trade License Widget */
.about-image-card {
    position: relative;
    border-radius: var(--border-radius);
    padding: 35px;
    background: linear-gradient(145deg, #ffffff, #f1f5f9);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(12, 35, 64, 0.05);
    overflow: hidden;
}

.about-image-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, var(--primary), var(--gold));
}

.about-brand-box {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.about-photos-container {
    position: relative;
    height: 240px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    background-color: var(--primary-dark);
}

.about-photo-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 1;
}

.about-photo-img.active {
    opacity: 1;
    z-index: 2;
}

.about-photo-overlay {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background-color: rgba(12, 35, 64, 0.85);
    backdrop-filter: blur(4px);
    color: var(--white);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 3;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

html[dir="rtl"] .about-photo-overlay {
    left: auto;
    right: 12px;
}

.about-badge-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.about-badge-item {
    display: flex;
    align-items: center;
    gap: 16px;
    background-color: var(--white);
    padding: 16px;
    border-radius: var(--border-radius-sm);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
    border-left: 4px solid var(--gold);
    transition: var(--transition);
}

html[dir="rtl"] .about-badge-item {
    border-left: none;
    border-right: 4px solid var(--gold);
    flex-direction: row-reverse;
}

.about-badge-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(12, 35, 64, 0.08);
}

.about-badge-item i {
    font-size: 1.6rem;
    color: var(--gold);
    flex-shrink: 0;
}

.about-badge-item h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 2px;
}

.about-badge-item p {
    font-size: 0.82rem;
    color: var(--text-secondary);
}

/* ==========================================================================
   SERVICES GRID & FILTERING
   ========================================================================== */

.services-section {
    padding: 100px 0;
    background-color: var(--primary-dark);
    background-image: 
        radial-gradient(circle at 20% 20%, rgba(223, 160, 26, 0.08) 0%, transparent 40%),
        linear-gradient(180deg, #0c2340 0%, #061224 100%);
    color: var(--white);
}

.services-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.filter-btn {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    padding: 10px 24px;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 500;
    font-size: 0.9rem;
    transition: var(--transition);
}

.filter-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.2);
}

.filter-btn.active {
    background-color: var(--gold);
    color: var(--white);
    border-color: var(--gold);
    box-shadow: 0 4px 15px rgba(223, 160, 26, 0.3);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.service-card {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--border-radius);
    padding: 35px 30px;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
    overflow: hidden;
}

.service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    background-color: var(--gold-light);
    transition: var(--transition);
    z-index: 1;
}

.service-card:hover::after {
    height: 100%;
}

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

.service-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(223, 160, 26, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--gold);
    position: relative;
    z-index: 2;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background-color: var(--gold);
    color: var(--white);
}

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

.service-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--white);
}

.service-content p {
    font-size: 0.92rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.65);
}

.service-card.hidden {
    display: none;
    opacity: 0;
}

/* ==========================================================================
   CREDENTIALS / LICENSE DETAILS
   ========================================================================== */

.credentials-section {
    padding: 100px 0;
    background-color: var(--light-bg);
}

.license-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    margin-top: 50px;
}

.license-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 40px;
    box-shadow: var(--box-shadow);
    border: 1px solid var(--border-color);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 30px;
    border-bottom: 2px solid var(--light-bg);
    padding-bottom: 15px;
}

html[dir="rtl"] .card-header {
    flex-direction: row-reverse;
}

.card-header i {
    font-size: 1.6rem;
    color: var(--gold);
}

.card-header h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
}

/* License Table Details */
.license-table {
    display: flex;
    flex-direction: column;
}

.table-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid var(--light-bg);
    font-size: 0.95rem;
}

html[dir="rtl"] .table-row {
    flex-direction: row-reverse;
}

.table-row:last-child {
    border-bottom: none;
}

.table-row .label {
    color: var(--text-secondary);
    font-weight: 500;
}

.table-row .value {
    color: var(--primary);
    font-weight: 600;
    text-align: right;
}

html[dir="rtl"] .table-row .value {
    text-align: left;
}

/* Members Card Details */
.member-detail-box {
    display: flex;
    gap: 20px;
    background-color: var(--light-bg);
    padding: 24px;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary);
    margin-bottom: 30px;
}

html[dir="rtl"] .member-detail-box {
    border-left: none;
    border-right: 4px solid var(--primary);
    flex-direction: row-reverse;
}

.member-icon {
    font-size: 2.2rem;
    color: var(--primary);
    margin-top: 4px;
}

.member-info .role {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--gold);
    display: block;
    margin-bottom: 8px;
}

.member-info .name {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary);
}

.member-info .nationality {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: 10px;
}

.official-stamp-box {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

html[dir="rtl"] .official-stamp-box {
    flex-direction: row-reverse;
}

.stamp-icon {
    font-size: 2.5rem;
    margin-top: 2px;
}

.stamp-text h5 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 6px;
}

.stamp-text p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ==========================================================================
   CALL TO ACTION BANNER
   ========================================================================== */

.cta-banner {
    position: relative;
    padding: 80px 0;
    background-color: var(--primary);
    background-image: 
        radial-gradient(circle at 90% 80%, rgba(223, 160, 26, 0.15) 0%, transparent 40%),
        linear-gradient(135deg, #0f2d52 0%, #061325 100%);
    color: var(--white);
    text-align: center;
    overflow: hidden;
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, transparent 20%, rgba(0,0,0,0.3) 100%);
}

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

.cta-content h2 {
    font-size: 2.4rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 700px;
    margin: 0 auto 40px auto;
    font-weight: 300;
}

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

/* ==========================================================================
   CONTACT SECTION & FORM
   ========================================================================== */

.contact-section {
    padding: 100px 0;
    background-color: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 50px;
    margin-top: 50px;
}

.contact-info-card {
    background-color: var(--primary);
    color: var(--white);
    border-radius: var(--border-radius);
    padding: 45px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-image: radial-gradient(circle at 100% 0, rgba(223, 160, 26, 0.1) 0%, transparent 35%);
}

.contact-info-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.contact-info-header p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.92rem;
}

.info-link-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin: 40px 0;
}

.info-link-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

html[dir="rtl"] .info-link-item {
    flex-direction: row-reverse;
}

.info-link-item i {
    font-size: 1.8rem;
    color: var(--gold);
    margin-top: 3px;
}

.info-link-item span {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    display: block;
    margin-bottom: 4px;
}

.info-link-item a {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--white);
}

.info-link-item a:hover {
    color: var(--gold);
}

.address-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
}

.parcel-info {
    font-size: 0.85rem;
    color: var(--gold);
    margin-top: 6px;
    font-weight: 600;
}

/* UAE Flag Ribbon Graphic */
.uae-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 24px;
}

html[dir="rtl"] .uae-badge {
    flex-direction: row-reverse;
}

.flag-strip {
    display: flex;
    width: 48px;
    height: 24px;
    position: relative;
    border-radius: 2px;
    overflow: hidden;
    flex-shrink: 0;
}

.flag-strip .red {
    background-color: #ff0000;
    width: 25%;
    height: 100%;
}

.flag-strip::after {
    content: '';
    display: block;
    width: 75%;
    height: 100%;
    position: absolute;
    right: 0;
    background: linear-gradient(180deg, #00732f 33.3%, #ffffff 33.3%, #ffffff 66.6%, #000000 66.6%);
}

html[dir="rtl"] .flag-strip::after {
    left: 0;
    right: auto;
}

.uae-badge p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Form Styles */
.contact-form-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 40px;
    box-shadow: var(--box-shadow);
    border: 1px solid var(--border-color);
}

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

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

.form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--primary);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--border-color);
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--text-primary);
    transition: var(--transition);
    background-color: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(223, 160, 26, 0.15);
}

.form-status-message {
    font-size: 0.92rem;
    margin-bottom: 16px;
    display: none;
}

.form-status-message.error {
    color: var(--error);
    display: block;
}

.form-status-message.success {
    color: var(--success);
    display: block;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.main-footer {
    background-color: var(--primary-dark);
    color: rgba(255, 255, 255, 0.65);
    padding: 80px 0 20px 0;
    border-top: 4px solid var(--gold);
}

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

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-logo {
    max-height: 110px; /* Sized larger for readability */
    width: auto;
    object-fit: contain;
    align-self: flex-start;
    background-color: var(--white);
    padding: 6px;
    border-radius: var(--border-radius-sm);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

html[dir="rtl"] .footer-logo {
    align-self: flex-end;
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 12px;
}

html[dir="rtl"] .social-links {
    justify-content: flex-end;
}

.social-links a {
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 0.95rem;
}

.social-links a:hover {
    background-color: var(--gold);
    color: var(--white);
    transform: translateY(-3px);
}

.footer-links h4,
.footer-services h4 {
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 8px;
}

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

html[dir="rtl"] .footer-links h4::after,
html[dir="rtl"] .footer-services h4::after {
    left: auto;
    right: 0;
}

.footer-links ul,
.footer-services ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a,
.footer-services a {
    font-size: 0.9rem;
    display: inline-block;
}

.footer-links a:hover,
.footer-services a:hover {
    color: var(--gold);
    transform: translateX(5px);
}

html[dir="rtl"] .footer-links a:hover,
html[dir="rtl"] .footer-services a:hover {
    transform: translateX(-5px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 30px;
    font-size: 0.82rem;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-author {
    color: var(--gold);
    font-weight: 500;
}

/* ==========================================================================
   FLOATING ELEMENTS (WHATSAPP FLOATER)
   ========================================================================== */

.floating-whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: var(--whatsapp);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition);
}

html[dir="rtl"] .floating-whatsapp-btn {
    right: auto;
    left: 30px;
}

.floating-whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 35px rgba(37, 211, 102, 0.6);
}

.pulse-ring {
    content: '';
    width: 60px;
    height: 60px;
    border: 3px solid var(--whatsapp);
    border-radius: 50%;
    position: absolute;
    top: 0;
    left: 0;
    animation: whatsappPulse 2s infinite;
    opacity: 0;
    pointer-events: none;
}

@keyframes whatsappPulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* ==========================================================================
   MEDIA QUERIES (MOBILE RESPONSIVENESS)
   ========================================================================== */

@media (max-width: 992px) {
    .about-grid,
    .license-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .highlights-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .highlights-section {
        margin-top: -30px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    /* Top Bar Phone display */
    .top-bar-content {
        flex-direction: column;
        gap: 6px;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    html[lang="ar"] .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-cta-buttons {
        flex-direction: column;
    }
    
    .menu-toggle {
        display: block;
    }

    .brand-logo {
        height: 75px; /* Highly visible on mobile, fits within mobile header */
    }
    
    .main-header.scrolled .brand-logo {
        height: 60px; /* Shrinks on scroll on mobile */
    }
    
    /* Responsive Header Menu Drawer */
    .nav-menu {
        position: fixed;
        top: 120px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 120px);
        background-color: var(--white);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        padding: 40px 24px;
        transition: 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
        overflow-y: auto;
    }
    
    html[dir="rtl"] .nav-menu {
        left: auto;
        right: -100%;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    html[dir="rtl"] .nav-menu.active {
        right: 0;
    }
    
    .nav-menu ul {
        flex-direction: column;
        gap: 24px;
        align-items: center;
    }
    
    .nav-link {
        font-size: 1.15rem;
    }
    
    .btn-header-contact {
        display: none; /* Hide in header, show only as floating button/banner on mobile */
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero-section {
        padding: 60px 0 80px 0;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .about-image-card,
    .license-card,
    .contact-info-card,
    .contact-form-card {
        padding: 24px 16px;
    }
}

/* ==========================================================================
   GALLERY SECTION & LIGHTBOX
   ========================================================================== */

.gallery-section {
    padding: 100px 0;
    background-color: var(--white);
}

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

.gallery-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    aspect-ratio: 3/2;
    box-shadow: var(--box-shadow);
    cursor: pointer;
}

.gallery-img-wrapper {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(360deg, rgba(12, 35, 64, 0.9) 0%, rgba(12, 35, 64, 0.4) 50%, rgba(12, 35, 64, 0.1) 100%);
    opacity: 0;
    transition: var(--transition);
    display: flex;
    align-items: flex-end;
    padding: 24px;
    z-index: 2;
}

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

.gallery-info {
    width: 100%;
    color: var(--white);
    transform: translateY(15px);
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    flex-direction: column;
}

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

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

.gallery-cat {
    color: var(--gold);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.gallery-info h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.4;
}

.zoom-icon {
    align-self: flex-start;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: var(--white);
    transition: var(--transition);
}

html[dir="rtl"] .zoom-icon {
    align-self: flex-end;
}

.gallery-item:hover .zoom-icon {
    background-color: var(--gold);
}

/* Lightbox Modal Styles */
.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(6, 18, 36, 0.95);
    backdrop-filter: blur(8px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox-modal.show {
    display: block;
    opacity: 1;
}

.lightbox-close {
    position: absolute;
    top: 24px;
    right: 32px;
    color: var(--white);
    font-size: 2.8rem;
    font-weight: 300;
    cursor: pointer;
    transition: var(--transition);
    z-index: 2005;
}

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

.lightbox-content-wrapper {
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 1000px;
    height: 80vh;
    padding: 0 24px;
}

.lightbox-content {
    max-width: 100%;
    max-height: 90%;
    border-radius: var(--border-radius-sm);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    object-fit: contain;
    border: 3px solid rgba(255, 255, 255, 0.1);
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.lightbox-modal.show .lightbox-content {
    transform: scale(1);
}

.lightbox-caption {
    margin-top: 20px;
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 500;
    text-align: center;
}

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

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

/* ==========================================================================
   VISION & MISSION SECTION
   ========================================================================== */

.about-vision-mission {
    margin-top: 60px;
}

.vision-mission-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.vision-mission-card {
    position: relative;
    background: linear-gradient(145deg, #ffffff, #f8fafc);
    border: 1px solid rgba(12, 35, 64, 0.05);
    border-radius: var(--border-radius);
    padding: 40px;
    box-shadow: var(--box-shadow);
    display: flex;
    gap: 24px;
    align-items: flex-start;
    overflow: hidden;
    transition: var(--transition);
}

html[dir="rtl"] .vision-mission-card {
    flex-direction: row-reverse;
}

.vision-mission-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--box-shadow-hover);
    border-color: rgba(223, 160, 26, 0.3);
}

/* Glow Effect */
.vm-card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(223, 160, 26, 0.04) 0%, transparent 60%);
    pointer-events: none;
    transition: var(--transition);
}

.vision-mission-card:hover .vm-card-glow {
    background: radial-gradient(circle, rgba(223, 160, 26, 0.08) 0%, transparent 60%);
}

.vm-card-icon {
    width: 64px;
    height: 64px;
    background-color: var(--light-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--primary);
    flex-shrink: 0;
    transition: var(--transition);
    border: 1px solid rgba(12, 35, 64, 0.05);
}

.vision-mission-card:hover .vm-card-icon {
    background-color: var(--gold);
    color: var(--white);
    border-color: var(--gold);
    box-shadow: 0 8px 20px rgba(223, 160, 26, 0.2);
}

.vm-card-body {
    flex-grow: 1;
}

.vm-card-body h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
}

.vm-card-body p {
    font-size: 0.98rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Responsiveness for Vision & Mission */
@media (max-width: 768px) {
    .about-vision-mission {
        margin-top: 40px;
    }
    
    .vision-mission-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .vision-mission-card {
        padding: 30px 24px;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    html[dir="rtl"] .vision-mission-card {
        flex-direction: column;
    }
    
    .vm-card-icon {
        margin-bottom: 8px;
    }
}

