/* ==========================================
   TRUST GTC - Colorlib Construction Template
   Professional Construction Company Design
   ========================================== */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700;800&display=swap');

/* ==========================================
   CSS VARIABLES
   ========================================== */
:root {
    --primary-color: #3d4470;
    --secondary-color: #4caf50;
    --primary-dark: #2d3254;
    --secondary-dark: #388e3c;
    --text-color: #333333;
    --text-gray: #666666;
    --text-light: #999999;
    --white: #ffffff;
    --black: #000000;
    --bg-light: #f5f5f5;
    --bg-dark: #1a1a1a;
    --border-color: #e0e0e0;
}

/* ==========================================
   RESET & BASE
   ========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-color);
    overflow-x: hidden;
    padding-top: 0;
    margin-top: 0;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    line-height: 1.3;
    color: var(--text-color);
    margin-bottom: 15px;
}

p {
    margin-bottom: 15px;
    color: var(--text-gray);
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Image loading optimization */
img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.3s ease-in;
}

img[loading="lazy"].loaded {
    opacity: 1;
}

/* Optimize image rendering */
img {
    image-rendering: -webkit-optimize-contrast;
    -ms-interpolation-mode: bicubic;
}

ul {
    list-style: none;
    padding: 0;
}

/* ==========================================
   TOP BAR
   ========================================== */
.top-bar {
    background: var(--primary-color);
    color: var(--white);
    padding: 12px 0;
    font-size: 14px;
    margin-bottom: 0;
}

.top-bar-left ul,
.top-bar-right ul {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 0;
}

.top-bar-left ul li,
.top-bar-right ul li {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.9);
}

.top-bar-left ul li i,
.top-bar-right ul li i {
    color: var(--secondary-color);
}

.top-bar-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 15px;
    flex-wrap: wrap;
}
.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

/* ==========================================
   HEADER
   ========================================== */
.site-header {
    background: var(--white);
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 999;
    margin-bottom: 0;
    overflow: visible !important; /* Allow dropdown to show */
}

.navbar {
    padding: 0;
    overflow: visible !important; /* Allow dropdown to show */
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

.navbar-brand:hover {
    text-decoration: none;
}

.site-logo {
    width: 160px;
    height: auto;
    max-height: 160px;
    object-fit: contain;
    flex-shrink: 0;
}

.brand-text-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
    line-height: 1.2;
}

.brand-arabic {
    font-family: 'Arial', 'Tahoma', 'Segoe UI', sans-serif;
    font-size: 18px;
    color: #1b5e20;
    font-weight: 700;
    direction: rtl;
    text-align: left;
    margin-bottom: 2px;
    opacity: 0.9;
}

.brand-name-main {
    font-family: "Montserrat", "Poppins", sans-serif;
    font-size: 36px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 1px;
}

.brand-name-full {
    font-family: "Poppins", "Segoe UI", sans-serif;
    font-size: 16px;
    color: #1b5e20;
    font-weight: 700;
    line-height: 1.3;
    text-transform: none;
    letter-spacing: 0.2px;
}

.site-name-main {
    position: relative;
    display: inline-block;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.site-name-main::after {
    display: none;
    content: none;
}

.brand-name-main:hover .site-name-main::after {
    display: none;
}

.site-name-accent {
    color: var(--secondary-color);
    font-family: "Montserrat", "Poppins", sans-serif;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
    transition: all 0.3s ease;
}

.site-name-accent::after {
    display: none;
    content: none;
}

.brand-name-main:hover .site-name-accent::after {
    display: none;
}

.navbar-nav {
    align-items: center;
}

.navbar-nav .nav-link {
    color: var(--text-color);
    font-weight: 500;
    padding: 8px 20px;
    margin: 0 5px;
    position: relative;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2.5px;
    background: var(--secondary-color);
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--secondary-color);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 80%;
}

.navbar-toggler {
    border: none;
    padding: 5px 10px;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(61, 68, 112, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ==========================================
   DROPDOWN MENU - DIVISIONS
   ========================================== */
.nav-item.dropdown {
    position: relative;
}

.nav-link.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    user-select: none;
}

/* Remove any Bootstrap caret or arrow icons */
.nav-link.dropdown-toggle::after,
.nav-link.dropdown-toggle::before {
    display: none !important;
    content: none !important;
}

/* Remove caret from Bootstrap if present */
.nav-link.dropdown-toggle .caret {
    display: none !important;
}

/* Dropdown arrow removed - no icons needed */

/* Mega Menu Wrapper - All panels inside one dropdown */
.mega-menu-wrapper {
    position: absolute;
    top: 100%;
    left: 0;
    display: none;
    flex-direction: row;
    align-items: flex-start;
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    margin-top: 8px;
    z-index: 10000;
    max-height: 90vh;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    min-width: 280px;
    max-width: 90vw; /* Allow expansion but stay within viewport */
    width: auto;
}

.nav-item.dropdown.active .mega-menu-wrapper {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

/* Menu Panel - Each level is a separate panel (side-by-side) */
.menu-panel {
    position: relative;
    min-width: 280px;
    max-width: 320px;
    width: 280px;
    background: var(--white);
    border-right: 1px solid rgba(0, 0, 0, 0.08);
    display: none;
    flex-direction: column;
    max-height: 90vh;
    overflow-y: auto;
    overflow-x: hidden;
    flex-shrink: 0; /* Prevent panels from shrinking */
}

.menu-panel:first-child {
    border-radius: 8px 0 0 8px;
}

.menu-panel:last-child {
    border-radius: 0 8px 8px 0;
    border-right: none;
}

.menu-panel.active {
    display: flex !important;
}

.menu-panel-header {
    padding: 16px 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    background: rgba(0, 0, 0, 0.02);
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.menu-panel-header h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-color);
}

.menu-panel-back {
    background: none;
    border: none;
    color: var(--secondary-color);
    font-size: 14px;
    cursor: pointer;
    padding: 4px 8px;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
}

.menu-panel-back:hover {
    color: var(--primary-color);
    transform: translateX(-3px);
}

.menu-panel-list {
    list-style: none;
    padding: 8px 0;
    margin: 0;
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
}

.menu-panel-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 24px;
    color: var(--text-color);
    font-weight: 500;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    border-left: 3px solid transparent;
}

.menu-panel-item:hover,
.menu-panel-item:focus {
    background: linear-gradient(90deg, rgba(76, 175, 80, 0.08) 0%, rgba(76, 175, 80, 0.02) 100%);
    color: var(--secondary-color);
    border-left-color: var(--secondary-color);
    padding-left: 28px;
}

.menu-panel-item i {
    font-size: 12px;
    opacity: 0.6;
    transition: all 0.3s ease;
    margin-left: auto;
}

.menu-panel-item:hover i {
    opacity: 1;
    transform: translateX(3px);
}

.menu-panel-trigger {
    cursor: pointer;
}

/* Level 1 - Main Dropdown */
.dropdown-menu.menu-level-1 {
    position: relative;
    min-width: 280px;
    max-width: 320px;
    background: var(--white);
    border: none;
    border-radius: 8px 0 0 8px;
    padding: 8px 0;
    list-style: none;
    display: block !important;
    max-height: 90vh;
    overflow-y: auto;
    overflow-x: hidden;
    margin: 0;
}

/* Mega Menu Levels (2, 3, 4) - Click-based, no hover */
.mega-menu-level {
    position: relative;
    min-width: 280px;
    max-width: 320px;
    background: var(--white);
    border-left: 1px solid rgba(0, 0, 0, 0.08);
    padding: 0;
    display: none !important; /* Hidden by default */
    flex-direction: column;
    max-height: 90vh;
    overflow-y: auto;
    overflow-x: hidden;
}

