/* ==========================================================================
   GSM AL-SHAWAQFEH GROUP - PREMIUM LIGHT MODE CSS DESIGN SYSTEM
   ========================================================================== */

:root {
    /* Harmony Color System (Premium Light & Golden-Orange) */
    --color-bg-base: hsl(0, 0%, 100%);
    --color-bg-alt: hsl(210, 20%, 98%);
    --color-bg-card: hsla(0, 0%, 100%, 0.8);
    --color-bg-card-hover: hsla(0, 0%, 100%, 0.95);
    
    --color-primary-hsl: 36, 100%, 48%;
    --color-primary: hsl(var(--color-primary-hsl));
    --color-primary-light: hsl(36, 100%, 55%);
    --color-primary-dark: hsl(28, 100%, 42%);
    --color-primary-glow: hsla(var(--color-primary-hsl), 0.08);
    
    --color-text-main: hsl(220, 15%, 15%);
    --color-text-muted: hsl(220, 10%, 45%);
    --color-text-dark: hsl(220, 12%, 30%);
    
    --color-border: hsl(210, 14%, 90%);
    --color-border-glow: hsla(var(--color-primary-hsl), 0.3);
    
    --color-success: hsl(145, 75%, 38%);
    --color-danger: hsl(354, 75%, 48%);
    --color-info: hsl(195, 85%, 40%);
    
    /* Layout Variables */
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.2s ease;
    
    --font-en: 'Outfit', sans-serif;
    --font-ar: 'Cairo', sans-serif;
    
    --max-width-container: 1240px;
    --header-height: 90px;
}

/* Base Reset & Smooth Scroll */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--color-bg-base);
    color: var(--color-text-main);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Set Font dynamically based on language */
html[lang="ar"] body,
html[lang="ar"] button,
html[lang="ar"] input,
html[lang="ar"] select,
html[lang="ar"] textarea {
    font-family: var(--font-ar);
}

html[lang="en"] body,
html[lang="en"] button,
html[lang="en"] input,
html[lang="en"] select,
html[lang="en"] textarea {
    font-family: var(--font-en);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--color-bg-alt);
}
::-webkit-scrollbar-thumb {
    background: var(--color-border);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--color-primary);
}

/* Layout Utilities */
.section-container {
    width: 100%;
    max-width: var(--max-width-container);
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 2;
}

/* Clean Glassmorphic Card styling */
.glass-card {
    background: var(--color-bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-md);
    box-shadow: 0 10px 30px rgba(100, 116, 139, 0.06);
    transition: var(--transition-smooth);
}

.glass-card:hover {
    background: var(--color-bg-card-hover);
    border-color: rgba(var(--color-primary-hsl), 0.2);
    box-shadow: 0 20px 40px rgba(100, 116, 139, 0.12);
}

/* Glow Background Orbs (Soft on light backgrounds) */
.hero-bg-glows {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.06;
    mix-blend-mode: multiply;
}

.orb-1 {
    top: -200px;
    right: -100px;
    width: 650px;
    height: 650px;
    background: var(--color-primary);
}

.orb-2 {
    bottom: -150px;
    left: -200px;
    width: 750px;
    height: 750px;
    background: var(--color-primary-dark);
}

/* Typography elements */
h1, h2, h3, h4, h5, h6 {
    font-weight: 800;
    line-height: 1.25;
    color: var(--color-text-main);
}

p {
    color: var(--color-text-muted);
}

.text-gradient {
    background: linear-gradient(135deg, var(--color-text-main) 20%, var(--color-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Buttons System */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: var(--transition-smooth);
    text-decoration: none;
    outline: none;
}

.btn:active {
    transform: scale(0.97);
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-primary) 100%);
    color: var(--color-bg-base);
    box-shadow: 0 4px 15px rgba(var(--color-primary-hsl), 0.2);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    box-shadow: 0 8px 25px rgba(var(--color-primary-hsl), 0.35);
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--color-bg-alt);
    color: var(--color-text-main);
    border: 1px solid var(--color-border);
}

.btn-secondary:hover {
    background: var(--color-bg-base);
    border-color: var(--color-primary);
    color: var(--color-primary);
    transform: translateY(-2px);
}

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

.btn-track-submit {
    border-radius: 0 var(--border-radius-sm) var(--border-radius-sm) 0;
    padding: 14px 24px;
}

html[dir="rtl"] .btn-track-submit {
    border-radius: var(--border-radius-sm) 0 0 var(--border-radius-sm);
}

/* Badges */
.badge {
    display: inline-block;
    padding: 6px 16px;
    background: var(--color-primary-glow);
    border: 1px solid rgba(var(--color-primary-hsl), 0.25);
    color: var(--color-primary-dark);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: 50px;
    margin-bottom: 20px;
}

/* ==========================================================================
   NAVIGATION
   ========================================================================== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 100;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-border);
    transition: var(--transition-smooth);
}

.header-container {
    max-width: var(--max-width-container);
    height: 100%;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.brand-logo {
    height: 75px;
    width: auto;
    border-radius: 6px;
}

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

.brand-title {
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--color-text-main);
    line-height: 1.1;
}

.brand-subtitle {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--color-text-muted);
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-link {
    text-decoration: none;
    color: var(--color-text-dark);
    font-size: 0.95rem;
    font-weight: 600;
    transition: var(--transition-fast);
}

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

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

.lang-btn {
    background: transparent;
    border: 1px solid var(--color-border);
    color: var(--color-text-main);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-fast);
}

.lang-btn:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--color-text-main);
    cursor: pointer;
}

/* Mobile Drawer */
.mobile-menu-drawer {
    position: fixed;
    top: 0;
    bottom: 0;
    right: -300px;
    width: 300px;
    background: var(--color-bg-base);
    z-index: 200;
    padding: 24px;
    box-shadow: -10px 0 30px rgba(100, 116, 139, 0.08);
    display: flex;
    flex-direction: column;
    gap: 32px;
    transition: cubic-bezier(0.16, 1, 0.3, 1) 0.5s;
}

