/* ==========================================================================
   iPC Website - Premium Design System (Vanilla CSS)
   ========================================================================== */

/* Design Tokens & Theme Variables */
:root {
    --primary-blue: #012DCF;
    --primary-blue-rgb: 1, 45, 207;
    --primary-pink: #F30063;
    --primary-pink-rgb: 243, 0, 99;
    
    --dark-bg: #012DCF;
    --dark-card: rgba(255, 255, 255, 0.05);
    --dark-card-border: rgba(255, 255, 255, 0.15);
    --dark-text: #ffffff;
    --dark-muted: rgba(255, 255, 255, 0.75);
    
    --light-bg: #ffffff;
    --light-section: #ffffff;
    --light-card: rgba(1, 45, 207, 0.04);
    --light-card-border: rgba(1, 45, 207, 0.12);
    --light-text: #012DCF;
    --light-muted: rgba(1, 45, 207, 0.75);
    
    --glass-bg: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.15);
    --glass-blur: 15px;

    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.25s ease;
    
    --font-ar: 'Cairo', sans-serif;
    --font-en: 'Outfit', sans-serif;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

/* Dynamic Directional Styling */
html[dir="rtl"] {
    font-family: var(--font-ar);
}

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

body {
    background-color: var(--light-bg);
    color: var(--light-text);
    line-height: 1.6;
    overflow-x: hidden;
    transition: var(--transition-smooth);
}

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

ul {
    list-style: none;
}

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

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

.sec-padding {
    padding: 6rem 0;
}

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

/* Premium Typography Helper */
.highlight-text {
    background: linear-gradient(135deg, var(--primary-pink), #ff4d8d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

.white-text {
    color: #ffffff !important;
}

/* Dark Background Override */
.dark-bg {
    background-color: var(--dark-bg) !important;
    color: var(--dark-text) !important;
}

/* Technical Blueprint Grid Background */
.blueprint-bg {
    position: relative;
    background: radial-gradient(circle at 50% 50%, #0d38cc 0%, #061e80 100%) !important;
    color: #ffffff !important;
    overflow: hidden;
}

.blueprint-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
    z-index: 1;
}

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

.blueprint-bg .header-title {
    color: #ffffff !important;
}

.blueprint-bg .header-subtitle {
    color: var(--primary-pink) !important;
}

.blueprint-bg .project-info h3 {
    color: #ffffff !important;
}

.blueprint-bg .project-info p {
    color: rgba(255, 255, 255, 0.8) !important;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-pink), #ff1a75);
    color: #ffffff !important;
    box-shadow: 0 10px 20px rgba(243, 0, 99, 0.2);
}

.btn-primary:hover {
    transform: translateY(-3px);
    background: var(--primary-blue);
    box-shadow: 0 15px 25px rgba(1, 45, 207, 0.35);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--primary-pink), #ff1a75);
    color: #ffffff !important;
    box-shadow: 0 10px 20px rgba(243, 0, 99, 0.2);
    border: none;
}

.btn-secondary:hover {
    background: var(--primary-blue);
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(1, 45, 207, 0.35);
}

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

/* Section Headers */
.section-header {
    margin-bottom: 4rem;
    position: relative;
}

.header-subtitle {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary-pink);
    margin-bottom: 0.75rem;
}

.header-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--light-text);
    letter-spacing: -0.5px;
}

.header-underline {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--primary-pink));
    margin: 1.25rem auto 0;
    border-radius: 2px;
}

/* Header / Navbar Styling */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition-smooth);
}

.main-header.scrolled {
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    padding: 0.5rem 0;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 120px;
    transition: var(--transition-smooth);
}

.main-header.scrolled .header-container {
    height: 90px;
}

/* Logo Design */
.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.brand-logo-img {
    height: 96px;
    width: auto;
    object-fit: contain;
    transition: var(--transition-smooth);
}

.brand-logo-img.footer-logo {
    height: 96px;
}

