/* ═══════════════════════════════════════════════
   Corporate Website — Custom Styles
   Supports both RTL & LTR via CSS Variables
   ═══════════════════════════════════════════════ */

:root {
    --primary-color: #1e3a8a;
    --secondary-color: #3b82f6;
    --accent-color: #f59e0b;
    --dark-color: #1f2937;
    --light-color: #f8fafc;
    --text-color: #374151;
    --border-radius: 8px;
    --transition: all 0.3s ease;
    --font-main: 'Cairo','Inter', sans-serif;

}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--text-color);
    line-height: 1.6;
    background-color: #fff;
    overflow-x: hidden;
}

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

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

/* ─── Navbar ───────────────────────────────── */
.navbar {
    padding: 0.75rem 0;
    transition: var(--transition);
    position: sticky;
    top: 0px;
    z-index: 100;
    background: transparent;
    backdrop-filter: blur(12px);
    border-bottom: 1px solid #dbe6f1;
    box-shadow: rgba(9, 60, 110, 0.1) 0px 4px 20px;
}

.navbar-brand img {
    max-height: 50px;
}
.btn-white{
     background: #fff;
    color: #000;
    box-shadow: 2px 4px 8px rgba(0, 0, 0, 0.3);
     border: 1px solid #dbe6f1;
}
 .brand_image{
     border-radius: 50%;
     width: 180px;
     height: 180px;
     margin: auto;
     box-shadow: 2px 4px 8px rgba(0, 0, 0, 0.3);
     object-fit: contain;
 }

.nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    position: relative;
     color: #4a5c70 !important;
}
.nav-link:active,.nav-link:hover{
    color: #0a53be;
}
 .color_white{
     color: #bfe6ff !important;
 }
 .herro_status div{
     background: rgba(255, 255, 255, .12);
     backdrop-filter: blur(8px);
     border: 1px solid rgba(255, 255, 255, .25);
     border-radius: 14px;
     padding: 22px 18px;
     text-align: center;
 }

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

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

.dropdown-menu {
    border: none;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    border-radius: var(--border-radius);
    padding: 0.5rem;
}

.dropdown-item {
    padding: 0.6rem 1rem;
    border-radius: 4px;
    transition: var(--transition);
}

.dropdown-item:hover {
    background-color: var(--light-color);
    color: var(--primary-color);
}

/* Language Switcher */
.language-switcher {
    position: fixed;
    top: 15px;
    z-index: 1050;
}

[dir="rtl"] .language-switcher {
    left: 15px;
}

[dir="ltr"] .language-switcher {
    right: 15px;
}

.language-switcher .dropdown-toggle {
    border-radius: 50px;
    padding: 0.35rem 1rem;
    font-size: 0.85rem;
}

/* ─── Hero Section ─────────────────────────── */
.hero-section {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(30,58,138,0.9) 0%, rgba(30,58,138,0.7) 100%);
}

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

.page-hero {
    position: relative;
    padding: 100px 0 60px;
    background-size: cover;
    background-position: center;
    color: #fff;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
}

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