html[dir="rtl"] .mobile-menu-drawer {
    right: auto;
    left: -300px;
    box-shadow: 10px 0 30px rgba(100, 116, 139, 0.08);
}

.mobile-menu-drawer.active {
    right: 0;
}

html[dir="rtl"] .mobile-menu-drawer.active {
    left: 0;
}

.drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand-logo-small {
    height: 40px;
    width: auto;
}

.close-drawer {
    background: transparent;
    border: none;
    color: var(--color-text-main);
    font-size: 2rem;
    cursor: pointer;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mobile-link {
    text-decoration: none;
    color: var(--color-text-dark);
    font-size: 1.1rem;
    font-weight: 600;
}

.mobile-link:hover {
    color: var(--color-primary);
}

.drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.4);
    z-index: 190;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.drawer-overlay.active {
    opacity: 1;
    pointer-events: all;
}

/* ==========================================================================
   SUBPAGE HEADER HERO STYLE
   ========================================================================== */
.subpage-hero {
    padding-top: calc(var(--header-height) + 60px);
    padding-bottom: 50px;
    background: linear-gradient(135deg, var(--color-bg-alt) 0%, #ffffff 100%);
    border-bottom: 1px solid var(--color-border);
    text-align: center;
}

.subpage-title {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.subpage-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-muted);
}

/* ==========================================================================
   HERO / HOME SECTION
   ========================================================================== */
.hero-section {
    position: relative;
    padding-top: calc(var(--header-height) + 70px);
    padding-bottom: 70px;
    min-height: 85vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--color-bg-alt) 0%, #ffffff 100%);
    border-bottom: 1px solid var(--color-border);
    overflow: hidden;
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    align-items: center;
}

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

.hero-desc {
    font-size: 1.1rem;
    margin-bottom: 40px;
    max-width: 600px;
}

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

/* Quick Tracking Widget card */
.tracking-quick-card {
    padding: 32px;
    border-color: var(--color-border);
    background: #ffffff;
}

.tracking-quick-card .card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: var(--color-primary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--color-primary);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(var(--color-primary-hsl), 0.4); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(var(--color-primary-hsl), 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(var(--color-primary-hsl), 0); }
}

.card-subtitle {
    font-size: 0.9rem;
    margin-bottom: 24px;
}

.quick-track-form {
    display: flex;
    margin-bottom: 16px;
}

.form-input {
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    color: var(--color-text-main);
    padding: 14px 20px;
    outline: none;
    font-size: 0.95rem;
    border-radius: var(--border-radius-sm);
    transition: var(--transition-fast);
}

.form-input:focus {
    border-color: var(--color-primary);
    background: #ffffff;
    box-shadow: 0 0 8px rgba(var(--color-primary-hsl), 0.15);
}

.tracking-input {
    flex-grow: 1;
    border-radius: var(--border-radius-sm) 0 0 var(--border-radius-sm);
    border-right-width: 0;
}

html[dir="rtl"] .tracking-input {
    border-radius: 0 var(--border-radius-sm) var(--border-radius-sm) 0;
    border-left-width: 0;
    border-right-width: 1px;
}

.quick-track-note {
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

.sample-code {
    color: var(--color-primary-dark);
    cursor: pointer;
    font-weight: 700;
    text-decoration: underline;
    margin: 0 4px;
}

/* ==========================================================================
   PRE-QUALIFICATION STATS (HOME)
   ========================================================================== */
.credentials-stats-section {
    padding: 60px 0;
    background: #ffffff;
    border-bottom: 1px solid var(--color-border);
}

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

.credential-stat-card {
    padding: 32px;
    text-align: center;
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border);
}

.credential-stat-card:hover {
    border-color: var(--color-primary);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
    color: var(--color-primary-dark);
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-text-dark);
}

.branches-ticker {
    margin-top: 40px;
    padding: 16px 24px;
    background: var(--color-bg-alt);
    border-radius: 50px;
    display: flex;
    gap: 16px;
    align-items: center;
    border: 1px solid var(--color-border);
    overflow: hidden;
}

.ticker-title {
    font-weight: 700;
    color: var(--color-primary-dark);
    white-space: nowrap;
}

.ticker-list {
    color: var(--color-text-dark);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

/* ==========================================================================
   ABOUT US SECTION & COMPANY DETAILS
   ========================================================================== */
.about-content-section {
    padding: 80px 0;
    background: #ffffff;
}

.about-details-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    align-items: flex-start;
}

.about-details-single {
    max-width: 800px;
    margin: 0 auto;
}

.about-para {
    font-size: 1.05rem;
    margin-bottom: 24px;
    text-align: justify;
}

.overview-table-card {
    padding: 32px;
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border);
}

.table-card-title {
    font-size: 1.25rem;
    margin-bottom: 20px;
    color: var(--color-primary-dark);
    border-bottom: 2px solid var(--color-primary);
    padding-bottom: 8px;
    display: inline-block;
}

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

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

.ov-lbl {
    color: var(--color-text-muted);
}

.ov-val {
    color: var(--color-text-main);
    text-align: end;
    max-width: 60%;
}

/* Mission & Vision cards */
.mission-vision-section {
    padding: 80px 0;
    background: var(--color-bg-alt);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.mv-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-bottom: 60px;
}

.mv-card {
    padding: 40px;
    background: #ffffff;
}

.mv-icon {
    color: var(--color-primary);
    margin-bottom: 20px;
}

.mv-title {
    font-size: 1.5rem;
    margin-bottom: 16px;
    color: var(--color-primary-dark);
}

