/* ============================================================
   style_ar.css - SCI Suez Canal Insurance - Arabic Version
   ============================================================ */

/* ----- CSS VARIABLES ----- */
:root {
    --sci-blue: #0e7dc5;
    --sci-dark-blue: #0a5d96;
    --sci-navy: #000A93;
    --sci-dark: #1a1a2e;
    --sci-light-bg: #f8faff;
    --sci-gray-bg: #EBEEF1;
    --sci-white: #ffffff;
    --shadow: 0 10px 40px rgba(0,0,0,0.08);
    --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ============================================================
   RESET & BASE
   ============================================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Tajawal', sans-serif;
    background: #fff;
    color: #333;
    line-height: 1.7;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 30px;
}

.col-6 {
    flex: 0 0 calc(50% - 15px);
    max-width: calc(50% - 15px);
}

.col-4 {
    flex: 0 0 calc(33.333% - 15px);
    max-width: calc(33.333% - 15px);
}

.col-3 {
    flex: 0 0 calc(25% - 15px);
    max-width: calc(25% - 15px);
}

.text-center { text-align: center; }
.text-right { text-align: right; }
.text-left { text-align: left; }
.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }

.sub {
    color: var(--sci-blue);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title .sub {
    color: var(--sci-blue);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.section-title h2 {
    font-size: 36px;
    font-weight: 700;
    color: #222;
}

.section-title h2 cite {
    color: var(--sci-blue);
    font-style: normal;
}

.section-title .line {
    width: 60px;
    height: 3px;
    background: var(--sci-blue);
    margin: 15px auto 0;
    border-radius: 5px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 35px;
    background: var(--sci-blue);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Tajawal', sans-serif;
}

.btn:hover {
    background: var(--sci-dark-blue);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(14, 125, 197, 0.3);
}

/* ============================================================
   ACCESSIBILITY TOOLS
   ============================================================ */
.accessibility-tools {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #ffffff;
    padding: 12px 8px;
    border-radius: 12px 0 0 12px;
    box-shadow: -2px 0 15px rgba(0,0,0,0.15);
    width: 55px;
    gap: 8px;
    border: 2px solid var(--sci-blue);
    border-right: none;
}

.accessibility-tools .tool-toggle {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: var(--sci-blue);
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.accessibility-tools .tool-toggle:hover {
    transform: scale(1.1);
    background: var(--sci-dark-blue);
}

.tools-container {
    display: none;
    flex-direction: column;
    gap: 5px;
}

.tools-container.open {
    display: flex;
}

.accessibility-tools .tool-btn {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: #f5f5f5;
    color: #333;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    position: relative;
}

.accessibility-tools .tool-btn:hover {
    background: var(--sci-blue);
    color: #fff;
    transform: scale(1.1);
}

.accessibility-tools .tool-btn span {
    display: none;
    position: absolute;
    right: 50px;
    background: #333;
    color: #fff;
    padding: 5px 12px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 400;
    white-space: nowrap;
}

.accessibility-tools .tool-btn:hover span {
    display: block;
}



/* ============================================================
   ACCESSIBILITY CLASSES
   ============================================================ */
.large-text * { font-size: 20px !important; line-height: 1.8 !important; }
.x-large-text * { font-size: 24px !important; line-height: 2 !important; }
.increased-spacing * { letter-spacing: 1.5px !important; word-spacing: 5px !important; }
.high-contrast { background: #000 !important; color: #fff !important; }
.high-contrast * { color: #ffff00 !important; }
.blue-light { background: #e6f7ff !important; color: #003366 !important; }
.blue-light * { color: #003366 !important; }
.dyslexia-friendly { font-family: 'Arial', sans-serif !important; line-height: 1.8 !important; }

/* ============================================================
   TOP BAR
   ============================================================ */
.top-bar {
    background: var(--sci-dark);
    color: rgba(255,255,255,0.8);
    padding: 10px 0;
    font-size: 14px;
}

.top-bar .row {
    justify-content: space-between;
    gap: 10px;
}

.top-bar .info-item {
    margin-left: 20px;
}

.top-bar .info-item i {
    color: var(--sci-blue);
    margin-left: 8px;
}

.top-bar .social a {
    color: rgba(255,255,255,0.7);
    margin-right: 15px;
    font-size: 16px;
    transition: var(--transition);
}

.top-bar .social a:hover {
    color: var(--sci-blue);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .top-bar .row {
        flex-direction: column;
        text-align: center;
    }
    .top-bar .info-item {
        display: inline-block;
        margin: 5px 10px;
    }
}

/* ============================================================
   HEADER & NAVIGATION
   ============================================================ */
.main-header {
    padding: 15px 0;
    background: #fff;
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.main-header .row {
    justify-content: space-between;
}

.main-header .logo img {
    height: 60px;
}

/* ============================================================
   NAVIGATION MENU
   ============================================================ */
.nav-menu {
    display: flex;
    align-items: center;
}

.nav-menu ul {
    display: flex;
    list-style: none;
    gap: 5px;
    margin: 0;
    padding: 0;
}

.nav-menu ul li {
    position: relative;
}

.nav-menu ul li a {
    padding: 10px 18px;
    color: #333;
    font-weight: 500;
    font-size: 15px;
    border-radius: 8px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 5px;
    text-decoration: none;
}

.nav-menu ul li a:hover,
.nav-menu ul li a.active {
    background: rgba(14, 125, 197, 0.08);
    color: var(--sci-blue);
}

/* ============================================================
   DROPDOWN MENU
   ============================================================ */
.nav-menu ul li.dropdown {
    position: relative;
}

.nav-menu ul li.dropdown > a {
    cursor: pointer;
}

.nav-menu ul li.dropdown > a i {
    transition: transform 0.3s ease;
}

.nav-menu ul li.dropdown:hover > a i {
    transform: rotate(180deg);
}

.nav-menu ul li .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: #fff;
    min-width: 240px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
    border-radius: 12px;
    padding: 10px 0;
    list-style: none;
    z-index: 999;
    animation: fadeDown 0.3s ease;
    border: 1px solid rgba(0,0,0,0.04);
}

.nav-menu ul li.dropdown:hover .dropdown-menu {
    display: block;
}

.nav-menu ul li .dropdown-menu li {
    display: block;
    width: 100%;
}

.nav-menu ul li .dropdown-menu li a {
    padding: 10px 25px;
    font-size: 14px;
    border-radius: 0;
    display: block;
    color: #333;
    transition: var(--transition);
    white-space: nowrap;
}

.nav-menu ul li .dropdown-menu li a:hover {
    background: rgba(14, 125, 197, 0.06);
    color: var(--sci-blue);
}

/* عناصر اللغة */
.nav-menu ul li.lang-item a {
    color: var(--sci-blue);
    font-weight: 700;
}

@keyframes fadeDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   HAMBURGER
   ============================================================ */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
}

.hamburger span {
    width: 30px;
    height: 3px;
    background: #333;
    border-radius: 3px;
    transition: var(--transition);
}

@media (max-width: 992px) {
    .nav-menu { display: none; }
    .hamburger { display: flex; }
}

/* ============================================================
   MOBILE NAV
   ============================================================ */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 350px;
    height: 100%;
    background: #fff;
    box-shadow: -5px 0 30px rgba(0,0,0,0.15);
    z-index: 2000;
    padding: 30px 25px;
    overflow-y: auto;
    transition: right 0.4s ease;
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav .close-nav {
    font-size: 32px;
    cursor: pointer;
    color: #333;
    display: block;
    text-align: left;
    margin-bottom: 20px;
}

.mobile-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav ul li {
    margin-bottom: 5px;
}

.mobile-nav ul li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 15px;
    color: #333;
    font-weight: 500;
    border-radius: 8px;
    transition: var(--transition);
    text-decoration: none;
}

.mobile-nav ul li a:hover {
    background: rgba(14, 125, 197, 0.08);
    color: var(--sci-blue);
}

.mobile-nav ul li a i {
    transition: transform 0.3s ease;
}

.mobile-nav .sub-menu {
    display: none;
    padding-right: 20px;
    list-style: none;
}

.mobile-nav .sub-menu.open {
    display: block;
}

.mobile-nav .sub-menu li a {
    padding: 10px 15px;
    font-size: 14px;
}

.mobile-nav .lang-item a {
    color: var(--sci-blue);
    font-weight: 700;
}

/* ============================================================
   FIX - إصلاح القائمة المنسدلة
   ============================================================ */
.nav-menu .dropdown-menu {
    display: none !important;
    position: absolute !important;
    top: 100% !important;
    right: 0 !important;
    background: #fff !important;
    min-width: 240px !important;
    box-shadow: 0 15px 40px rgba(0,0,0,0.12) !important;
    border-radius: 12px !important;
    padding: 10px 0 !important;
    list-style: none !important;
    z-index: 999 !important;
    border: 1px solid rgba(0,0,0,0.04) !important;
}

.nav-menu .dropdown:hover .dropdown-menu,
.nav-menu li.dropdown:hover .dropdown-menu {
    display: block !important;
}

.nav-menu .dropdown-menu li {
    display: block !important;
    width: 100% !important;
    list-style: none !important;
}

.nav-menu .dropdown-menu li a {
    padding: 10px 25px !important;
    font-size: 14px !important;
    border-radius: 0 !important;
    display: block !important;
    color: #333 !important;
    transition: all 0.3s ease !important;
    white-space: nowrap !important;
}

.nav-menu .dropdown-menu li a:hover {
    background: rgba(14, 125, 197, 0.06) !important;
    color: #0e7dc5 !important;
}

/* ============================================================
   SLIDER
   ============================================================ */
.slider {
    position: relative;
    overflow: hidden;
    height: 600px;
    background: var(--sci-dark);
    direction: ltr;
}

.slider .slides {
    display: flex;
    width: 300%;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.slider .slide {
    width: 33.333%;
    height: 100%;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 60px;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    -webkit-background-size: cover !important;
    -moz-background-size: cover !important;
    -o-background-size: cover !important;
}

.slider .slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.slider .slide-content {
    position: relative;
    z-index: 2;
    color: #fff;
    max-width: 700px;
    width: 100%;
}

.slider .slide-content h1 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #fff;
}

.slider .slide-content h1 cite {
    color: var(--sci-blue);
    font-style: normal;
    position: relative;
}

.slider .slide-content h1 cite::after {
    content: '';
    position: absolute;
    bottom: -2px;
    right: 0;
    width: 100%;
    height: 3px;
    background: var(--sci-blue);
    border-radius: 5px;
}

.slider .slide-content p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 30px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
}

.slider .arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider .arrow:hover {
    background: var(--sci-blue);
    transform: translateY(-50%) scale(1.1);
}

.slider .arrow.prev { right: 20px; left: auto; }
.slider .arrow.next { left: 20px; right: auto; }

.slider .dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 12px;
    direction: ltr;
}

.slider .dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: var(--transition);
}

.slider .dots span.active {
    background: var(--sci-blue);
    width: 35px;
    border-radius: 10px;
}

/* ============================================================
   PAGE TITLE
   ============================================================ */
.page-title {
    background-size: cover;
    background-position: center;
    padding: 100px 0 80px;
    text-align: center;
    color: #fff;
    position: relative;
}
.page-title::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}
.page-title .container { position: relative; z-index: 2; }
.page-title h1 { font-size: 48px; font-weight: 700; color: #fff; margin-bottom: 10px; }
.page-title .breadcrumb { color: rgba(255,255,255,0.8); font-size: 16px; }
.page-title .breadcrumb a { color: #fff; }
.page-title .breadcrumb a:hover { color: var(--sci-blue); }

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-content { padding: 60px 0; }
.about-content .row { align-items: center; }
.about-content .about-image img { border-radius: 20px; box-shadow: var(--shadow); max-width: 100%; }
.about-content .about-text { text-align: right; }
.about-content .about-text h3 { font-size: 32px; font-weight: 700; color: var(--sci-navy); margin-bottom: 20px; }
.about-content .about-text h3 cite { color: var(--sci-blue); font-style: normal; }
.about-content .about-text p { color: #555; font-size: 17px; line-height: 28px; margin-bottom: 15px; }

/* ============================================================
   VALUES GRID
   ============================================================ */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 30px;
}
.value-item {
    background: #fff;
    padding: 30px 25px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: 0.4s;
    border-bottom: 4px solid transparent;
}
.value-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    border-bottom-color: var(--sci-blue);
}
.value-item .icon { font-size: 40px; color: var(--sci-blue); margin-bottom: 15px; }
.value-item h4 { font-size: 18px; font-weight: 600; color: #1a1a2e; margin-bottom: 10px; }
.value-item p { color: #666; font-size: 14px; line-height: 22px; }

/* ============================================================
   SERVICES
   ============================================================ */
.services {
    padding: 80px 0;
    background: var(--sci-light-bg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-item {
    background: #fff;
    padding: 35px 25px;
    text-align: center;
    border-radius: 16px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.04);
}

.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 5px;
    height: 100%;
    background: var(--sci-blue);
    transition: var(--transition);
    transform: scaleY(0);
    transform-origin: bottom;
    border-radius: 0 5px 5px 0;
}

.service-item:hover::before {
    transform: scaleY(1);
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(14, 125, 197, 0.12);
}

.service-item img {
    width: 65px;
    height: 65px;
    margin: 0 auto 18px;
    transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.service-item:hover img {
    transform: rotateY(360deg) scale(1.15);
}

.service-item h3 {
    font-size: 18px;
    font-weight: 700;
    color: #222;
    margin-bottom: 12px;
    transition: var(--transition);
}

.service-item:hover h3 {
    color: var(--sci-blue);
}

.service-item a {
    color: var(--sci-blue);
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.service-item a i {
    transition: var(--transition);
}

.service-item:hover a i {
    transform: translateX(-5px);
}

/* ============================================================
   CLIENTS
   ============================================================ */
.clients { padding: 80px 0; }
.clients .row { align-items: center; }
.clients .content h3 { font-size: 32px; font-weight: 700; color: #222; margin-bottom: 15px; }
.clients .content h3 cite { color: var(--sci-blue); font-style: normal; }
.clients .content p { color: #555; line-height: 1.8; margin-bottom: 25px; }

.stat {
    display: flex;
    align-items: center;
    gap: 15px;
}
.stat .number { font-size: 48px; font-weight: 700; color: var(--sci-blue); }
.stat .label { font-size: 18px; color: #555; }

.clients-logos {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}
.clients-logos .logo-item {
    background: #fff;
    padding: 15px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    cursor: pointer;
}
.clients-logos .logo-item:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.clients-logos .logo-item img { max-height: 60px; object-fit: contain; }

/* ============================================================
   RATINGS
   ============================================================ */
.ratings {
    padding: 80px 0;
    background: var(--sci-gray-bg);
}
.ratings .row { align-items: center; }
.ratings .content h3 { font-size: 32px; font-weight: 700; color: #222; margin-bottom: 15px; }
.ratings .content h3 cite { color: var(--sci-blue); font-style: normal; }
.ratings .content p { color: #555; line-height: 1.8; margin-bottom: 15px; }
.ratings .content a { color: var(--sci-blue); font-weight: 600; }
.ratings .content a:hover { color: var(--sci-dark-blue); }

/* ============================================================
   MEMBERSHIPS
   ============================================================ */
.memberships { padding: 80px 0; }
.memberships .logos {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 40px;
}
.memberships .logos img {
    max-height: 100px;
    object-fit: contain;
    transition: var(--transition);
    filter: grayscale(0.3);
    opacity: 0.8;
    cursor: pointer;
}
.memberships .logos img:hover {
    filter: grayscale(0);
    opacity: 1;
    transform: scale(1.08);
}

/* ============================================================
   MEMBERSHIP LOGOS (About Page)
   ============================================================ */
.membership-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 30px 50px;
    margin-top: 40px;
    padding: 20px;
    background: #fff;
    border-radius: 16px;
    box-shadow: var(--shadow);
}

.membership-logos .logo-item {
    flex: 0 0 auto;
    width: 160px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    background: #fff;
    border-radius: 12px;
    transition: var(--transition);
    cursor: pointer;
}

.membership-logos .logo-item:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.membership-logos .logo-item img {
    max-width: 100%;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(0.1);
    transition: var(--transition);
}

.membership-logos .logo-item:hover img {
    filter: grayscale(0);
}

/* ============================================================
   ABOUT - الصفحة الرئيسية
   ============================================================ */
.about {
    padding: 80px 0;
    background: #fff;
}

.about .content h2 {
    font-size: 36px;
    font-weight: 700;
    color: #222;
    margin-bottom: 20px;
}

.about .content p {
    font-size: 16px;
    color: #555;
    line-height: 1.8;
    margin-bottom: 25px;
}

.about .image img {
    border-radius: 20px;
    box-shadow: var(--shadow);
}

/* ============================================================
   PRODUCT PAGES
   ============================================================ */
.product-content { padding: 60px 0; }
.product-content .section-title { margin-bottom: 40px; }
.product-content .section-title h2 { font-size: 28px; }
.product-content .section-title h2 cite { color: var(--sci-blue); font-style: normal; }

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 30px;
}
.product-item {
    background: #fff;
    padding: 25px 20px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    border-right: 4px solid var(--sci-blue);
    transition: 0.3s;
}
.product-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.product-item h4 {
    color: var(--sci-blue);
    font-size: 18px;
    margin-bottom: 8px;
}
.product-item h4 i { margin-left: 10px; }
.product-item p, .product-item li {
    color: #555;
    font-size: 14px;
    line-height: 1.6;
}
.product-item ul {
    list-style: none;
    padding: 0;
}
.product-item ul li {
    padding: 5px 0;
    border-bottom: 1px solid #f5f5f5;
}
.product-item ul li:last-child { border-bottom: none; }
.product-item ul li::before {
    content: '✓ ';
    color: var(--sci-blue);
    font-weight: 700;
}

/* Coverage Grid (Marine Hull) */
.coverage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}
.coverage-item {
    background: #fff;
    padding: 25px 20px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    border-right: 4px solid var(--sci-blue);
    transition: 0.3s;
}
.coverage-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.coverage-item h4 {
    color: var(--sci-blue);
    font-size: 16px;
    margin-bottom: 8px;
}
.coverage-item p {
    color: #555;
    font-size: 14px;
    line-height: 1.6;
}

/* Vessels Grid (Marine Hull) */
.vessels-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
    margin-top: 20px;
}
.vessels-grid .vessel-item {
    background: #f8faff;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
    color: #1a1a2e;
    transition: 0.3s;
    border: 1px solid #eee;
}
.vessels-grid .vessel-item:hover {
    background: var(--sci-blue);
    color: #fff;
    border-color: var(--sci-blue);
}

.benefit-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}
.benefit-item {
    background: #f8faff;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    transition: 0.3s;
}
.benefit-item:hover {
    background: var(--sci-blue);
    color: #fff;
}
.benefit-item i {
    font-size: 30px;
    color: var(--sci-blue);
    margin-bottom: 10px;
    display: block;
}
.benefit-item:hover i { color: #fff; }
.benefit-item h5 { font-size: 14px; font-weight: 600; margin: 0; }

/* Tables */
.table-responsive {
    overflow-x: auto;
}
.table-responsive table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}
.table-responsive table thead th {
    padding: 15px;
    text-align: right;
    background: var(--sci-blue);
    color: #fff;
}
.table-responsive table tbody td {
    padding: 10px 15px;
    border-bottom: 1px solid #eee;
}
.table-responsive table tbody tr:nth-child(even) {
    background: #f8faff;
}
.table-responsive table tbody tr:hover {
    background: #e8f4fd;
}

/* Contact Form inside products */
.product-contact-form {
    background: #f8faff;
    padding: 40px;
    border-radius: 16px;
    margin-top: 50px;
    text-align: center;
}
.product-contact-form .form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    max-width: 700px;
    margin: 0 auto;
    text-align: right;
}
.product-contact-form .form-grid .full-width {
    grid-column: 1 / -1;
}
.product-contact-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 5px;
    font-size: 14px;
}
.product-contact-form input,
.product-contact-form select,
.product-contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    font-family: 'Tajawal', sans-serif;
}
.product-contact-form textarea {
    resize: vertical;
}
.product-contact-form .btn-submit {
    margin-top: 20px;
    padding: 14px 40px;
    background: var(--sci-blue);
    color: #fff;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
    width: 100%;
}
.product-contact-form .btn-submit:hover {
    background: var(--sci-dark-blue);
    transform: translateY(-2px);
}
.product-contact-form .form-message {
    margin-top: 15px;
    text-align: center;
    display: none;
    padding: 10px;
    border-radius: 8px;
    font-weight: 600;
}

/* ============================================================
   EXECUTIVES & ADMINISTRATION PAGES
   ============================================================ */
.executive-grid,
.admin-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.executive-item,
.admin-item {
    background: #fff;
    padding: 30px 20px;
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.06);
    text-align: center;
    transition: 0.3s;
    border-bottom: 4px solid transparent;
}

.executive-item:hover,
.admin-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    border-bottom-color: var(--sci-blue);
}

.executive-item .executive-image,
.admin-item .admin-image {
    width: 150px;
    height: 150px;
    overflow: hidden;
    margin: 0 auto 15px;
    border-radius: 12px;
    border: 3px solid #e8eef5;
    transition: 0.3s;
}

.executive-item:hover .executive-image,
.admin-item:hover .admin-image {
    border-color: var(--sci-blue);
    transform: scale(1.03);
}

.executive-item .executive-image img,
.admin-item .admin-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.executive-item h4,
.admin-item h4 {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 5px;
}

.executive-item .position,
.admin-item .position {
    font-size: 14px;
    color: var(--sci-blue);
    font-weight: 600;
}

.executive-featured,
.admin-featured {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 30px;
}

.executive-featured .executive-item,
.admin-featured .admin-item {
    padding: 35px 25px;
}

.executive-featured .executive-item .executive-image,
.admin-featured .admin-item .admin-image {
    width: 180px;
    height: 180px;
}

.executive-featured .executive-item h4,
.admin-featured .admin-item h4 {
    font-size: 22px;
}

.executive-featured .executive-item .position,
.admin-featured .admin-item .position {
    font-size: 16px;
}

.ceo-message {
    background: #f8faff;
    padding: 40px;
    border-radius: 16px;
    border-right: 4px solid var(--sci-blue);
    margin-bottom: 50px;
}

.ceo-message h3 {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 15px;
}

.ceo-message h3 cite {
    color: var(--sci-blue);
    font-style: normal;
}

.ceo-message p {
    color: #555;
    font-size: 16px;
    line-height: 1.8;
}

/* ============================================================
   PROJECTS PAGE
   ============================================================ */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.project-item {
    background: #fff;
    padding: 25px 20px;
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.06);
    text-align: center;
    transition: 0.3s;
    border-bottom: 4px solid transparent;
}