/* Show level when .active class is present */
.mega-menu-level.active {
    display: flex !important;
}

.mega-menu-header {
    padding: 16px 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    background: rgba(0, 0, 0, 0.02);
    display: flex;
    align-items: center;
    gap: 12px;
}

.mega-menu-header h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-color);
}

.mega-menu-back {
    background: none;
    border: none;
    color: var(--secondary-color);
    font-size: 14px;
    cursor: pointer;
    padding: 4px 8px;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
}

.mega-menu-back:hover {
    color: var(--primary-color);
    transform: translateX(-3px);
}

.mega-menu-list {
    list-style: none;
    padding: 8px 0;
    margin: 0;
}

.mega-menu-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 24px;
    color: var(--text-color);
    font-weight: 500;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    border-left: 3px solid transparent;
}

.mega-menu-item:hover,
.mega-menu-item:focus {
    background: linear-gradient(90deg, rgba(76, 175, 80, 0.08) 0%, rgba(76, 175, 80, 0.02) 100%);
    color: var(--secondary-color);
    border-left-color: var(--secondary-color);
    padding-left: 28px;
}

.mega-menu-item i {
    font-size: 12px;
    opacity: 0.6;
    transition: all 0.3s ease;
}

.mega-menu-item:hover i {
    opacity: 1;
    transform: translateX(3px);
}

.mega-menu-trigger {
    cursor: pointer;
}

/* Regular dropdown items in level 1 */
.dropdown-menu.menu-level-1 .dropdown-item {
    display: block;
    padding: 12px 24px;
    color: var(--text-color);
    font-weight: 500;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    border-left: 3px solid transparent;
}

.dropdown-menu.menu-level-1 .dropdown-item:hover,
.dropdown-menu.menu-level-1 .dropdown-item:focus {
    background: linear-gradient(90deg, rgba(76, 175, 80, 0.08) 0%, rgba(76, 175, 80, 0.02) 100%);
    color: var(--secondary-color);
    border-left-color: var(--secondary-color);
    padding-left: 28px;
}

/* Ensure dropdown parent has relative positioning */
.nav-item.dropdown {
    position: relative;
}

/* Remove hover-based opening - only click-based */
.nav-item.dropdown .dropdown-menu {
    pointer-events: none;
}

.nav-item.dropdown.show .dropdown-menu {
    pointer-events: auto;
}

/* Prevent Bootstrap from interfering */
.nav-item.dropdown .dropdown-toggle[data-bs-toggle] {
    pointer-events: auto;
}

.dropdown-item {
    display: block;
    padding: 12px 24px;
    color: var(--text-color);
    font-weight: 500;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    border-left: 3px solid transparent;
}

.dropdown-item:hover,
.dropdown-item:focus {
    background: linear-gradient(90deg, rgba(76, 175, 80, 0.08) 0%, rgba(76, 175, 80, 0.02) 100%);
    color: var(--secondary-color);
    border-left-color: var(--secondary-color);
    padding-left: 28px;
}

.dropdown-item:active {
    background: rgba(76, 175, 80, 0.1);
}

/* Sub-Dropdown Menu Styles - Accordion Style (Vertical) - SCOPED to header nav only */
.site-header .dropdown-item-has-submenu {
    position: relative;
}

.site-header .dropdown-item-with-submenu {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}

.site-header .dropdown-item-with-submenu i,
.site-header .sub-dropdown-item-with-submenu i,
.site-header .sub-sub-dropdown-item-with-submenu i {
    transition: transform 0.3s ease;
    font-size: 12px;
    margin-left: auto;
}

.site-header .dropdown-item-has-submenu.active > .dropdown-item-with-submenu i,
.site-header .dropdown-item-has-submenu.active > .sub-dropdown-item-with-submenu i,
.site-header .dropdown-item-has-submenu.active > .sub-sub-dropdown-item-with-submenu i {
    transform: rotate(90deg);
}

/* Accordion Menu Styles - Vertical Stacking (Click-based, Stateful) - SCOPED to header */
.site-header .accordion-menu {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.02);
    padding: 0;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    display: none;
    transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s ease, padding 0.3s ease, visibility 0.2s ease;
    list-style: none;
    border-left: 3px solid transparent;
}

.site-header .dropdown-item-has-submenu.active > .accordion-menu,
.site-header .dropdown-item-has-submenu.active > ul.accordion-menu,
.site-header .dropdown-item-has-submenu.active > ul.sub-dropdown-menu.accordion-menu {
    max-height: 2000px;
    opacity: 1;
    padding: 4px 0;
    border-left-color: var(--secondary-color);
    display: block !important;
    visibility: visible !important;
}

.site-header .sub-dropdown-menu {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.02);
    padding: 0;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    display: none;
    transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s ease, padding 0.3s ease, visibility 0.2s ease;
    list-style: none;
    border-left: 3px solid transparent;
}

.site-header .dropdown-item-has-submenu.active > .sub-dropdown-menu,
.site-header .dropdown-item-has-submenu.active > .accordion-menu.sub-dropdown-menu {
    max-height: 2000px;
    opacity: 1;
    padding: 4px 0;
    border-left-color: var(--secondary-color);
    display: block !important;
    visibility: visible !important;
}

.site-header .sub-dropdown-item {
    display: block;
    padding: 10px 24px 10px 40px;
    color: var(--text-color);
    font-weight: 500;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    border-left: 3px solid transparent;
}

.site-header .sub-dropdown-item:hover,
.site-header .sub-dropdown-item:focus {
    background: linear-gradient(90deg, rgba(76, 175, 80, 0.08) 0%, rgba(76, 175, 80, 0.02) 100%);
    color: var(--secondary-color);
    border-left-color: var(--secondary-color);
    padding-left: 44px;
}

.site-header .sub-dropdown-item:active {
    background: rgba(76, 175, 80, 0.1);
}

.site-header .sub-dropdown-item:focus-visible {
    outline: 2px solid var(--secondary-color);
    outline-offset: -2px;
}

.site-header .sub-dropdown-item-with-submenu {
    cursor: pointer;
}

/* Third Level Styles */
.site-header .sub-sub-dropdown-menu {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.03);
    padding: 0;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    display: none;
    transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s ease, padding 0.3s ease, visibility 0.2s ease;
    list-style: none;
    border-left: 3px solid transparent;
}

.site-header .dropdown-item-has-submenu.active > .sub-sub-dropdown-menu {
    max-height: 2000px;
    opacity: 1;
    padding: 4px 0;
    border-left-color: var(--secondary-color);
    display: block !important;
    visibility: visible !important;
}

.site-header .sub-sub-dropdown-item {
    display: block;
    padding: 10px 24px 10px 56px;
    color: var(--text-color);
    font-weight: 500;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    border-left: 3px solid transparent;
}

.site-header .sub-sub-dropdown-item:hover,
.site-header .sub-sub-dropdown-item:focus {
    background: linear-gradient(90deg, rgba(76, 175, 80, 0.08) 0%, rgba(76, 175, 80, 0.02) 100%);
    color: var(--secondary-color);
    border-left-color: var(--secondary-color);
    padding-left: 60px;
}

.site-header .sub-sub-dropdown-item:active {
    background: rgba(76, 175, 80, 0.1);
}

.site-header .sub-sub-dropdown-item-with-submenu {
    cursor: pointer;
}