.mv-desc {
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Core Values details */
.values-block {
    margin-top: 60px;
}

.values-block-title {
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 40px;
}

.values-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.value-detail-card {
    padding: 32px;
    background: #ffffff;
    border-top: 4px solid var(--color-primary);
}

.value-detail-card h4 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: var(--color-text-main);
}

.value-detail-card p {
    font-size: 0.9rem;
}

/* ==========================================================================
   WORKFORCE PROFILE & CAPABILITIES
   ========================================================================== */
.workforce-section {
    padding: 80px 0;
    background: #ffffff;
}

.section-header-center {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
}

.section-subtitle {
    color: var(--color-primary-dark);
    font-size: 0.9rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.section-title {
    font-size: 2.2rem;
    margin-bottom: 16px;
}

.workforce-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    margin-bottom: 48px;
}

.wf-stat-card {
    padding: 32px;
    text-align: center;
    background: var(--color-bg-alt);
}

.wf-stat-number {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--color-primary-dark);
    margin-bottom: 8px;
}

.wf-stat-label {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--color-text-dark);
}

.wf-capabilities {
    padding: 48px;
    background: #ffffff;
}

.wf-cap-title {
    font-size: 1.5rem;
    margin-bottom: 24px;
    color: var(--color-primary-dark);
}

.wf-cap-list {
    padding-left: 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

html[dir="rtl"] .wf-cap-list {
    padding-left: 0;
    padding-right: 20px;
}

.wf-cap-list li {
    font-size: 1rem;
    color: var(--color-text-dark);
    font-weight: 600;
}

/* ==========================================================================
   SERVICES GRID & DETAIL PAGES
   ========================================================================== */
.services-detail-section {
    padding: 80px 0;
    background: #ffffff;
}

.services-detail-list {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.service-detail-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.service-detail-row.reverse .service-detail-image-card {
    order: -1;
}

.service-detail-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.service-detail-icon {
    background: var(--color-primary-glow);
    color: var(--color-primary-dark);
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-detail-title {
    font-size: 1.8rem;
    color: var(--color-text-main);
}

.service-detail-desc {
    font-size: 1.05rem;
    color: var(--color-text-muted);
}

.service-detail-image-card {
    position: relative;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(100, 116, 139, 0.08);
    border: 1px solid var(--color-border);
}



.service-img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
    transition: var(--transition-smooth);
}

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

/* ==========================================================================
   BRANCHES TABLE
   ========================================================================== */
.branches-content-section {
    padding: 80px 0;
    background: #ffffff;
}

.branches-intro-card {
    padding: 40px;
    background: var(--color-bg-alt);
    margin-bottom: 40px;
}

.table-responsive {
    width: 100%;
    overflow-x: auto;
    border-radius: var(--border-radius-md);
    border: 1px solid var(--color-border);
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    text-align: start;
    font-size: 0.95rem;
}

.data-table th, .data-table td {
    padding: 16px 24px;
    border-bottom: 1px solid var(--color-border);
}

.data-table th {
    background-color: var(--color-bg-alt);
    font-weight: 700;
    color: var(--color-text-main);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.data-table tbody tr:last-child td {
    border-bottom: none;
}

.data-table tbody tr:nth-child(even) {
    background-color: var(--color-bg-alt);
}

.status-indicator {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-inline-end: 8px;
}

.status-indicator.active {
    background-color: var(--color-success);
    box-shadow: 0 0 6px var(--color-success);
}

/* ==========================================================================
   STAFF DIRECTORY & CONTACT
   ========================================================================== */
.contact-directory-section {
    padding: 80px 0;
    background: #ffffff;
}

.margin-bottom-lg {
    margin-bottom: 40px;
}

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

.staff-card {
    padding: 32px;
    background: var(--color-bg-alt);
    border-inline-start: 4px solid var(--color-primary);
}

.staff-name {
    font-size: 1.25rem;
    margin-bottom: 4px;
}

.staff-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-primary-dark);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 16px;
}

.staff-scope {
    font-size: 0.9rem;
    margin-bottom: 20px;
    min-height: 45px;
}

.staff-contacts {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.staff-link {
    color: var(--color-text-main);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: var(--transition-fast);
}

.staff-link:hover {
    color: var(--color-primary);
}

/* Cost Estimator & Quote Form */
.calculator-section {
    padding: 80px 0;
    background: var(--color-bg-alt);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

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

.calc-inputs-panel {
    padding: 48px;
    background: #ffffff;
}

.calc-intro {
    margin-bottom: 30px;
}

.estimator-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

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

.form-label {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--color-text-main);
}

select.form-input {
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none' stroke='black' stroke-width='2'><polyline points='6 9 12 15 18 9'/></svg>");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 48px;
}

html[dir="rtl"] select.form-input {
    background-position: left 16px center;
    padding-right: 20px;
    padding-left: 48px;
}

.result-preview-card {
    padding: 48px;
    text-align: center;
    background: #ffffff;
    border-color: var(--color-border);
}

.preview-title {
    font-size: 1.3rem;
    margin-bottom: 32px;
}

.cost-output-container {
    display: inline-flex;
    align-items: baseline;
    justify-content: center;
    margin-bottom: 32px;
}

.cost-currency {
    font-size: 2rem;
    color: var(--color-primary-dark);
    font-weight: 700;
}

.cost-value {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1;
    color: var(--color-text-main);
    letter-spacing: -2px;
}

.cost-label {
    display: block;
    font-size: 0.85rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.calc-breakdown {
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-sm);
    padding: 16px 24px;
    margin-bottom: 24px;
}

.breakdown-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--color-border);
}

.breakdown-item:last-child {
    border-bottom: none;
}