.project-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    border-bottom-color: var(--sci-blue);
}

.project-item .project-image {
    width: 120px;
    height: 120px;
    overflow: hidden;
    margin: 0 auto 15px;
    border-radius: 12px;
    border: 3px solid #e8eef5;
    transition: 0.3s;
    cursor: pointer;
    position: relative;
}

.project-item .project-image::after {
    content: '🔍';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    font-size: 30px;
    background: rgba(0,0,0,0.6);
    color: white;
    padding: 10px 15px;
    border-radius: 50%;
    transition: 0.3s;
    opacity: 0;
    pointer-events: none;
}

.project-item .project-image:hover::after {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

.project-item:hover .project-image {
    border-color: var(--sci-blue);
    transform: scale(1.05);
}

.project-item .project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.project-item .project-image:hover img {
    transform: scale(1.05);
}

.project-item h4 {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 5px;
    line-height: 1.4;
}

.projects-intro {
    text-align: center;
    color: #555;
    font-size: 16px;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto 30px;
}

/* ============================================================
   LIGHTBOX (Projects & Images)
   ============================================================ */
.lightbox-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.92);
    z-index: 999999;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    animation: lightboxFadeIn 0.3s ease;
}

.lightbox-overlay.active {
    display: flex;
}

.lightbox-image {
    max-width: 90%;
    max-height: 85%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    animation: lightboxZoomIn 0.3s ease;
    cursor: default;
}