/* Fourth Level Styles */
.site-header .sub-sub-sub-dropdown-menu {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.04);
    padding: 0;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    display: none;
    transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s ease, padding 0.3s ease, visibility 0.2s ease;
    list-style: none;
    border-left: 3px solid transparent;
}

.dropdown-item-has-submenu.active > .sub-sub-sub-dropdown-menu {
    max-height: 2000px;
    opacity: 1;
    padding: 4px 0;
    border-left-color: var(--secondary-color);
    display: block !important;
    visibility: visible !important;
}

.site-header .sub-sub-sub-dropdown-item {
    display: block;
    padding: 10px 24px 10px 72px;
    color: var(--text-color);
    font-weight: 500;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    border-left: 3px solid transparent;
}

.site-header .sub-sub-sub-dropdown-item:hover,
.site-header .sub-sub-sub-dropdown-item:focus {
    background: linear-gradient(90deg, rgba(76, 175, 80, 0.08) 0%, rgba(76, 175, 80, 0.02) 100%);
    color: var(--secondary-color);
    border-left-color: var(--secondary-color);
    padding-left: 76px;
}

.site-header .sub-sub-sub-dropdown-item:active {
    background: rgba(76, 175, 80, 0.1);
}

.site-header .sub-sub-sub-dropdown-item-with-submenu {
    cursor: pointer;
}

/* Active state for parent items */
.site-header .dropdown-item-has-submenu.active > .dropdown-item-with-submenu,
.site-header .dropdown-item-has-submenu.active > .sub-dropdown-item-with-submenu,
.site-header .dropdown-item-has-submenu.active > .sub-sub-dropdown-item-with-submenu {
    background: linear-gradient(90deg, rgba(76, 175, 80, 0.08) 0%, rgba(76, 175, 80, 0.02) 100%);
    color: var(--secondary-color);
    border-left-color: var(--secondary-color);
}

/* Mobile Dropdown Styles */
@media (max-width: 991.98px) {
    .nav-item.dropdown {
        width: 100%;
    }
    
    .dropdown-menu {
        position: static;
        width: 100%;
        box-shadow: none;
        border-top: 1px solid var(--border-color);
        border-radius: 0;
        margin-top: 0;
        padding: 0;
        opacity: 1;
        visibility: visible;
        transform: none;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease, padding 0.3s ease;
    }
    
    .nav-item.dropdown.active .dropdown-menu {
        max-height: 90vh;
        padding: 8px 0;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        display: block !important;
    }
    
    .dropdown-item {
        padding: 12px 20px 12px 40px;
        border-left: none;
        border-bottom: 1px solid var(--border-color);
    }
    
    .dropdown-item:hover,
    .dropdown-item:focus {
        padding-left: 44px;
        border-left: none;
        border-bottom-color: var(--secondary-color);
    }
    
    .dropdown-arrow {
        margin-left: auto;
    }
    
    /* Mobile Sub-Dropdown Styles - Same as Desktop (Click-based) */
    .sub-dropdown-menu,
    .sub-sub-dropdown-menu,
    .sub-sub-sub-dropdown-menu {
        position: static;
        width: 100%;
        box-shadow: none;
        border: none;
        border-radius: 0;
        margin-left: 0;
        margin-top: 0;
        padding: 0;
        opacity: 0;
        visibility: visible;
        transform: none;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease, padding 0.3s ease, opacity 0.2s ease;
        background: rgba(0, 0, 0, 0.02);
    }
    
    .dropdown-item-has-submenu.active > .sub-dropdown-menu,
    .dropdown-item-has-submenu.active > .sub-sub-dropdown-menu,
    .dropdown-item-has-submenu.active > .sub-sub-sub-dropdown-menu {
        max-height: 2000px;
        opacity: 1;
        padding: 4px 0;
    }
    
    .sub-dropdown-item {
        padding: 10px 20px 10px 40px;
        border-left: none;
        border-bottom: 1px solid var(--border-color);
        font-size: 14px;
    }
    
    .sub-dropdown-item:hover,
    .sub-dropdown-item:focus {
        padding-left: 44px;
        border-left: none;
        border-bottom-color: var(--secondary-color);
    }
    
    .sub-sub-dropdown-item {
        padding: 10px 20px 10px 56px;
        border-left: none;
        border-bottom: 1px solid var(--border-color);
        font-size: 14px;
    }
    
    .sub-sub-dropdown-item:hover,
    .sub-sub-dropdown-item:focus {
        padding-left: 60px;
        border-left: none;
        border-bottom-color: var(--secondary-color);
    }
    
    .sub-sub-sub-dropdown-item {
        padding: 10px 20px 10px 72px;
        border-left: none;
        border-bottom: 1px solid var(--border-color);
        font-size: 14px;
    }
    
    .sub-sub-sub-dropdown-item:hover,
    .sub-sub-sub-dropdown-item:focus {
        padding-left: 76px;
        border-left: none;
        border-bottom-color: var(--secondary-color);
    }
    
    /* Mobile Mega Menu Styles */
    .mega-menu-wrapper {
        flex-direction: column;
        width: 100%;
        max-width: 100%;
        border-radius: 0;
    }
    
    .menu-panel {
        border-right: none;
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);
        min-width: 100%;
        max-width: 100%;
        width: 100%;
        border-radius: 0;
    }
    
    .menu-panel:first-child {
        border-radius: 0;
    }
    
    .menu-panel:last-child {
        border-radius: 0;
        border-bottom: none;
    }
    
    .menu-panel-header {
        padding: 12px 16px;
    }
    
    .menu-panel-item {
        padding: 12px 20px 12px 40px;
    }
    
    /* Submenu arrow removed - no icons needed */
}

/* Keyboard Accessibility */
.dropdown-item:focus-visible {
    outline: 2px solid var(--secondary-color);
    outline-offset: -2px;
}

/* ==========================================
   HERO BANNER
   ========================================== */
.hero-banner {
    position: relative;
    height: 75vh;
    overflow: hidden;
    margin-top: 0;
    padding-top: 0;
}

.hero-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    z-index: 1;
    pointer-events: none;
}

.hero-slider-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-slides-container {
    display: flex;
    width: 400%;
    height: 100%;
    transition: transform 0.5s ease-in-out;
    will-change: transform;
    transform: translateX(0%) translateZ(0);
    backface-visibility: hidden;
    position: relative;
    left: 0;
}

/* 5-slide layout for seamless loop (slide 1 clone after slide 4) */
.hero-slides-container.hero-slides-loop {
    width: 500%;
}
.hero-slides-container.hero-slides-loop .hero-slide {
    width: 20%;
    min-width: 20%;
}

.hero-slide {
    position: relative;
    width: 25%;
    min-width: 25%;
    height: 100%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    opacity: 1;
    visibility: visible;
}

/* Ensure content is visible on active slide only */
.hero-slide .hero-content,
.hero-slide .hero-title,
.hero-slide .hero-title-arabic,
.hero-slide .hero-tagline,
.hero-slide .hero-btns {
    opacity: 0;
    transform: translateY(30px);
}

.hero-slide.active .hero-content,
.hero-slide.active .hero-title,
.hero-slide.active .hero-title-arabic,
.hero-slide.active .hero-tagline,
.hero-slide.active .hero-btns {
    opacity: 1;
    transform: translateY(0);
}

.hero-slide.active .hero-content {
    animation: fadeInUp 0.6s ease-out 0.3s both;
}

.hero-slide.active .hero-title {
    animation: fadeInUp 0.6s ease-out 0.4s both;
}

.hero-slide.active .hero-title-arabic {
    animation: fadeInUp 0.6s ease-out 0.5s both;
}