.main-header.scrolled .brand-logo-img {
    height: 68px;
}

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

.brand-name {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-blue);
    line-height: 1.1;
}

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

/* Navbar Menu */
.nav-menu ul {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-menu a {
    font-size: 0.85rem;
    font-weight: 700;
    color: #ffffff !important;
    background: var(--primary-pink);
    padding: 0.5rem 1rem;
    border-radius: 30px;
    display: inline-block;
    box-shadow: 0 4px 12px rgba(243, 0, 99, 0.2);
    transition: var(--transition-smooth);
    white-space: nowrap;
}

.nav-menu a:hover,
.nav-menu a.active {
    background: var(--primary-blue);
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(1, 45, 207, 0.35);
}

.nav-cta {
    background: linear-gradient(135deg, var(--primary-pink), #ff1a75) !important;
    color: #ffffff !important;
    padding: 0.5rem 1rem !important;
    border-radius: 30px;
    box-shadow: 0 4px 12px rgba(243, 0, 99, 0.35);
}

.nav-cta::after {
    display: none !important;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(230, 26, 96, 0.35);
}

/* Lang Toggle Button */
.lang-switch-btn {
    background: rgba(10, 54, 157, 0.06);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.8rem;
    color: var(--primary-blue);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition-fast);
}

.lang-switch-btn:hover {
    background: var(--primary-blue);
    color: #ffffff;
}

/* Mobile Toggle Hamburger */
.nav-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle:focus-visible,
.lang-switch-btn:focus-visible,
.service-tab-btn:focus-visible,
.gallery-card:focus-visible,
.lightbox-close:focus-visible {
    outline: 3px solid var(--primary-pink);
    outline-offset: 4px;
}

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--light-text);
    position: relative;
    transition: var(--transition-fast);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background-color: var(--light-text);
    left: 0;
    transition: var(--transition-fast);
}

.hamburger::before { top: -6px; }
.hamburger::after { bottom: -6px; }

/* Hamburger Open States */
.nav-toggle.open .hamburger {
    background-color: transparent;
}
.nav-toggle.open .hamburger::before {
    transform: rotate(45deg);
    top: 0;
}
.nav-toggle.open .hamburger::after {
    transform: rotate(-45deg);
    bottom: 0;
}

/* Hero Section Styling */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-image: linear-gradient(135deg, rgba(1, 45, 207, 0.94) 0%, rgba(1, 45, 207, 0.78) 100%), url('assets/media/bg_landing.png');
    background-size: cover;
    background-position: center;
    color: #ffffff;
    padding-top: 130px;
    padding-bottom: 60px;
    overflow: hidden;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 70% 30%, rgba(10, 54, 157, 0.25) 0%, transparent 60%),
                radial-gradient(circle at 10% 80%, rgba(230, 26, 96, 0.15) 0%, transparent 50%);
    z-index: 1;
}

.hero-grid-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: 1;
}

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

.hero-content {
    max-width: 720px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary-pink);
    margin-bottom: 2rem;
}

.hero-title {
    font-size: 3.75rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -1px;
    margin-bottom: 1.5rem;
}

.hero-desc {
    font-size: 1.15rem;
    color: var(--dark-muted);
    margin-bottom: 2.5rem;
    max-width: 580px;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
}

/* Hero Stats Panel */
.hero-stats-panel {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.stat-card {
    background: var(--dark-card);
    border: 1px solid var(--dark-card-border);
    backdrop-filter: blur(var(--glass-blur));
    border-radius: 20px;
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: var(--transition-smooth);
}

.stat-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
}

.stat-icon {
    font-size: 2rem;
    color: #ffffff;
    background: var(--primary-pink);
    width: 60px;
    height: 60px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(243, 0, 99, 0.25);
}

.stat-card:nth-child(even) .stat-icon {
    color: #ffffff;
    background: var(--primary-pink);
    box-shadow: 0 4px 10px rgba(243, 0, 99, 0.25);
}