/* ─── Cards ────────────────────────────────── */
.card {
    border: none;
    border-radius: var(--border-radius);
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    transition: var(--transition);
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.news-card .card-img-top {
    height: 200px;
    object-fit: cover;
}

.brand-card {
    border: 1px solid #e5e7eb;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.brand-card:hover {
    border-color: var(--secondary-color);
    box-shadow: 0 4px 20px rgba(59,130,246,0.15);
}

/* ─── Vision & Mission ─────────────────────── */
.vision-card,
.mission-card {
    padding: 2.5rem;
    border-radius: var(--border-radius);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #fff;
}

.vision-card .icon,
.mission-card .icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.value-card {
    padding: 2rem;
    border-radius: var(--border-radius);
    background: #fff;
    border: 1px solid #e5e7eb;
    transition: var(--transition);
}

.value-card:hover {
    border-color: var(--secondary-color);
    transform: translateY(-3px);
}

.value-card i {
    color: var(--primary-color);
}

/* ─── Stats ────────────────────────────────── */
.stat-box {
    text-align: center;
    padding: 2rem;
    border-radius: var(--border-radius);
    background: #fff;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
}

.stat-box h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-box p {
    color: #6b7280;
    font-weight: 500;
    margin: 0;
}

/* ─── ESG ──────────────────────────────────── */
.esg-pillar {
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
}

.esg-pillar.environmental {
    background: linear-gradient(135deg, #ecfdf5, #d1fae5);
    color: #065f46;
}

.esg-pillar.social {
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    color: #1e40af;
}

.esg-pillar.governance {
    background: linear-gradient(135deg, #fffbeb, #fef3c7);
    color: #92400e;
}

.esg-pillar:hover {
    transform: translateY(-5px);
    border-color: currentColor;
}

/* ─── Careers ──────────────────────────────── */
.job-card {
    padding: 1.5rem;
    border-radius: var(--border-radius);
    border: 1px solid #e5e7eb;
    transition: var(--transition);
    background: #fff;
}

.job-card:hover {
    border-color: var(--secondary-color);
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.job-meta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin: 1rem 0;
}

.job-meta span {
    font-size: 0.85rem;
    color: #6b7280;
}

.job-meta i {
    margin-inline-end: 0.3rem;
    color: var(--secondary-color);
}

/* ─── Whistleblowing ───────────────────────── */
.whistleblowing-form {
    background: #fff;
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 25px rgba(0,0,0,0.08);
}

/* ─── Contact ──────────────────────────────── */
.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    background: #fff;
    box-shadow: 0 2px 15px rgba(0,0,0,0.06);
    margin-bottom: 1rem;
}

.contact-info-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 0.25rem;
}

/* ─── Footer ───────────────────────────────── */
.site-footer {
    font-size: 0.95rem;
}

.footer-heading {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: #fff;
    position: relative;
    padding-bottom: 0.75rem;
    margin-bottom: 1.5rem;
}

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

[dir="ltr"] .footer-heading::after {
    left: 0;
}

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

.footer-links li a,
.footer-contact li a,
.footer-contact li span {
    transition: color 0.2s ease, padding 0.2s ease;
    display: inline-block;
}

.footer-links li a:hover {
    color: #fff !important;
    padding-inline-start: 5px;
}

.hover-white:hover {
    color: #fff !important;
}

.social-links .btn {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-links .btn:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: #fff;
    transform: translateY(-2px);
}

.footer-newsletter .form-control {
    background-color: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.2);
    color: #fff;
}

.footer-newsletter .form-control::placeholder {
    color: rgba(255,255,255,0.5);
}

.footer-newsletter .form-control:focus {
    background-color: rgba(255,255,255,0.15);
    border-color: var(--secondary-color);
    color: #fff;
    box-shadow: none;
}

/* ─── Buttons ──────────────────────────────── */
.btn {
    border-radius: var(--border-radius);
    font-weight: 500;
    padding: 0.6rem 1.5rem;
    transition: var(--transition);
}

/*.btn-primary {*/
/*    background-color: var(--primary-color);*/
/*    border-color: var(--primary-color);*/
/*}*/

/*.btn-primary:hover {*/
/*    background-color: #1e40af;*/
/*    border-color: #1e40af;*/
/*    transform: translateY(-2px);*/
/*    box-shadow: 0 4px 15px rgba(30,58,138,0.3);*/
/*}*/

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

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

/* ─── Breadcrumb ───────────────────────────── */
.breadcrumb {
    background: transparent;
    padding: 0;
}

.breadcrumb-item a {
    color: rgba(255,255,255,0.8);
}

.breadcrumb-item.active {
    color: #fff;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255,255,255,0.5);
}

[dir="rtl"] .breadcrumb-item + .breadcrumb-item::before {
    float: right;
    padding-left: 0.5rem;
}