.hero-slide.active .hero-tagline {
    animation: fadeInUp 0.6s ease-out 0.6s both;
}

.hero-slide.active .hero-btns {
    animation: fadeInUp 0.6s ease-out 0.7s both;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

/* Slide 3 tanker: show full tanker by positioning background left so right (rear) is in view */
.hero-image-tanker-view {
    background-position: 5% 55%;
    background-size: cover;
    will-change: transform;
    backface-visibility: hidden;
}

/* Image animation - runs once when slide becomes active, then stops */
.hero-slide.active .hero-image {
    animation: slideImageIn 1.2s ease-out forwards;
    animation-fill-mode: forwards;
}

/* Tanker slide: no transform animation so background-position keeps full tanker in view */
.hero-slide.active .hero-image.hero-image-tanker-view {
    animation: none;
    transform: none;
}

@keyframes slideImageIn {
    0% {
        transform: translateX(-30px);
        opacity: 0.85;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Optimize slider container for smooth transitions */
.hero-slides-container {
    will-change: transform;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(61, 68, 112, 0.85) 0%, rgba(61, 68, 112, 0.65) 50%, rgba(61, 68, 112, 0.75) 100%);
    z-index: 2;
}

.hero-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 50%, rgba(76, 175, 80, 0.15) 0%, transparent 50%);
    z-index: 1;
}

.hero-overlay::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50%;
    height: 50%;
    background: radial-gradient(circle, rgba(76, 175, 80, 0.1) 0%, transparent 70%);
    z-index: 1;
}

.hero-banner .container {
    position: relative;
    z-index: 3;
    height: 100%;
    display: flex;
    align-items: center;
}

.hero-content {
    position: relative;
    z-index: 3;
    color: var(--white);
    padding: 0;
    text-align: left;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-size: 46px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 14px;
    line-height: 1.15;
    max-width: 85%;
    word-spacing: normal;
    text-transform: none;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.2);
    position: relative;
    letter-spacing: -0.5px;
}

.hero-slide.active .hero-title::after {
    animation: slideInLeft 1s ease-out 0.8s both;
}

.hero-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary-color), transparent);
}

@keyframes slideInLeft {
    from {
        width: 0;
        opacity: 0;
    }
    to {
        width: 80px;
        opacity: 1;
    }
}

.hero-title-arabic {
    font-size: 35px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 0;
    margin-top: 0;
    padding-top: 14px;
    line-height: 1.4;
    direction: rtl;
    text-align: left;
    font-family: 'Arial', 'Tahoma', 'Segoe UI', sans-serif;
    max-width: 60%;
    opacity: 0.95;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.25);
}

.hero-tagline {
    font-size: 18px;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 25px;
    margin-top: 20px;
    letter-spacing: 0.5px;
    line-height: 1.5;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2), 0 0 20px rgba(76, 175, 80, 0.3);
    position: relative;
    display: inline-block;
}

.hero-text {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    margin-bottom: 35px;
    margin-top: 20px;
    max-width: 55%;
    font-weight: 400;
}

.hero-btns {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 0;
}

.btn {
    display: inline-block;
    padding: 14px 35px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 5px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid transparent;
    cursor: pointer;
    position: relative;
    text-decoration: none;
    z-index: 1;
}

.btn-main {
    background: var(--secondary-color);
    color: var(--white);
    border-color: var(--secondary-color);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

.btn-main::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-main:hover::before {
    width: 300px;
    height: 300px;
}

.btn-main:hover {
    background: var(--secondary-dark);
    border-color: var(--secondary-dark);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.4);
}


.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.75);
    border-width: 2px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(5px);
}

.btn-outline::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transition: left 0.4s ease;
    z-index: 0;
}

.btn-outline:hover::before {
    left: 0;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.9);
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(255, 255, 255, 0.2);
}

/* ==========================================
   HERO SLIDER INDICATORS
   ========================================== */
.hero-slider-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.hero-slider-indicators .indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.6);
}

.hero-slider-indicators .indicator:hover {
    background: rgba(255, 255, 255, 0.7);
    transform: scale(1.2);
}

.hero-slider-indicators .indicator.active {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    width: 30px;
    border-radius: 6px;
}

/* ==========================================
   FEATURES SECTION
   ========================================== */
.features-section {
    padding: 70px 0;
    background: var(--white);
    margin-top: -50px;
    position: relative;
    z-index: 10;
}

.features-section .container {
    position: relative;
}

.feature-item {
    text-align: center;
    padding: 35px 20px;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    border-left: 3px solid transparent;
    border-right: 3px solid transparent;
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--secondary-color);
    opacity: 0;
    transition: all 0.3s ease;
}

.feature-item:hover::before {
    opacity: 1;
    width: 100%;
}

.feature-item::after {
    content: '';
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: width 0.3s ease;
}

.feature-item:hover::after {
    width: 80px;
}

.feature-item:hover {
    transform: translateY(0);
    background: transparent;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: transparent;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--secondary-color);
    font-size: 36px;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: none;
    border: 2px solid var(--secondary-color);
    border-radius: 8px;
}

.feature-icon::before {
    display: none;
}

.feature-item:hover .feature-icon {
    transform: rotate(0deg) scale(1);
    background: var(--secondary-color);
    color: var(--white);
    border-color: var(--secondary-color);
}

.feature-item h4 {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.feature-item:hover h4 {
    color: var(--secondary-color);
}

.feature-item p {
    color: var(--text-gray);
    font-size: 14px;
    margin: 0;
    line-height: 1.5;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
}

/* ==========================================
   SECTION STYLING
   ========================================== */
section {
    padding: 80px 0;
}

.section-header {
    margin-bottom: 50px;
}

.section-subtitle {
    display: inline-block;
    color: var(--secondary-color);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.section-title {
    font-size: 38px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 15px;
}

.section-description {
    font-size: 17px;
    color: var(--text-gray);
    max-width: 700px;
    margin: 0 auto;
}

/* ==========================================
   ABOUT SECTION
   ========================================== */
.about-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    position: relative;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--secondary-color), transparent);
    opacity: 0.3;
}

.about-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    position: relative;
    transition: all 0.4s ease;
}

.about-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(61, 68, 112, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.about-image:hover::after {
    opacity: 1;
}

.about-image:hover {
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
    transform: translateY(-5px);
}

.about-image img {
    width: 100%;
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.about-image:hover img {
    transform: scale(1.08);
}

.about-content {
    padding-left: 40px;
    position: relative;
}

.about-content .section-subtitle {
    font-size: 16px;
    letter-spacing: 2px;
}

.about-content .section-title {
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 20px;
}

.about-content .section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
    border-radius: 2px;
}

.about-content p {
    font-size: 17px;
    line-height: 1.9;
    color: var(--text-gray);
    margin-bottom: 20px;
    position: relative;
}

.lead {
    font-size: 19px;
    font-weight: 500;
    color: var(--text-color);
    line-height: 1.9;
    margin-bottom: 22px;
}

.about-list {
    margin-top: 25px;
}

.about-list li {
    padding: 12px 0;
    padding-left: 30px;
    position: relative;
    color: var(--text-gray);
    font-size: 16px;
}

.about-list li i {
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-size: 18px;
}

/* ==========================================
   SERVICES SECTION
   ========================================== */
.services-section {
    padding: 120px 0;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 10% 20%, rgba(76, 175, 80, 0.03) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(61, 68, 112, 0.03) 0%, transparent 40%);
    pointer-events: none;
    z-index: 0;
}

.services-section .container {
    position: relative;
    z-index: 1;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    perspective: 1000px;
    height: 380px;
}