.stat-info h3 {
    font-size: 2rem;
    font-weight: 800;
    display: inline-block;
    line-height: 1;
}

.stat-suffix {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-pink);
}

.stat-info p {
    font-size: 0.85rem;
    color: var(--dark-muted);
    font-weight: 600;
    margin-top: 0.25rem;
}

/* About & Vision Section Styling */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-text-content h3 {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--primary-pink);
}

.about-text-content p {
    color: var(--light-muted);
    margin-bottom: 1.5rem;
}

.about-visual-media {
    width: 100%;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(1, 45, 207, 0.15);
    border: 3px solid var(--primary-pink);
    aspect-ratio: 16 / 10;
    margin-bottom: 2rem;
}

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

.about-visual-media:hover .about-img {
    transform: scale(1.04);
}

/* ISO Badge Box */
.iso-badge-box {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: rgba(10, 54, 157, 0.04);
    border: 1px dashed rgba(10, 54, 157, 0.2);
    padding: 1.5rem;
    border-radius: 15px;
    margin-top: 2rem;
}

.iso-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-blue), #1e56d4);
    color: #ffffff;
    width: 90px;
    height: 90px;
    border-radius: 12px;
    font-weight: 800;
    font-size: 0.75rem;
    text-align: center;
    gap: 0.25rem;
}

.iso-logo i {
    font-size: 1.75rem;
}

.iso-text h4 {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--primary-pink);
    margin-bottom: 0.35rem;
}

.iso-text p {
    font-size: 0.85rem;
    margin-bottom: 0;
    color: var(--light-muted);
}

/* Vision / Mission Cards */
.about-vision-mission {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.glass-panel {
    background: var(--light-card);
    border: 1px solid var(--light-card-border);
    border-radius: 24px;
    padding: 2.5rem;
    transition: var(--transition-smooth);
}

.glass-panel:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.03);
    border-color: rgba(10, 54, 157, 0.15);
}

.vision-card {
    display: flex;
    gap: 1.5rem;
}

.vision-card .card-icon {
    font-size: 1.75rem;
    color: var(--primary-pink);
    background: rgba(230, 26, 96, 0.08);
    width: 54px;
    height: 54px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.vision-card:first-child .card-icon {
    color: var(--primary-blue);
    background: rgba(10, 54, 157, 0.08);
}

.vision-card h3 {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--light-text);
    margin-bottom: 0.5rem;
}

.vision-card p {
    font-size: 0.95rem;
    color: var(--light-muted);
    margin-bottom: 0;
}

/* Core Values Section Styling */
.values-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
}

.value-card {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 2px solid var(--primary-pink);
    border-radius: 24px;
    padding: 2.5rem 1.5rem;
    text-align: center;
    transition: var(--transition-smooth);
    box-shadow: 0 10px 30px rgba(243, 0, 99, 0.08);
}

.value-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 20px 40px rgba(243, 0, 99, 0.2);
    border-color: var(--primary-pink);
}

.value-icon-wrapper {
    width: 100%;
    height: 160px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.value-card:hover .value-icon-wrapper {
    transform: scale(1.1);
}

.value-icon-img {
    max-width: 95%;
    max-height: 100%;
    height: 140px;
    object-fit: contain;
}

.value-card h3 {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--primary-blue);
}

.value-card p {
    font-size: 0.9rem;
    color: var(--primary-pink);
    opacity: 0.85;
    font-weight: 600;
    line-height: 1.5;
}

/* Services Hub Section Styling */
.services-section .header-title {
    color: var(--primary-pink);
}

.services-tabs-container {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.services-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Interactive Icon Buttons for Services Tab */
.service-tab-btn {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(1, 45, 207, 0.12);
    border-radius: 20px;
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-blue);
    cursor: pointer;
    transition: var(--transition-smooth);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(1, 45, 207, 0.02);
    flex: 1 1 240px;
    max-width: 280px;
}