.breakdown-lbl {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.breakdown-val {
    font-weight: 700;
}

.calc-disclaimer {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    margin-bottom: 32px;
}

/* Quote Form & Contact Us sections */
.quote-form-section {
    padding: 80px 0;
    background: #ffffff;
}

.quote-form-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 60px;
    background: var(--color-bg-alt);
}

.form-header {
    text-align: center;
    margin-bottom: 40px;
}

.form-title {
    font-size: 2rem;
    margin-bottom: 12px;
}

.quote-main-form .form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 32px;
}

.form-fullwidth {
    grid-column: span 2;
}

.form-textarea {
    resize: vertical;
    border-radius: var(--border-radius-sm);
}

.required {
    color: var(--color-danger);
}

/* General Contact us & Map section */
.contact-section {
    padding: 80px 0;
    background: #ffffff;
    border-top: 1px solid var(--color-border);
}

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

.contact-info-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-intro {
    font-size: 1.05rem;
    margin-bottom: 40px;
}

.contact-detail-items {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

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

.detail-icon {
    color: var(--color-primary-dark);
    background: var(--color-primary-glow);
    padding: 12px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.detail-text h4 {
    font-size: 1.05rem;
    margin-bottom: 4px;
}

.detail-text p {
    font-size: 0.95rem;
}

.hover-link {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

.hover-link:hover {
    color: var(--color-primary);
}

.contact-form-card {
    padding: 48px;
    background: var(--color-bg-alt);
}

.form-card-title {
    font-size: 1.5rem;
    margin-bottom: 32px;
    text-align: center;
}

.contact-main-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* ==========================================================================
   TRACKING & TIMELINE WIDGET
   ========================================================================== */
.tracking-section {
    padding: 80px 0;
    background: var(--color-bg-alt);
    border-bottom: 1px solid var(--color-border);
}

.tracking-wrapper {
    max-width: 800px;
    margin: 0 auto;
    padding: 48px;
    background: #ffffff;
}

.result-header {
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-sm);
    padding: 24px;
    margin-bottom: 40px;
}

.tracking-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 16px;
    margin-bottom: 20px;
}

.meta-label {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.meta-value {
    font-size: 1.1rem;
    margin-left: 6px;
}

html[dir="rtl"] .meta-value {
    margin-left: 0;
    margin-right: 6px;
}

.badge-status {
    background-color: var(--color-primary-glow);
    color: var(--color-primary-dark);
    border-color: rgba(var(--color-primary-hsl), 0.3);
    margin-bottom: 0;
}

.route-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.route-point {
    display: flex;
    flex-direction: column;
}

.city-name {
    font-size: 1.2rem;
    font-weight: 700;
}

.role-label {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
}

.route-arrow {
    flex-grow: 1;
    display: flex;
    align-items: center;
    padding: 0 24px;
}

.arrow-line {
    flex-grow: 1;
    height: 1px;
    border-bottom: 1px dashed var(--color-border);
}

.estimated-arrival {
    font-size: 0.95rem;
    color: var(--color-text-muted);
}

/* Timeline components */
.timeline-container {
    padding-top: 10px;
}

.timeline-title {
    font-size: 1.2rem;
    margin-bottom: 24px;
}

.timeline {
    position: relative;
    padding-left: 32px;
}

html[dir="rtl"] .timeline {
    padding-left: 0;
    padding-right: 32px;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 5px;
    bottom: 5px;
    left: 4px;
    width: 2px;
    background: var(--color-border);
}

html[dir="rtl"] .timeline::before {
    left: auto;
    right: 4px;
}

.timeline-step {
    position: relative;
    padding-bottom: 32px;
}

.timeline-step:last-child {
    padding-bottom: 0;
}

.step-marker {
    position: absolute;
    top: 5px;
    left: -32px;
    width: 10px;
    height: 10px;
    background: #ffffff;
    border: 2px solid var(--color-border);
    border-radius: 50%;
    z-index: 2;
    transition: var(--transition-fast);
}

html[dir="rtl"] .step-marker {
    left: auto;
    right: -32px;
}

.timeline-step.completed .step-marker {
    background: var(--color-success);
    border-color: var(--color-success);
    box-shadow: 0 0 8px var(--color-success);
}

.timeline-step.active .step-marker {
    background: var(--color-primary);
    border-color: var(--color-primary);
    box-shadow: 0 0 10px var(--color-primary);
    transform: scale(1.3);
}

.step-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.step-time {
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

.step-title {
    font-size: 1.05rem;
    font-weight: 700;
}

.step-desc {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

/* Loader Styles */
.track-loader {
    text-align: center;
    padding: 40px 0;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--color-border);
    border-top-color: var(--color-primary);
    border-radius: 50%;
    margin: 0 auto 16px;
    animation: spin 1s infinite linear;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Alert States */
.alert {
    padding: 16px 20px;
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
}

.alert-danger {
    background: rgba(235, 87, 87, 0.08);
    border: 1px solid rgba(235, 87, 87, 0.2);
    color: var(--color-danger);
}

.alert-success {
    background: rgba(46, 204, 113, 0.08);
    border: 1px solid rgba(46, 204, 113, 0.2);
    color: var(--color-success);
    margin-bottom: 20px;
}

.alert-info {
    background: var(--color-primary-glow);
    border: 1px solid rgba(var(--color-primary-hsl), 0.2);
    color: var(--color-primary-dark);
    margin-bottom: 20px;
}

/* Profile solvency styles */
.stability-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.stab-card {
    padding: 32px;
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border);
}

.stab-card h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--color-primary-dark);
}

.stab-card p {
    font-size: 0.9rem;
}

.audit-note-card {
    padding: 40px;
    background: #ffffff;
    border: 1px dashed var(--color-primary);
}

.audit-note-card h4 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--color-primary-dark);
}

.audit-note-card p {
    font-size: 0.95rem;
}