.service-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s;
    transform-style: preserve-3d;
    cursor: pointer;
}

.service-card:hover .service-card-inner {
    transform: rotateY(180deg);
}

.service-card-front,
.service-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 16px;
    padding: 40px 35px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.service-card-front {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 1px solid rgba(76, 175, 80, 0.1);
}

.service-card-back {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    transform: rotateY(180deg);
}

.service-icon-wrapper {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: var(--white);
    font-size: 36px;
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.3);
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon-wrapper {
    transform: scale(1.1) rotate(5deg);
}

.service-card-front h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 15px;
}

.service-card-front p {
    color: var(--text-gray);
    line-height: 1.7;
    font-size: 15px;
    margin-bottom: 20px;
}


.service-card-back h3 {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--white);
}

.service-card-back ul {
    list-style: none;
    padding: 0;
    margin: 0 0 25px;
    text-align: left;
}

.service-card-back ul li {
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
    font-size: 15px;
    line-height: 1.6;
    opacity: 0.95;
}

.service-card-back ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--white);
    font-weight: bold;
    font-size: 18px;
}

.service-link {
    color: var(--white);
    font-weight: 600;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.service-link i {
    transition: transform 0.3s ease;
}

.service-card:hover .service-link i {
    transform: translateX(5px);
}

@media (max-width: 991px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card {
        height: 350px;
    }
}

/* ==========================================
   WHY CHOOSE SECTION
   ========================================== */
.why-choose-section {
    padding: 70px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, #2a3458 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.why-choose-section::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -15%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(76, 175, 80, 0.12) 0%, transparent 70%);
    border-radius: 50%;
}

.why-choose-section::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -8%;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(76, 175, 80, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.why-choose-section .section-header {
    margin-bottom: 40px;
}

.why-choose-section .section-header * {
    color: var(--white);
    position: relative;
    z-index: 1;
}

.why-choose-section .section-subtitle {
    color: var(--secondary-color);
    font-size: 14px;
}

.why-choose-section .section-title {
    font-size: 36px;
}

/* ==========================================
   STATS GRID SECTION
   ========================================== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.stat-card {
    position: relative;
    perspective: 1000px;
    height: 320px;
}

.stat-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 35px 30px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 1;
}

.stat-card-inner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(76, 175, 80, 0.15) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.stat-card:hover .stat-card-inner {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.stat-card:hover .stat-card-inner::before {
    opacity: 1;
}

.stat-card-highlight .stat-card-inner {
    background: linear-gradient(135deg, var(--secondary-color), #45a049);
    border-color: var(--secondary-color);
    box-shadow: 0 10px 30px rgba(76, 175, 80, 0.4);
}

.stat-card-highlight:hover .stat-card-inner {
    box-shadow: 0 18px 45px rgba(76, 175, 80, 0.5);
}

.stat-icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    position: relative;
    z-index: 2;
}

.stat-icon-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    border: 2px solid rgba(76, 175, 80, 0.3);
    transition: all 0.4s ease;
}

.stat-card:hover .stat-icon-bg {
    background: rgba(255, 255, 255, 0.25);
    border-color: var(--secondary-color);
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.4);
}

.stat-card-highlight .stat-icon-bg {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

.stat-icon {
    position: relative;
    z-index: 1;
    color: var(--secondary-color);
    font-size: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    transition: all 0.4s ease;
}

.stat-card-highlight .stat-icon {
    color: var(--white);
}

.stat-card:hover .stat-icon {
    transform: scale(1.15) rotateY(360deg);
}

.stat-number {
    font-size: 38px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 12px;
    line-height: 1.2;
    position: relative;
    z-index: 2;
}

.stat-number .stat-text {
    font-size: 24px;
}

.stat-card-text .stat-number {
    font-size: 32px;
}

.stat-card-text .stat-number .stat-text {
    font-size: 32px;
}

.stat-number .counter {
    display: inline-block;
}

.stat-suffix {
    font-size: 20px;
    font-weight: 600;
    margin-left: 5px;
}

.stat-label {
    color: rgba(255, 255, 255, 0.85);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.stat-label-highlight {
    color: var(--white);
    font-weight: 600;
}

.stat-progress-bar {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
    position: relative;
    z-index: 2;
}

.stat-progress-fill {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
    border-radius: 2px;
    transition: width 2s ease-out;
}

.stat-card:hover .stat-progress-fill {
    width: 100%;
}

@media (max-width: 991px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-card {
        height: 300px;
    }
}

/* ==========================================
   DIVISIONS SECTION
   ========================================== */
.divisions-section {
    padding: 100px 0;
    background: linear-gradient(to bottom, #ffffff 0%, #f8f9fa 100%);
    position: relative;
}

/* ==========================================
   DIVISIONS GRID SECTION
   ========================================== */
.divisions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-top: 60px;
}

.division-card-wrapper {
    position: relative;
}

.division-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.division-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.division-card.featured {
    border: 2px solid var(--secondary-color);
}

.division-card.featured::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
    z-index: 1;
}

.division-image-container {
    position: relative;
    width: 100%;
    height: 260px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.division-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(61, 68, 112, 0.4), rgba(76, 175, 80, 0.3));
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.division-card:hover .division-overlay {
    opacity: 1;
}

.division-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
    display: block;
}

.division-card:hover .division-image {
    transform: scale(1.15);
}

/* Adjust equipment division image position */
.division-card-wrapper[data-division="equipment"] .division-image {
    object-position: center 70%;
}