.service-icon-wrapper {
    width: 75px;
    height: 75px;
    border-radius: 18px;
    background: rgba(1, 45, 207, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transition-smooth);
    padding: 10px;
    border: 1px solid rgba(1, 45, 207, 0.08);
}

.service-icon-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: var(--transition-smooth);
    filter: drop-shadow(0 2px 5px rgba(1, 45, 207, 0.1));
}

.service-tab-btn:hover {
    background: rgba(255, 255, 255, 0.9);
    border-color: var(--primary-pink);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(243, 0, 99, 0.12);
}

.service-tab-btn:hover .service-icon-wrapper {
    background: rgba(243, 0, 99, 0.08);
    border-color: rgba(243, 0, 99, 0.15);
}

.service-tab-btn:hover .service-icon-img {
    transform: scale(1.12);
}

.service-tab-btn.active {
    background: linear-gradient(135deg, var(--primary-blue), #1e56d4);
    color: #ffffff;
    border-color: var(--primary-blue);
    box-shadow: 0 12px 30px rgba(1, 45, 207, 0.25);
    transform: translateY(-2px);
}

.service-tab-btn.active .service-icon-wrapper {
    background: #ffffff;
    border-color: #ffffff;
    box-shadow: 0 4px 12px rgba(1, 45, 207, 0.15);
}

.service-tab-btn.active .service-icon-img {
    filter: drop-shadow(0 2px 6px rgba(1, 45, 207, 0.2));
    transform: scale(1.08);
}

.services-content-panels {
    position: relative;
}

.service-panel {
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.service-panel.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.panel-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 3rem;
    background: var(--light-section);
    border: 1px solid rgba(0, 0, 0, 0.04);
    padding: 3rem;
    border-radius: 30px;
}

.panel-info h3 {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary-blue);
    margin-bottom: 1.25rem;
}

.panel-info p {
    color: var(--light-muted);
    font-size: 1.05rem;
    margin-bottom: 2rem;
}

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

.service-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--light-text);
}

.service-list li i {
    color: var(--primary-pink);
    font-size: 1.1rem;
    margin-top: 0.15rem;
}

/* Service Visual Card Fallback CSS Gradients */
.panel-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.panel-img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(1, 45, 207, 0.12);
    border: 2px solid var(--primary-pink);
    object-fit: cover;
    aspect-ratio: 4 / 3;
    transition: var(--transition-smooth);
}

.panel-img:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(1, 45, 207, 0.2);
}

.visual-card {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.visual-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.visual-icon {
    font-size: 5rem;
    color: rgba(255, 255, 255, 0.9);
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.2));
}