/* Projects Timeline styles */
.projects-timeline {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-top: 40px;
}

.project-item-card {
    padding: 40px;
    background: var(--color-bg-alt);
    position: relative;
    overflow: hidden;
}

.project-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--color-primary-glow);
    color: var(--color-primary-dark);
    padding: 8px 20px;
    font-size: 0.8rem;
    font-weight: 700;
    border-bottom-left-radius: var(--border-radius-sm);
    text-transform: uppercase;
}

html[dir="rtl"] .project-badge {
    right: auto;
    left: 0;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: var(--border-radius-sm);
}

.project-item-title {
    font-size: 1.35rem;
    margin-bottom: 16px;
    max-width: 80%;
    color: var(--color-text-main);
}

.project-item-desc {
    font-size: 1.05rem;
    line-height: 1.7;
}

/* ==========================================================================
   FOOTER (LIGHT/DARK HYBRID OR PREMIUM PURE LIGHT)
   ========================================================================== */
.main-footer {
    padding-top: 80px;
    background: var(--color-bg-alt);
    border-top: 1px solid var(--color-border);
}

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

.footer-logo {
    height: 85px;
    width: auto;
    margin-bottom: 20px;
    border-radius: 4px;
}

.footer-title {
    font-size: 1.1rem;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.footer-desc {
    font-size: 0.9rem;
    max-width: 380px;
}

.footer-heading {
    font-size: 1.05rem;
    margin-bottom: 24px;
    position: relative;
    display: inline-block;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--color-primary);
}

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