/* Division card click zoom effect */
.division-card {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.division-card.zoom-effect {
    animation: zoomInOut 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes zoomInOut {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.division-badge-tag {
    position: absolute;
    top: 25px;
    left: 25px;
    background: linear-gradient(135deg, var(--secondary-color), #45a049);
    color: var(--white);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    z-index: 2;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.4);
}

.division-highlight-badge {
    position: absolute;
    bottom: 25px;
    right: 25px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--secondary-color);
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 2;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.division-body {
    padding: 35px 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.division-body h3 {
    font-size: 26px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 12px;
    line-height: 1.3;
}

.division-location {
    color: var(--text-gray);
    font-size: 14px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.division-location i {
    color: var(--secondary-color);
}

.division-tagline {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 15px;
    font-style: italic;
}

.division-summary {
    color: var(--text-gray);
    line-height: 1.7;
    font-size: 15px;
    margin-bottom: 20px;
    flex-grow: 1;
}

.division-toggle {
    background: transparent;
    border: 2px solid var(--secondary-color);
    color: var(--secondary-color);
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: auto;
    text-decoration: none;
}

.division-toggle:hover {
    background: var(--secondary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(76, 175, 80, 0.3);
}

.division-toggle i {
    transition: transform 0.3s ease;
}

.division-toggle:hover i {
    transform: translateX(3px);
}

.division-expand-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, padding 0.5s ease;
    background: #f8f9fa;
}

.division-expand-content.active {
    max-height: 1000px;
    padding: 25px 30px;
}

.division-expand-inner {
    color: var(--text-gray);
    line-height: 1.8;
    font-size: 15px;
}

.division-features {
    list-style: none;
    padding: 0;
    margin: 20px 0 0;
}

.division-features li {
    padding: 10px 0;
    padding-left: 28px;
    position: relative;
    color: var(--text-gray);
    line-height: 1.7;
    font-size: 14px;
    transition: all 0.3s ease;
}

.division-features li:hover {
    color: var(--primary-color);
    padding-left: 32px;
}

.division-features li i {
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-size: 14px;
    top: 50%;
    transform: translateY(-50%);
}

.division-capabilities {
    list-style: none;
    padding: 0;
    margin: 0;
}

.division-capabilities li {
    padding: 12px 0;
    padding-left: 30px;
    position: relative;
    color: var(--text-gray);
    line-height: 1.7;
    font-size: 15px;
    transition: all 0.3s ease;
}

.division-capabilities li:hover {
    color: var(--primary-color);
    padding-left: 35px;
}

.division-capabilities li i {
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-size: 16px;
    top: 50%;
    transform: translateY(-50%);
}

.division-capabilities li:hover i {
    transform: translateY(-50%) scale(1.2);
}

@media (max-width: 991px) {
    .divisions-grid {
        grid-template-columns: 1fr;
    }
    
    .division-image-container {
        aspect-ratio: 16 / 10;
    }
}

@media (max-width: 767px) {
    .divisions-section {
        padding: 70px 0;
    }
    
    .divisions-grid {
        gap: 25px;
        margin-top: 40px;
    }
    
    .division-body {
        padding: 30px 25px;
    }
    
    .division-body h3 {
        font-size: 22px;
    }
    
    .division-image-container {
        aspect-ratio: 4 / 3;
    }
    
    .division-icon {
        width: 60px;
        height: 60px;
        font-size: 28px;
    }
    
}


/* ==========================================
   PROJECTS SECTION
   ========================================== */
.projects-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.project-item {
    margin-bottom: 30px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.project-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.project-img {
    position: relative;
    overflow: hidden;
    height: 280px;
}

.project-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.project-item:hover .project-img img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(61, 68, 112, 0.95), transparent);
    display: flex;
    align-items: flex-end;
    padding: 30px;
    opacity: 0;
    transition: all 0.3s ease;
}

.project-item:hover .project-overlay {
    opacity: 1;
}

.project-info {
    color: var(--white);
}

.project-info h4 {
    font-size: 22px;
    color: var(--white);
    margin-bottom: 8px;
}

.project-info p {
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    font-size: 15px;
}

/* ==========================================
   CERTIFICATIONS SECTION
   ========================================== */
.certifications-section {
    padding: 80px 0;
    background: var(--white);
}

.certifications-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 40px;
    background: var(--bg-light);
    border-radius: 8px;
}

.cert-item {
    background: var(--white);
    padding: 15px 25px;
    border-radius: 5px;
    font-weight: 600;
    color: var(--primary-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.cert-item:hover {
    border-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* ==========================================
   MISSION SECTION
   ========================================== */
.mission-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
}

.mission-content {
    text-align: center;
}

.mission-icon {
    font-size: 60px;
    color: var(--white);
    margin-bottom: 25px;
    opacity: 0.9;
}

.mission-content h2 {
    font-size: 36px;
    color: var(--white);
    margin-bottom: 25px;
}

.mission-quote {
    font-size: 42px;
    font-weight: 700;
    font-style: italic;
    color: var(--white);
    margin: 30px 0;
    border: none;
    padding: 0;
}

.mission-text {
    font-size: 19px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.95);
    max-width: 800px;
    margin: 0 auto;
}

.mission-text strong {
    color: var(--white);
}

/* ==========================================
   CONTACT SECTION
   ========================================== */
.contact-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.contact-info {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    margin-bottom: 30px;
    border-top: 4px solid var(--secondary-color);
}

.contact-info:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.12);
}

.contact-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: var(--white);
    font-size: 28px;
}

.contact-info h4 {
    font-size: 20px;
    color: var(--text-color);
    margin-bottom: 15px;
}

.contact-info p {
    color: var(--text-gray);
    margin: 0;
    line-height: 1.8;
}

.contact-form {
    background: var(--white);
    padding: 50px;
    border-radius: 8px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
}

.form-group {
    margin-bottom: 20px;
}

.contact-form .form-control {
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: 5px;
    font-size: 15px;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
    width: 100%;
}

.contact-form .form-control:focus {
    border-color: var(--secondary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

.contact-form textarea.form-control {
    resize: vertical;
}

/* ==========================================
   FOOTER
   ========================================== */
.site-footer {
    background: var(--bg-dark);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-widget {
    margin-bottom: 30px;
}

.footer-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
}

.footer-logo {
    width: 80px;
    height: auto;
    max-height: 60px;
    object-fit: contain;
}

.footer-heading {
    font-size: 18px;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.footer-widget p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

.footer-menu li {
    margin-bottom: 12px;
}

.footer-menu a {
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
    font-size: 15px;
}

.footer-menu a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.footer-certs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-cert {
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    color: var(--white);
    transition: all 0.3s ease;
}

.footer-cert:hover {
    background: var(--secondary-color);
    transform: scale(1.05);
}

.footer-bottom {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    font-size: 14px;
}

/* ==========================================
   SCROLL TO TOP
   ========================================== */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--secondary-color);
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.3);
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background: var(--secondary-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(76, 175, 80, 0.4);
}

/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */
@media (max-width: 991px) {
    .hero-title {
        font-size: 42px;
        max-width: 70%;
    }
    
    .hero-title-arabic {
        font-size: 28px;
        max-width: 70%;
    }
    
    .hero-tagline {
        font-size: 17px;
    }
    
    .hero-text {
        max-width: 70%;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .about-content {
        padding-left: 0;
        margin-top: 30px;
    }
    
    .division-row {
        padding: 30px 20px;
    }
    
    .contact-form {
        padding: 35px 25px;
    }
}

@media (max-width: 767px) {
    .top-bar {
        display: none;
    }
    
    .hero-banner {
        height: 60vh;
    }
    
    .hero-image {
        transform: none;
    }
    
    .hero-content {
        padding: 0;
        text-align: center;
    }
    
    .hero-title {
        font-size: 32px;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
        text-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
    }
    
    .hero-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .hero-tagline {
        padding-left: 0;
    }
    
    .hero-tagline::before {
        display: none;
    }
    
    .hero-btns {
        justify-content: center;
    }
    
    .btn {
        padding: 12px 28px;
        font-size: 15px;
    }
    
    .hero-title-arabic {
        font-size: 24px;
        max-width: 100%;
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-tagline {
        font-size: 16px;
        text-align: center;
        padding-left: 0;
    }
    
    .hero-btns {
        justify-content: center;
    }
    
    .btn {
        padding: 12px 28px;
        font-size: 15px;
    }
    
    .hero-slider-indicators {
        bottom: 20px;
    }
    
    .hero-slider-indicators .indicator {
        width: 10px;
        height: 10px;
    }
    
    .hero-slider-indicators .indicator.active {
        width: 25px;
    }
    
    .hero-text {
        font-size: 15px;
        max-width: 100%;
        text-align: center;
    }
    
    .hero-btns {
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    
    .hero-btns .btn {
        width: 100%;
        max-width: 280px;
    }
    
    .hero-btns .btn {
        width: 100%;
    }
    
    section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .features-section {
        margin-top: -30px;
        padding: 50px 0;
    }
    
    .feature-item {
        margin-bottom: 30px;
        padding: 30px 15px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }
    
    .feature-item:last-child {
        border-bottom: none;
    }
    
    .feature-item::after {
        display: none;
    }
    
    .about-content {
        padding-left: 0;
        padding-top: 30px;
    }
    
    .about-section {
        padding: 60px 0;
    }
    
    .services-section {
        padding: 60px 0;
    }
    
    .why-choose-section {
        padding: 60px 0;
    }
    
    .mission-quote {
        font-size: 32px;
    }
    
    .certifications-list {
        padding: 30px 20px;
        gap: 15px;
    }
    
    .division-row {
        padding: 25px 15px;
    }
    
    .contact-form {
        padding: 30px 20px;
    }
}

/* ==========================================
   UTILITY CLASSES
   ========================================== */
.text-center {
    text-align: center;
}

.mt-5 {
    margin-top: 3rem;
}

.mb-3 {
    margin-bottom: 1rem;
}

.text-md-end {
    text-align: right;
}

@media (max-width: 767px) {
    .text-md-end {
        text-align: center;
    }
}

/* ==========================================
   SCROLLBAR STYLING
   ========================================== */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--secondary-color), var(--primary-color));
}

/* ==========================================
   SELECTION
   ========================================== */
::selection {
    background: var(--secondary-color);
    color: var(--white);
}

::-moz-selection {
    background: var(--secondary-color);
    color: var(--white);
}

/* ==========================================
   ABOUT PAGE STYLES (screenshot-based hero)
   ========================================== */
.about-hero-section {
    padding: 140px 0 100px;
    background: linear-gradient(180deg, #1e2a4a 0%, #252f4a 40%, #2a3458 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.about-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(76, 175, 80, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.about-hero-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to top, rgba(248, 249, 250, 1) 0%, rgba(248, 249, 250, 0.3) 50%, transparent 100%);
    z-index: 1;
}

.about-hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    animation: aboutHeroFadeIn 0.9s ease-out;
}

@keyframes aboutHeroFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.about-hero-pill {
    display: inline-block;
    background: transparent;
    color: #4caf50;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    padding: 10px 26px;
    border-radius: 50px;
    margin-bottom: 22px;
    border: 2px solid #4caf50;
}

.about-hero-title {
    font-size: 48px;
    font-weight: 800;
    color: var(--white);
    margin: 0;
    line-height: 1.25;
    letter-spacing: -0.5px;
    text-align: center;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.25);
}

.about-hero-underline {
    position: relative;
    display: inline-block;
}

.about-hero-underline::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    right: 0;
    height: 4px;
    background: #66bb6a;
    border-radius: 2px;
}

