@charset "UTF-8";

/* ==========================================================================
   TABLE OF CONTENTS
   ==========================================================================
   0. Offline Fonts (Optional)
   1. Design Tokens (Variables)
   2. Global & Base Styles
   3. Preloader (Loading Screen)
   4. Button System (UI Kit)
   5. Top Bar & Navbar
   6. Hero Section & Sidebar News
   7. About Section (Premium Dark)
   8. Subsidiaries Section
   9. Latest News Section
  10. CEO Message
  11. Mega Projects Section
  12. Footer
  13. Media Queries (Responsive)
   ========================================================================== */



 /* =========================================
   0. Offline Fonts (IRANYekanX)
   ========================================= */
@font-face {
    font-family: 'IRANYekanX';
    font-style: normal;
    font-weight: 100;
    src: url('../fonts/IRANYekanX/woff/IRANYekanX-Thin.woff') format('woff'),   
         url('../fonts/IRANYekanX/woff2/IRANYekanX-Thin.woff2') format('woff2');
    font-display: swap;
}

@font-face {
    font-family: 'IRANYekanX';
    font-style: normal;
    font-weight: 200;
    src: url('../fonts/IRANYekanX/woff/IRANYekanX-UltraLight.woff') format('woff'),   
         url('../fonts/IRANYekanX/woff2/IRANYekanX-UltraLight.woff2') format('woff2');
    font-display: swap;
}

@font-face {
    font-family: 'IRANYekanX';
    font-style: normal;
    font-weight: 300;
    src: url('../fonts/IRANYekanX/woff/IRANYekanX-Light.woff') format('woff'),   
         url('../fonts/IRANYekanX/woff2/IRANYekanX-Light.woff2') format('woff2');
    font-display: swap;
}

@font-face {
    font-family: 'IRANYekanX';
    font-style: normal;
    font-weight: normal; /* معادل 400 */
    src: url('../fonts/IRANYekanX/woff/IRANYekanX-Regular.woff') format('woff'),   
         url('../fonts/IRANYekanX/woff2/IRANYekanX-Regular.woff2') format('woff2');
    font-display: swap;
}

@font-face {
    font-family: 'IRANYekanX';
    font-style: normal;
    font-weight: 500;
    src: url('../fonts/IRANYekanX/woff/IRANYekanX-Medium.woff') format('woff'),   
         url('../fonts/IRANYekanX/woff2/IRANYekanX-Medium.woff2') format('woff2');
    font-display: swap;
}

@font-face {
    font-family: 'IRANYekanX';
    font-style: normal;
    font-weight: 600;
    src: url('../fonts/IRANYekanX/woff/IRANYekanX-DemiBold.woff') format('woff'),   
         url('../fonts/IRANYekanX/woff2/IRANYekanX-DemiBold.woff2') format('woff2');
    font-display: swap;
}

@font-face {
    font-family: 'IRANYekanX';
    font-style: normal;
    font-weight: bold; /* معادل 700 */
    src: url('../fonts/IRANYekanX/woff/IRANYekanX-Bold.woff') format('woff'),   
         url('../fonts/IRANYekanX/woff2/IRANYekanX-Bold.woff2') format('woff2');
    font-display: swap;
}

@font-face {
    font-family: 'IRANYekanX';
    font-style: normal;
    font-weight: 800;
    src: url('../fonts/IRANYekanX/woff/IRANYekanX-ExtraBold.woff') format('woff'),   
         url('../fonts/IRANYekanX/woff2/IRANYekanX-ExtraBold.woff2') format('woff2');
    font-display: swap;
}

@font-face {
    font-family: 'IRANYekanX';
    font-style: normal;
    font-weight: 900;
    src: url('../fonts/IRANYekanX/woff/IRANYekanX-Black.woff') format('woff'),   
         url('../fonts/IRANYekanX/woff2/IRANYekanX-Black.woff2') format('woff2');
    font-display: swap;
}

@font-face {
    font-family: 'IRANYekanX';
    font-style: normal;
    font-weight: 950;
    src: url('../fonts/IRANYekanX/woff/IRANYekanX-ExtraBlack.woff') format('woff'),   
         url('../fonts/IRANYekanX/woff2/IRANYekanX-ExtraBlack.woff2') format('woff2');
    font-display: swap;
}

@font-face {
    font-family: 'IRANYekanX';
    font-style: normal;
    font-weight: 1000;
    src: url('../fonts/IRANYekanX/woff/IRANYekanX-Heavy.woff') format('woff'),   
         url('../fonts/IRANYekanX/woff2/IRANYekanX-Heavy.woff2') format('woff2');
    font-display: swap;
}


   /* =========================================
   1. Design Tokens (Variables)
   ========================================= */
:root {

    /* 🔴 هک متغیرهای پیش‌فرض بوت‌استرپ برای یکپارچگی فونت */
    --bs-font-sans-serif: 'IRANYekanX', sans-serif;
    --bs-body-font-family: 'IRANYekanX', sans-serif;

    /* --- طیف سورمه‌ای سازمانی (Navy) - رنگ اصلی --- */
    --navy-900: #1a2a40; 
    /* ... بقیه متغیرهای رنگی شما ... */
    
    --font-primary: 'IRANYekanX', sans-serif;
    --transition-smooth: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);

    /* --- طیف سورمه‌ای سازمانی (Navy) - رنگ اصلی --- */
    --navy-900: #1a2a40; 
    --navy-800: #1e3250;
    --navy-700: #233b63;
    --navy-600: #2a4676; /* رنگ اصلی برند (Primary) */
    --navy-500: #3b5b91;
    --navy-400: #597aad;
    --navy-300: #82a0ca;
    --navy-200: #b3c9e6;
    --navy-100: #e2ebf5; 

    /* --- طیف نارنجی انرژی (Orange) - رنگ اکشن --- */
    --orange-900: #7a3600;
    --orange-800: #9c4500;
    --orange-700: #c25400;
    --orange-600: #e66900;
    --orange-500: #f58216; /* رنگ اکشن (Secondary) */
    --orange-400: #fa9d46;
    --orange-300: #fbbd75;
    --orange-200: #fcdca3;
    --orange-100: #fef1d9;

    /* --- طیف سبز پایداری (Green) - رنگ سوم --- */
    --green-900: #06402b;
    --green-800: #0a5c3e;
    --green-700: #0f7a53;
    --green-600: #159e6b;
    --green-500: #1abf83; /* رنگ پایداری/موفقیت (Tertiary) */
    --green-400: #42d49e;
    --green-300: #71e3b9;
    --green-200: #a9f0d5;
    --green-100: #dcfaf0;

    /* --- طیف خاکستری و خنثی (Grayscale) --- */
    --gray-900: #1e293b; 
    --gray-800: #334155;
    --gray-700: #475569;
    --gray-600: #64748b; 
    --gray-500: #94a3b8;
    --gray-400: #cbd5e1;
    --gray-300: #e2e8f0; 
    --gray-200: #f1f5f9;
    --gray-100: #f8fafc; 
    --gray-50:  #ffffff;

    /* --- متغیرهای کاربردی --- */
    --bg-main: var(--gray-100);
    --text-dark: var(--gray-900);
    --text-muted: var(--gray-600);
    --border-light: var(--gray-300);
    
    --font-vazir: 'IRANYekanX', sans-serif; /* تغییر یافته به فونت سازمانی */
    --transition-smooth: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* =========================================
   2. Global & Base Styles
   ========================================= */
    
   body {
    font-family: var(--font-primary); 
    background-color: var(--bg-main); 
    color: var(--text-dark); 
    margin: 0; 
    padding: 0; 
    overflow-x: hidden;
}
}
a { text-decoration: none; transition: var(--transition-smooth); }
ul { list-style: none; padding: 0; margin: 0; }

.text-orange { color: var(--orange-500) !important; }
.text-navy { color: var(--navy-600) !important; }

/* =========================================
   3. Preloader
   ========================================= */
#preloader {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: var(--navy-900);
    display: flex; justify-content: center; align-items: center; 
    z-index: 99999; transition: opacity 0.8s ease, visibility 0.8s;
}
.preloader-hidden { opacity: 0 !important; visibility: hidden !important; }

.logo-animation { width: 150px; height: 150px; margin: 0 auto; animation: pulseLogo 2s infinite ease-in-out; }
.logo-animation svg { width: 100%; height: 100%; fill: var(--orange-500); filter: drop-shadow(0 0 10px rgba(245, 130, 22, 0.5)); }

@keyframes pulseLogo {
    0%, 100% { transform: scale(1); opacity: 0.7; }
    50% { transform: scale(1.05); opacity: 1; }
}

.progress-track { width: 150px; height: 2px; background: rgba(255,255,255,0.1); margin: 25px auto 0; border-radius: 2px; overflow: hidden; }
.progress-bar-fill { height: 100%; background: var(--orange-500); width: 0%; animation: loadingBar 2s ease-in-out infinite; }
@keyframes loadingBar { 0% { width: 0%; } 100% { width: 100%; } }

.loading-label { display: block; color: var(--gray-400); font-size: 0.7rem; margin-top: 15px; letter-spacing: 4px; font-weight: 800; }

/* =========================================
   4. Button System (UI Kit)
   ========================================= */
.btn-base {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 10px 24px; border-radius: 10px; font-weight: 700; font-size: 0.95rem;
    text-decoration: none; border: 2px solid transparent; gap: 10px;
    transition: var(--transition-smooth); cursor: pointer;
}
.btn-base:hover { transform: translateY(-4px); }
.btn-base:active { transform: translateY(-1px); }
.btn-base i { transition: transform 0.3s ease; }
.btn-base:hover .fa-arrow-left, .btn-base:hover .fa-angle-left { transform: translateX(-4px); }