.lightbox-close {
    position: absolute;
    top: 25px;
    right: 40px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    z-index: 1000000;
    background: rgba(0,0,0,0.3);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255,255,255,0.2);
    user-select: none;
}

.lightbox-close:hover {
    background: #dc3545;
    transform: rotate(90deg);
    border-color: #dc3545;
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    padding: 20px 15px;
    transition: 0.3s;
    background: rgba(0,0,0,0.4);
    border-radius: 10px;
    user-select: none;
    z-index: 1000000;
    border: 2px solid rgba(255,255,255,0.1);
    min-width: 50px;
    text-align: center;
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: var(--sci-blue, #0e7dc5);
    border-color: var(--sci-blue, #0e7dc5);
    transform: translateY(-50%) scale(1.05);
}

.lightbox-counter {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    background: rgba(0,0,0,0.6);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 14px;
    font-family: 'Tajawal', sans-serif;
    z-index: 1000000;
    border: 1px solid rgba(255,255,255,0.1);
}

.lightbox-caption {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    background: rgba(0,0,0,0.7);
    padding: 10px 25px;
    border-radius: 8px;
    font-size: 16px;
    font-family: 'Tajawal', sans-serif;
    z-index: 1000000;
    max-width: 80%;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.05);
    display: none;
}

.lightbox-caption.show {
    display: block;
}

@keyframes lightboxFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes lightboxZoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* ============================================================
   MAGAZINE PAGE
   ============================================================ */
.magazine-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 30px;
}