.about-full-section {
    padding: 80px 0;
    background: linear-gradient(to bottom, #ffffff 0%, #f8f9fa 100%);
}

.about-intro {
    margin-bottom: 70px;
    padding: 40px 0;
    position: relative;
}

.about-intro::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--secondary-color), transparent);
}

.about-intro .lead {
    font-size: 22px;
    line-height: 1.9;
    color: var(--text-color);
    margin-bottom: 25px;
    font-weight: 500;
    letter-spacing: 0.3px;
}

.about-intro p {
    font-size: 17px;
    line-height: 1.9;
    color: var(--text-gray);
    margin-bottom: 22px;
}

.about-intro strong {
    color: var(--primary-color);
    font-weight: 700;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-capabilities {
    margin-bottom: 80px;
    padding: 60px 50px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    border: 2px solid #f0f0f0;
    transition: all 0.4s ease;
}

.about-capabilities:hover {
    box-shadow: 0 15px 60px rgba(76, 175, 80, 0.15);
    border-color: var(--secondary-color);
}

.about-capabilities::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: linear-gradient(180deg, var(--secondary-color), var(--primary-color));
    border-radius: 20px 0 0 20px;
    box-shadow: 0 0 20px rgba(76, 175, 80, 0.5);
}

.about-capabilities::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(76, 175, 80, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 15s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(30px, -30px) rotate(180deg); }
}

.about-capabilities .section-title {
    margin-bottom: 40px;
    position: relative;
    padding-left: 20px;
    font-size: 38px;
    font-weight: 800;
    color: var(--primary-color);
}

.about-capabilities .section-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 40px;
    background: linear-gradient(180deg, var(--secondary-color), var(--primary-color));
    border-radius: 3px;
    box-shadow: 0 0 15px rgba(76, 175, 80, 0.5);
}

.about-capabilities .section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 20px;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), transparent);
    border-radius: 2px;
}

.capabilities-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.capabilities-list li {
    padding: 18px 0;
    font-size: 17px;
    color: var(--text-gray);
    line-height: 1.8;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding-left: 45px;
    position: relative;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.capabilities-list li:last-child {
    border-bottom: none;
}

.capabilities-list li:hover {
    color: var(--primary-color);
    transform: translateX(10px);
    padding-left: 50px;
}

.capabilities-list li i {
    position: absolute;
    left: 0;
    top: 18px;
    color: var(--secondary-color);
    font-size: 18px;
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.1), rgba(76, 175, 80, 0.05));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(76, 175, 80, 0.2);
}

.capabilities-list li:hover i {
    background: linear-gradient(135deg, var(--secondary-color), #45a049);
    color: var(--white);
    transform: scale(1.15) rotate(360deg);
    border-color: var(--secondary-color);
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.4);
}

.vision-mission-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 50px 40px;
    border-radius: 20px;
    height: 100%;
    border: 2px solid #e9ecef;
    border-left: 6px solid var(--secondary-color);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.vision-mission-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(76, 175, 80, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.vision-mission-card:hover::before {
    opacity: 1;
}

.vision-mission-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
    transition: width 0.5s ease;
}

.vision-mission-card:hover::after {
    width: 100%;
}

.vision-mission-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 60px rgba(76, 175, 80, 0.2);
    border-left-color: var(--primary-color);
    border-color: var(--secondary-color);
}

.vm-icon {
    font-size: 48px;
    color: var(--secondary-color);
    margin-bottom: 30px;
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.15), rgba(76, 175, 80, 0.05));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.2);
    border: 3px solid rgba(76, 175, 80, 0.2);
}

.vision-mission-card:hover .vm-icon {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: var(--white);
    transform: rotate(5deg) scale(1.15);
    box-shadow: 0 12px 35px rgba(76, 175, 80, 0.4);
    border-color: var(--secondary-color);
}

.vm-title {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    transition: color 0.4s ease;
}

.vision-mission-card:hover .vm-title {
    color: var(--secondary-color);
}

.vm-text {
    font-size: 17px;
    line-height: 1.9;
    color: var(--text-gray);
    margin: 0;
    position: relative;
    z-index: 1;
    transition: color 0.4s ease;
}

.vision-mission-card:hover .vm-text {
    color: var(--text-color);
}

.about-commitment {
    padding: 70px 60px;
    margin-top: 60px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #2a3458 50%, var(--primary-dark) 100%);
    border-radius: 20px;
    color: var(--white);
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
    border: 2px solid rgba(76, 175, 80, 0.2);
    transition: all 0.4s ease;
}

.about-commitment:hover {
    box-shadow: 0 20px 70px rgba(76, 175, 80, 0.3);
    border-color: var(--secondary-color);
}

.about-commitment::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(76, 175, 80, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 4s ease-in-out infinite;
}

.about-commitment::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(76, 175, 80, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 20s ease-in-out infinite;
}

.about-commitment .section-title {
    color: var(--white);
    position: relative;
    z-index: 1;
    font-size: 38px;
    font-weight: 800;
    margin-bottom: 25px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.about-commitment .section-title::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 0;
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), rgba(76, 175, 80, 0.5));
    border-radius: 2px;
    box-shadow: 0 0 15px rgba(76, 175, 80, 0.5);
}

.commitment-intro {
    font-size: 20px;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 40px;
    font-weight: 500;
    position: relative;
    z-index: 1;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
}

.commitment-list {
    list-style: none;
    padding: 0;
    margin: 0;
    position: relative;
    z-index: 1;
}