.links-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.links-list a, .links-list span {
    text-decoration: none;
    color: var(--color-text-muted);
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.links-list a:hover {
    color: var(--color-primary);
    padding-left: 4px;
}

html[dir="rtl"] .links-list a:hover {
    padding-left: 0;
    padding-right: 4px;
}

.footer-bottom {
    border-top: 1px solid var(--color-border);
    padding: 30px 0;
}

.footer-bottom-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */

@media (max-width: 1024px) {
    .hero-title {
        font-size: 2.8rem;
    }
    .hero-grid, .about-details-grid, .calculator-grid, .contact-grid, .service-detail-row {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .service-detail-row.reverse .service-detail-image-card {
        order: 0; /* Reset grid reverse on tablet */
    }
    .service-img {
        height: 280px;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }
    .desktop-nav, .btn-cta {
        display: none;
    }
    .mobile-menu-toggle {
        display: block;
    }
    .hero-title {
        font-size: 2.2rem;
    }
    .hero-desc {
        font-size: 1rem;
    }
    .subpage-title {
        font-size: 2.2rem;
    }
    .section-title {
        font-size: 1.8rem;
    }
    .mv-grid {
        grid-template-columns: 1fr;
    }
    .tracking-wrapper, .calculator-wrapper, .quote-form-container, .contact-form-card, .calc-inputs-panel, .result-preview-card, .project-item-card {
        padding: 24px;
    }
    .quote-main-form .form-grid {
        grid-template-columns: 1fr;
    }
    .form-fullwidth {
        grid-column: span 1;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .footer-bottom-flex {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
    .track-search-form {
        flex-direction: column;
    }
    .btn-track-submit {
        border-radius: var(--border-radius-sm);
    }
    .tracking-input {
        border-radius: var(--border-radius-sm);
        border-right-width: 1px;
    }
    html[dir="rtl"] .tracking-input {
        border-radius: var(--border-radius-sm);
        border-left-width: 1px;
    }
    .form-row-2 {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   INTERACTIVE REVEALS & DIGITAL MAP LAYOUTS
   ========================================================================== */
.branches-header-grid, .projects-header-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 32px;
    margin-bottom: 40px;
    align-items: center;
}

.branches-map-visual, .projects-banner-visual, .about-visual, .contact-hero-visual {
    transition: var(--transition-smooth);
}

.branches-map-visual:hover, .projects-banner-visual:hover, .about-visual:hover, .contact-hero-visual:hover {
    transform: translateY(-5px) scale(1.02);
}

/* GSAP Reveal States */
.reveal-el {
    opacity: 0;
    transform: translateY(30px);
}

/* Dynamic Dot Grid Background on Light Mode */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: radial-gradient(hsl(210, 14%, 90%) 1.2px, transparent 1.2px);
    background-size: 24px 24px;
    pointer-events: none;
    z-index: -1;
    opacity: 0.7;
}

/* Floating animation for image frames */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.branches-map-img, .projects-banner-img, .about-img, .contact-hero-img {
    animation: float 6s ease-in-out infinite;
}

.projects-banner-img {
    animation-delay: 1.5s;
}

.about-img {
    animation-delay: 0.5s;
}

.contact-hero-img {
    animation-delay: 2s;
}

@media (max-width: 1024px) {
    .branches-header-grid, .projects-header-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   GSM WORD GRADIENT STYLING
   ========================================================================== */
.gsm-gradient {
    background: linear-gradient(135deg, hsl(36, 100%, 48%) 0%, hsl(220, 12%, 30%) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    font-weight: 800;
}

/* ==========================================================================
   FUTURISTIC HUD LOGO SHOWCASE (UPSCALED)
   ========================================================================== */
/* ==========================================================================
   PREMIUM CORPORATE LOGO SHOWCASE (ELEGANT & ENLARGED)
   ========================================================================== */
.logo-showcase-container {
    position: relative;
    width: 320px; /* Large professional showcase width */
    height: 320px; /* Large professional showcase height */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.logo-glow-back {
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, hsla(36, 100%, 48%, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    opacity: 0.6;
    transition: var(--transition-smooth);
    pointer-events: none;
    z-index: 1;
}

.logo-showcase-frame {
    position: relative;
    width: 265px; /* Upscaled logo frame size */
    height: 265px; /* Upscaled logo frame size */
    border-radius: 50%;
    padding: 6px;
    background: var(--color-bg-base);
    border: 2px solid var(--color-border);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.logo-showcase-frame::after {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.6),
        transparent
    );
    transform: skewX(-20deg);
    transition: 0.75s ease-in-out;
    pointer-events: none;
}

.logo-showcase-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    transition: var(--transition-smooth);
}

/* Hover Interaction: Pure, Elegant CSS Transitions */
.logo-showcase-container:hover {
    transform: translateY(-8px);
}

.logo-showcase-container:hover .logo-glow-back {
    background: radial-gradient(circle, hsla(36, 100%, 48%, 0.22) 0%, transparent 75%);
    transform: scale(1.15);
    opacity: 0.95;
}

.logo-showcase-container:hover .logo-showcase-frame {
    border-color: hsl(36, 100%, 48%);
    box-shadow: 0 20px 40px hsla(36, 100%, 48%, 0.12), 0 8px 20px rgba(0, 0, 0, 0.04);
}

.logo-showcase-container:hover .logo-showcase-frame::after {
    left: 150%;
}

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

/* ==========================================================================
   CENTERED HERO LAYOUT
   ========================================================================== */
.hero-centered-layout {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px 0 60px 0; /* Raised up logo to eliminate double padding */
}

.hero-centered-layout .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 800px;
    margin-bottom: 48px;
}

.hero-centered-layout .hero-title {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero-centered-layout .hero-desc {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

.hero-centered-layout .hero-ctas {
    justify-content: center;
    gap: 16px;
    margin-top: 32px;
}

.hero-centered-layout .hero-visual {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

/* Hero Split Grid (Side-by-Side Layout) */
.hero-split-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    width: 100%;
    text-align: left;
    align-items: center;
    margin-top: 24px;
    position: relative;
    z-index: 5;
}

html[dir="rtl"] .hero-split-grid {
    text-align: right;
}

.hero-split-grid .hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    max-width: 100%;
    margin-bottom: 0;
}

html[dir="rtl"] .hero-split-grid .hero-content {
    align-items: flex-start;
    text-align: right;
}

.hero-split-grid .hero-title {
    font-size: 3rem;
    margin-bottom: 20px;
    text-align: left;
    line-height: 1.25;
}

html[dir="rtl"] .hero-split-grid .hero-title {
    text-align: right;
}

.hero-split-grid .hero-desc {
    font-size: 1.1rem;
    max-width: 100%;
    margin: 0 0 32px 0;
    text-align: left;
}

html[dir="rtl"] .hero-split-grid .hero-desc {
    text-align: right;
}

.hero-split-grid .hero-ctas {
    display: flex;
    justify-content: flex-start;
    gap: 16px;
    margin-top: 0;
}

.hero-split-grid .hero-visual {
    width: 100%;
    max-width: 100%;
    margin: 0;
}

.hero-split-grid .app-download-card {
    text-align: left;
}

html[dir="rtl"] .hero-split-grid .app-download-card {
    text-align: right;
}

.hero-split-grid .app-download-card .card-header {
    justify-content: flex-start;
}

@media (max-width: 992px) {
    .hero-split-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    html[dir="rtl"] .hero-split-grid {
        text-align: center;
    }
    .hero-split-grid .hero-content {
        align-items: center;
        text-align: center;
    }
    html[dir="rtl"] .hero-split-grid .hero-content {
        align-items: center;
        text-align: center;
    }
    .hero-split-grid .hero-title {
        text-align: center;
    }
    html[dir="rtl"] .hero-split-grid .hero-title {
        text-align: center;
    }
    .hero-split-grid .hero-desc {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }
    html[dir="rtl"] .hero-split-grid .hero-desc {
        text-align: center;
    }
    .hero-split-grid .hero-ctas {
        justify-content: center;
    }
    .hero-split-grid .app-download-card {
        text-align: center;
    }
    html[dir="rtl"] .hero-split-grid .app-download-card {
        text-align: center;
    }
    .hero-split-grid .app-download-card .card-header {
        justify-content: center;
    }
}

/* Floating Orbiting Geometric Pyramid */
.floating-pyramid {
    position: absolute;
    pointer-events: none;
    z-index: 6; /* Starts in front of the logo */
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.08));
    animation: orbit-ellipse 14s linear infinite; /* Smooth continuous linear speed */
    transition: filter 0.3s ease;
}

/* Perfect Ellipse Orbit Math (Wider Path) */
@keyframes orbit-ellipse {
    0% {
        transform: translate(320px, 0) rotate(0deg) scale(1);
        z-index: 6; /* In front */
    }
    12.5% {
        transform: translate(226px, 57px) rotate(45deg) scale(1.08);
        z-index: 6; /* In front, bottom right */
    }
    25% {
        transform: translate(0, 80px) rotate(90deg) scale(1.15);
        z-index: 6; /* In front, bottom */
    }
    37.5% {
        transform: translate(-226px, 57px) rotate(135deg) scale(1.08);
        z-index: 6; /* In front, bottom left */
    }
    49% {
        z-index: 6;
    }
    50% {
        transform: translate(-320px, 0) rotate(180deg) scale(1);
        z-index: 2; /* Switch behind the logo */
    }
    62.5% {
        transform: translate(-226px, -57px) rotate(225deg) scale(0.92);
        z-index: 2; /* Behind, top left */
    }
    75% {
        transform: translate(0, -80px) rotate(270deg) scale(0.85);
        z-index: 2; /* Behind, top */
    }
    87.5% {
        transform: translate(226px, -57px) rotate(315deg) scale(0.92);
        z-index: 2; /* Behind, top right */
    }
    99% {
        z-index: 2;
    }
    100% {
        transform: translate(320px, 0) rotate(360deg) scale(1);
        z-index: 6; /* Loop back to in front */
    }
}

/* Hovering on logo pauses the orbit slightly and lights up the pyramid */
.logo-showcase-container:hover .orbiting-pyramid {
    animation-play-state: paused;
    filter: drop-shadow(0 15px 25px hsla(36, 100%, 48%, 0.22));
}

@media (max-width: 768px) {
    .hero-centered-layout {
        padding-top: 15px; /* Raised up on mobile */
    }
    .hero-centered-layout .hero-title {
        font-size: 2rem;
    }
    /* Hide orbiting pyramid on mobile to prevent layout overflow */
    .floating-pyramid {
        display: none;
    }
}

/* ==========================================================================
   INTERACTIVE BRANCHES EXPLORER
   ========================================================================== */
.branches-dashboard-container {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 32px;
    margin-top: 48px;
    align-items: start;
}

.branches-list-pane {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 600px;
    overflow-y: auto;
    padding-right: 8px;
}

/* Custom Scrollbar for list pane */
.branches-list-pane::-webkit-scrollbar {
    width: 6px;
}
.branches-list-pane::-webkit-scrollbar-track {
    background: transparent;
}
.branches-list-pane::-webkit-scrollbar-thumb {
    background: var(--color-border);
    border-radius: 3px;
}

.branch-selector-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: var(--color-bg-base);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    transition: var(--transition-fast);
    position: relative;
    overflow: hidden;
}

.branch-selector-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: transparent;
    transition: var(--transition-fast);
}

html[dir="rtl"] .branch-selector-card::before {
    left: auto;
    right: 0;
}

.branch-selector-card:hover {
    border-color: rgba(var(--color-primary-hsl), 0.3);
    background: var(--color-bg-alt);
    transform: translateY(-2px);
}

.branch-selector-card.active {
    border-color: var(--color-primary);
    background: var(--color-primary-glow);
    box-shadow: 0 4px 20px rgba(var(--color-primary-hsl), 0.05);
}

.branch-selector-card.active::before {
    background: var(--color-primary);
}

.selector-card-icon {
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg-alt);
    border-radius: 50%;
    border: 1px solid var(--color-border);
    transition: var(--transition-fast);
}

.branch-selector-card.active .selector-card-icon {
    background: var(--color-bg-base);
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.selector-card-info {
    flex-grow: 1;
}

.selector-card-cat {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--color-text-muted);
    letter-spacing: 0.5px;
    display: block;
    margin-bottom: 2px;
}

.selector-card-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--color-text-main);
    transition: var(--transition-fast);
}