/* ─── Forms ────────────────────────────────── */
.form-control,
.form-select {
    border-radius: var(--border-radius);
    border: 1px solid #d1d5db;
    padding: 0.65rem 1rem;
    transition: var(--transition);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(59,130,246,0.15);
}

/* ─── Tables ───────────────────────────────── */
.table th {
    font-weight: 600;
    color: var(--dark-color);
    border-top: none;
}

.table-hover tbody tr:hover {
    background-color: #f8fafc;
}

/* ─── Alerts ───────────────────────────────── */
.alert {
    border-radius: var(--border-radius);
    border: none;
}

/* ─── Pagination ───────────────────────────── */
.pagination .page-link {
    border-radius: var(--border-radius);
    margin: 0 2px;
    border: none;
    color: var(--primary-color);
}

.pagination .page-item.active .page-link {
    background-color: var(--primary-color);
}

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

.animate-fade-in {
    animation: fadeInUp 0.6s ease forwards;
}

/* ─── Responsive ───────────────────────────── */
@media (max-width: 991.98px) {
    .hero-section {
        min-height: 400px;
        text-align: center;
    }

    .page-hero {
        padding: 80px 0 40px;
    }

    .stat-box {
        margin-bottom: 1rem;
    }

    .language-switcher {
        position: relative;
        top: auto;
        left: auto !important;
        right: auto !important;
        margin-bottom: 1rem;
        text-align: center;
    }
}

@media (max-width: 767.98px) {
    .hero-section h1 {
        font-size: 2rem;
    }

    .vision-card,
    .mission-card {
        padding: 1.5rem;
    }

    .footer-heading {
        margin-top: 1.5rem;
    }
}

/* ─── Utilities ────────────────────────────── */
.text-gradient {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.bg-gradient-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.shadow-soft {
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.rounded-xl {
    border-radius: 1rem;
}

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

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a1a1a1;
}

.swiper{
     height: 100%;
}

 .hero-slider {
     position: relative;

     width: 100%;
     height: 90vh;
     min-height: 500px;
     background: #000;
 }

.btn-primary {
    background:
        linear-gradient(135deg, #0f4bc0, #d8006f) padding-box,
        linear-gradient(135deg, #0f4bc0, #d8006f) border-box !important;

    border: 2px solid transparent !important;
    color: #fff !important;
    border-radius: 8px;
}
.bg-light{
     background: #eef5fb !important;
}
.strategy-band {
    margin-top: 44px;
    background: linear-gradient(135deg, #062e86, #0f4bc0);
    border-radius: 16px;
    padding: 44px;
    color: #fff;
}
.strategy-grid span {

    font-weight: 800;
    font-size: 1.4rem;
    color: #ff5ba6;
    flex-shrink: 0;
}


.hero-slider .swiper-slide {
    position: relative;
    overflow: hidden;
}

.hero-slider .slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transform: scale(1.2);
    transition: transform 6s ease;
}

.hero-slider .swiper-slide-active .slide-bg {
    transform: scale(1);
}

.hero-slider .slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.9) 0%, rgba(13, 110, 253, 0.7) 50%, rgba(0, 0, 0, 0.4) 100%);
}

.hero-slider .slide-content {
    position: relative;
    z-index: 2;
    height: 100%;

    align-items: center;
}

/* أنيميشن العناصر */
.hero-slider .slide-title,
.hero-slider .slide-subtitle,
.hero-slider .slide-btn {
    opacity: 0;
    transform: translateY(40px);
}

.hero-slider .swiper-slide-active .slide-title {
    animation: slideUpFade 0.8s ease forwards 0.3s;
}

.hero-slider .swiper-slide-active .slide-subtitle {
    animation: slideUpFade 0.8s ease forwards 0.6s;
}

.hero-slider .swiper-slide-active .slide-btn {
    animation: slideUpFade 0.8s ease forwards 0.9s;
}

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

/* Navigation Custom */
.hero-slider .swiper-button-next,
.hero-slider .swiper-button-prev {
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    color: #fff;
    transition: all 0.3s ease;
}