.btn-primary { background-color: var(--navy-600); color: #ffffff; }
.btn-primary:hover { background-color: var(--navy-700); color: #ffffff; box-shadow: 0 12px 20px -8px rgba(42, 70, 118, 0.6); }

.btn-secondary { background-color: var(--orange-500); color: #ffffff; }
.btn-secondary:hover { background-color: var(--orange-600); color: #ffffff; box-shadow: 0 12px 20px -8px rgba(245, 130, 22, 0.6); }

.btn-success-brand { background-color: var(--green-500); color: #ffffff; }
.btn-success-brand:hover { background-color: var(--green-600); color: #ffffff; box-shadow: 0 12px 20px -8px rgba(26, 191, 131, 0.6); }

.btn-outline-navy { background-color: transparent; border-color: var(--navy-600); color: var(--navy-600); }
.btn-outline-navy:hover { background-color: var(--navy-600); color: #ffffff; box-shadow: 0 12px 20px -8px rgba(42, 70, 118, 0.5); }

.btn-ghost { background-color: var(--gray-100); color: var(--navy-600); border-color: var(--gray-200); padding: 8px 18px; }
.btn-ghost:hover { background-color: var(--navy-100); color: var(--navy-800); border-color: var(--navy-200); box-shadow: 0 8px 15px -5px rgba(42, 70, 118, 0.15); }

.btn-glow-electric {
    background-color: rgba(245, 130, 22, 0.1); border-color: rgba(245, 130, 22, 0.4);
    color: #ffffff; padding: 6px 6px 6px 24px; box-shadow: 0 0 15px rgba(245, 130, 22, 0.1);
}
.btn-glow-electric .btn-icon {
    width: 38px; height: 38px; background-color: var(--orange-500); border-radius: 8px;
    display: flex; align-items: center; justify-content: center; transition: transform 0.4s ease;
}
.btn-glow-electric:hover {
    background-color: rgba(245, 130, 22, 0.2); border-color: var(--orange-500); color: #ffffff;
    box-shadow: 0 15px 30px -5px rgba(245, 130, 22, 0.5), 0 0 20px rgba(245, 130, 22, 0.3);
}
.btn-glow-electric:hover .btn-icon { transform: rotate(-45deg); }

/* =========================================
   5. Top Bar & Navbar
   ========================================= */
.top-bar {
    background: #ffffff; border-bottom: 1px solid var(--border-light);
    font-size: 0.85rem; padding: 8px 0; color: var(--text-muted);
}
.lang-switcher a { color: var(--text-muted); font-weight: 600; padding: 2px 5px; }
.lang-switcher a.active { color: var(--orange-500); }
.lang-switcher a:hover { color: var(--navy-600); }

.main-navbar {
    background: rgba(255, 255, 255, 0.98); border-bottom: 1px solid var(--border-light);
    padding: 10px 0; box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}
.navbar-brand img { max-height: 40px; transition: transform 0.3s; }
.navbar-brand:hover img { transform: scale(1.02); }

.nav-item { white-space: nowrap; margin: 0; padding: 0 4px; position: relative; }
.nav-item:not(:last-child)::after {
    content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
    height: 14px; width: 1px; background-color: var(--gray-300); 
}
.nav-link {
    color: var(--navy-800) !important; font-weight: 700; padding: 8px 12px !important;
    border-radius: 6px; font-size: 0.9rem; transition: var(--transition-smooth);
}
.nav-item:hover .nav-link, .nav-item.active .nav-link {
    color: var(--orange-500) !important; background: var(--orange-100);
}
.dropdown-toggle::after { display: none !important; }
.dropdown-menu {
    border: 1px solid var(--border-light); box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    border-radius: 12px; padding: 10px 0; margin-top: 10px; border-top: 3px solid var(--orange-500);
}
.dropdown-item { padding: 8px 20px; font-size: 0.85rem; font-weight: 600; color: var(--navy-800); transition: var(--transition-smooth); }
.dropdown-item:hover { background-color: var(--gray-100); color: var(--orange-500); padding-right: 25px; }

/* =========================================
   6. Hero Section & Sidebar News
   ========================================= */
.hero-fold-section {
    height: calc(100vh - 145px); min-height: 520px; max-height: 800px;
    padding: 15px 0 20px 0; background-color: var(--bg-main);
}
.hero-fold-section .row { margin: 0; }
.main-slider-container {
    position: relative; width: 100%; height: 100%; border-radius: 16px;
    overflow: hidden; background-color: var(--navy-900); display: flex; align-items: center;
}
.slider-bg-image {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover; background-position: center; z-index: 1;
    transition: background-image 0.8s ease-in-out;
    animation: kenBurnsEffect 20s infinite alternate ease-in-out;
}
@keyframes kenBurnsEffect { 0% { transform: scale(1); } 100% { transform: scale(1.1); } }
.slider-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(90deg, rgba(11, 19, 30, 0.95) 0%, rgba(11, 19, 30, 0.2) 100%); z-index: 2; }
.slider-content-box { position: relative; z-index: 3; max-width: 650px; padding: 0 80px 0 30px; color: #ffffff; }

.slider-tag {
    display: inline-block; background-color: rgba(245, 130, 22, 0.2); border: 1px solid var(--orange-500);
    color: var(--orange-500); padding: 6px 12px; border-radius: 30px; font-size: 0.75rem; font-weight: 700; margin-bottom: 12px;
}
.slider-main-title { font-size: 2rem; font-weight: 900; line-height: 1.4; margin-bottom: 15px; text-shadow: 0 4px 10px rgba(0,0,0,0.5); }
.slider-subtitle { font-size: 1rem; color: var(--gray-300); line-height: 1.8; margin-bottom: 25px; }

.vertical-slider-indicator-wrapper { position: absolute; right: 25px; top: 50%; transform: translateY(-50%); z-index: 4; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.indicator-line-track { position: relative; display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 8px 0; }
.indicator-line-track::before { content: ''; position: absolute; top: 0; bottom: 0; width: 2px; background-color: rgba(255, 255, 255, 0.2); z-index: 1; }
.indicator-dot { width: 8px; height: 8px; background-color: rgba(255, 255, 255, 0.5); border-radius: 50%; cursor: pointer; z-index: 2; transition: all 0.4s ease; }
.indicator-dot.active { height: 24px; background-color: var(--orange-500); border-radius: 5px; box-shadow: 0 0 10px var(--orange-500); }

/* Sidebar News */
.featured-news-card {
    background: #fff; border-radius: 16px; overflow: hidden; border: 1px solid var(--border-light);
    display: flex; flex-direction: column; transition: var(--transition-smooth);
}
.featured-news-card:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(0,0,0,0.05); }
.card-img-wrapper { position: relative; width: 100%; padding-top: 56.25%; overflow: hidden; }
.card-img-wrapper img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.featured-news-card:hover .card-img-wrapper img, .home-news-card:hover .card-img-wrapper img { transform: scale(1.08); }

.category-badge { position: absolute; top: 12px; right: 12px; background-color: var(--orange-500); color: #fff; padding: 4px 12px; border-radius: 20px; font-size: 0.7rem; font-weight: 800; z-index: 2; box-shadow: 0 4px 10px rgba(0,0,0,0.2); }
.card-body-custom { padding: 20px; }
.news-meta { font-size: 0.75rem; color: var(--text-muted); margin-bottom: 10px; display: flex; justify-content: space-between; font-weight: 600; }
.news-title { font-size: 1.1rem; font-weight: 800; color: var(--navy-900); margin-bottom: 10px; line-height: 1.6; }

.mini-news-item {
    background-color: #ffffff; border: 1px solid var(--border-light); border-radius: 12px;
    padding: 12px 15px; display: flex; align-items: center; justify-content: space-between; transition: all 0.3s;
}
.mini-news-item:hover { border-color: var(--navy-300); box-shadow: 0 5px 15px rgba(0,0,0,0.04); transform: translateX(-3px); }
.mini-news-content { display: flex; flex-direction: column; gap: 5px; max-width: 90%; }
.mini-news-tag { font-size: 0.7rem; font-weight: 800; color: var(--orange-500); }
.mini-news-item h4 a { font-size: 0.85rem; font-weight: 700; color: var(--navy-800); line-height: 1.5; }
.mini-news-item:hover h4 a { color: var(--navy-600); }

/* =========================================
   7. About Section (Premium Dark)
   ========================================= */
.about-premium-section { background: radial-gradient(circle at center, var(--navy-900) 0%, #020617 100%); overflow: hidden; }
.about-watermark-svg-dark { position: absolute; top: -40px; right: -20px; width: 180px; height: auto; opacity: 0.05; z-index: 1; pointer-events: none; }
.about-content-box { padding-right: 20px; }

.pulsing-dot { width: 12px; height: 12px; background-color: var(--orange-500); border-radius: 50%; box-shadow: 0 0 15px var(--orange-500); animation: pulseDot 1.2s infinite alternate; }
@keyframes pulseDot { 100% { transform: scale(1.6); opacity: 0.8; box-shadow: 0 0 25px var(--orange-500); } }

.text-transparent-stroke { -webkit-text-stroke: 1.5px var(--orange-500); color: transparent; letter-spacing: 1px; }

.video-glass-wrapper {
    border-radius: 20px; background: rgba(255, 255, 255, 0.03); backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1); padding: 15px; box-shadow: 0 15px 40px rgba(0,0,0,0.5);
    transition: var(--transition-smooth); position: relative;
}
.video-glass-wrapper:hover { transform: translateY(-10px); border-color: rgba(245, 130, 22, 0.3); }

.video-play-overlay-dark { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(2, 6, 23, 0.4); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all 0.3s; }
.video-glass-wrapper:hover .video-play-overlay-dark { background: rgba(2, 6, 23, 0.2); }

.play-btn-pulse-neon {
    width: 75px; height: 75px; background-color: var(--orange-500); color: #ffffff; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; font-size: 1.8rem; padding-left: 5px;
    box-shadow: 0 0 20px var(--orange-500); animation: pulseNeon 2s infinite cubic-bezier(0.66, 0, 0, 1);
}
@keyframes pulseNeon { to { box-shadow: 0 0 0 25px rgba(245, 130, 22, 0); } }

/* =========================================
   8. Subsidiaries Section
   ========================================= */
/* =========================================
   8. Subsidiaries Section
   ========================================= */
.subsidiaries-section { background-color: #ffffff; border-top: 1px solid var(--border-light); border-bottom: 1px solid var(--border-light); }

.sub-card-link { text-decoration: none; display: block; height: 100%; }

.sub-card {
    background: var(--bg-main); border: 1px solid var(--border-light); border-radius: 16px;
    padding: 30px 20px; height: 100%; display: flex; flex-direction: column; align-items: center; text-align: center;
    transition: var(--transition-smooth); position: relative;
}

.sub-card::before { 
    content: ''; position: absolute; top: -1px; left: -1px; right: -1px; height: 4px; 
    background: var(--navy-600); border-radius: 16px 16px 0 0; opacity: 0; transition: opacity 0.3s ease; 
}

.sub-card:hover { transform: translateY(-8px); box-shadow: 0 15px 30px rgba(0,0,0,0.05); border-color: var(--navy-200); background: #fff; }
.sub-card:hover::before { background: var(--orange-500); opacity: 1; }

.sub-logo-box { height: 75px; width: 100%; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.sub-logo-box img { max-height: 100%; max-width: 140px; filter: grayscale(100%); opacity: 0.6; transition: var(--transition-smooth); object-fit: contain; }
.sub-card:hover .sub-logo-box img { filter: grayscale(0%); opacity: 1; }

.sub-card-body { display: flex; flex-direction: column; flex-grow: 1; width: 100%; }

.sub-title { font-size: 1.1rem; font-weight: 800; color: var(--navy-900); margin-bottom: 10px; transition: color 0.3s ease; }
.sub-card:hover .sub-title { color: var(--orange-500); }

.sub-desc { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 20px; line-height: 1.7; flex-grow: 1; }

.sub-action { font-size: 0.85rem; font-weight: 700; color: var(--gray-400); transition: var(--transition-smooth); display: inline-block; }
.sub-card:hover .sub-action { color: var(--orange-500); transform: translateX(-3px); }

/* =========================================
   9. Latest News Section
   ========================================= */
.latest-news-section { background-color: var(--bg-main); }
.news-watermark-svg { position: absolute; top: -25px; right: -20px; width: 140px; opacity: 0.1; z-index: -1; }

.home-news-card {
    background: #ffffff; border: 1px solid var(--border-light); border-radius: 16px;
    overflow: hidden; transition: var(--transition-smooth); height: 100%; display: flex; flex-direction: column;
}
.home-news-card:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(26, 42, 58, 0.08); border-color: var(--navy-200); }
.home-news-card .news-title { font-size: 1rem; font-weight: 800; line-height: 1.6; min-height: 3.2rem; }
.home-news-card .news-title a { color: var(--navy-900); }
.home-news-card:hover .news-title a { color: var(--navy-600); }
.home-news-card .news-lead { font-size: 0.8rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* =========================================
  10. CEO Message Section
   ========================================= */
.ceo-message-section { background-color: #ffffff; overflow: hidden; }
.ceo-watermark-svg { position: absolute; top: -40px; right: 0; width: 220px; opacity: 0.1; z-index: -1; }
.quote-icon-bg { position: absolute; top: -10px; right: 20px; font-size: 6rem; color: var(--gray-200); z-index: -1; }

.ceo-section-title { color: var(--navy-900); font-size: 2rem; font-weight: 900; margin-bottom: 10px; }
.ceo-message-text { font-size: 1.05rem; line-height: 2.2; color: var(--gray-700); text-align: justify; font-style: italic; }

.ceo-image-wrapper { position: relative; padding-right: 20px; padding-bottom: 20px; max-width: 420px; margin: 0 auto; }
.ceo-image-frame { position: absolute; top: 20px; left: 20px; right: 0; bottom: 0; border: 3px solid var(--navy-600); border-radius: 16px; z-index: 1; transition: var(--transition-smooth); }
.ceo-main-img { position: relative; z-index: 2; width: 100%; border-radius: 16px; aspect-ratio: 4/5; object-fit: cover; transition: var(--transition-smooth); }
.ceo-image-wrapper:hover .ceo-image-frame { transform: translate(-10px, -10px); border-color: var(--orange-500); }
.ceo-image-wrapper:hover .ceo-main-img { transform: translate(5px, 5px); }

.ceo-experience-badge {
    position: absolute; bottom: 40px; right: -15px; background: var(--navy-900); padding: 15px 20px;
    border-radius: 12px; z-index: 3; text-align: center; border-bottom: 4px solid var(--green-500);
}

/* =========================================
  11. Mega Projects Section
   ========================================= */
.mega-projects-premium { background: radial-gradient(circle at center, var(--navy-900) 0%, var(--navy-800) 100%); min-height: 100vh; overflow: hidden; }

.svg-circuit { position: absolute; top: 0; left: 0; opacity: 0.4; z-index: 1; pointer-events: none; }
.circuit-path { stroke: var(--orange-500); stroke-width: 2; fill: none; stroke-dasharray: 50 200; stroke-dashoffset: 1000; animation: dashFlow 10s linear infinite; filter: drop-shadow(0 0 8px var(--orange-500)); }
.circuit-path-2 { stroke: var(--green-400); stroke-width: 2; fill: none; stroke-dasharray: 80 300; stroke-dashoffset: 1000; animation: dashFlow 15s linear infinite reverse; filter: drop-shadow(0 0 8px var(--green-400)); }
@keyframes dashFlow { to { stroke-dashoffset: 0; } }

.energy-particles .particle { position: absolute; border-radius: 50%; mix-blend-mode: screen; z-index: 1; animation: floatEnergy 8s infinite ease-in-out alternate; }
.p1 { width: 350px; height: 350px; top: -100px; right: -50px; background: radial-gradient(circle, rgba(245,130,22,0.8) 0%, transparent 70%); opacity: 0.4; }
.p2 { width: 450px; height: 450px; bottom: -150px; left: -100px; background: radial-gradient(circle, rgba(42,70,118,0.8) 0%, transparent 70%); opacity: 0.5; animation-delay: -4s; }
.p3 { width: 200px; height: 200px; top: 35%; left: 25%; background: radial-gradient(circle, rgba(26,191,131,0.6) 0%, transparent 70%); opacity: 0.3; animation-duration: 6s; }
@keyframes floatEnergy { 100% { transform: translateY(40px) translateX(30px) scale(1.1); } }

.project-glass-card {
    position: relative; border-radius: 20px; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03); backdrop-filter: blur(10px); transition: var(--transition-smooth);
    cursor: pointer; box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.large-card { height: 450px; } .small-card { height: 300px; }

.card-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-size: cover; background-position: center; z-index: 1; transition: transform 0.8s ease; }
.card-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to top, var(--navy-900) 0%, rgba(26,42,64,0.4) 60%, transparent 100%); z-index: 2; transition: all 0.5s; }

.project-glass-card:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(0,0,0,0.6), 0 0 20px rgba(245,130,22,0.2); border-color: rgba(255,255,255,0.3); }
.project-glass-card:hover .card-bg { transform: scale(1.1); }
.project-glass-card:hover .card-overlay { background: linear-gradient(to top, var(--navy-900) 10%, rgba(26,42,64,0.8) 100%); }

.electric-border { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border-radius: 20px; pointer-events: none; z-index: 4; }
.electric-border::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; border-radius: 20px; padding: 2px; background: linear-gradient(45deg, transparent, var(--orange-500), var(--green-400), transparent); -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); -webkit-mask-composite: xor; mask-composite: exclude; background-size: 300% 300%; opacity: 0; transition: opacity 0.5s; }
.project-glass-card:hover .electric-border::before { opacity: 1; animation: borderGlow 2.5s linear infinite; }
@keyframes borderGlow { 0% { background-position: 0% 50%; } 100% { background-position: 100% 50%; } }

.card-content { position: relative; z-index: 3; padding: 30px; }
.energy-pulse-icon { width: 45px; height: 45px; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.3); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1.3rem; backdrop-filter: blur(5px); transition: var(--transition-smooth); }
.project-glass-card:hover .energy-pulse-icon { background: var(--orange-500); border-color: var(--orange-500); color: #fff; box-shadow: 0 0 20px var(--orange-500); transform: rotate(15deg) scale(1.1); }

.project-title { color: #ffffff; font-size: 1.5rem; font-weight: 900; margin-bottom: 12px; }
.project-stats { display: flex; gap: 15px; font-size: 0.9rem; color: var(--gray-200); font-weight: 600; margin-bottom: 0; transition: margin-bottom 0.4s ease; }

.hover-reveal-content { max-height: 0; opacity: 0; overflow: hidden; transition: var(--transition-smooth); transform: translateY(20px); }
.hover-reveal-content p { font-size: 0.9rem; color: var(--gray-300); line-height: 1.8; margin-top: 15px; }
.project-glass-card:hover .project-stats { margin-bottom: 10px; }
.project-glass-card:hover .hover-reveal-content { max-height: 150px; opacity: 1; transform: translateY(0); }

/* =========================================
  12. Footer
   ========================================= */
.main-footer { background-color: var(--navy-900); color: var(--gray-300); position: relative; overflow: hidden; border-top: 5px solid var(--orange-500); }
.footer-glow { position: absolute; top: -150px; right: -150px; width: 400px; height: 400px; border-radius: 50%; background: radial-gradient(circle, rgba(245,130,22,0.1) 0%, transparent 70%); z-index: 0; pointer-events: none; }
.footer-logo { width: 190px; filter: brightness(0) invert(1); } /* تبدیل لوگوی تیره به سفید اگر SVG تک رنگ باشد */
.footer-desc { font-size: 0.9rem; line-height: 2; color: var(--gray-400); text-align: justify; }

.footer-socials a { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 10px; background: rgba(255,255,255,0.05); color: var(--gray-300); margin-left: 8px; transition: var(--transition-smooth); border: 1px solid rgba(255,255,255,0.1); }
.footer-socials a:hover { background: var(--orange-500); color: #fff; border-color: var(--orange-500); transform: translateY(-4px); }

.footer-heading { color: #ffffff; font-size: 1.15rem; font-weight: 800; margin-bottom: 25px; position: relative; padding-right: 15px; }
.footer-heading::before { content: ''; position: absolute; top: 4px; right: 0; bottom: 4px; width: 4px; background: var(--orange-500); border-radius: 4px; }

.footer-links li { margin-bottom: 14px; }
.footer-links a { color: var(--gray-400); font-size: 0.9rem; font-weight: 500; transition: var(--transition-smooth); display: inline-block; }
.footer-links a:hover { color: var(--orange-500); transform: translateX(-5px); }

.footer-contact li { display: flex; align-items: flex-start; margin-bottom: 16px; font-size: 0.9rem; color: var(--gray-400); line-height: 1.8; }
.footer-contact i { color: var(--orange-500); font-size: 1.1rem; margin-left: 12px; margin-top: 5px; }

.footer-divider { height: 1px; background: rgba(255,255,255,0.1); margin: 30px 0; }
.footer-bottom { font-size: 0.85rem; color: var(--gray-500); }
.footer-bottom strong { color: var(--gray-200); }
.agency-credit a { color: var(--orange-500); font-weight: 800; transition: opacity 0.3s; letter-spacing: 0.5px; }
.agency-credit a:hover { color: #fff; }



/* =========================================
  13. Media Queries (Responsive)
   ========================================= */
@media (max-width: 991.98px) {
    .top-bar { display: none; }
    .nav-item:not(:last-child)::after { display: none; }
    
    .hero-fold-section { height: auto; max-height: none; min-height: unset; padding-bottom: 40px;}
    .main-slider-container { height: 450px; margin-bottom: 20px; }
    .slider-content-box { padding: 0 30px 30px 30px; }
    .slider-main-title { font-size: 1.6rem; }
    .vertical-slider-indicator-wrapper { right: 50%; transform: translateX(50%); top: auto; bottom: 20px; flex-direction: row; }
    .indicator-line-track { flex-direction: row; padding: 0 10px; }
    .indicator-line-track::before { width: 100%; height: 2px; top: 50%; left: 0; transform: translateY(-50%); }
    .indicator-dot.active { width: 24px; height: 8px; }
    
    .about-watermark-svg-dark, .ceo-watermark-svg { width: 120px; top: -15px; }
    .ceo-quote-icon { font-size: 4rem; }
    .video-glass-wrapper, .ceo-image-wrapper { margin-top: 30px; }
    
    .mega-projects-premium { height: auto; min-height: unset; padding: 60px 0; }
    .sticky-project-info { position: relative; top: 0; margin-bottom: 40px; }
    .large-card { height: 350px; }
}

@media (max-width: 1200px) { .team-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 576px) { .team-grid { grid-template-columns: 1fr; max-width: 350px; margin: 0 auto; } }




/* =========================================
   14. Single News Styles
   ========================================= */
/* Breadcrumbs */
.breadcrumb-wrapper { background: var(--gray-50); border-bottom: 1px solid var(--border-light); padding: 15px 0; margin-bottom: 40px; }
.breadcrumb-item a { color: var(--navy-600); font-weight: 600; }
.breadcrumb-item.active { color: var(--text-muted); font-weight: 500; }

/* Main Content */
.article-main-img { width: 100%; height: auto; border-radius: 16px; box-shadow: 0 10px 30px rgba(0,0,0,0.08); margin-bottom: 25px; }

.article-meta {
    display: flex; flex-wrap: wrap; gap: 20px; margin-bottom: 20px; font-size: 0.85rem; font-weight: 600; 
    color: var(--text-muted); background: var(--gray-50); padding: 12px 18px; border-radius: 10px; border: 1px solid var(--border-light);
}
.article-meta i { color: var(--orange-500); }
.article-meta a { color: var(--text-muted); transition: color 0.2s; }
.article-meta a:hover { color: var(--navy-600); }
.meta-divider { color: var(--gray-400); font-size: 0.8rem; }

.article-title { color: var(--navy-900); font-weight: 900; font-size: 2.2rem; margin-bottom: 25px; line-height: 1.5; }

.summary-box {
    background-color: var(--gray-200); border-right: 5px solid var(--orange-500); padding: 25px; 
    border-radius: 10px; font-style: italic; color: var(--gray-800); margin-bottom: 35px; 
    font-size: 1.1rem; font-weight: 500; line-height: 1.9;
}

.content-text { font-size: 1.05rem; color: var(--gray-800); text-align: justify; line-height: 2; }
.content-text h4 { color: var(--navy-800); font-weight: 800; margin: 30px 0 15px; }
.content-text img, .content-text .ratio { margin: 30px 0; border-radius: 12px; overflow: hidden; box-shadow: 0 5px 15px rgba(0,0,0,0.05); }

/* Gallery Section */
.article-gallery-title { font-weight: 800; color: var(--navy-900); border-bottom: 3px solid var(--orange-500); padding-bottom: 8px; margin-bottom: 25px; display: inline-block; }
.gallery-img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 10px; cursor: pointer; transition: transform 0.4s ease, box-shadow 0.4s ease; }
.gallery-img:hover { transform: translateY(-5px); box-shadow: 0 15px 25px rgba(26,42,64,0.15); }

/* Tags */
.article-tags .tag-item {
    background-color: var(--gray-200); color: var(--gray-700); border: 1px solid var(--border-light); 
    padding: 6px 16px; border-radius: 30px; font-size: 0.85rem; font-weight: 600; display: inline-block; 
    margin-bottom: 8px; transition: var(--transition-smooth);
}
.article-tags .tag-item:hover { background-color: var(--navy-600); color: #fff; border-color: var(--navy-600); transform: translateY(-2px); }

/* Sidebar - Related Posts */
.sidebar-title { font-weight: 800; color: var(--navy-900); border-bottom: 3px solid var(--orange-500); padding-bottom: 10px; margin-bottom: 30px; display: inline-block; }
.related-item { padding-bottom: 25px; margin-bottom: 25px; border-bottom: 1px solid var(--border-light); }
.related-item:last-child { border-bottom: none; }
.related-img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 10px; margin-bottom: 15px; transition: var(--transition-smooth); }
.related-item:hover .related-img { transform: scale(1.03); }
.related-title { font-size: 1.05rem; font-weight: 800; color: var(--navy-800); display: block; margin-bottom: 8px; line-height: 1.5; }
.related-title:hover { color: var(--orange-500); }
.related-lead { font-size: 0.85rem; color: var(--text-muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 15px; line-height: 1.6; }

/* =========================================
   15. Archive News Styles
   ========================================= */

/* Hero Section آرشیو */
.hero-archive {
    height: 300px;
    background: url('https://images.unsplash.com/photo-1473341304170-971dccb5ac1e?auto=format&fit=crop&w=1470&q=80') center/cover no-repeat;
    display: flex; align-items: center; justify-content: center;
}
.hero-archive .hero-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(26, 42, 64, 0.85); /* استفاده از طیف تاریک سورمه‌ای */
    z-index: 1;
}
.hero-title-wrapper { width: 100%; max-width: 800px; margin: 0 auto; }
.hero-line { flex-grow: 1; height: 3px; background: linear-gradient(to left, transparent, var(--orange-500), transparent); }

/* کارت‌های اخبار آرشیو */
.archive-news-card {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition-smooth);
    height: 100%;
    display: flex;
    flex-direction: column;
}
.archive-news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(26, 42, 64, 0.1); /* سایه با رنگ برند */
    border-color: var(--navy-300);
}
.archive-news-card .card-img-wrapper { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.archive-news-card .card-img-wrapper img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.archive-news-card:hover .card-img-wrapper img { transform: scale(1.08); }

.archive-news-card .category-badge {
    position: absolute; top: 15px; right: 15px;
    background-color: var(--orange-500); color: #fff;
    padding: 4px 14px; border-radius: 20px; font-size: 0.75rem; font-weight: 800;
    z-index: 2; box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.archive-news-card .card-body-custom { padding: 25px; flex-grow: 1; display: flex; flex-direction: column; }
.archive-news-card .news-meta {
    display: flex; justify-content: space-between; align-items: center;
    font-size: 0.8rem; color: var(--text-muted); margin-bottom: 15px;
    border-bottom: 1px dashed var(--border-light); padding-bottom: 12px; font-weight: 600;
}
.archive-news-card .news-meta i { color: var(--orange-500); font-size: 0.9rem; }

.archive-news-card .news-title {
    font-size: 1.15rem; font-weight: 800; color: var(--navy-900);
    margin-bottom: 12px; line-height: 1.6;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.archive-news-card .news-lead {
    font-size: 0.9rem; color: var(--text-muted); line-height: 1.8; margin-bottom: 25px;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}

/* صفحه‌بندی (Pagination) یکپارچه با پالت */
.custom-pagination .page-link {
    color: var(--navy-700);
    border: 1px solid var(--border-light);
    margin: 0 4px;
    border-radius: 8px;
    font-weight: 700;
    padding: 8px 16px;
    transition: var(--transition-smooth);
}
.custom-pagination .page-item.active .page-link {
    background-color: var(--navy-600);
    border-color: var(--navy-600);
    color: #fff;
    box-shadow: 0 5px 15px rgba(42, 70, 118, 0.3);
}
.custom-pagination .page-link:hover:not(.border-0) {
    background-color: var(--orange-100);
    color: var(--orange-600);
    border-color: var(--orange-300);
}
.custom-pagination .page-item.disabled .page-link {
    background: transparent; color: var(--gray-400); border-color: var(--gray-200);
}


/* =========================================
   16. Contact Us Styles
   ========================================= */

/* Hero Section */

.hero-contact::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-image: radial-gradient(circle at 2px 2px, rgba(255,255,255,0.05) 1px, transparent 0);
    background-size: 30px 30px; z-index: 1;
}
.hero-contact .hero-content { position: relative; z-index: 2; text-align: center; }
.hero-contact .hero-title { font-weight: 900; font-size: 2.5rem; margin-bottom: 15px; color: #fff; }
.hero-contact .hero-subtitle { color: var(--gray-300); font-size: 1.1rem; }

/* =========================================
   16. Contact Us Styles
   ========================================= */

/* Info Cards */
.contact-info-card {
    background: #fff; border-radius: 16px; padding: 25px; border: 1px solid var(--border-light);
    box-shadow: 0 10px 20px rgba(0,0,0,0.02); height: 100%; display: flex; align-items: flex-start;
    gap: 20px; transition: var(--transition-smooth); overflow: hidden;
}
.contact-info-card:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(26,42,64,0.08); border-color: var(--orange-500); }

.info-icon-box {
    background-color: var(--orange-500); color: #fff; width: 60px; height: 60px; min-width: 60px;
    border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.8rem;
}
.info-content { width: 100%; }
.info-content h4 { font-size: 1.1rem; font-weight: 800; color: var(--navy-800); margin-bottom: 10px; }
.info-content p, .info-content ul { font-size: 0.95rem; color: var(--gray-700); margin-bottom: 0; line-height: 1.7; list-style: none; padding: 0;}

/* حل قطعی شکستگی کلمات در ایمیل طولانی */
.email-link { 
    word-wrap: break-word; 
    word-break: break-all;
    overflow-wrap: break-word;
}

/* Legal Card Specific (Dark Mode) */
.contact-info-card.legal-card { background-color: var(--navy-800); border-color: var(--navy-800); }
.contact-info-card.legal-card:hover { border-color: var(--orange-500); }
.info-icon-box.legal-icon { background-color: rgba(255,255,255,0.1); color: var(--orange-500); }
.legal-spec span { display: block; margin-bottom: 5px; }
.legal-spec strong { color: var(--gray-100); }

/* Contact Form */
.contact-form-wrapper {
    background: #fff; border-radius: 16px; padding: 40px;
    border: 1px solid var(--border-light); box-shadow: 0 15px 40px rgba(0,0,0,0.04);
}
.contact-form-wrapper h3 { font-weight: 800; color: var(--navy-900); margin-bottom: 25px; position: relative; padding-bottom: 15px; }
.contact-form-wrapper h3::after { content: ''; position: absolute; bottom: 0; right: 0; width: 50px; height: 3px; background: var(--orange-500); border-radius: 2px; }

.form-label { font-weight: 600; color: var(--gray-700); font-size: 0.95rem; }
.form-control, .form-select {
    border: 1px solid var(--gray-300); padding: 12px 15px; border-radius: 8px;
    transition: var(--transition-smooth); background-color: var(--bg-main);
}
.form-control:focus, .form-select:focus {
    background-color: #fff; border-color: var(--navy-600);
    box-shadow: 0 0 0 0.25rem rgba(42, 70, 118, 0.1);
}

/* Map and Routing Section */
.map-section { background: #fff; border-radius: 16px; padding: 25px; border: 1px solid var(--border-light); box-shadow: 0 15px 40px rgba(0,0,0,0.04); margin-top: 50px; }
.map-container { border-radius: 12px; overflow: hidden; border: 1px solid var(--gray-300); margin-bottom: 25px; }
.routing-buttons { display: flex; flex-wrap: wrap; gap: 15px; justify-content: center; }

/* Routing Apps Colors */
.btn-route { flex-grow: 1; max-width: 250px; border: none; }
.btn-route:hover { color: #fff; box-shadow: 0 8px 15px rgba(0,0,0,0.15); }

.route-waze { background-color: #33ccff; color: #000 !important; }
.route-waze:hover { background-color: #1ab2e6; color: #000 !important; }
.route-google { background-color: #34a853; color: #fff; }
.route-google:hover { background-color: #2b8c45; color: #fff; }
.route-neshan { background-color: #ff5722; color: #fff; }
.route-neshan:hover { background-color: #e64a19; color: #fff; }
.route-balad { background-color: #2eb82e; color: #fff; }
.route-balad:hover { background-color: #248f24; color: #fff; }

/* =========================================
   17. Internal Pages & Corporate Governance
   ========================================= */

/* کلاس هدر یکپارچه برای تمام صفحات داخلی (تماس با ما، هیئت مدیره، و...) */
.hero-subpage {
    position: relative; height: 280px;
    background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 100%);
    display: flex; align-items: center; justify-content: center;
    color: white; overflow: hidden; text-align: center;
}
.hero-subpage::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-image: radial-gradient(circle at 2px 2px, rgba(255,255,255,0.05) 1px, transparent 0);
    background-size: 30px 30px; z-index: 1;
}
.hero-subpage .hero-title { font-weight: 900; font-size: 2.2rem; margin-bottom: 10px; color: #fff; }
.hero-subpage .hero-subtitle { color: var(--gray-300); font-size: 1.1rem; }

/* Grid هیئت مدیره */
.team-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }


/* کارت هیئت مدیره */
/* =========================================
   اصلاحات کارت هیئت مدیره (بدون هاور عکس و با راه های ارتباطی زیرین)
   ========================================= */

/* استایل خطوط کنار تیتر در هدر (در صورت عدم وجود) */
.hero-title-wrapper { width: 100%; max-width: 800px; margin: 0 auto; }
.hero-line { flex-grow: 1; height: 3px; background: linear-gradient(to left, transparent, var(--orange-500), transparent); }

/* ساختار کارت */
.team-card {
    background: #fff; border-radius: 16px; overflow: hidden;
    transition: var(--transition-smooth); position: relative;
    border: 1px solid var(--border-light); text-align: center;
    display: flex; flex-direction: column; height: 100%;
}
.team-card:hover { 
    transform: translateY(-5px); 
    box-shadow: 0 15px 30px rgba(26, 42, 64, 0.08) !important; 
    border-color: var(--navy-300); 
}

/* تصویر بدون انیمیشن زوم برای حفظ رسمیت */
.team-img-wrapper { 
    position: relative; width: 100%; aspect-ratio: 1/1; overflow: hidden; 
    border-bottom: 3px solid var(--orange-500); 
}
.team-img-wrapper img { 
    width: 100%; height: 100%; object-fit: cover; 
}

/* اطلاعات نام و سمت */
.team-info-body { padding: 20px 15px 15px 15px; }
.team-name { font-size: 1.15rem; font-weight: 800; color: var(--navy-800); margin: 0 0 5px 0; }
.team-role { font-size: 0.85rem; color: var(--gray-600); font-weight: 600; margin: 0; }

/* باکس اطلاعات تماس پایین کارت */
.team-contact-info { 
    padding: 15px; background-color: var(--bg-main); 
    display: flex; justify-content: center; gap: 10px; flex-wrap: wrap;
    margin-top: auto; /* برای اینکه در صورت اختلاف ارتفاع، همیشه در کف کارت بچسبد */
}
.team-social-icon { 
    display: inline-flex; align-items: center; justify-content: center;
    width: 32px; height: 32px; border-radius: 8px;
    background-color: #fff; color: var(--navy-600); border: 1px solid var(--border-light);
    font-size: 0.85rem; transition: var(--transition-smooth); text-decoration: none;
}
.team-social-icon:hover { 
    background-color: var(--orange-500); color: #fff; border-color: var(--orange-500);
    transform: translateY(-3px); box-shadow: 0 4px 10px rgba(245, 130, 22, 0.2);
}


/* =========================================
   استایل هدر یکپارچه (مشترک با مناقصات و سهامداران)
   ========================================= */
.hero-archive {
    height: 300px; position: relative;
    background: url('https://images.unsplash.com/photo-1507679799987-c73779587ccf?auto=format&fit=crop&w=1470&q=80') center/cover no-repeat;
    display: flex; align-items: center; justify-content: center;
}
.hero-archive .hero-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(26, 42, 64, 0.85); z-index: 1;
}
.hero-title-wrapper { width: 100%; max-width: 800px; margin: 0 auto; display: flex; align-items: center; justify-content: center; gap: 20px;}
.hero-line { flex-grow: 1; height: 3px; background: linear-gradient(to left, transparent, var(--orange-500), transparent); }

/* =========================================
   کارت‌های سهامداران (آپدیت شده برای لوگو و راه‌های ارتباطی)
   ========================================= */
.shareholder-card {
    background: #fff; border: 1px solid var(--border-light); border-radius: 16px;
    padding: 30px 20px 20px 20px; text-align: center; transition: var(--transition-smooth);
    height: 100%; display: flex; flex-direction: column; position: relative; overflow: hidden;
}
.shareholder-card::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 4px;
    background: var(--navy-600); transition: background 0.3s ease;
}
.shareholder-card:hover { box-shadow: 0 15px 35px rgba(26, 42, 64, 0.08) !important; transform: translateY(-5px); border-color: var(--navy-200); }
.shareholder-card:hover::before { background: var(--orange-500); }

/* باکس تنظیم شده برای تگ img به جای آیکون */
.sh-logo-wrapper {
    width: 80px; height: 80px; margin: 0 auto 20px auto; border-radius: 12px;
    background: var(--bg-main); display: flex; align-items: center; justify-content: center;
    border: 1px solid var(--border-light); padding: 10px; overflow: hidden;
}
.sh-logo-wrapper img { width: 100%; height: 100%; object-fit: contain; }

.sh-company-name { font-size: 1.1rem; font-weight: 800; color: var(--navy-900); margin-bottom: 20px; line-height: 1.5; flex-grow: 1; }
.sh-shares-box { background: var(--gray-200); border-radius: 8px; padding: 15px; margin-top: auto; margin-bottom: 0; }
.sh-amount { display: block; font-size: 1.2rem; font-weight: 800; color: var(--navy-700); margin-bottom: 5px; letter-spacing: 1px; }
.sh-label { font-size: 0.8rem; color: var(--text-muted); font-weight: 600; }

/* آیکون‌های تماس سهامداران (پایین کارت) */
.sh-contact-info { 
    padding-top: 15px; margin-top: 15px;
    display: flex; justify-content: center; gap: 10px; flex-wrap: wrap;
}
.sh-social-icon { 
    display: inline-flex; align-items: center; justify-content: center;
    width: 32px; height: 32px; border-radius: 8px;
    background-color: var(--bg-main); color: var(--navy-600); border: 1px solid var(--border-light);
    font-size: 0.85rem; transition: var(--transition-smooth); text-decoration: none;
}
.sh-social-icon:hover { 
    background-color: var(--orange-500); color: #fff; border-color: var(--orange-500);
    transform: translateY(-3px); box-shadow: 0 4px 10px rgba(245, 130, 22, 0.2);
}

/* استایل ویژه سهامدار عمده (Major Shareholder) با پالت نارنجی */
.sh-card-major { background: linear-gradient(to bottom, #ffffff, var(--orange-100)); border-color: var(--orange-300); }
.sh-card-major::before { background: var(--orange-500); }
.sh-card-major .sh-shares-box { background: var(--orange-200); }
.sh-card-major .sh-amount { color: var(--orange-800); }
.sh-card-major .sh-logo-wrapper { border-color: var(--orange-300); background: #fff; }
.sh-card-major .sh-social-icon { background-color: #fff; border-color: var(--orange-300); color: var(--orange-600); }
.sh-card-major .sh-social-icon:hover { background-color: var(--orange-500); color: #fff; border-color: var(--orange-500); }

/* =========================================
   18. Tenders Single Page Styles
   ========================================= */

/* Header Info */
.tender-header-card {
    background: #fff; border-radius: 16px; border: 1px solid var(--border-light);
    padding: 30px; margin-bottom: 30px; box-shadow: 0 10px 30px rgba(26, 42, 64, 0.04);
    border-right: 6px solid var(--navy-600);
}
.tender-type-label {
    display: inline-block; background: var(--navy-100); color: var(--navy-800);
    padding: 6px 15px; border-radius: 6px; font-weight: 700; font-size: 0.85rem; margin-bottom: 15px;
}
.tender-main-title { color: var(--navy-900); font-weight: 900; font-size: 2rem; line-height: 1.5; margin-bottom: 0; }

/* Status & Countdown Box */
.status-deadline-box {
    background: var(--orange-100); border: 1px solid var(--orange-200);
    border-radius: 12px; padding: 20px; display: flex; align-items: center; gap: 20px; margin-bottom: 30px;
}
.status-icon-circle {
    width: 55px; height: 55px; background: var(--orange-500); color: #fff;
    border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.6rem;
    box-shadow: 0 5px 15px rgba(245, 130, 22, 0.3);
}
.deadline-text { flex-grow: 1; }
.deadline-text span { display: block; font-size: 0.85rem; color: var(--orange-800); font-weight: 600; margin-bottom: 3px;}
.deadline-text strong { font-size: 1.15rem; color: var(--navy-900); font-weight: 800; }

/* Content Area */
.content-section { background: #fff; padding: 35px; border-radius: 16px; border: 1px solid var(--border-light); margin-bottom: 30px; }
.section-title { font-weight: 800; color: var(--navy-900); border-bottom: 3px solid var(--orange-500); padding-bottom: 10px; margin-bottom: 25px; display: inline-block; }
.tender-description { font-size: 1.05rem; color: var(--gray-700); text-align: justify; line-height: 1.9; }
.tender-description h5 { color: var(--navy-800); font-weight: 800; margin-top: 25px; margin-bottom: 15px; }
.tender-description ul li { margin-bottom: 10px; }

/* Download Documents Box */
.download-documents-card {
    background: linear-gradient(135deg, var(--navy-700) 0%, var(--navy-900) 100%);
    color: #fff; border-radius: 16px; padding: 30px; display: flex;
    align-items: center; justify-content: space-between; margin-top: 40px; border: 1px solid rgba(255,255,255,0.1);
}
.download-info h5 { font-weight: 800; margin-bottom: 8px; color: #fff; }
.download-info p { font-size: 0.9rem; color: var(--gray-300); margin-bottom: 0; }

/* Upload Form Section */
.upload-section-card { background: var(--bg-main); border: 1px solid var(--border-light); border-radius: 16px; padding: 35px; margin-top: 40px; }
.file-upload-wrapper {
    position: relative; border: 2px dashed var(--gray-400); border-radius: 12px;
    padding: 40px 20px; text-align: center; background: #fff; transition: var(--transition-smooth); cursor: pointer;
}
.file-upload-wrapper:hover { border-color: var(--orange-500); background: var(--orange-100); }
.file-upload-wrapper i { font-size: 3rem; color: var(--gray-400); margin-bottom: 15px; transition: var(--transition-smooth); }
.file-upload-wrapper:hover i { color: var(--orange-500); }

/* Sidebar Related Tenders */
.sidebar-card { background: #fff; border-radius: 16px; border: 1px solid var(--border-light); padding: 25px; margin-bottom: 25px; }
.sidebar-title { font-weight: 800; color: var(--navy-900); border-bottom: 3px solid var(--orange-500); padding-bottom: 10px; display: inline-block; }
.related-tender-item { padding: 15px 0; border-bottom: 1px dashed var(--border-light); }
.related-tender-item:last-child { border-bottom: none; }
.related-tender-link { text-decoration: none; color: var(--navy-800); font-weight: 700; font-size: 0.95rem; display: block; margin-bottom: 8px; line-height: 1.6; transition: var(--transition-smooth); }
.related-tender-link:hover { color: var(--orange-500); }
.related-meta { font-size: 0.8rem; color: var(--gray-500); display: flex; align-items: center; }

/* Responsive adjustments for Tender page */
@media (max-width: 991px) {
    .status-deadline-box { flex-direction: column; text-align: center; }
    .download-documents-card { flex-direction: column; text-align: center; gap: 20px; }
    .upload-section-card { padding: 20px; }
}

/* =========================================
   19. Tenders Archive Styles
   ========================================= */

/* Filter Tabs */
.tender-filters {
    display: flex; justify-content: center; gap: 15px; margin-bottom: 40px; flex-wrap: wrap;
}
.filter-btn {
    background: #fff; color: var(--gray-600); border: 1px solid var(--border-light);
    padding: 8px 25px; border-radius: 30px; font-weight: 700; font-size: 0.95rem;
    transition: var(--transition-smooth); text-decoration: none;
}
.filter-btn:hover { border-color: var(--navy-300); color: var(--navy-700); background: var(--gray-50); }
.filter-btn.active { background: var(--navy-600); color: #fff; border-color: var(--navy-600); box-shadow: 0 4px 10px rgba(42, 70, 118, 0.2); }

/* Tender Cards (Horizontal Layout) */
.tender-card {
    background: #fff; border: 1px solid var(--border-light); border-radius: 16px;
    padding: 25px 30px; margin-bottom: 25px; transition: var(--transition-smooth);
    display: flex; flex-direction: column; position: relative; overflow: hidden;
    border-right: 5px solid var(--navy-600); /* نوار سورمه‌ای برای مناقصه */
}
.tender-card.auction-type { border-right-color: var(--orange-500); /* نوار نارنجی برای مزایده */ }

.tender-card:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(26, 42, 64, 0.08); border-color: var(--navy-200); }

/* Status Badges */
.status-badge {
    display: inline-block; padding: 6px 14px; border-radius: 6px;
    font-size: 0.8rem; font-weight: 700; margin-bottom: 15px;
}
.status-active { background-color: var(--green-100); color: var(--green-700); border: 1px solid rgba(26, 191, 131, 0.2); }
.status-expired { background-color: #fee2e2; color: #b91c1c; border: 1px solid #fecaca; }

.tender-type-badge {
    background-color: var(--gray-100); color: var(--navy-800); padding: 6px 14px; border-radius: 6px;
    font-size: 0.8rem; font-weight: 700; margin-bottom: 15px; margin-left: 10px; border: 1px solid var(--border-light);
}

/* Card Content Typography */
.tender-title { font-size: 1.3rem; font-weight: 800; color: var(--navy-900); margin-bottom: 15px; line-height: 1.6; }
.tender-desc { font-size: 0.95rem; color: var(--gray-600); line-height: 1.8; margin-bottom: 20px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* Meta Info */
.tender-meta { display: flex; flex-wrap: wrap; gap: 25px; padding-top: 15px; border-top: 1px dashed var(--border-light); }
.tender-meta .meta-item { display: flex; align-items: center; font-size: 0.85rem; color: var(--gray-700); font-weight: 600; }
.tender-meta .meta-item i { margin-left: 8px; font-size: 1.1rem; }

/* Action Area */
.tender-action-area {
    display: flex; flex-direction: column; justify-content: center; align-items: flex-end;
    min-width: 220px; border-right: 1px dashed var(--border-light); padding-right: 30px; margin-right: 30px;
}

/* Responsive */
@media (max-width: 991px) {
    .tender-card { flex-direction: column; padding: 20px; }
    .tender-action-area {
        border-right: none; border-top: 1px dashed var(--border-light);
        padding-right: 0; margin-right: 0; padding-top: 20px; margin-top: 20px;
        align-items: flex-start; width: 100%;
    }
}

/* =========================================
   20. Single Project Styles
   ========================================= */

/* Split Hero Section */
.project-split-hero {
    display: flex; flex-wrap: wrap; min-height: 60vh;
    background-color: var(--navy-900);
}
.hero-text-side {
    flex: 1 1 50%; padding: 5% 5% 7% 5%;
    display: flex; flex-direction: column; justify-content: center;
    background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 100%);
    color: #fff; position: relative;
}
.hero-img-side {
    flex: 1 1 50%; background-position: center; background-size: cover; background-repeat: no-repeat;
    position: relative; min-height: 300px;
}

/* Badges */
.project-badges { display: flex; gap: 10px; margin-bottom: 15px; }
.badge-status, .badge-scope { padding: 6px 14px; border-radius: 30px; font-size: 0.8rem; font-weight: 700; }
.badge-status { background-color: var(--green-500); color: #fff; box-shadow: 0 4px 10px rgba(26, 191, 131, 0.3); } 
.badge-scope { background-color: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255,255,255,0.2); color: var(--gray-200); }

/* Typography */
.project-hero-title { font-size: 2.8rem; font-weight: 900; line-height: 1.3; margin-bottom: 10px; color: #fff; }
.project-hero-subtitle { font-size: 1rem; color: var(--gray-300); line-height: 1.7; max-width: 95%; margin-bottom: 0; }

/* Stats Ribbon */
.stats-ribbon-wrapper { margin-top: -45px; position: relative; z-index: 10; padding: 0 4%; }
.stats-ribbon {
    background: #fff; border-radius: 16px; box-shadow: 0 15px 35px rgba(26, 42, 64, 0.06);
    padding: 20px; border: 1px solid var(--border-light);
    display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 15px;
}
.stat-item { padding: 10px; text-align: center; border-left: 1px dashed var(--gray-300); }
.stat-item:last-child { border-left: none; }
.stat-icon { color: var(--orange-500); font-size: 1.4rem; margin-bottom: 8px; }
.stat-label { display: block; font-size: 0.75rem; color: var(--gray-600); font-weight: 600; margin-bottom: 3px; }
.stat-value { display: block; font-size: 0.95rem; font-weight: 800; color: var(--navy-900); line-height: 1.3; }

/* Main Content Area */
.project-content-section { padding: 40px 0 20px 0; background-color: var(--bg-main); }
.content-box {
    max-width: 950px; margin: 0 auto; background: #fff; padding: 30px 40px;
    border-radius: 16px; box-shadow: 0 5px 20px rgba(0,0,0,0.02);
    border: 1px solid var(--border-light); font-size: 1.05rem; color: var(--gray-700);
    line-height: 1.9; text-align: justify;
}
.content-box p:first-of-type::first-letter {
    font-size: 3rem; font-weight: 900; color: var(--navy-900);
    float: right; margin: 8px 0 0 12px; line-height: 1;
}

/* Titles */
.section-title { font-size: 1.5rem; font-weight: 800; color: var(--navy-900); margin-bottom: 20px; text-align: center; }
.section-title span { color: var(--orange-500); }

/* Media & Gallery */
.media-section { padding: 20px 0 60px 0; background-color: var(--bg-main); }
.video-container { border-radius: 16px; overflow: hidden; box-shadow: 0 15px 30px rgba(0,0,0,0.1); margin-bottom: 40px; background: #000; max-width: 850px; margin-left: auto; margin-right: auto; }

.custom-gallery { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 200px; gap: 15px; max-width: 1000px; margin: 0 auto; }
.gallery-item { border-radius: 12px; overflow: hidden; cursor: pointer; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item:nth-child(1) { grid-column: span 2; grid-row: span 2; }

/* Responsive Adjustments */
@media (max-width: 991px) {
    .hero-text-side, .hero-img-side { flex: 1 1 100%; }
    .hero-img-side { min-height: 250px; order: -1; } 
    .project-hero-title { font-size: 2.2rem; }
    .stat-item { border-left: none; border-bottom: 1px dashed var(--gray-300); padding: 10px 0; }
    .stat-item:last-child { border-bottom: none; }
    .content-box { padding: 20px; }
    .custom-gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
    .gallery-item:nth-child(1) { grid-column: span 2; grid-row: span 1; }
}

/* =========================================
   22. Careers Single Styles
   ========================================= */

/* Typography & Headers */
.job-title-header {
    color: var(--navy-900); font-weight: 900; font-size: 2.2rem;
    margin-bottom: 10px; line-height: 1.5;
}
.job-category-label {
    color: var(--gray-600); font-size: 1rem; font-weight: 600;
    display: block; margin-bottom: 25px;
}

/* Company Intro Box */
.company-intro-box {
    background-color: var(--gray-100);
    border-right: 4px solid var(--orange-500);
    padding: 20px 25px; border-radius: 8px;
    color: var(--gray-700); margin-bottom: 35px;
    font-size: 1.05rem; line-height: 1.8;
}

/* WYSIWYG Content Area */
.job-description-content { font-size: 1.05rem; color: var(--gray-800); text-align: justify; line-height: 1.9; }
.job-description-content h4 { color: var(--navy-800); font-weight: 800; margin-top: 35px; margin-bottom: 15px; }
.job-description-content ul { padding-right: 20px; margin-bottom: 25px; }
.job-description-content li { margin-bottom: 10px; color: var(--gray-700); }

/* Sidebar - Job Meta Info */
.sidebar-wrapper { position: sticky; top: 120px; /* تنظیم ارتفاع برای نویگیشن */ }

.job-meta-card {
    background: #fff; border-radius: 16px; border: 1px solid var(--border-light);
    padding: 30px; box-shadow: 0 10px 30px rgba(26, 42, 64, 0.04); margin-bottom: 25px;
}
.meta-card-title {
    font-weight: 800; color: var(--navy-900); font-size: 1.2rem;
    margin-bottom: 25px; border-bottom: 2px solid var(--border-light); padding-bottom: 15px;
}

.meta-list { list-style: none; padding: 0; margin: 0; }
.meta-list li { display: flex; align-items: flex-start; margin-bottom: 18px; font-size: 0.95rem; color: var(--gray-700); }
.meta-list li i { color: var(--orange-500); font-size: 1.2rem; width: 30px; margin-top: 2px; }
.meta-list li strong { display: block; color: var(--navy-900); font-size: 0.85rem; margin-bottom: 2px; }

/* Skills Tags */
.job-skills-container { display: flex; flex-wrap: wrap; gap: 8px; }
.skill-badge {
    background-color: var(--gray-100); color: var(--navy-800); border: 1px solid var(--border-light);
    font-size: 0.85rem; padding: 6px 14px; border-radius: 20px; font-weight: 600;
}

/* Application Form Section */
.application-form-section {
    background: var(--bg-main); border: 1px solid var(--border-light);
    border-radius: 16px; padding: 40px; margin-top: 50px;
}

/* برای قسمت File Upload از همون استایلی که تو بخش Tender زدیم استفاده میکنیم، 
   ولی محض اطمینان اینجا هم کلاس‌های مشترکش رو نگه میداریم */
.file-upload-wrapper {
    position: relative; border: 2px dashed var(--gray-400); border-radius: 12px;
    padding: 40px 20px; text-align: center; background: #fff; transition: var(--transition-smooth); cursor: pointer;
}
.file-upload-wrapper:hover { border-color: var(--orange-500); background: var(--orange-100); }
.file-upload-wrapper i { font-size: 3rem; color: var(--gray-400); margin-bottom: 15px; transition: var(--transition-smooth); }
.file-upload-wrapper:hover i { color: var(--orange-500); }

/* Responsive adjustments */
@media (max-width: 991px) {
    .job-title-header { font-size: 1.8rem; }
    .application-form-section { padding: 25px; }
    .sidebar-wrapper { position: relative; top: 0; }
}

/* =========================================
   23. Careers Archive Styles
   ========================================= */
/* =========================================
   23. Careers Archive Styles
   ========================================= */

/* تغییر عکس پس‌زمینه اختصاصی برای هدر صفحه فرصت‌های شغلی */
.hero-archive.hero-careers {
    background-image: url('https://images.unsplash.com/photo-1522071820081-009f0129c71c?auto=format&fit=crop&w=1920&q=80');
}

/* Job Cards */
.job-card {
    background: #fff; border: 1px solid var(--border-light); border-radius: 16px;
    padding: 30px; margin-bottom: 25px; transition: var(--transition-smooth);
    position: relative; display: flex; flex-direction: column;
    border-right: 5px solid transparent;
}
.job-card:hover {
    transform: translateY(-8px); box-shadow: 0 15px 35px rgba(26, 42, 64, 0.08) !important;
    border-right-color: var(--orange-500); border-color: var(--border-light);
}

.job-code {
    position: absolute; top: 30px; left: 30px;
    font-size: 0.8rem; color: var(--gray-500); font-weight: 700;
    background: var(--gray-100); padding: 4px 10px; border-radius: 6px; border: 1px solid var(--border-light);
}

.job-category {
    font-size: 0.85rem; color: var(--gray-600); font-weight: 700;
    margin-bottom: 8px; display: block;
}

.job-title {
    font-size: 1.35rem; font-weight: 800; color: var(--navy-900);
    margin-bottom: 20px; text-decoration: none; transition: var(--transition-smooth);
    display: inline-block; padding-right: 4px;
}
.job-title:hover { color: var(--orange-500); }

/* Meta List (Location, Type, Degree) */
.job-meta-list {
    display: flex; flex-wrap: wrap; gap: 15px; margin-bottom: 20px;
}
.job-meta-item {
    display: flex; align-items: center; font-size: 0.85rem; color: var(--gray-600);
    background: var(--bg-main); padding: 8px 15px; border-radius: 8px;
    border: 1px solid var(--border-light); font-weight: 500;
}
.job-meta-item i { margin-left: 8px; font-size: 1.05rem; }

/* Type Specific Colors (UI Kit Variables) */
.type-fulltime i { color: var(--green-500) !important; }
.type-parttime i { color: var(--orange-500) !important; }
.type-project i { color: var(--navy-400) !important; }

/* Skills Tags */
.job-skills {
    display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 25px;
}
.job-skills .skill-tag {
    background-color: var(--gray-200); color: var(--navy-800);
    font-size: 0.8rem; padding: 5px 14px; border-radius: 20px; font-weight: 700;
}

/* Action Area */
.job-action-area {
    margin-top: auto; display: flex; justify-content: space-between; align-items: center;
    border-top: 1px dashed var(--border-light); padding-top: 25px;
}
.job-action-area .post-date {
    font-size: 0.85rem; color: var(--gray-500); font-weight: 600;
}

/* Responsive */
@media (max-width: 991px) {
    .job-card { padding: 20px; }
    .job-code { position: relative; top: 0; left: 0; display: inline-block; margin-bottom: 15px; }
    .job-action-area { flex-direction: column; align-items: flex-start; gap: 15px; }
    .job-action-area .btn-base { width: 100%; text-align: center; }
}


/* =========================================
   24. Index (Main Page) Specific Styles
   ========================================= */

/* Hero Fold Section */
.hero-fold-section { height: calc(100vh - 145px); min-height: 520px; max-height: 800px; padding: 15px 0 20px 0; background-color: var(--bg-main); }
.hero-fold-section .row { margin: 0; }

.main-slider-container { position: relative; width: 100%; height: 100%; border-radius: 12px; overflow: hidden; background-color: var(--navy-900); display: flex; align-items: center; }
.slider-bg-image { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-image: url('https://images.unsplash.com/photo-1509391366360-feaffa6023f5?auto=format&fit=crop&w=1920&q=80'); background-size: cover; background-position: center; z-index: 1; transition: background-image 0.8s ease-in-out; animation: kenBurnsEffect 20s infinite alternate ease-in-out; }
@keyframes kenBurnsEffect { 0% { transform: scale(1); } 100% { transform: scale(1.1); } }
.slider-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(90deg, rgba(26, 42, 64, 0.95) 0%, rgba(26, 42, 64, 0.2) 100%); z-index: 2; }
.slider-content-box { position: relative; z-index: 3; max-width: 650px; padding: 0 80px 0 30px; color: #ffffff; }

.slider-tag { display: inline-block; background-color: rgba(245, 130, 22, 0.2); border: 1px solid var(--orange-500); color: var(--orange-500); padding: 4px 10px; border-radius: 20px; font-size: 0.75rem; font-weight: 700; margin-bottom: 12px; }
.slider-main-title { font-size: 1.8rem; font-weight: 800; line-height: 1.4; margin-bottom: 12px; }
.slider-subtitle { font-size: 0.95rem; color: var(--gray-300); line-height: 1.6; margin-bottom: 20px; }

.vertical-slider-indicator-wrapper { position: absolute; right: 25px; top: 50%; transform: translateY(-50%); z-index: 4; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.indicator-num { color: rgba(255, 255, 255, 0.6); font-size: 0.75rem; font-weight: 700; }
.indicator-line-track { position: relative; display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 8px 0; }
.indicator-line-track::before { content: ''; position: absolute; top: 0; bottom: 0; width: 2px; background-color: rgba(255, 255, 255, 0.2); z-index: 1; }
.indicator-dot { width: 8px; height: 8px; background-color: rgba(255, 255, 255, 0.5); border-radius: 50%; cursor: pointer; z-index: 2; transition: var(--transition-smooth); }
.indicator-dot.active { height: 24px; background-color: var(--orange-500); border-radius: 5px; }

/* Sidebar News on Index */
.featured-news-card { background: #fff; border-radius: 12px; overflow: hidden; border: 1px solid var(--border-light); display: flex; flex-direction: column; }
.card-img-wrapper { position: relative; width: 100%; padding-top: 56.25%; overflow: hidden; }
.card-img-wrapper img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform 0.5s ease; }
.featured-news-card:hover .card-img-wrapper img { transform: scale(1.05); }
.category-badge { position: absolute; top: 10px; right: 10px; background-color: var(--orange-500); color: #fff; padding: 3px 10px; border-radius: 6px; font-size: 0.7rem; font-weight: 700; z-index: 2; }
.card-body-custom { padding: 15px 18px; }
.news-meta { font-size: 0.7rem; color: var(--gray-600); margin-bottom: 8px; display: flex; justify-content: space-between; }
.news-title { font-size: 1.05rem; font-weight: 800; color: var(--navy-900); margin-bottom: 8px; line-height: 1.5; }
.news-lead { font-size: 0.8rem; color: var(--gray-600); line-height: 1.6; margin-bottom: 12px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.other-news-heading { font-size: 0.95rem; font-weight: 800; color: var(--navy-900); padding-right: 5px; border-right: 3px solid var(--orange-500); }

.mini-news-item { background-color: #ffffff; border: 1px solid var(--border-light); border-radius: 8px; padding: 10px 12px; display: flex; align-items: center; justify-content: space-between; transition: all 0.3s; }
.mini-news-item:hover { border-color: var(--gray-400); box-shadow: 0 2px 8px rgba(0,0,0,0.03); transform: translateX(-3px); }
.mini-news-content { display: flex; flex-direction: column; gap: 4px; max-width: 90%; }
.mini-news-tag { font-size: 0.65rem; font-weight: 700; color: var(--orange-500); }
.mini-news-item h4 { font-size: 0.8rem; font-weight: 700; color: var(--navy-900); margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-news-date { font-size: 0.65rem; color: var(--gray-600); }
.mini-news-arrow { font-size: 0.75rem; color: var(--gray-400); transition: 0.3s; }
.mini-news-item:hover .mini-news-arrow { color: var(--orange-500); }

.fade-up { animation: fadeUpAnim 0.5s ease forwards; }
@keyframes fadeUpAnim { from { opacity: 0; transform: translateY(15px); } to { opacity: 1; transform: translateY(0); } }

/* About Section */
.about-company-section { background-color: #ffffff; position: relative; overflow: hidden; }
.about-watermark-svg { position: absolute; top: -30px; right: -15px; width: 180px; height: auto; opacity: 0.2; z-index: -1; pointer-events: none; }
.about-main-title { color: var(--navy-900); font-size: 2rem; font-weight: 900; margin-bottom: 8px; }
.about-sub-title { color: var(--navy-800); font-size: 1.15rem; font-weight: 700; opacity: 0.85; }
.about-desc-text { font-size: 0.95rem; line-height: 1.9; text-align: justify; }

.video-presentation-wrapper { background: #ffffff; padding: 10px; border-radius: 20px; border: 1px solid var(--border-light); position: relative; }
.video-play-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(26, 42, 64, 0.4); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all 0.3s ease; }
.video-play-overlay:hover { background: rgba(26, 42, 64, 0.2); }
.play-btn-pulse { width: 70px; height: 70px; background-color: var(--orange-500); color: #ffffff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; padding-left: 5px; box-shadow: 0 0 0 0 rgba(245, 130, 22, 0.7); animation: pulse-orange 2s infinite cubic-bezier(0.66, 0, 0, 1); transition: transform 0.3s ease; }
.video-play-overlay:hover .play-btn-pulse { transform: scale(1.1); }
@keyframes pulse-orange { to { box-shadow: 0 0 0 20px rgba(245, 130, 22, 0); } }

/* Subsidiaries Section */
.subsidiaries-section { background-color: var(--bg-main); border-top: 1px solid var(--border-light); border-bottom: 1px solid var(--border-light); }
.sub-card-link { text-decoration: none; display: block; height: 100%; }
.sub-card { position: relative; background: #ffffff; border: 1px solid var(--border-light); border-radius: 12px; padding: 30px 20px; height: 100%; display: flex; flex-direction: column; align-items: center; text-align: center; transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1); }
.sub-card::before { content: ''; position: absolute; top: -1px; left: -1px; right: -1px; height: 4px; background: var(--orange-500); border-radius: 12px 12px 0 0; opacity: 0; transition: opacity 0.3s ease; }
.sub-card:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(26, 42, 64, 0.05); border-color: var(--gray-400); }
.sub-card:hover::before { opacity: 1; }
.sub-logo-box { height: 70px; width: 100%; display: flex; align-items: center; justify-content: center; margin-bottom: 25px; }
.sub-logo-box img { max-height: 100%; max-width: 150px; object-fit: contain; filter: grayscale(100%); opacity: 0.55; transition: all 0.4s ease; }
.sub-card:hover .sub-logo-box img { filter: grayscale(0%); opacity: 1; }
.sub-card-body { display: flex; flex-direction: column; flex-grow: 1; width: 100%; }
.sub-title { font-size: 1.05rem; font-weight: 800; color: var(--navy-900); margin-bottom: 8px; transition: color 0.3s ease; }
.sub-card:hover .sub-title { color: var(--orange-500); }
.sub-desc { font-size: 0.85rem; color: var(--gray-600); margin-bottom: 20px; line-height: 1.6; flex-grow: 1; }
.sub-action { font-size: 0.8rem; font-weight: 700; color: var(--gray-500); transition: all 0.3s ease; display: inline-block; }
.sub-card:hover .sub-action { color: var(--orange-500); transform: translateX(-3px); }

/* Latest News Section (5 Columns) */
.latest-news-section { background-color: #ffffff; }
.news-watermark-svg { position: absolute; top: -25px; right: -20px; width: 140px; height: auto; opacity: 0.2; z-index: -1; pointer-events: none; }
.home-news-card { background: #ffffff; border: 1px solid var(--border-light); border-radius: 12px; overflow: hidden; transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1); height: 100%; display: flex; flex-direction: column; position: relative; }
.home-news-card:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(26, 42, 64, 0.08) !important; border-color: var(--gray-400); }
.home-news-card .card-img-wrapper { position: relative; aspect-ratio: 16 / 9; width: 100%; overflow: hidden; }
.home-news-card .card-img-wrapper img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.home-news-card:hover .card-img-wrapper img { transform: scale(1.08); }
.home-news-card .category-badge { position: absolute; top: 10px; right: 10px; background-color: var(--orange-500); color: #ffffff; padding: 3px 10px; border-radius: 20px; font-size: 0.65rem; font-weight: 700; z-index: 2; box-shadow: 0 4px 10px rgba(0,0,0,0.1); }
.home-news-card .card-body-custom { padding: 16px; flex-grow: 1; display: flex; flex-direction: column; }
.home-news-card .news-meta { display: flex; justify-content: space-between; align-items: center; font-size: 0.65rem; color: var(--gray-600); margin-bottom: 10px; border-bottom: 1px dashed var(--border-light); padding-bottom: 8px; }
.home-news-card .news-title { font-size: 0.95rem; font-weight: 800; margin-bottom: 10px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.85rem; }
.home-news-card .news-title a { color: var(--navy-900); text-decoration: none; transition: color 0.3s; }
.home-news-card:hover .news-title a { color: var(--orange-500); }
.home-news-card .news-lead { font-size: 0.75rem; color: var(--gray-600); line-height: 1.7; margin-bottom: 18px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.btn-read-more { font-size: 0.75rem; font-weight: 700; color: var(--navy-900); text-decoration: none; display: inline-flex; align-items: center; transition: all 0.3s ease; padding-top: 5px; }
.home-news-card:hover .btn-read-more { color: var(--orange-500); transform: translateX(-3px); }

/* CEO Message Section */
.ceo-message-section { background-color: var(--bg-main); border-top: 1px solid var(--border-light); border-bottom: 1px solid var(--border-light); overflow: hidden; }
.ceo-watermark-svg { position: absolute; top: -40px; right: 0; width: 220px; height: auto; opacity: 0.2; z-index: -1; pointer-events: none; }
.quote-icon-bg { position: absolute; top: -10px; right: 20px; font-size: 5rem; color: var(--border-light); opacity: 0.6; z-index: -1; }
.ceo-section-title { color: var(--navy-900); font-size: 1.8rem; font-weight: 900; margin-bottom: 10px; }
.ceo-message-text { font-size: 1.05rem; line-height: 2.1; color: var(--gray-700); text-align: justify; font-style: italic; }
.ceo-signature { border-color: rgba(0, 0, 0, 0.05) !important; }
.ceo-name { font-size: 1.25rem; font-weight: 800; color: var(--navy-900); margin-bottom: 5px; }
.ceo-title { font-size: 0.85rem; font-weight: 600; color: var(--orange-500); }
.ceo-image-wrapper { position: relative; padding-right: 20px; padding-bottom: 20px; margin: 0 auto; max-width: 400px; }
.ceo-image-frame { position: absolute; top: 20px; left: 20px; right: 0; bottom: 0; border: 3px solid var(--orange-500); border-radius: 16px; z-index: 1; transition: all 0.5s ease; }
.ceo-main-img { position: relative; z-index: 2; width: 100%; height: auto; border-radius: 16px; object-fit: cover; aspect-ratio: 4 / 5; transition: transform 0.5s ease; }
.ceo-image-wrapper:hover .ceo-image-frame { transform: translate(-10px, -10px); }
.ceo-image-wrapper:hover .ceo-main-img { transform: translate(5px, 5px); }
.ceo-experience-badge { position: absolute; bottom: 40px; right: -10px; background: var(--navy-900); padding: 15px; border-radius: 12px; z-index: 3; text-align: center; border-bottom: 3px solid var(--orange-500); }

/* Mega Projects Premium Section */
.mega-projects-premium { background: radial-gradient(circle at center, var(--navy-900) 0%, #020617 100%); min-height: 100vh; overflow: hidden; }
.svg-circuit { position: absolute; top: 0; left: 0; opacity: 0.6; z-index: 1; pointer-events: none; }
.circuit-path { stroke: var(--orange-500); stroke-width: 2.5; fill: none; stroke-dasharray: 50 200; stroke-dashoffset: 1000; animation: dashFlow 8s linear infinite; filter: drop-shadow(0 0 12px var(--orange-500)); }
.circuit-path-2 { stroke: #0ea5e9; stroke-width: 2.5; fill: none; stroke-dasharray: 80 300; stroke-dashoffset: 1000; animation: dashFlow 12s linear infinite reverse; filter: drop-shadow(0 0 12px #0ea5e9); }
@keyframes dashFlow { to { stroke-dashoffset: 0; } }

.energy-particles .particle { position: absolute; border-radius: 50%; mix-blend-mode: screen; z-index: 1; animation: floatEnergy 8s infinite ease-in-out alternate; }
.p1 { width: 350px; height: 350px; top: -100px; right: -50px; background: radial-gradient(circle, rgba(245, 130, 22, 0.9) 0%, rgba(245, 130, 22, 0) 70%); opacity: 0.5; }
.p2 { width: 450px; height: 450px; bottom: -150px; left: -100px; background: radial-gradient(circle, rgba(14, 165, 233, 0.9) 0%, rgba(14, 165, 233, 0) 70%); opacity: 0.4; animation-delay: -4s; }
.p3 { width: 200px; height: 200px; top: 35%; left: 25%; background: radial-gradient(circle, rgba(245, 130, 22, 0.9) 0%, rgba(245, 130, 22, 0) 70%); opacity: 0.3; animation-duration: 6s; }
@keyframes floatEnergy { 100% { transform: translateY(40px) translateX(30px) scale(1.15); } }

.text-transparent-stroke { -webkit-text-stroke: 1.5px var(--orange-500); color: transparent; letter-spacing: 1px; filter: drop-shadow(0 0 5px rgba(245, 130, 22, 0.3)); }
.pulsing-dot { width: 12px; height: 12px; background-color: var(--orange-500); border-radius: 50%; box-shadow: 0 0 15px var(--orange-500); animation: pulseDot 1.2s infinite alternate; }
@keyframes pulseDot { 100% { transform: scale(1.6); opacity: 0.8; box-shadow: 0 0 25px var(--orange-500); } }
.sticky-project-info { position: sticky; top: 150px; }

.btn-glow-electric { display: inline-flex; align-items: center; background: rgba(245, 130, 22, 0.15); border: 2px solid rgba(245, 130, 22, 0.6); color: #fff; text-decoration: none; border-radius: 50px; padding: 5px 5px 5px 25px; transition: all 0.4s ease; position: relative; overflow: hidden; box-shadow: 0 0 15px rgba(245, 130, 22, 0.2); }
.btn-glow-electric .btn-text { font-weight: 700; font-size: 0.95rem; margin-left: 15px; }
.btn-glow-electric .btn-icon { width: 45px; height: 45px; background: var(--orange-500); border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: all 0.4s ease; box-shadow: 0 0 10px rgba(245, 130, 22, 0.6); }
.btn-glow-electric:hover { background: rgba(245, 130, 22, 0.3); border-color: var(--orange-500); box-shadow: 0 0 30px rgba(245, 130, 22, 0.6); color: #fff; }
.btn-glow-electric:hover .btn-icon { transform: rotate(-45deg); }

.project-glass-card { position: relative; border-radius: 20px; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.2); background: rgba(255, 255, 255, 0.05); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1); cursor: pointer; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4); }
.large-card { height: 450px; } .small-card { height: 300px; }
.card-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-size: cover; background-position: center; z-index: 1; transition: transform 0.8s ease; }
.card-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to top, #020617 0%, rgba(2, 6, 23, 0.5) 60%, transparent 100%); z-index: 2; transition: all 0.5s ease; }
.project-glass-card:hover { transform: translateY(-10px); box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6), 0 0 20px rgba(245, 130, 22, 0.2); }
.project-glass-card:hover .card-bg { transform: scale(1.1); }
.project-glass-card:hover .card-overlay { background: linear-gradient(to top, #020617 15%, rgba(2, 6, 23, 0.75) 100%); }

.electric-border { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border-radius: 20px; pointer-events: none; z-index: 4; }
.electric-border::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; border-radius: 20px; padding: 3px; background: linear-gradient(45deg, transparent, transparent, var(--orange-500), #0ea5e9, transparent); -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); -webkit-mask-composite: xor; mask-composite: exclude; background-size: 300% 300%; opacity: 0; transition: opacity 0.5s; }
.project-glass-card:hover .electric-border::before { opacity: 1; animation: borderGlow 2.5s linear infinite; }

.card-content { position: relative; z-index: 3; padding: 30px; }
.badge-neon-green { background: rgba(16, 185, 129, 0.25); border: 1px solid #10b981; color: #34d399; padding: 6px 16px; border-radius: 30px; font-size: 0.75rem; font-weight: 800; box-shadow: 0 0 12px rgba(16, 185, 129, 0.4); text-shadow: 0 0 5px rgba(52, 211, 153, 0.5); }
.badge-neon-blue { background: rgba(14, 165, 233, 0.25); border: 1px solid #0ea5e9; color: #7dd3fc; padding: 6px 16px; border-radius: 30px; font-size: 0.75rem; font-weight: 800; box-shadow: 0 0 12px rgba(14, 165, 233, 0.4); text-shadow: 0 0 5px rgba(125, 211, 252, 0.5); }
.badge-neon-orange { background: rgba(245, 130, 22, 0.25); border: 1px solid var(--orange-500); color: #fcd34d; padding: 6px 16px; border-radius: 30px; font-size: 0.75rem; font-weight: 800; box-shadow: 0 0 12px rgba(245, 130, 22, 0.4); text-shadow: 0 0 5px rgba(252, 211, 77, 0.5); }

.energy-pulse-icon { width: 45px; height: 45px; background: rgba(255, 255, 255, 0.15); border: 1px solid rgba(255, 255, 255, 0.3); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1.3rem; backdrop-filter: blur(5px); transition: all 0.3s; box-shadow: 0 4px 15px rgba(0,0,0,0.3); }
.project-glass-card:hover .energy-pulse-icon { background: var(--orange-500); border-color: var(--orange-500); color: #020617; box-shadow: 0 0 20px var(--orange-500); transform: rotate(15deg) scale(1.1); }

.project-title { color: #ffffff; font-size: 1.6rem; font-weight: 900; margin-bottom: 12px; text-shadow: 0 3px 8px rgba(0,0,0,0.8); }
.small-card .project-title { font-size: 1.3rem; }
.project-stats { display: flex; gap: 15px; font-size: 0.9rem; color: var(--gray-300); font-weight: 600; margin-bottom: 0; transition: margin-bottom 0.4s ease; text-shadow: 0 2px 4px rgba(0,0,0,0.8); }

.hover-reveal-content { max-height: 0; opacity: 0; overflow: hidden; transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1); transform: translateY(20px); }
.hover-reveal-content p { font-size: 0.95rem; color: var(--gray-100); line-height: 1.8; margin-top: 15px; text-shadow: 0 2px 4px rgba(0,0,0,0.8); }
.explore-btn { display: inline-block; color: var(--orange-500); font-size: 0.9rem; font-weight: 800; text-decoration: none; border-bottom: 2px solid transparent; transition: all 0.3s; text-shadow: 0 0 10px rgba(245, 130, 22, 0.4); }
.explore-btn:hover { border-bottom-color: var(--orange-500); padding-right: 5px; color: #fff; }

.project-glass-card:hover .project-stats { margin-bottom: 10px; }
.project-glass-card:hover .hover-reveal-content { max-height: 150px; opacity: 1; transform: translateY(0); }

/* Responsive adjustments for Index Main Page */
@media (max-width: 991.98px) {
    .hero-fold-section { height: auto; max-height: none; min-height: unset; padding-bottom: 40px;}
    .main-slider-container { height: 400px; margin-bottom: 20px; }
    .slider-content-box { padding: 0 30px; padding-bottom: 20px; }
    .slider-main-title { font-size: 1.5rem; }
    .vertical-slider-indicator-wrapper { right: 50%; transform: translateX(50%); top: auto; bottom: 15px; flex-direction: row; gap: 10px; }
    .indicator-line-track { flex-direction: row; padding: 0 10px; }
    .indicator-line-track::before { width: 100%; height: 2px; top: 50%; left: 0; transform: translateY(-50%); }
    .indicator-dot.active { width: 24px; height: 8px; }
    .about-main-title { font-size: 1.6rem; }
    .about-sub-title { font-size: 1rem; }
    .about-watermark-svg { width: 140px; top: -15px; }
    .video-presentation-wrapper { margin-top: 20px; }
    .ceo-watermark-svg { width: 150px; top: -20px; }
    .quote-icon-bg { font-size: 3.5rem; }
    .ceo-message-text { font-size: 0.95rem; }
    .ceo-image-wrapper { margin-top: 30px; padding-right: 15px; padding-bottom: 15px; }
    .ceo-image-frame { top: 15px; left: 15px; }
    .ceo-experience-badge { right: 0; bottom: 30px; padding: 10px; }
    .mega-projects-premium { height: auto; min-height: unset; padding: 60px 0; }
    .sticky-project-info { position: relative; top: 0; margin-bottom: 40px; }
    .large-card { height: 400px; }
    .svg-circuit { opacity: 0.4; }
}


/* =========================================
   25. Projects Archive Styles
   ========================================= */

.hero-projects {
    position: relative; height: 320px;
    background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 100%);
    display: flex; align-items: center; justify-content: center;
    color: white; overflow: hidden; margin-bottom: 40px;
}
.hero-projects::before {
    content: ''; position: absolute; top: 0; right: 0; width: 100%; height: 100%;
    background: url('https://images.unsplash.com/photo-1466611653911-95081537e5b7?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
    opacity: 0.15; mix-blend-mode: overlay; pointer-events: none;
}
.hero-projects .hero-content { position: relative; z-index: 2; text-align: center; }
.hero-projects .hero-title { font-weight: 900; font-size: 2.8rem; color: #fff; margin-bottom: 10px; letter-spacing: -1px; }
.hero-projects .hero-title span { color: var(--orange-500); }
.hero-projects .hero-subtitle { font-size: 1.1rem; color: var(--gray-300); font-weight: 400; }

.project-filters { display: flex; justify-content: center; gap: 10px; margin-bottom: 40px; flex-wrap: wrap; }
.filter-btn {
    background: #fff; color: var(--gray-700); border: 1px solid var(--border-light);
    padding: 8px 20px; border-radius: 6px; font-weight: 700; font-size: 0.95rem;
    transition: var(--transition-smooth); text-decoration: none;
}
.filter-btn:hover, .filter-btn.active {
    background: var(--navy-600); color: #fff; border-color: var(--navy-600);
    box-shadow: 0 4px 10px rgba(42, 70, 118, 0.15);
}

.project-card {
    background: #fff; border: 1px solid var(--border-light); border-radius: 12px;
    overflow: hidden; box-shadow: 0 10px 25px rgba(26, 42, 64, 0.04);
    transition: var(--transition-smooth); display: flex; flex-direction: column; height: 100%;
}
.project-card:hover { transform: translateY(-8px); box-shadow: 0 15px 35px rgba(26, 42, 64, 0.1); border-color: var(--gray-400); }

.project-card .card-img-wrapper { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-bottom: 4px solid var(--navy-600); }
.project-card .card-img-wrapper img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
.project-card:hover .card-img-wrapper img { transform: scale(1.08); }

.project-card .badge-status { position: absolute; top: 15px; right: 15px; padding: 5px 12px; border-radius: 6px; font-size: 0.8rem; font-weight: 700; z-index: 2; }
.project-card .status-ongoing { background: var(--green-100); color: var(--green-700); border: 1px solid rgba(26, 191, 131, 0.2); }
.project-card .status-completed { background: var(--gray-100); color: var(--navy-700); border: 1px solid var(--border-light); }

.project-card .badge-scope { position: absolute; bottom: 15px; right: 15px; background: rgba(26, 42, 64, 0.85); color: #fff; padding: 4px 12px; border-radius: 6px; font-size: 0.8rem; font-weight: 600; backdrop-filter: blur(4px); z-index: 2; }

/* بازگردانی دقیق پدینگ‌های طراحی اصلی */
.project-card .card-body { padding: 25px 20px; display: flex; flex-direction: column; flex-grow: 1; }

/* 🔴 لغو کامل سایه‌ی مخرب روی تیتر */
.project-card .project-title {
    font-size: 1.3rem; font-weight: 800; color: var(--navy-900);
    margin-bottom: 20px; line-height: 1.5; display: -webkit-box;
    -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 3.9rem;
    text-shadow: none !important; /* خنثی‌سازی تداخل استایل‌ها */
}

.project-meta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin-bottom: 25px; background: var(--bg-main); padding: 15px; border-radius: 8px; border: 1px solid var(--border-light); }
.project-meta-grid .meta-item { display: flex; flex-direction: column; }
.project-meta-grid .meta-item i { color: var(--orange-500); font-size: 1.1rem; margin-bottom: 6px; }
.project-meta-grid .meta-item .label { font-size: 0.75rem; color: var(--gray-600); font-weight: 600; margin-bottom: 2px; }
.project-meta-grid .meta-item .val { font-size: 0.95rem; color: var(--navy-900); font-weight: 800; }

/* بازگردانی دکمه اختصاصی این صفحه */
.btn-view-project {
    margin-top: auto; background: var(--navy-600); color: #fff; text-align: center;
    padding: 10px 15px; border-radius: 8px; font-weight: 700; font-size: 0.95rem;
    text-decoration: none; transition: var(--transition-smooth); border: 2px solid var(--navy-600); display: block;
}
.btn-view-project:hover { background: transparent; color: var(--navy-600); }

/* =========================================
   26. Portal Comprehensive Gateway Styles
   ========================================= */

/* استایل بدنه اختصاصی پرتال با بک‌گراند ثابت */
.portal-gate-body {
    font-family: var(--font-primary) !important;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('https://images.unsplash.com/photo-1550751827-4bd374c3f58b?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat fixed;
    background-color: var(--navy-900);
    color: var(--gray-100);
}

/* اورلی تاریک با تم سورمه‌ای سازمانی هلدینگ */
.portal-bg-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(26, 42, 64, 0.95) 0%, rgba(30, 50, 80, 0.85) 100%);
    z-index: 1;
}

.portal-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    padding: 40px 20px;
}

/* پرتال هدر */
.portal-header { text-align: center; margin-bottom: 60px; }

.portal-logo {
    width: 75px; height: 75px;
    background: var(--orange-500);
    border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 2.2rem; color: #ffffff; margin-bottom: 20px;
    box-shadow: 0 0 30px rgba(245, 130, 22, 0.4);
}

.portal-title { font-size: 2.2rem; font-weight: 900; letter-spacing: -1px; margin-bottom: 10px; text-shadow: 0 4px 10px rgba(0,0,0,0.5); color: #ffffff; }
.portal-subtitle { color: var(--gray-400); font-size: 1.1rem; font-weight: 400; }

/* کارت‌های گلس‌مورفیسم سامانه‌ها */
.system-card {
    background: rgba(26, 42, 64, 0.65);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 35px 25px;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

/* نوار اکشن فعال شونده در هاور کارت */
.system-card::before {
    content: ''; position: absolute;
    top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, transparent, var(--orange-500), transparent);
    opacity: 0; transition: opacity 0.4s ease;
}

.system-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
    background: rgba(30, 50, 80, 0.8);
}

.system-card:hover::before { opacity: 1; }

/* باکس آیکون */
.sys-icon-wrapper {
    width: 80px; height: 80px;
    margin: 0 auto 25px auto; border-radius: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex; align-items: center; justify-content: center;
    font-size: 2.2rem; color: var(--gray-300); transition: var(--transition-smooth);
}

.system-card:hover .sys-icon-wrapper {
    background: rgba(245, 130, 22, 0.15);
    border-color: rgba(245, 130, 22, 0.3);
    color: var(--orange-500);
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 20px rgba(245, 130, 22, 0.2);
}

.sys-title { font-size: 1.2rem; font-weight: 800; color: var(--gray-100); margin-bottom: 15px; line-height: 1.5; flex-grow: 1; }

/* دکمه‌های ورود کپسولی */
.btn-enter-sys {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    width: 100%; background: transparent; color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 12px 20px; border-radius: 12px; font-weight: 700; font-size: 0.95rem;
    text-decoration: none; transition: var(--transition-smooth); margin-top: 15px;
}

.btn-enter-sys:hover {
    background: var(--orange-500); color: #ffffff; border-color: var(--orange-500);
    box-shadow: 0 10px 20px rgba(245, 130, 22, 0.3);
}

.btn-enter-sys i { transition: transform 0.3s ease; }
.btn-enter-sys:hover i { transform: translateX(-5px); }

/* =========================================
   27. Single Subsidiary Corporate Profile
   ========================================= */

/* Hero Banner & Overlap Card */
.sub-corporate-hero {
    height: 250px; background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 100%);
    position: relative; margin-bottom: 90px; /* فضای خالی برای کارت شناور */
}
.hero-bg-pattern {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0.05;
    background-image: radial-gradient(circle at 2px 2px, #fff 1px, transparent 0); background-size: 30px 30px;
}

.sub-overlap-card {
    background: #ffffff; border: 1px solid var(--border-light); border-radius: 20px;
    position: absolute; bottom: -60px; left: 15px; right: 15px; padding: 25px 30px;
    z-index: 10;
}
.sub-logo-container {
    width: 110px; height: 110px; margin: 0 auto; background: var(--bg-main);
    border-radius: 16px; border: 1px solid var(--gray-300); display: flex;
    align-items: center; justify-content: center; padding: 15px;
}
.sub-logo-container img { width: 100%; height: 100%; object-fit: contain; }

.sub-badge-tag {
    display: inline-block; background: var(--orange-100); color: var(--orange-700);
    padding: 5px 15px; border-radius: 30px; font-size: 0.8rem; font-weight: 700;
}
.sub-company-title { font-size: 1.8rem; font-weight: 900; color: var(--navy-900); margin-bottom: 10px; }

@media (min-width: 768px) {
    .border-md-left { border-left: 1px solid var(--border-light); }
}

/* Main Content Typography */
.sub-section-heading {
    font-size: 1.4rem; font-weight: 800; color: var(--navy-900);
    margin-bottom: 25px; position: relative; padding-bottom: 10px; display: inline-block;
}
.sub-section-heading::after {
    content: ''; position: absolute; bottom: 0; right: 0; width: 40px; height: 3px;
    background: var(--orange-500); border-radius: 2px;
}
.sub-text-box p { font-size: 1.05rem; color: var(--gray-700); line-height: 2; text-align: justify; margin-bottom: 0; }

/* Asymmetrical Image Gallery */
.sub-gallery-grid {
    display: grid; grid-template-columns: 2fr 1fr; gap: 20px; align-items: stretch;
}
.gallery-img-box { border-radius: 16px; overflow: hidden; position: relative; }
.gallery-img-box img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.gallery-img-box:hover img { transform: scale(1.05); }
.img-large { aspect-ratio: 16/9; }
.img-small { aspect-ratio: 3/4; }

/* Premium Video Wrapper */
.sub-video-wrapper {
    border-radius: 20px; overflow: hidden; border: 4px solid var(--gray-200);
    transition: var(--transition-smooth); background: #000;
}
.sub-video-wrapper:hover { border-color: var(--navy-300); box-shadow: 0 15px 30px rgba(26, 42, 64, 0.15) !important; }
video::-webkit-media-controls-panel { background-color: rgba(26, 42, 64, 0.7); } /* سفارشی سازی کنترلر ویدیو */

/* Sticky Sidebar */
.sub-sticky-sidebar { position: sticky; top: 110px; }

.sub-sidebar-card {
    background: #fff; border: 1px solid var(--border-light); border-radius: 16px; padding: 25px;
}
.sidebar-card-title {
    font-size: 1.15rem; font-weight: 800; color: var(--navy-900); margin-bottom: 25px;
    padding-bottom: 15px; border-bottom: 1px dashed var(--border-light);
}
.sub-info-list { list-style: none; padding: 0; margin: 0; }
.sub-info-list li { display: flex; align-items: flex-start; margin-bottom: 20px; }
.sub-info-list li:last-child { margin-bottom: 0; }
.sub-info-list li i {
    width: 40px; height: 40px; background: var(--bg-main); border-radius: 10px;
    display: flex; align-items: center; justify-content: center; font-size: 1.1rem;
    margin-left: 15px; border: 1px solid var(--border-light);
}
.info-label { display: block; font-size: 0.8rem; color: var(--gray-500); font-weight: 600; margin-bottom: 3px; }
.info-value { display: block; font-size: 0.95rem; color: var(--navy-900); line-height: 1.5; }
.line-height-lg { line-height: 1.8; }

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .sub-overlap-card { position: relative; bottom: 0; margin-top: -50px; }
    .sub-corporate-hero { height: auto; padding-bottom: 30px; margin-bottom: 0; }
    .sub-gallery-grid { grid-template-columns: 1fr; }
    .img-large, .img-small { aspect-ratio: 16/9; }
    .sub-sticky-sidebar { position: relative; top: 0; }
}

/* =========================================
   28. IMS Policy Page Styles
   ========================================= */

.policy-document-card {
    background-color: #ffffff;
    border-radius: 20px;
    padding: 60px;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-light);
    border-top: 6px solid var(--orange-500);
}

.policy-watermark {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 400px; opacity: 0.04;
    pointer-events: none; z-index: 1;
}

.dropcap {
    float: right;
    font-size: 3.5rem;
    line-height: 1;
    font-weight: 900;
    margin: 5px 0 0 15px;
}

.lead-text {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--navy-900);
    line-height: 2.1;
    text-align: justify;
}

.policy-intro p:not(.lead-text) {
    font-size: 1.05rem;
    color: var(--gray-700);
    line-height: 1.9;
    text-align: justify;
}

/* ISO Standards Badges */
.iso-standards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.iso-badge {
    background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 100%);
    color: #ffffff;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    transition: var(--transition-smooth);
    border-bottom: 4px solid var(--orange-500);
}

.iso-badge:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(26, 42, 64, 0.2) !important; }
.iso-badge i { font-size: 2rem; color: var(--orange-500); margin-bottom: 12px; }
.iso-badge span { font-weight: 800; font-size: 1.1rem; letter-spacing: 1px; font-family: tahoma, sans-serif; } /* Tahoma برای اعداد انگلیسی واضح‌تر */

/* Goals List */
.policy-goals-list { list-style: none; padding: 0; margin: 0; }
.policy-goals-list li {
    display: flex; align-items: flex-start;
    margin-bottom: 20px; padding: 15px;
    background-color: var(--gray-50); border-radius: 12px;
    border: 1px solid var(--border-light);
    transition: var(--transition-smooth);
}
.policy-goals-list li:hover { background-color: #fff; border-color: var(--navy-300); box-shadow: 0 5px 15px rgba(0,0,0,0.03); transform: translateX(-5px); }

.goal-icon {
    width: 45px; height: 45px; min-width: 45px;
    background-color: var(--orange-100); color: var(--orange-600);
    border-radius: 10px; display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem; margin-left: 15px;
}
.goal-text { font-size: 1.05rem; font-weight: 700; color: var(--navy-800); line-height: 1.6; align-self: center; }
.goal-text span { font-weight: 500; font-size: 0.95rem; }

/* CEO Commitment Box */
.policy-commitment-box {
    background-color: var(--navy-50);
    border-radius: 16px; padding: 40px;
    position: relative; border-right: 4px solid var(--navy-600);
}
.quote-mark { position: absolute; top: 20px; right: 20px; font-size: 3rem; color: var(--navy-200); opacity: 0.5; }
.commitment-text { font-size: 1.05rem; color: var(--navy-900); line-height: 2; position: relative; z-index: 2; font-style: italic; font-weight: 500; }

.signature-area { text-align: left; /* امضا سمت چپ قرار میگیرد */ }
.signature-line { width: 200px; height: 1px; background-color: var(--gray-400); margin: 0 auto 15px 0; /* خط امضا */ }
.ceo-name-sign { font-size: 1.3rem; font-weight: 900; color: var(--navy-900); margin-bottom: 5px; }
.ceo-role-sign { font-size: 0.9rem; font-weight: 600; color: var(--orange-500); }

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .policy-document-card { padding: 30px 20px; }
    .iso-standards-grid { grid-template-columns: 1fr; }
    .policy-commitment-box { padding: 30px 20px; }
    .dropcap { font-size: 3rem; }
}

/* =========================================
   29. Strategic Pillars & Ethics Styles
   ========================================= */

/* Mission & Vision Cards */
.mission-vision-card {
    background: #fff; border: 1px solid var(--border-light); border-radius: 16px;
    padding: 40px; position: relative; transition: var(--transition-smooth);
    border-top: 4px solid var(--navy-600);
}
.mission-vision-card.border-top-orange { border-top-color: var(--orange-500); }
.mission-vision-card:hover { transform: translateY(-5px); box-shadow: 0 15px 35px rgba(26, 42, 64, 0.08) !important; }

.card-icon-box {
    width: 60px; height: 60px; border-radius: 15px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.8rem; margin-bottom: 25px;
}
.bg-navy-100 { background-color: var(--navy-100); }
.text-navy-800 { color: var(--navy-800); }
.card-title { font-size: 1.35rem; font-weight: 800; color: var(--navy-900); margin-bottom: 20px; }
.card-desc { font-size: 1.05rem; color: var(--gray-700); line-height: 1.9; }

.vision-list { list-style: none; padding: 0; margin: 0; }
.vision-list li { font-size: 1.05rem; color: var(--gray-700); line-height: 1.8; margin-bottom: 15px; display: flex; align-items: flex-start; }
.vision-list li i { margin-top: 6px; margin-left: 10px; font-size: 0.9rem; }

/* Core Values Grid */
.core-value-box {
    background: #fff; border: 1px solid var(--border-light); border-radius: 16px;
    padding: 30px 20px; text-align: center; transition: var(--transition-smooth);
    height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.core-value-box:hover { background: var(--navy-900); border-color: var(--navy-900); transform: translateY(-5px); }
.core-value-box i { font-size: 2.5rem; color: var(--orange-500); margin-bottom: 15px; transition: var(--transition-smooth); }
.core-value-box h4 { font-size: 1rem; font-weight: 700; color: var(--navy-900); margin: 0; transition: var(--transition-smooth); line-height: 1.5; }
.core-value-box:hover i, .core-value-box:hover h4 { color: #fff; }

/* Strategic Goals Wrapper */
.strategic-goals-wrapper {
    background: #fff; border-radius: 20px; overflow: hidden; border: 1px solid var(--border-light);
}
.goals-side-banner { position: relative; overflow: hidden; }
.goals-side-banner::after {
    content: ''; position: absolute; right: -20px; top: -20px; width: 150px; height: 150px;
    background: var(--orange-500); border-radius: 50%; opacity: 0.1; blur: 20px;
}
.goal-item {
    background: var(--gray-50); border: 1px solid var(--border-light); border-radius: 10px;
    padding: 15px 20px; font-size: 1rem; font-weight: 600; color: var(--navy-800);
    display: flex; align-items: center; transition: var(--transition-smooth);
}
.goal-item i { color: var(--orange-500); font-size: 1.2rem; margin-left: 12px; }
.goal-item:hover { background: #fff; border-color: var(--orange-300); box-shadow: 0 5px 15px rgba(245, 130, 22, 0.1); transform: translateX(-5px); }

/* Ethics Intro Box */
.ethics-intro-box {
    background: #fff; border: 1px dashed var(--border-light); border-radius: 16px;
    padding: 30px 40px; line-height: 2; font-size: 1.05rem; color: var(--gray-700);
    border-right: 5px solid var(--orange-500);
}

/* Vertical Timeline for Ethics */
.ethics-timeline { position: relative; padding-right: 40px; }
.ethics-timeline::before {
    content: ''; position: absolute; top: 0; bottom: 0; right: 19px; width: 2px;
    background: var(--border-light);
}
.timeline-item { position: relative; margin-bottom: 25px; }
.timeline-item:last-child { margin-bottom: 0; }
.timeline-number {
    position: absolute; right: -40px; top: 15px; width: 40px; height: 40px;
    background: var(--navy-900); color: #fff; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 1.1rem; border: 4px solid var(--bg-main);
    z-index: 2; transition: var(--transition-smooth);
}
.timeline-content {
    background: #fff; border: 1px solid var(--border-light); border-radius: 12px;
    padding: 20px 25px; margin-right: 20px; position: relative;
    font-size: 1.05rem; color: var(--gray-800); line-height: 1.9; text-align: justify;
    transition: var(--transition-smooth);
}
.timeline-content::before { /* فلش کنار باکس */
    content: ''; position: absolute; top: 25px; right: -8px;
    width: 15px; height: 15px; background: #fff;
    border-right: 1px solid var(--border-light); border-top: 1px solid var(--border-light);
    transform: rotate(45deg);
}
.timeline-item:hover .timeline-number { background: var(--orange-500); transform: scale(1.1); }
.timeline-item:hover .timeline-content { border-color: var(--orange-300); }

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .strategic-goals-wrapper .col-lg-4 { padding: 40px 30px !important; text-align: center; }
    .ethics-timeline { padding-right: 20px; }
    .ethics-timeline::before { right: 9px; }
    .timeline-number { right: -20px; width: 30px; height: 30px; font-size: 0.9rem; top: 20px; }
    .timeline-content { margin-right: 25px; padding: 15px; font-size: 0.95rem; }
}


/* =========================================
   30. HR Competency Model Styles
   ========================================= */

.competency-horizontal-card {
    background-color: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    transition: var(--transition-smooth);
}
.competency-horizontal-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.06) !important;
}

/* نوارهای رنگی کنار کارت‌ها (بر اساس طراحی اصلی) */
.border-navy { border-right: 12px solid var(--navy-800); }
.border-green { border-right: 12px solid var(--green-600); }

/* ستون عناوین */
.title-column {
    padding: 40px 30px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.title-column h3 {
    font-size: 1.35rem;
    font-weight: 900;
    line-height: 1.6;
    margin: 0;
    color: var(--navy-900);
}
.bg-navy-50 { background-color: var(--navy-50) !important; }
.bg-green-50 { background-color: var(--green-50) !important; }
.text-green-800 { color: var(--green-800) !important; }

/* ستون محتوا و لیست‌ها */
.content-column {
    padding: 30px 40px;
}
.competency-list {
    list-style: none; padding: 0; margin: 0;
    display: grid; gap: 15px 20px;
}
.competency-list.cols-2 { grid-template-columns: repeat(2, 1fr); }
.competency-list.cols-3 { grid-template-columns: repeat(3, 1fr); }

.competency-list li {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--gray-700);
    display: flex;
    align-items: flex-start;
    line-height: 1.6;
}
.competency-list li i {
    margin-top: 4px;
    margin-left: 10px;
    font-size: 0.85rem;
}

/* کلاس‌های کمکی رنگی */
.text-navy { color: var(--navy-600) !important; }
.text-green { color: var(--green-600) !important; }
.small-text { font-size: 0.8rem; color: var(--gray-500); font-weight: 500; margin-right: 5px; }

/* ریسپانسیو */
@media (max-width: 991.98px) {
    .competency-list.cols-3 { grid-template-columns: repeat(2, 1fr); }
    .title-column { padding: 25px; border-bottom: 1px dashed var(--border-light); }
}

@media (max-width: 767.98px) {
    .competency-list.cols-2, .competency-list.cols-3 { grid-template-columns: 1fr; }
    .content-column { padding: 25px; }
    .title-column h3 { br { display: none; } } /* حذف شکست خط در موبایل */
    .border-navy, .border-green { border-right: none; border-top: 8px solid; }
    .border-navy { border-top-color: var(--navy-800); }
    .border-green { border-top-color: var(--green-600); }
}


/* =========================================
   31. History, Structure & Power Plants
   ========================================= */

/* History Boxes */
.history-box {
    background-color: #ffffff;
    border-radius: 16px;
    padding: 35px 30px;
    border: 1px solid var(--border-light);
    position: relative;
    border-top: 4px solid var(--navy-600);
    transition: var(--transition-smooth);
}
.history-box:hover { transform: translateY(-5px); box-shadow: 0 15px 35px rgba(26, 42, 64, 0.08) !important; }

.history-icon {
    width: 55px; height: 55px;
    background-color: var(--navy-100);
    color: var(--navy-600);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
}
.bg-orange-light { background-color: var(--orange-100) !important; }

.history-title { font-size: 1.25rem; font-weight: 800; color: var(--navy-900); margin-bottom: 15px; }
.history-desc { font-size: 0.95rem; color: var(--gray-700); line-height: 1.9; margin: 0; text-align: justify; }

/* CSS-Only Organizational Chart */
.org-chart-wrapper {
    display: flex;
    justify-content: center;
    padding: 20px 0;
}
.org-tree {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}
.org-root {
    background-color: #ffffff;
    border: 2px solid var(--orange-500);
    padding: 15px 30px;
    border-radius: 12px;
    font-weight: 800;
    color: var(--navy-900);
    text-align: center;
    position: relative;
    z-index: 2;
    min-width: 300px;
    line-height: 1.6;
}
.org-branches {
    display: flex;
    gap: 20px;
    padding-top: 40px;
    position: relative;
}
/* خطوط اتصال چارت */
.org-branches::before {
    content: ''; position: absolute;
    top: 0; left: 50%; transform: translateX(-50%);
    width: 2px; height: 20px;
    background-color: var(--navy-300);
}
.org-branches::after {
    content: ''; position: absolute;
    top: 20px; left: calc(12.5% + 10px); right: calc(12.5% + 10px); /* تنظیم طول خط افقی بر اساس 4 آیتم */
    height: 2px;
    background-color: var(--navy-300);
}

.org-node {
    flex: 1;
    background-color: #ffffff;
    border: 1px solid var(--border-light);
    border-top: 4px solid var(--navy-600);
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    position: relative;
    z-index: 2;
    min-width: 200px;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--gray-800);
    line-height: 1.6;
    transition: var(--transition-smooth);
}
.org-node:hover { transform: translateY(-3px); border-top-color: var(--orange-500); box-shadow: 0 10px 20px rgba(0,0,0,0.05) !important; }
.org-node::before {
    content: ''; position: absolute;
    top: -20px; left: 50%; transform: translateX(-50%);
    width: 2px; height: 20px;
    background-color: var(--navy-300);
}

/* Corporate Data Table */
.custom-corporate-table {
    border-collapse: separate;
    border-spacing: 0;
}
.custom-corporate-table thead th {
    background-color: #ffffff;
    border-bottom: 2px solid var(--border-light);
    padding: 20px 15px;
    font-weight: 700;
    color: var(--gray-800);
    vertical-align: middle;
}
.th-content {
    background-color: var(--gray-50);
    padding: 8px 15px;
    border-radius: 8px;
    display: inline-block;
    border: 1px solid var(--border-light);
    font-size: 0.9rem;
}

.custom-corporate-table tbody td {
    padding: 20px 15px;
    border-bottom: 1px solid var(--border-light);
    vertical-align: middle;
}
.custom-corporate-table tbody tr:last-child td { border-bottom: none; }
.custom-corporate-table tbody tr { transition: background-color 0.3s ease; }
.custom-corporate-table tbody tr:hover { background-color: var(--gray-50); }

/* Responsive Overrides for Org Chart */
@media (max-width: 991.98px) {
    .org-branches { flex-direction: column; padding-top: 20px; gap: 15px; }
    .org-branches::before, .org-branches::after { display: none; }
    .org-root::after {
        content: ''; position: absolute;
        bottom: -20px; left: 50%; transform: translateX(-50%);
        width: 2px; height: 20px; background-color: var(--navy-300);
    }
    .org-node::before {
        top: -15px; left: 50%; transform: translateX(-50%);
        width: 2px; height: 15px; background-color: var(--navy-300);
    }
}