.branch-selector-card.active .selector-card-title {
    color: var(--color-primary-dark);
}

.pulse-dot-green {
    width: 8px;
    height: 8px;
    background-color: var(--color-success);
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 8px var(--color-success);
    animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

/* Showcase Panel */
.branch-showcase-panel {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    min-height: 600px;
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

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

.showcase-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.branch-showcase-panel:hover .showcase-img {
    transform: scale(1.03);
}

.showcase-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 40%, rgba(26, 29, 32, 0.6) 100%);
}

.showcase-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--color-primary);
    color: var(--color-bg-base);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    z-index: 2;
}

html[dir="rtl"] .showcase-badge {
    right: auto;
    left: 20px;
}

.showcase-content {
    padding: 32px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.showcase-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 16px;
    margin-bottom: 20px;
}

.showcase-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--color-text-main);
}

.showcase-status-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--color-success);
    text-transform: uppercase;
}

.showcase-desc {
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--color-text-dark);
    margin-bottom: 28px;
}

.showcase-specs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: auto;
}

.spec-detail-card {
    display: flex;
    gap: 16px;
    padding: 16px;
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-sm);
}

.spec-icon {
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.spec-info {
    display: flex;
    flex-direction: column;
}

.spec-info label {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--color-text-muted);
    text-transform: uppercase;
    margin-bottom: 4px;
}

.spec-info span {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--color-text-main);
}

@media (max-width: 992px) {
    .branches-dashboard-container {
        grid-template-columns: 1fr;
    }
    .branches-list-pane {
        max-height: 350px;
    }
}

/* ==========================================================================
   WHY CHOOSE US SECTION (UNMATCHED STRENGTHS)
   ========================================================================== */
.why-gsm-section {
    padding: 80px 0;
    background: linear-gradient(to bottom, #ffffff 0%, var(--color-bg-alt) 100%);
    border-bottom: 1px solid var(--color-border);
    position: relative;
    overflow: hidden;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 50px;
    position: relative;
    z-index: 2;
}

.why-card {
    position: relative;
    padding: 40px 32px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    box-shadow: 0 10px 30px rgba(100, 116, 139, 0.04);
    transition: var(--transition-smooth);
}

.why-card:hover {
    transform: translateY(-8px);
    background: var(--color-bg-card-hover);
    border-color: rgba(var(--color-primary-hsl), 0.35);
    box-shadow: 0 20px 45px rgba(var(--color-primary-hsl), 0.12);
}

/* Glowing Border Slide Effect */
.why-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-primary-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

html[dir="rtl"] .why-card::after {
    transform-origin: right;
}

.why-card:hover::after {
    transform: scaleX(1);
}

/* Large Number Background Overlay */
.why-card-number {
    position: absolute;
    top: 16px;
    right: 24px;
    font-size: 5.5rem;
    font-weight: 900;
    line-height: 1;
    color: hsla(var(--color-primary-hsl), 0.035);
    font-family: var(--font-en); /* Keep numbers clean Outfit */
    user-select: none;
    pointer-events: none;
    transition: color 0.4s ease, transform 0.4s ease;
}

html[dir="rtl"] .why-card-number {
    right: auto;
    left: 24px;
}

.why-card:hover .why-card-number {
    color: hsla(var(--color-primary-hsl), 0.08);
    transform: translateY(-4px) scale(1.05);
}

/* Icon Badge */
.why-icon-badge {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    color: var(--color-primary);
    transition: var(--transition-smooth);
}

.why-card:hover .why-icon-badge {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #ffffff;
    transform: scale(1.1) rotate(6deg);
    box-shadow: 0 8px 25px rgba(var(--color-primary-hsl), 0.25);
}

.why-icon-badge svg {
    width: 28px;
    height: 28px;
    transition: transform 0.4s ease;
}

.why-card:hover .why-icon-badge svg {
    transform: scale(1.05);
}

/* Text Content Area */
.why-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.why-content h4 {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--color-text-main);
    line-height: 1.3;
    transition: color 0.3s ease;
}

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