.magazine-item {
    background: #fff;
    padding: 25px 20px;
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.06);
    text-align: center;
    transition: 0.3s;
    border-bottom: 4px solid transparent;
}

.magazine-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    border-bottom-color: var(--sci-blue);
}

.magazine-item .magazine-image {
    width: 100%;
    max-width: 250px;
    margin: 0 auto 15px;
    border-radius: 12px;
    overflow: hidden;
    border: 3px solid #e8eef5;
    transition: 0.3s;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.magazine-item:hover .magazine-image {
    border-color: var(--sci-blue);
    transform: scale(1.03);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.magazine-item .magazine-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: 0.3s;
}

.magazine-item:hover .magazine-image img {
    transform: scale(1.02);
}

.magazine-item h4 {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 8px;
}

.magazine-item .magazine-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--sci-blue);
    font-weight: 600;
    font-size: 14px;
    transition: 0.3s;
    text-decoration: none;
    padding: 8px 20px;
    border-radius: 30px;
    border: 2px solid var(--sci-blue);
    margin-top: 5px;
}

.magazine-item .magazine-link:hover {
    background: var(--sci-blue);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(14,125,197,0.3);
}

.magazine-item .magazine-link i {
    transition: 0.3s;
}

.magazine-item .magazine-link:hover i {
    transform: translateX(-5px);
}