.hero-slider .swiper-button-next:hover,
.hero-slider .swiper-button-prev:hover {
    background: #fff;
    color: #0d6efd;
}

.hero-slider .swiper-button-next::after,
.hero-slider .swiper-button-prev::after {
    font-size: 20px;
    font-weight: bold;
}

/* Pagination Custom */
.hero-slider .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: rgba(255,255,255,0.5);
    opacity: 1;
    transition: all 0.3s ease;
}

.hero-slider .swiper-pagination-bullet-active {
    width: 35px;
    border-radius: 6px;
    background: #fff;
}

/* Progress Bar */
.slide-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: rgba(255,255,255,0.8);
    width: 0;
    z-index: 10;
}

.hero-slider .swiper-slide-active .slide-progress {
    animation: progress 5s linear forwards;
}

@keyframes progress {
    to { width: 100%; }
}


.water-company-hero {
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
}

.water-hero-content {
    position: relative;
    z-index: 10;
}

/* =========================
   Water Drops
========================= */

.water-drops {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 3;
}

.water-drops span {
    position: absolute;
    bottom: -30px;

    width: 7px;
    height: 10px;

    background: rgba(255,255,255,.30);

    border-radius: 50% 50% 55% 55%;

    box-shadow:
        0 0 8px rgba(255,255,255,.25);

    animation: dropUp linear infinite;
}

.water-drops span:nth-child(1) {
    left: 10%;
    animation-duration: 7s;
}

.water-drops span:nth-child(2) {
    left: 25%;
    width: 5px;
    height: 8px;
    animation-duration: 9s;
    animation-delay: 2s;
}

.water-drops span:nth-child(3) {
    left: 40%;
    width: 9px;
    height: 12px;
    animation-duration: 8s;
    animation-delay: 1s;
}

.water-drops span:nth-child(4) {
    left: 55%;
    animation-duration: 10s;
    animation-delay: 3s;
}

.water-drops span:nth-child(5) {
    left: 68%;
    width: 6px;
    height: 9px;
    animation-duration: 7s;
    animation-delay: 1s;
}

.water-drops span:nth-child(6) {
    left: 78%;
    width: 10px;
    height: 14px;
    animation-duration: 11s;
    animation-delay: 2s;
}

.water-drops span:nth-child(7) {
    left: 88%;
    animation-duration: 8s;
    animation-delay: 4s;
}

.water-drops span:nth-child(8) {
    left: 95%;
    width: 5px;
    height: 8px;
    animation-duration: 9s;
}

@keyframes dropUp {

    0% {
        transform: translateY(0) scale(.5);
        opacity: 0;
    }

    15% {
        opacity: .7;
    }

    70% {
        opacity: .4;
    }

    100% {
        transform: translateY(-350px) scale(1);
        opacity: 0;
    }
}


/* =========================
   Light Reflection
========================= */

.water-light {
    position: absolute;
    top: -100%;
    left: -30%;

    width: 25%;
    height: 300%;

    background: linear-gradient(
        90deg,
        transparent,
        rgba(255,255,255,.14),
        transparent
    );

    transform: rotate(18deg);

    animation: waterReflection 9s ease-in-out infinite;

    pointer-events: none;
    z-index: 4;
}

@keyframes waterReflection {

    0% {
        left: -40%;
        opacity: 0;
    }

    20% {
        opacity: 1;
    }

    55% {
        left: 120%;
        opacity: 0;
    }

    100% {
        left: 120%;
        opacity: 0;
    }
}


/* =========================
   Water Wave
========================= */

.water-wave {
    position: absolute;
    bottom: -2px;
    left: 0;

    width: 100%;
    height: 80px;

    z-index: 5;
    pointer-events: none;
}

.water-wave svg {
    width: 100%;
    height: 100%;
    display: block;
}

.water-wave path {
    fill: rgba(255,255,255,.12);
}


@media (min-width: 1400px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
        max-width: 98%;
    }
}