.why-card:hover .why-content h4 {
    color: var(--color-primary-dark);
}

.why-content p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--color-text-muted);
}

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

/* Responsive adjust */
@media (max-width: 1024px) {
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .why-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 36px;
    }
    .why-gsm-section {
        padding: 60px 0;
    }
    .why-card {
        padding: 32px 24px;
    }
}

/* ==========================================================================
   CHAIRMAN'S MESSAGE SECTION
   ========================================================================== */
.chairman-message-section {
    padding: 80px 0;
    background: #ffffff;
    border-bottom: 1px solid var(--color-border);
}

.chairman-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.chairman-visual {
    width: 100%;
}

.chairman-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.chairman-quote {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.quote-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--color-text-dark);
    font-style: italic;
    position: relative;
}

html[lang="ar"] .quote-text {
    font-style: normal;
    font-family: var(--font-ar);
    line-height: 1.9;
}

.chairman-sign {
    border-top: 1px solid var(--color-border);
    padding-top: 20px;
    margin-top: 10px;
}

.chairman-name {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--color-primary-dark);
    margin-bottom: 4px;
}

.chairman-role {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-text-muted);
}

@media (max-width: 992px) {
    .chairman-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    .chairman-visual .image-frame {
        max-width: 300px;
    }
    .chairman-sign {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

/* ==========================================================================
   CAREERS PAGE STYLING
   ========================================================================== */
.careers-content-section {
    padding: 80px 0;
    position: relative;
}

.careers-details-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: flex-start;
    margin-bottom: 80px;
}

.careers-main-text .section-title {
    font-size: 2.2rem;
    margin-bottom: 24px;
}

.careers-para {
    font-size: 1.05rem;
    color: var(--color-text-muted);
    margin-bottom: 20px;
    line-height: 1.7;
}

/* Why Join Us Cards */
.careers-why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.careers-why-card {
    padding: 32px;
    text-align: center;
}

.careers-why-card .why-icon-wrapper {
    width: 64px;
    height: 64px;
    background: var(--color-primary-glow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
    color: var(--color-primary);
    transition: var(--transition-smooth);
}

.careers-why-card:hover .why-icon-wrapper {
    background: var(--color-primary);
    color: var(--color-bg-base);
    transform: scale(1.1);
}

.careers-why-card h4 {
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.careers-why-card p {
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Job Openings */
.careers-openings-section {
    background-color: var(--color-bg-alt);
    padding: 80px 0;
}

.careers-openings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 48px;
}

.career-card {
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.career-card-header {
    margin-bottom: 24px;
}

.career-card-icon {
    width: 48px;
    height: 48px;
    color: var(--color-primary);
    background: var(--color-primary-glow);
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.career-card h3 {
    font-size: 1.35rem;
    margin-bottom: 12px;
}

.career-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.career-card-meta {
    display: flex;
    gap: 16px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-primary-dark);
}

.career-card-meta span {
    background: var(--color-primary-glow);
    padding: 4px 12px;
    border-radius: 20px;
}

.career-apply-btn {
    margin-top: 24px;
    width: 100%;
}

/* Application Form Section */
.careers-form-section {
    padding: 80px 0;
    position: relative;
}

.careers-form-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 48px;
}

.careers-form-container .form-header {
    text-align: center;
    margin-bottom: 40px;
}

.careers-form-container .form-title {
    font-size: 2rem;
    margin-bottom: 12px;
}

.careers-form-container .form-desc {
    max-width: 600px;
    margin: 0 auto;
}

/* Responsive Overrides */
@media (max-width: 992px) {
    .careers-details-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 576px) {
    .careers-form-container {
        padding: 24px;
    }
}

/* ==========================================================================
   FOOTER SOCIAL MEDIA LINKS
   ========================================================================== */
.footer-socials {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.social-icon-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    transition: var(--transition-smooth);
}

.social-icon-link.social-facebook {
    background: #1877F2;
    border: 1px solid #1877F2;
}

.social-icon-link.social-instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    border: 1px solid transparent;
}

.social-icon-link.social-linkedin {
    background: #0A66C2;
    border: 1px solid #0A66C2;
}

.social-icon-link.social-facebook:hover {
    background: #1565c0;
    border-color: #1565c0;
    box-shadow: 0 4px 12px rgba(24, 119, 242, 0.35);
    transform: translateY(-3px);
    color: #ffffff;
}

.social-icon-link.social-instagram:hover {
    background: linear-gradient(45deg, #e0852a 0%, #d55c32 25%, #ca223a 50%, #bb1e5d 75%, #ab147d 100%);
    box-shadow: 0 4px 12px rgba(228, 64, 95, 0.35);
    transform: translateY(-3px);
    color: #ffffff;
}

.social-icon-link.social-linkedin:hover {
    background: #09529d;
    border-color: #09529d;
    box-shadow: 0 4px 12px rgba(10, 102, 194, 0.35);
    transform: translateY(-3px);
    color: #ffffff;
}