.magazine-intro {
    text-align: center;
    color: #555;
    font-size: 16px;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto 30px;
}

/* ============================================================
   NEWS & EVENTS PAGES
   ============================================================ */
.news-grid,
.events-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 30px;
}

.news-item,
.event-item {
    background: #fff;
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.06);
    transition: 0.3s;
    border-bottom: 4px solid transparent;
    display: flex;
    flex-direction: column;
}

.news-item:hover,
.event-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    border-bottom-color: var(--sci-blue);
}

.news-item .news-image,
.event-item .event-image {
    width: 100%;
    aspect-ratio: 16/10;
    margin: 0 auto 15px;
    border-radius: 12px;
    overflow: hidden;
    border: 3px solid #e8eef5;
    transition: 0.3s;
}

.news-item:hover .news-image,
.event-item:hover .event-image {
    border-color: var(--sci-blue);
    transform: scale(1.02);
}

.news-item .news-image img,
.event-item .event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.3s;
}

.news-item:hover .news-image img,
.event-item:hover .event-image img {
    transform: scale(1.05);
}

.news-item h5,
.event-item h5 {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 10px;
    line-height: 1.5;
    flex-grow: 1;
}

.news-item .news-link,
.event-item .event-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--sci-blue);
    font-weight: 600;
    font-size: 13px;
    transition: 0.3s;
    text-decoration: none;
    padding: 8px 20px;
    border-radius: 30px;
    border: 2px solid var(--sci-blue);
    margin-top: 10px;
    align-self: flex-start;
}

.news-item .news-link:hover,
.event-item .event-link:hover {
    background: var(--sci-blue);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(14,125,197,0.3);
}

.news-item .news-link i,
.event-item .event-link i {
    transition: 0.3s;
}

.news-item .news-link:hover i,
.event-item .event-link:hover i {
    transform: translateX(-5px);
}

.news-intro,
.events-intro {
    text-align: center;
    color: #555;
    font-size: 16px;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto 30px;
}

/* ============================================================
   COMPLAINTS & CONTACT PAGES
   ============================================================ */
.contact-info-wrapper {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-bottom: 30px;
}

.contact-info-item,
.complaint-contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px 25px;
    background: #f8faff;
    border-radius: 12px;
    transition: 0.3s;
    border-right: 4px solid var(--sci-blue);
}