.commitment-list li {
    padding: 20px 0;
    font-size: 18px;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.8;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding-left: 50px;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.commitment-list li:last-child {
    border-bottom: none;
}

.commitment-list li:hover {
    color: var(--white);
    transform: translateX(12px);
    padding-left: 55px;
    text-shadow: 0 2px 10px rgba(76, 175, 80, 0.5);
}

.commitment-list li i {
    position: absolute;
    left: 0;
    top: 20px;
    color: var(--secondary-color);
    font-size: 22px;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 3px solid var(--secondary-color);
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

.commitment-list li:hover i {
    background: linear-gradient(135deg, var(--secondary-color), #45a049);
    color: var(--white);
    transform: scale(1.2) rotate(360deg);
    box-shadow: 0 6px 25px rgba(76, 175, 80, 0.5);
    border-color: var(--white);
}

@media (max-width: 768px) {
    .site-logo {
        width: 130px;
        max-height: 130px;
    }
    
    .brand-arabic {
        font-size: 15px;
    }
    
    .brand-name-main {
        font-size: 28px;
    }
    
    .navbar-nav .nav-link {
        font-size: 16px;
    }
    
    .brand-name-full {
        font-size: 14px;
    }
    
    .navbar-brand {
        gap: 10px;
    }
    
    .about-hero-title {
        font-size: 36px;
    }
    
    .about-hero-section {
        padding: 80px 0 50px;
    }
    
    .about-capabilities {
        padding: 30px 20px;
    }
    
    .about-commitment {
        padding: 40px 30px;
    }
    
    .vision-mission-card {
        margin-bottom: 30px;
        padding: 35px 25px;
    }
    
    .vm-icon {
        font-size: 36px;
        width: 60px;
        height: 60px;
    }
    
    .vm-title {
        font-size: 26px;
    }
}

/* ==========================================
   BILINGUAL - Language Modal & RTL
   ========================================== */
.lang-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.lang-modal-overlay.lang-modal-visible {
    opacity: 1;
    visibility: visible;
}
.lang-modal-box {
    background: var(--white);
    border-radius: 16px;
    padding: 40px 50px;
    max-width: 420px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    text-align: center;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}
.lang-modal-overlay.lang-modal-visible .lang-modal-box {
    transform: scale(1);
}
.lang-modal-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}
.lang-modal-subtitle {
    font-size: 15px;
    color: var(--text-gray);
    margin-bottom: 28px;
}
.lang-modal-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}
.lang-modal-btn {
    padding: 14px 32px;
    font-size: 17px;
    font-weight: 600;
    border: 2px solid var(--secondary-color);
    background: var(--white);
    color: var(--secondary-color);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.25s ease;
    font-family: inherit;
}
.lang-modal-btn:hover {
    background: var(--secondary-color);
    color: var(--white);
    transform: translateY(-2px);
}
.lang-modal-btn-ar {
    font-family: 'Arial', 'Tahoma', sans-serif;
}
/* Header language switcher – after Instagram, EN | AR only */
.lang-switcher-inline {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: 12px;
    padding-left: 12px;
    border-left: 1px solid rgba(255,255,255,0.35);
}
.lang-switcher-btn {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.5);
    color: var(--white);
    padding: 5px 11px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 36px;
}
.lang-switcher-btn:hover,
.lang-switcher-btn.active {
    background: var(--white);
    color: var(--primary-color);
    border-color: var(--white);
}
/* RTL layout when Arabic is selected */
html[dir="rtl"] body {
    text-align: right;
}
html[dir="rtl"] .navbar-brand,
html[dir="rtl"] .brand-text-wrapper {
    text-align: right;
}
html[dir="rtl"] .navbar-nav {
    margin-left: 0;
    margin-right: auto;
}
html[dir="rtl"] .top-bar-left ul,
html[dir="rtl"] .top-bar-right ul {
    flex-direction: row-reverse;
}
html[dir="rtl"] .lang-switcher-inline {
    margin-left: 0;
    margin-right: 12px;
    padding-left: 0;
    padding-right: 12px;
    border-left: none;
    border-right: 1px solid rgba(255,255,255,0.35);
}
@media (max-width: 768px) {
    .lang-modal-box { padding: 30px 24px; }
    .lang-modal-title { font-size: 20px; }
    .lang-modal-buttons { flex-direction: column; }
    .lang-modal-btn { width: 100%; }
    .lang-switcher-inline { margin-left: 8px; padding-left: 8px; }
}

/* ==========================================
   GTranslate - Language Switcher (English | العربية)
   Full-site translation; does not change layout
   ========================================== */
#google_translate_element {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0,0,0,0);
}
.goog-te-banner-frame { display: none !important; }
body .skiptranslate { display: none !important; }

.gtranslate-nav-item {
    display: flex;
    align-items: center;
}
#gtranslate-lang-switcher {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}
#gtranslate-lang-switcher .gtranslate-label {
    font-size: 13px;
    color: var(--text-gray);
    margin-right: 4px;
    font-weight: 500;
}
#gtranslate-lang-switcher .gtranslate-btn {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--primary-color);
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}
#gtranslate-lang-switcher .gtranslate-btn:hover {
    background: var(--secondary-color);
    color: var(--white);
    border-color: var(--secondary-color);
}
#gtranslate-lang-switcher .gtranslate-btn.active {
    background: var(--secondary-color);
    color: var(--white);
    border-color: var(--secondary-color);
}
#gtranslate-lang-switcher .gtranslate-sep {
    color: var(--border-color);
    font-weight: 300;
    user-select: none;
}

/* GTranslate in top bar – match dark bar style */
.top-bar #gtranslate-lang-switcher .gtranslate-btn {
    color: rgba(255, 255, 255, 0.95);
    border-color: rgba(255, 255, 255, 0.5);
}
.top-bar #gtranslate-lang-switcher .gtranslate-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.7);
}
.top-bar #gtranslate-lang-switcher .gtranslate-btn.active {
    background: var(--white);
    color: var(--primary-color);
    border-color: var(--white);
}
.top-bar #gtranslate-lang-switcher .gtranslate-sep {
    color: rgba(255, 255, 255, 0.6);
}

/* GTranslate RTL – when Arabic is selected */
body.gtranslate-rtl {
    text-align: right;
    direction: rtl;
}
/* Hero slider – same continuous loop (1→2→3→4→1) in Arabic, fully isolated from RTL */
body.gtranslate-rtl .hero-slider-wrapper,
body.gtranslate-rtl .hero-slides-container {
    direction: ltr;
    unicode-bidi: isolate;
    isolation: isolate;
}
body.gtranslate-rtl .hero-banner {
    direction: ltr;
    unicode-bidi: isolate;
}
body.gtranslate-rtl .navbar-nav { margin-left: 0; margin-right: auto; }
body.gtranslate-rtl .top-bar-left ul,
body.gtranslate-rtl .top-bar-right ul { flex-direction: row-reverse; }
body.gtranslate-rtl .mega-menu-wrapper { left: auto; right: 0; }
body.gtranslate-rtl .menu-panel-back { flex-direction: row-reverse; }
body.gtranslate-rtl .section-title::after { left: auto; right: 50%; transform: translateX(50%); }
body.gtranslate-rtl .footer-menu li a,
body.gtranslate-rtl .navbar-nav .nav-link { text-align: inherit; }
body.gtranslate-rtl .row { direction: rtl; }
body.gtranslate-rtl [class*="col-"] { direction: rtl; text-align: right; }

@media (max-width: 768px) {
    #gtranslate-lang-switcher .gtranslate-btn { padding: 6px 10px; font-size: 12px; }
    .top-bar-right { gap: 10px; }
}