.bg-civil {
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
}
.bg-concrete {
    background: linear-gradient(135deg, #374151, #9ca3af);
}
.bg-mechanical {
    background: linear-gradient(135deg, #b91c1c, #f87171);
}
.bg-electrical {
    background: linear-gradient(135deg, #d97706, #fbbf24);
}
.bg-rental {
    background: linear-gradient(135deg, #0f766e, #2dd4bf);
}
.bg-facility {
    background: linear-gradient(135deg, #6d28d9, #a78bfa);
}

/* Fleet Dashboard Styling */
.fleet-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.fleet-card {
    background: var(--primary-pink);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 1.5rem;
    text-align: center;
    transition: var(--transition-smooth);
    box-shadow: 0 10px 25px rgba(243, 0, 99, 0.2);
}

.fleet-card:hover {
    transform: translateY(-8px);
    background: var(--primary-pink);
    border-color: rgba(255, 255, 255, 0.35);
    box-shadow: 0 15px 35px rgba(243, 0, 99, 0.35);
}

.fleet-img {
    width: 100%;
    height: 130px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition-smooth);
}

.fleet-card:hover .fleet-img {
    transform: scale(1.03);
    border-color: #ffffff;
}

.fleet-count {
    font-size: 2.25rem;
    font-weight: 850;
    color: #ffffff;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.fleet-card h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
}

/* Projects & Valued Clients Styling */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.project-card {
    background: #ffffff;
    border: 2px solid var(--primary-blue);
    border-radius: 24px;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(1, 45, 207, 0.08);
    border-color: var(--primary-pink);
}

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

.project-card:hover .project-img-fallback {
    transform: scale(1.03);
}

/* Creative Gradient Visuals for projects */
.bg-murabaa { background: linear-gradient(135deg, #f43f5e, #fb7185); }
.bg-qiddiya { background: linear-gradient(135deg, #3b82f6, #60a5fa); }
.bg-metro { background: linear-gradient(135deg, #10b981, #34d399); }
.bg-airport { background: linear-gradient(135deg, #f59e0b, #fbbf24); }
.bg-diriyah { background: linear-gradient(135deg, #8b5cf6, #a78bfa); }
.bg-green { background: linear-gradient(135deg, #06b6d4, #67e8f9); }

.project-info {
    padding: 1.75rem;
    text-align: center;
}

.project-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    background: rgba(10, 54, 157, 0.06);
    color: var(--primary-blue);
    border-radius: 30px;
    margin-bottom: 0.75rem;
}

.project-card:nth-child(even) .project-tag {
    background: rgba(230, 26, 96, 0.06);
    color: var(--primary-pink);
}

.project-info h3 {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary-pink);
    margin-bottom: 0.5rem;
}

.project-info p {
    font-size: 0.85rem;
    color: var(--light-muted);
}

/* Valued Customers Premium Interactive Slider */
.clients-sub-section {
    margin-top: 6rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 4rem;
}

.clients-subtitle {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--primary-pink);
    margin-bottom: 2.5rem;
}

.clients-slider-wrapper {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    position: relative;
}

.clients-carousel {
    flex: 1;
    overflow: hidden;
    position: relative;
    padding: 1rem 0;
    direction: ltr !important; /* Force LTR for smooth infinite marquee regardless of base document direction */
}

.clients-carousel::before,
.clients-carousel::after {
    content: '';
    position: absolute;
    top: 0;
    width: 80px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
    transition: var(--transition-smooth);
}

.clients-carousel::before {
    left: 0;
    background: linear-gradient(90deg, #ffffff 0%, transparent 100%);
}

.clients-carousel::after {
    right: 0;
    background: linear-gradient(270deg, #ffffff 0%, transparent 100%);
}

.clients-track {
    display: flex;
    gap: 2rem;
    width: max-content;
    will-change: transform;
    animation: marquee-scroll 25s linear infinite;
}

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

.clients-slider-wrapper .slider-control-btn {
    display: none !important;
}

.slider-dots {
    display: none !important;
}

/* Glassmorphic Control Buttons */
.slider-control-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(1, 45, 207, 0.12);
    color: var(--primary-blue);
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 15px rgba(1, 45, 207, 0.06);
    backdrop-filter: blur(10px);
    flex-shrink: 0;
    z-index: 5;
}

.slider-control-btn:hover:not(:disabled) {
    background: var(--primary-pink);
    border-color: var(--primary-pink);
    color: #ffffff;
    transform: scale(1.08);
    box-shadow: 0 6px 20px rgba(243, 0, 99, 0.25);
}

.slider-control-btn:disabled {
    opacity: 0.25;
    cursor: not-allowed;
    box-shadow: none;
}

/* LTR Chevron Rotations */
html[dir="ltr"] .prev-btn i {
    transform: rotate(180deg);
}

html[dir="ltr"] .next-btn i {
    transform: rotate(180deg);
}

/* Pagination Dots */
.slider-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.6rem;
    margin-top: 2rem;
}

.slider-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(1, 45, 207, 0.15);
    border: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    padding: 0;
}

.slider-dots .dot:hover {
    background: var(--primary-pink);
    opacity: 0.6;
}

.slider-dots .dot.active {
    width: 30px;
    height: 10px;
    border-radius: 5px;
    background: var(--primary-pink);
    box-shadow: 0 2px 8px rgba(243, 0, 99, 0.3);
}

.client-logo-box {
    background: #ffffff;
    border: 1px solid rgba(1, 45, 207, 0.1);
    padding: 1.25rem 2rem;
    border-radius: 16px;
    min-width: 300px;
    height: 160px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--primary-blue) !important;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.client-logo-box:hover {
    background: #ffffff;
    border-color: var(--primary-pink);
    box-shadow: 0 10px 25px rgba(243, 0, 99, 0.12);
    transform: translateY(-4px);
}

.client-logo-img {
    height: 75px;
    width: auto;
    object-fit: contain;
    transition: var(--transition-smooth);
}

.client-logo-box:hover .client-logo-img {
    transform: scale(1.06);
}

@keyframes marquee-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-50% - 1rem));
    }
}

/* Contact Section Styling */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.contact-info-panel .panel-desc {
    color: var(--dark-muted);
    font-size: 1.05rem;
    margin-bottom: 3rem;
}

.contact-details-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 3rem;
}

.contact-detail-item {
    display: flex;
    gap: 1.5rem;
}

.contact-detail-item .item-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: var(--primary-pink);
    color: #ffffff;
    font-size: 1.35rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(243, 0, 99, 0.25);
}

.contact-detail-item:nth-child(even) .item-icon {
    background: var(--primary-pink);
    color: #ffffff;
}

.contact-detail-item h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.25rem;
}

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

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.social-links a:hover {
    background: var(--primary-pink);
    border-color: var(--primary-pink);
    transform: translateY(-3px);
}

/* Contact Form Styling */
.contact-form-panel {
    background: var(--primary-pink);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    box-shadow: 0 15px 35px rgba(243, 0, 99, 0.3);
}

.contact-form-panel h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 2rem;
    color: #ffffff;
    position: relative;
    padding-bottom: 0.75rem;
}

.contact-form-panel h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: #ffffff;
}

html[dir="rtl"] .contact-form-panel h3::after {
    left: auto;
    right: 0;
}

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

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.85rem 1.25rem;
    background: #ffffff;
    border: 1px solid rgba(1, 45, 207, 0.2);
    border-radius: 12px;
    color: var(--primary-blue);
    font-family: inherit;
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    background: #ffffff;
    box-shadow: 0 0 10px rgba(1, 45, 207, 0.15);
}

.form-group select option {
    background-color: #ffffff;
    color: var(--primary-blue);
}

.alert {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-top: 1.5rem;
}

.success-alert {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    color: #34d399;
}

/* Footer Styling */
.main-footer {
    background: var(--primary-blue);
    color: var(--dark-muted);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 5rem;
}

.footer-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr;
    gap: 4rem;
    padding-bottom: 4rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.footer-brand p {
    margin-top: 1.5rem;
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer-links h4,
.footer-cert h4 {
    font-size: 1.1rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 1.5rem;
}

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

.footer-links a:hover {
    color: var(--primary-pink);
}

.iso-footer-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    color: #ffffff;
    font-weight: 800;
    font-size: 0.75rem;
    margin-bottom: 1.25rem;
}

.iso-footer-badge i {
    color: var(--primary-pink);
    font-size: 1.25rem;
}

.footer-cert .cert-text {
    font-size: 0.85rem;
    line-height: 1.6;
}

.footer-bottom {
    padding: 2rem 0;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Entrance Scroll Animations Support */
.animate-fade-in {
    opacity: 0;
    animation: fadeIn 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-slide-up {
    opacity: 0;
    transform: translateY(30px);
    animation: slideUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-title.animate-slide-up { animation-delay: 0.2s; }
.hero-desc.animate-slide-up { animation-delay: 0.4s; }
.hero-actions.animate-slide-up { animation-delay: 0.5s; }

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Gallery Section Styling */
.gallery-section {
    background-color: #ffffff;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.gallery-card {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05), 0 2px 8px rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.06);
    aspect-ratio: 4 / 3;
    transition: var(--transition-smooth);
    background: #ffffff;
    cursor: pointer;
}

/* Premium Glass Matte Reflection/Gloss Shine Overlay */
.gallery-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.15) 30%,
        rgba(255, 255, 255, 0.35) 50%,
        rgba(255, 255, 255, 0.15) 70%,
        transparent
    );
    transform: skewX(-20deg);
    transition: all 0.85s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 3;
    pointer-events: none;
}

.gallery-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(1, 45, 207, 0.1);
    border-color: rgba(1, 45, 207, 0.15);
}

.gallery-card:hover::after {
    left: 150%;
}

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

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

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

@media (max-width: 1024px) {
    .container {
        padding: 0 1.5rem;
    }
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    .hero-desc {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-actions {
        justify-content: center;
    }
    .hero-stats-panel {
        grid-template-columns: repeat(2, 1fr);
    }
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3.5rem;
    }
    .values-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .services-tabs-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .services-nav {
        flex-direction: row;
        overflow-x: auto;
        padding-bottom: 0.875rem;
        gap: 1rem;
    }
    .services-nav::-webkit-scrollbar {
        height: 6px;
    }
    .services-nav::-webkit-scrollbar-track {
        background: rgba(1, 45, 207, 0.04);
        border-radius: 10px;
    }
    .services-nav::-webkit-scrollbar-thumb {
        background: var(--primary-pink);
        border-radius: 10px;
    }
    .service-tab-btn {
        flex-shrink: 0;
        padding: 0.75rem 1.25rem;
    }
    .panel-grid {
        grid-template-columns: 1fr;
        padding: 2rem;
    }
    .fleet-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .footer-container {
        grid-template-columns: 1.2fr 0.8fr;
        gap: 3rem;
    }
    .footer-cert {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .sec-padding {
        padding: 4rem 0;
    }
    .header-title {
        font-size: 2rem;
    }
    .hero-title {
        font-size: 2.75rem;
    }
    
    /* Mobile Header & Hamburger Menu */
    .nav-toggle {
        display: block;
    }
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #ffffff;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        padding: 2rem;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-20px);
        transition: var(--transition-smooth);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
    }
    .nav-menu.open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    .nav-menu ul {
        flex-direction: column;
        gap: 1.5rem;
        align-items: stretch;
    }
    .nav-menu a {
        display: block;
        padding: 0.5rem 0;
        font-size: 1.1rem;
    }
    .nav-cta {
        text-align: center;
    }
    
    .hero-stats-panel {
        grid-template-columns: 1fr;
    }
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .fleet-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .projects-grid {
        grid-template-columns: 1fr;
    }
    .footer-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .footer-cert {
        grid-column: auto;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.25rem;
    }
    .hero-actions {
        flex-direction: column;
        gap: 1rem;
    }
    .values-grid {
        grid-template-columns: 1fr;
    }
    .fleet-grid {
        grid-template-columns: 1fr;
    }
}

/* Gallery Lightbox Modal Styling */
.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(1, 45, 207, 0.95); /* Deep Brand Blue with opacity */
    backdrop-filter: blur(10px);
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 85%;
    max-height: 80vh;
    border-radius: 16px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    border: 3px solid #ffffff;
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

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

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 50px;
    font-weight: 300;
    transition: 0.3s;
    cursor: pointer;
    line-height: 1;
}

.lightbox-close:hover,
.lightbox-close:focus {
    color: var(--primary-pink);
    text-decoration: none;
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .lightbox-content {
        max-width: 95%;
    }
    .lightbox-close {
        top: 20px;
        right: 25px;
        font-size: 40px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}