.contact-info-item:hover,
.complaint-contact-item:hover {
    transform: translateX(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.contact-info-item .icon,
.complaint-contact-item .icon {
    width: 55px;
    height: 55px;
    background: var(--sci-blue);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.contact-info-item .info h4,
.complaint-contact-item .info h4 {
    font-size: 15px;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 3px;
}

.contact-info-item .info a,
.contact-info-item .info p,
.complaint-contact-item .info a,
.complaint-contact-item .info p {
    font-size: 14px;
    color: #555;
    text-decoration: none;
}

.contact-info-item .info a:hover,
.complaint-contact-item .info a:hover {
    color: var(--sci-blue);
}

.contact-form-container,
.complaint-form-container {
    background: #fff;
    padding: 35px;
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.06);
}

.contact-form-container .form-title,
.complaint-form-container .form-title {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a2e;
    text-align: center;
    margin-bottom: 25px;
}

.contact-form-container .form-title cite,
.complaint-form-container .form-title cite {
    color: var(--sci-blue);
    font-style: normal;
}

.contact-form-container .form-row,
.complaint-form-container .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.contact-form-container .form-group,
.complaint-form-container .form-group {
    margin-bottom: 15px;
}

.contact-form-container .form-group.full-width,
.complaint-form-container .form-group.full-width {
    grid-column: 1 / -1;
}

.contact-form-container .form-group label,
.complaint-form-container .form-group label {
    display: block;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 5px;
    color: #333;
}

.contact-form-container .form-group label .required,
.complaint-form-container .form-group label .required {
    color: #dc3545;
}

.contact-form-container .form-group .form-control,
.complaint-form-container .form-group .form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    font-family: 'Tajawal', sans-serif;
    transition: 0.3s;
    background: #fff;
}

.contact-form-container .form-group .form-control:focus,
.complaint-form-container .form-group .form-control:focus {
    border-color: var(--sci-blue);
    outline: none;
    box-shadow: 0 0 0 3px rgba(14,125,197,0.1);
}

.contact-form-container .form-group .form-control.error,
.complaint-form-container .form-group .form-control.error {
    border-color: #dc3545;
    box-shadow: 0 0 0 3px rgba(220,53,69,0.15);
}

.contact-form-container .btn-submit,
.complaint-form-container .btn-submit {
    width: 100%;
    padding: 14px;
    background: var(--sci-blue);
    color: #fff;
    border: none;
    border-radius: 30px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
    font-family: 'Tajawal', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.contact-form-container .btn-submit:hover,
.complaint-form-container .btn-submit:hover {
    background: var(--sci-dark-blue);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(14,125,197,0.3);
}

.contact-form-container .form-message,
.complaint-form-container .form-message {
    margin-top: 15px;
    padding: 15px;
    border-radius: 10px;
    display: none;
    font-weight: 600;
}

.contact-form-container .form-message.success,
.complaint-form-container .form-message.success {
    display: block;
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.contact-form-container .form-message.error,
.complaint-form-container .form-message.error {
    display: block;
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.social-icons-wrapper {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-icons-wrapper a {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: #f0f4f8;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: 0.3s;
    text-decoration: none;
}

.social-icons-wrapper a:hover {
    background: var(--sci-blue);
    color: #fff;
    transform: translateY(-3px);
}

/* ============================================================
   BRANCHES (Contact Page)
   ============================================================ */
.branches-section {
    margin-top: 50px;
}

.branch-category {
    margin-bottom: 30px;
}

.branch-category .category-title {
    background: #f0f7ff;
    padding: 12px 20px;
    border-radius: 10px;
    border-right: 4px solid var(--sci-blue);
    margin-bottom: 15px;
}

.branch-category .category-title h3 {
    margin: 0;
    color: var(--sci-blue);
    font-size: 20px;
}

.branch-category .category-title h3 .branches-count {
    font-size: 14px;
    color: #888;
    font-weight: normal;
}

.branch-card {
    background: #fff;
    border-radius: 12px;
    padding: 18px 20px;
    margin-bottom: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    transition: 0.3s;
    border-right: 4px solid #0f83ce;
}

.branch-card:hover {
    box-shadow: 0 4px 15px rgba(0,0,0,0.12);
    transform: translateY(-2px);
}

.branch-card .branch-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 5px 0;
}

.branch-card .branch-header h4 {
    margin: 0;
    color: #1a1a2e;
    font-size: 17px;
    font-weight: 600;
}

.branch-card .branch-header h4 .badge-head {
    background: var(--sci-blue);
    color: #fff;
    padding: 2px 12px;
    border-radius: 20px;
    font-size: 11px;
    margin-right: 8px;
}

.branch-card .branch-header .branch-address {
    font-size: 13px;
    color: #888;
    display: block;
    margin-top: 3px;
}

.branch-card .branch-header .toggle-icon {
    font-size: 18px;
    color: var(--sci-blue);
    transition: 0.3s;
}

.branch-card .branch-header .toggle-icon.rotated {
    transform: rotate(180deg);
}

.branch-card .branch-details {
    padding-top: 15px;
    border-top: 1px solid #eee;
    display: none;
}

.branch-card .branch-details.active {
    display: block;
}

.branch-card .branch-details p {
    margin: 6px 0;
    font-size: 14px;
    color: #555;
}

.branch-card .branch-details p strong {
    color: #333;
}

.branch-card .branch-details a {
    color: var(--sci-blue);
    text-decoration: none;
}

.branch-card .branch-details a:hover {
    text-decoration: underline;
}

.branch-card .branch-details .coords-text {
    font-size: 12px;
    color: #aaa;
    margin-top: 5px;
}

.branch-card .branch-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.branch-card .branch-actions .btn-action {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 16px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    font-size: 13px;
    font-family: 'Tajawal', sans-serif;
    transition: 0.3s;
    text-decoration: none;
    color: #fff;
}

.branch-card .branch-actions .btn-action:hover {
    transform: translateY(-2px);
}

.branch-card .branch-actions .btn-map {
    background: #e74c3c;
}

.branch-card .branch-actions .btn-map:hover {
    background: #c0392b;
}

.branch-card .branch-actions .btn-phone {
    background: #27ae60;
}

.branch-card .branch-actions .btn-phone:hover {
    background: #1e8449;
}

.branch-card .branch-actions .btn-email {
    background: #3498db;
}

.branch-card .branch-actions .btn-email:hover {
    background: #2471a3;
}

.branch-card .branch-actions .btn-share {
    background: #8e44ad;
}

.branch-card .branch-actions .btn-share:hover {
    background: #6c3483;
}

.branches-map {
    margin-top: 40px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.branches-map iframe {
    width: 100%;
    height: 400px;
    border: 0;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    background: var(--sci-dark);
    color: rgba(255,255,255,0.8);
    padding: 60px 0 30px;
}

.footer .row {
    align-items: flex-start;
    gap: 30px;
}

.footer p {
    font-size: 14px;
    line-height: 1.8;
}

.footer .footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer .footer-links a {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer .footer-links a:hover {
    color: var(--sci-blue);
    transform: translateX(-5px);
}

.footer .footer-links a i {
    color: var(--sci-blue);
    width: 20px;
}

.footer .contact-info {
    list-style: none;
}

.footer .contact-info li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.footer .contact-info li i {
    color: var(--sci-blue);
    width: 20px;
}

.footer .contact-info li a {
    color: rgba(255,255,255,0.8);
}

.footer .contact-info li a:hover {
    color: var(--sci-blue);
}

.footer .social-icons {
    display: flex;
    gap: 15px;
}

.footer .social-icons a {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: var(--transition);
}

.footer .social-icons a:hover {
    background: var(--sci-blue);
    color: #fff;
    transform: translateY(-3px);
}

.footer .bottom {
    border-top: 1px solid rgba(255,255,255,0.06);
    margin-top: 40px;
    padding-top: 30px;
    text-align: center;
    font-size: 14px;
}

.footer .bottom a {
    color: var(--sci-blue);
}

.footer .bottom a:hover {
    text-decoration: underline;
}

/* ============================================================
   SCROLL TO TOP
   ============================================================ */
#scrollTop {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    background: var(--sci-blue);
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 20px rgba(14, 125, 197, 0.4);
    transition: var(--transition);
    z-index: 999;
}

#scrollTop:hover {
    background: var(--sci-dark-blue);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(14, 125, 197, 0.5);
}

/* ============================================================
   RESPONSIVE - كامل
   ============================================================ */

/* الأجهزة اللوحية */
@media (max-width: 992px) {
    /* السلايدر */
    .slider {
        height: 550px;
    }
    .slider .slide {
        padding: 0 40px;
    }
    .slider .slide-content h1 {
        font-size: 38px;
    }
    .slider .slide-content p {
        font-size: 17px;
    }
    .slider .arrow {
        width: 45px;
        height: 45px;
        font-size: 20px;
    }

    /* المجلات والأخبار والأحداث */
    .magazine-grid,
    .news-grid,
    .events-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* الهواتف الذكية */
@media (max-width: 768px) {
    /* العناوين */
    .section-title h2 { font-size: 28px; }
    .page-title { padding: 60px 0 40px; }
    .page-title h1 { font-size: 32px; }
    .about-content { padding: 30px 0; }
    .about-content .about-text h3 { font-size: 26px; }
    .about .content h2 { font-size: 28px; }

    /* الشبكات */
    .services-grid { 
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); 
    }
    .values-grid { 
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); 
    }
    .product-grid { 
        grid-template-columns: 1fr; 
    }
    .coverage-grid { 
        grid-template-columns: 1fr; 
    }
    .vessels-grid { 
        grid-template-columns: repeat(2, 1fr); 
    }
    .magazine-grid,
    .news-grid,
    .events-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
    .executive-featured,
    .admin-featured {
        grid-template-columns: 1fr;
    }
    .projects-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    /* الصور */
    .service-item img {
        width: 45px !important;
        height: 45px !important;
        margin: 0 auto 12px !important;
    }
    .service-item {
        padding: 20px 15px;
    }
    .service-item h3 {
        font-size: 16px;
    }

    .coverage-item img {
        max-width: 70% !important;
        height: auto !important;
        margin: 0 auto 10px !important;
    }
    .coverage-item {
        padding: 20px 15px;
    }
    .coverage-item h4 {
        font-size: 15px;
    }
    .coverage-item p {
        font-size: 13px;
    }

    .vessels-grid .vessel-item {
        font-size: 13px;
        padding: 10px 8px;
    }
    .vessels-grid .vessel-item img {
        width: 32px !important;
        height: 32px !important;
        margin-bottom: 5px !important;
    }

    .product-item img {
        max-width: 80% !important;
        height: auto !important;
        margin: 0 auto 10px !important;
    }
    .product-item {
        padding: 20px 15px;
    }
    .product-item h4 {
        font-size: 16px;
    }
    .product-item p,
    .product-item li {
        font-size: 13px;
    }

    .clients-logos .logo-item img {
        max-height: 45px !important;
    }
    .clients-logos .logo-item {
        padding: 10px;
    }

    /* المديرين */
    .executive-item .executive-image,
    .admin-item .admin-image {
        width: 140px !important;
        height: 140px !important;
    }
    .executive-featured .executive-item .executive-image,
    .admin-featured .admin-item .admin-image {
        width: 160px !important;
        height: 160px !important;
    }

    /* السلايدر */
    .slider {
        height: 480px;
    }
    .slider .slide {
        padding: 0 30px;
    }
    .slider .slide::before {
        background: rgba(0, 0, 0, 0.55);
    }
    .slider .slide-content h1 {
        font-size: 28px;
    }
    .slider .slide-content h1 br {
        display: block;
    }
    .slider .slide-content p {
        font-size: 15px;
        margin-bottom: 20px;
    }
    .slider .slide-content .btn {
        padding: 10px 25px;
        font-size: 14px;
    }
    .slider .arrow {
        width: 38px;
        height: 38px;
        font-size: 16px;
    }
    .slider .arrow.prev { 
        right: 10px; 
    }
    .slider .arrow.next { 
        left: 10px; 
    }
    .slider .dots {
        bottom: 20px;
        gap: 10px;
    }
    .slider .dots span {
        width: 10px;
        height: 10px;
    }
    .slider .dots span.active {
        width: 28px;
    }

    /* النماذج */
    .contact-form-container .form-row,
    .complaint-form-container .form-row {
        grid-template-columns: 1fr;
    }
    .contact-form-container,
    .complaint-form-container {
        padding: 20px;
    }

    /* الفروع */
    .branch-card .branch-actions {
        flex-direction: column;
    }
    .branch-card .branch-actions .btn-action {
        justify-content: center;
        width: 100%;
    }
    .branches-map iframe {
        height: 300px;
    }
    .contact-info-wrapper {
        gap: 15px;
    }
    .contact-info-item,
    .complaint-contact-item {
        padding: 15px 18px;
    }
    .contact-info-item .icon,
    .complaint-contact-item .icon {
        width: 45px;
        height: 45px;
        font-size: 20px;
    }
    .contact-info-item .info h4,
    .complaint-contact-item .info h4 {
        font-size: 14px;
    }
    .contact-info-item .info a,
    .contact-info-item .info p,
    .complaint-contact-item .info a,
    .complaint-contact-item .info p {
        font-size: 13px;
    }

    /* رسالة المدير */
    .ceo-message {
        padding: 25px;
    }
    .ceo-message h3 {
        font-size: 22px;
    }

    /* المشروعات */
    .project-item .project-image {
        width: 100px;
        height: 100px;
    }
    .project-item h4 {
        font-size: 14px;
    }
}

/* الهواتف الصغيرة جداً */
@media (max-width: 480px) {
    .slider {
        height: 400px;
    }
    .slider .slide {
        padding: 0 20px;
    }
    .slider .slide::before {
        background: rgba(0, 0, 0, 0.6);
    }
    .slider .slide-content h1 {
        font-size: 22px;
        margin-bottom: 12px;
    }
    .slider .slide-content p {
        font-size: 13px;
        margin-bottom: 15px;
        line-height: 1.6;
    }
    .slider .slide-content .btn {
        padding: 8px 18px;
        font-size: 12px;
    }
    .slider .arrow {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }
    .slider .arrow.prev { 
        right: 8px; 
    }
    .slider .arrow.next { 
        left: 8px; 
    }
    .slider .dots {
        bottom: 15px;
        gap: 8px;
    }
    .slider .dots span {
        width: 8px;
        height: 8px;
    }
    .slider .dots span.active {
        width: 22px;
    }

    .magazine-grid,
    .news-grid,
    .events-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    .projects-grid {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }
    .vessels-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .clients-logos {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    .service-item img {
        width: 38px !important;
        height: 38px !important;
        margin: 0 auto 8px !important;
    }
    .service-item {
        padding: 15px 10px;
    }
    .service-item h3 {
        font-size: 14px;
    }

    .coverage-item img {
        max-width: 60% !important;
    }

    .vessels-grid .vessel-item {
        font-size: 11px;
        padding: 8px 5px;
    }
    .vessels-grid .vessel-item img {
        width: 28px !important;
        height: 28px !important;
    }

    .product-item img {
        max-width: 70% !important;
    }
    .product-item h4 {
        font-size: 14px;
    }
    .product-item p,
    .product-item li {
        font-size: 12px;
    }

    .clients-logos .logo-item img {
        max-height: 35px !important;
    }

    .executive-item .executive-image,
    .admin-item .admin-image {
        width: 100px !important;
        height: 100px !important;
    }
    .executive-featured .executive-item .executive-image,
    .admin-featured .admin-item .admin-image {
        width: 130px !important;
        height: 130px !important;
    }
    .executive-item h4,
    .admin-item h4 {
        font-size: 15px;
    }
    .executive-item .position,
    .admin-item .position {
        font-size: 12px;
    }

    .project-item .project-image {
        width: 80px;
        height: 80px;
    }
    .project-item h4 {
        font-size: 13px;
    }

    .magazine-item .magazine-image {
        max-width: 150px;
    }
    .magazine-item h4 {
        font-size: 15px;
    }
    .magazine-item .magazine-link {
        font-size: 12px;
        padding: 5px 15px;
    }

    .news-item .news-image,
    .event-item .event-image {
        aspect-ratio: 16/9;
    }
    .news-item h5,
    .event-item h5 {
        font-size: 14px;
    }
    .news-item .news-link,
    .event-item .event-link {
        font-size: 12px;
        padding: 5px 15px;
    }
    .news-item,
    .event-item {
        padding: 15px;
    }
}
@media (max-width: 768px) {
    .accessibility-tools {
        top: auto;
        bottom: 0;
        right: 0;
        transform: none;
        flex-direction: row;
        background: #fff;
        border-top: 2px solid var(--sci-blue);
        border-radius: 10px 0 0 0;
        padding: 5px 10px;
        width: 100%;
        justify-content: center;
        box-shadow: 0 -3px 15px rgba(0,0,0,0.1);
        border: none;
        border-top: 2px solid var(--sci-blue);
    }
    .tools-container {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
    .accessibility-tools .tool-btn {
        width: 35px;
        height: 35px;
        font-size: 12px;
    }
    .accessibility-tools .tool-btn span {
        display: none !important;
    }
    .col-6, .col-4, .col-3 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}
/* الشاشات الأفقية (Landscape) */
 

   .slider .slide {
        background-size: cover !important;
        background-position: center !important;
        background-repeat: no-repeat !important;
        -webkit-background-size: cover !important;
        -moz-background-size: cover !important;
        -o-background-size: cover !important;
    }
    
    /* بديل للصور في حالة عدم تحميلها */
    .slider .slide::after {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(135deg, rgba(26, 26, 46, 0.7), rgba(14, 125, 197, 0.3));
        z-index: 0;
    }
    
    /* تحسين النص في الموبايل */
    @media (max-width: 768px) {
        .slider .slide-content {
            max-width: 90%;
        }
        .slider .slide-content h1 {
            font-size: 26px;
        }
        .slider .slide-content p {
            font-size: 14px;
        }
    }
    
    @media (max-width: 480px) {
        .slider .slide-content {
            max-width: 95%;
        }
        .slider .slide-content h1 {
            font-size: 20px;
        }
        .slider .slide-content p {
            font-size: 12px;
        }
        .slider .slide-content .btn {
            font-size: 12px;
            padding: 8px 16px;
        }
    }
    
    @media (orientation: landscape) and (max-width: 992px) {
    .slider {
        height: 350px;
    }

    .slider .slide {
        padding: 0 30px;
    }

    .slider .slide-content h1 {
        font-size: 24px;
        margin-bottom: 10px;
    }

    .slider .slide-content p {
        font-size: 14px;
        margin-bottom: 15px;
    }

    .slider .slide-content .btn {
        padding: 8px 20px;
        font-size: 13px;
    }

    .slider .arrow {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }
}

