@charset "UTF-8";

/* ==========================================================================
   SAMIN ENERGY - MAIN STYLESHEET (FINAL)
   Architecture: Component-Based / CSS Variables
   ========================================================================== */

:root {
    --font-family: 'Vazirmatn', Tahoma, Arial, sans-serif;
    --bs-font-sans-serif: var(--font-family) !important;
    --bs-body-font-family: var(--font-family) !important;

    --primary-color: #194a92;
    --primary-hover: #123870;
    --primary-dark: #0b131e;
    --secondary-color: #f78f1e;
    --tertiary-1: #f26847;
    --tertiary-2: #3a9f8f;

    --text-main: #2b2c34;
    --text-muted: #64748b;
    --bg-main: #f8f9fa;
    --bg-light: #ffffff;
    --border: #e2e8f0;
    --border-light: rgba(0, 0, 0, 0.05);
    --radius-md: 12px;
    --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* ==========================================================================
   GLOBAL RESETS
   ========================================================================== */
body, h1, h2, h3, h4, h5, h6, p, a, span, button, input, select, textarea, div {
    font-family: var(--font-family) !important;
}

body {
    color: var(--text-main);
    background-color: var(--bg-main);
    direction: rtl;
    overflow-x: hidden;
    margin: 0;
}

/* ==========================================================================
   SCROLL SNAP (Pure CSS - No JS interference)
   ========================================================================== */
@media (min-width: 992px) {
    html.snap-active {
        scroll-snap-type: y mandatory;
        scroll-behavior: smooth;
    }
    .snap-section {
        height: 100vh;
        scroll-snap-align: start;
        scroll-snap-stop: always;
    }
    .snap-footer {
        scroll-snap-align: end;
        scroll-snap-stop: always;
    }
}

.snap-section {
    width: 100%;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0;
}

@media (max-width: 991.98px) {
    .snap-section {
        min-height: 100vh;
        padding: 60px 0;
        justify-content: flex-start;
        height: auto;
    }
    .hero-slider {
        padding: 0;
        min-height: 100vh;
    }
}

/* ==========================================================================
   REVEAL ANIMATIONS
   ========================================================================== */
.reveal-up {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.in-view .reveal-up,
.reveal-up.in-view {
    opacity: 1;
    transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.15s; }
.reveal-delay-2 { transition-delay: 0.3s; }
.reveal-delay-3 { transition-delay: 0.45s; }

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn-custom-outline {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 600;
    padding: 8px 20px;
    border: 1px solid currentColor;
    border-radius: 50px;
    background-color: transparent;
    transition: var(--transition);
    text-decoration: none;
}
.btn-custom-outline i {
    width: 32px;
    height: 32px;
    border: 1px solid currentColor;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition);
}

.btn-hero { color: #fff; border-color: rgba(255, 255, 255, 0.4); }
.btn-hero:hover {
    background-color: #fff;
    color: var(--primary-color);
    border-color: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}
.btn-hero:hover i {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

.btn-primary-outline { color: var(--primary-color); border-color: rgba(25, 74, 146, 0.3); }
.btn-primary-outline i { border-color: rgba(25, 74, 146, 0.3); }
.btn-primary-outline:hover {
    color: var(--secondary-color);
    border-color: var(--secondary-color);
}
.btn-primary-outline:hover i {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: #fff;
    transform: translateX(-6px);
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.site-header {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    color: #fff;
    padding: 0 5%;
}

.top-bar {
    padding: 12px 0;
    font-size: 13px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}
.top-bar a { color: #fff; text-decoration: none; transition: var(--transition); }
.top-bar a:hover { color: var(--secondary-color); }

.login-link { display: inline-flex; align-items: center; text-decoration: none; }
.login-link i { transition: transform 0.3s ease; }
.login-link:hover i { transform: translateX(-6px); }

.social-icons a {
    color: #fff;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}
.social-icons a:hover {
    background-color: var(--secondary-color);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(247, 143, 30, 0.3);
}

.main-menu { padding: 15px 0; }
.navbar-brand { color: #fff !important; text-decoration: none; }

.navbar-dark .navbar-nav .nav-link {
    --bs-nav-link-color: rgba(255, 255, 255, 0.8) !important;
    color: var(--bs-nav-link-color) !important;
}
.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    --bs-nav-link-color: var(--secondary-color) !important;
    color: var(--bs-nav-link-color) !important;
}
.navbar-dark { --bs-navbar-color: rgba(255, 255, 255, 0.8) !important; }

.nav-link {
    position: relative;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    transition: var(--transition);
    padding-bottom: 5px;
}

.dropdown-toggle::after { display: none !important; }
.transition-icon { transition: transform 0.3s ease; font-size: 10px; }
.dropdown-item {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--text-main);
    padding: 10px 20px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.dropdown-item:hover {
    background-color: rgba(247, 143, 30, 0.1);
    color: var(--secondary-color);
    padding-right: 25px;
}

@media (min-width: 992px) {
    .nav-link::after {
        content: ''; position: absolute; bottom: 0; right: 0; width: 0%; height: 2px;
        background-color: var(--secondary-color); transition: width 0.3s ease;
    }
    .nav-link:hover::after, .nav-link.active::after { width: 100%; }
    .nav-link:hover, .nav-link.active {
        color: var(--secondary-color) !important;
        text-shadow: 0 2px 5px rgba(0, 0, 0, 0.8);
    }

    .custom-dropdown .dropdown-menu {
        border: none; border-radius: var(--radius-md); background-color: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px); padding: 10px 0; margin-top: 15px; opacity: 0;
        visibility: hidden; transform: translateY(10px) scale(0.98);
        transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1); display: block; min-width: 220px;
    }
    .custom-dropdown:hover > .dropdown-menu {
        opacity: 1; visibility: visible; transform: translateY(0) scale(1); margin-top: 0;
    }

    .dropdown-submenu { position: relative; }
    .dropdown-submenu > .submenu { top: 0; right: 100%; margin-right: 15px; display: block; }
    .dropdown-submenu:hover > .submenu {
        opacity: 1; visibility: visible; transform: translateY(0) scale(1); margin-right: 0;
    }
}

@media (max-width: 991.98px) {
    .top-bar { flex-direction: column; gap: 15px; text-align: center; }
    .top-bar-left { width: 100%; justify-content: center; }
    .top-bar-right { width: 100%; }

    .navbar-collapse {
        background-color: var(--primary-color);
        padding: 15px 20px; border-radius: var(--radius-md);
        margin-top: 15px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
        max-height: 80vh; overflow-y: auto;
    }
    .nav-link {
        padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.1); color: #fff !important;
    }
    .nav-link:hover, .nav-link.active { color: var(--secondary-color) !important; }

    .custom-dropdown .dropdown-menu {
        border: none; border-radius: 8px; background-color: rgba(0, 0, 0, 0.2) !important;
        padding: 5px 0; min-width: 100%; margin-top: 5px; display: none;
        opacity: 1; visibility: visible; transform: none; position: static;
        float: none; box-shadow: none;
    }
    .custom-dropdown .dropdown-menu.show { display: block; }

    .dropdown-item { color: #fff !important; font-size: 13px; padding: 10px 20px; }
    .dropdown-item:hover {
        background-color: rgba(255, 255, 255, 0.1);
        color: var(--secondary-color) !important;
        padding-right: 25px;
    }

    .dropdown-submenu > .submenu {
        display: none; margin-top: 5px; background-color: rgba(0, 0, 0, 0.2) !important;
        border: none; border-radius: 8px; position: static; float: none; min-width: 100%;
        padding: 5px 0; opacity: 1; visibility: visible; transform: none;
        box-shadow: none; margin-right: 0;
    }
    .dropdown-submenu > .submenu.show { display: block; }
    .dropdown-submenu > .submenu .dropdown-item { padding-right: 35px; font-size: 12.5px; }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer-sec-wrapper {
    background-color: var(--primary-dark);
    color: #cbd5e1;
    position: relative;
    overflow: hidden;
    border-top: 4px solid var(--secondary-color);
    padding-top: 60px;
    padding-bottom: 20px;
}
.footer-sec-glow {
    position: absolute; top: -150px; right: -150px; width: 400px; height: 400px;
    border-radius: 50%; background: radial-gradient(circle, rgba(247, 143, 30, 0.06) 0%, transparent 70%);
    z-index: 0; pointer-events: none;
}
.footer-sec-logo { width: 180px; height: auto; opacity: 0.95; }
.footer-sec-desc { font-size: 0.85rem; line-height: 2; color: #94a3b8; text-align: justify; }
.footer-sec-socials a {
    display: inline-flex; align-items: center; justify-content: center;
    width: 38px; height: 38px; border-radius: 8px; background: rgba(255, 255, 255, 0.04);
    color: #94a3b8; margin-left: 8px; transition: var(--transition);
    font-size: 1.1rem; border: 1px solid rgba(255, 255, 255, 0.05); vertical-align: middle;
}
.footer-sec-socials a:hover {
    background: var(--secondary-color);
    color: #fff;
    border-color: var(--secondary-color);
    transform: translateY(-3px);
}
.footer-sec-heading {
    color: #ffffff; font-size: 1.1rem; font-weight: 800; margin-bottom: 25px;
    position: relative; padding-right: 15px;
}
.footer-sec-heading::before {
    content: ''; position: absolute; top: 3px; right: 0; bottom: 3px; width: 3px;
    background: var(--secondary-color); border-radius: 3px;
}
.footer-sec-links { list-style: none; padding: 0; margin: 0; }
.footer-sec-links li { margin-bottom: 14px; }
.footer-sec-links a {
    color: #94a3b8; text-decoration: none; font-size: 0.85rem; transition: var(--transition); display: inline-block;
}
.footer-sec-links a:hover { color: #ffffff; transform: translateX(-5px); }
.footer-sec-links a.text-orange { color: var(--secondary-color) !important; }
.footer-sec-links a.text-orange:hover { color: #fff !important; transform: translateX(-5px); }

.footer-sec-contact { list-style: none; padding: 0; margin: 0; }
.footer-sec-contact li { display: flex; align-items: flex-start; margin-bottom: 16px; font-size: 0.85rem; color: #94a3b8; line-height: 1.7; }
.footer-sec-contact i { color: var(--secondary-color); font-size: 1rem; margin-left: 12px; margin-top: 5px; }

.footer-sec-divider { height: 1px; background: rgba(255, 255, 255, 0.06); margin: 25px 0; }
.footer-sec-bottom { font-size: 0.8rem; color: #64748b; }
.footer-sec-bottom strong { color: #cbd5e1; font-weight: 700; }
.footer-sec-agency a { color: var(--secondary-color); font-weight: 800; text-decoration: none; transition: var(--transition); letter-spacing: 0.5px; }
.footer-sec-agency a:hover { opacity: 0.8; color: #ffffff; }

/* ==========================================================================
   SCROLL TO TOP BUTTON
   ========================================================================== */
.scroll-top-btn {
    position: fixed; bottom: 30px; left: 30px; width: 45px; height: 45px;
    background-color: rgba(255, 255, 255, 0.9); color: var(--primary-color);
    border: 2px solid var(--primary-color); border-radius: 50%;
    display: flex; align-items: center; justify-content: center; font-size: 18px;
    opacity: 0; visibility: hidden; transition: var(--transition);
    z-index: 999; cursor: pointer; box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
.scroll-top-btn.show { opacity: 1; visibility: visible; }
.scroll-top-btn:hover {
    background-color: var(--primary-color);
    color: #fff;
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(25, 74, 146, 0.3);
}


/* ==========================================================================
   HOME COMPONENTS - HERO SLIDER
   ========================================================================== */
.hero-slider {
    position: relative; width: 100%; height: 100vh; height: 100dvh; min-height: 600px;
    background-color: #000; overflow: hidden; display: block; touch-action: pan-y;
}
@media (max-width: 991.98px) {
    .hero-slider { padding: 0; min-height: 100vh; min-height: 100dvh; }
}
.slider-bg {
    position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background-size: cover; background-position: center; background-repeat: no-repeat;
    transition: opacity 0.6s ease-in-out, transform 6s linear; transform: scale(1);
    z-index: 0; opacity: 0; will-change: transform, opacity; pointer-events: none;
}
.slider-bg.active { opacity: 1; z-index: 1; }
.slider-bg.zoom-effect { transform: scale(1.05); }
.slider-overlay {
    position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 40%, rgba(0, 0, 0, 0.1) 100%);
    z-index: 2;
}
.slider-text-wrapper { transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1); opacity: 1; transform: translateY(0); }
.slider-text-wrapper.fade-out { opacity: 0; transform: translateY(20px); }
.slide-kicker {
    display: inline-flex; align-items: center; gap: 8px; font-size: 13px; letter-spacing: 1px;
    margin-bottom: 15px; padding: 6px 16px; background-color: var(--secondary-color);
    color: #fff; border-radius: 50px; font-weight: bold;
}
.kicker-icon { font-size: 15px; }
.slide-title { font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 800; line-height: 1.3; color: #fff; }

.slider-navigation { padding-bottom: 20px; }

/* Responsive nav grid - flex based, no longer breaks on 5+ slides */
.slider-nav-row {
    display: flex; flex-wrap: wrap; gap: 0.75rem;
}
.slider-nav-col {
    flex: 1 1 calc(25% - 0.75rem);
    min-width: 120px;
}
@media (max-width: 767.98px) {
    .slider-nav-col { flex: 1 1 calc(50% - 0.75rem); }
}
@media (max-width: 480px) {
    .slider-nav-col { flex: 1 1 100%; }
}

.slider-nav-item { position: relative; cursor: pointer; }
.slider-nav-item .slide-thumbnail {
    position: absolute; bottom: 100%; right: 0; width: 100%; height: 70px;
    background-size: cover; background-position: center; border-radius: 6px;
    border: none; opacity: 0; transform: translateY(15px);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1); pointer-events: none;
    margin-bottom: 12px; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}
@media (min-width: 992px) {
    .slider-nav-item:hover .slide-thumbnail { opacity: 1; transform: translateY(0); }
}
.slider-nav-item .nav-title {
    display: block; color: rgba(255, 255, 255, 0.5); font-size: 12px;
    font-weight: bold; margin-bottom: 8px; transition: var(--transition);
}
.slider-nav-item.active .nav-title,
.slider-nav-item:hover .nav-title { color: #fff; }
.slider-nav-item .progress-track {
    width: 100%; height: 3px; background-color: rgba(0, 0, 0, 0.5);
    border-radius: 2px; overflow: hidden; position: relative;
}
.slider-nav-item .progress-fill {
    width: 0%; height: 100%; background: linear-gradient(270deg, var(--secondary-color), var(--tertiary-1));
    position: absolute; top: 0; right: 0;
}
@keyframes fillProgress { 0% { width: 0%; } 100% { width: 100%; } }

/* Scroll-snap support (activated on document root when .snap-active is present) */
html.snap-active {
    scroll-snap-type: y mandatory;
}
html.snap-active .snap-section,
html.snap-active .snap-footer {
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

/* Mobile responsive spacing so nav thumbnails/labels don't overlap slide content */
@media (max-width: 767.98px) {
    .slider-navigation { padding-bottom: 30px; }
    .slide-title { margin-bottom: 10px; }
    .slider-nav-item .nav-title { font-size: 11px; }
}




/* ==========================================================================
   HOME COMPONENTS - DISCOVER
   ========================================================================== */
.discover-section { background-color: var(--bg-main); }
.section-kicker { font-size: 13px; font-weight: 700; color: var(--text-muted); letter-spacing: 1px; text-transform: uppercase; }
.section-lead { font-size: clamp(1.2rem, 2.5vw, 1.8rem); font-weight: 300; line-height: 1.6; color: var(--text-main); max-width: 800px; margin-bottom: 0; }

.cards-scroller {
    display: flex; gap: 20px; overflow-x: auto; overflow-y: hidden;
    scroll-snap-type: x mandatory; padding-bottom: 20px;
    scrollbar-width: none; margin-top: 30px; -webkit-overflow-scrolling: touch;
}
.cards-scroller::-webkit-scrollbar { display: none; }
.discover-card {
    flex: 0 0 calc(25% - 15px); height: 420px; border-radius: var(--radius-md);
    position: relative; overflow: hidden; scroll-snap-align: start; text-decoration: none; color: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05); transition: var(--transition); will-change: transform;
}
@media (max-width: 1200px) { .discover-card { flex: 0 0 calc(33.333% - 14px); } }
@media (max-width: 992px) { .discover-card { flex: 0 0 calc(50% - 10px); } }
@media (max-width: 576px) { .discover-card { flex: 0 0 85%; } }

.discover-card-bg {
    position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background-size: cover; background-position: center;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1); z-index: 0;
}
.discover-card-overlay {
    position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0.1) 40%, rgba(0, 0, 0, 0.65) 100%);
    z-index: 1; transition: background 0.4s ease;
}
.discover-card-content { position: relative; z-index: 2; padding: 25px; display: flex; flex-direction: column; height: 100%; }
.card-kicker { font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 8px; display: block; opacity: 0.9; }
.card-title { font-size: 1.1rem; font-weight: 700; line-height: 1.4; margin: 0; text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5); }
.card-btn {
    width: 36px; height: 36px; border: 1px solid #fff; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 14px; color: #fff; transition: var(--transition);
}
@media (min-width: 992px) {
    .discover-card:hover { transform: translateY(-5px); box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15); }
    .discover-card:hover .discover-card-bg { transform: scale(1.08); }
    .discover-card:hover .discover-card-overlay { background: linear-gradient(180deg, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.3) 40%, rgba(0, 0, 0, 0.8) 100%); }
    .discover-card:hover .card-btn { background-color: #fff; color: var(--text-main); transform: translateX(-5px); }
}
.bottom-colored-line {
    height: 4px; width: 100%; border-radius: 2px; margin-top: auto;
    background: linear-gradient(90deg, #4caf50 0%, #2196f3 33%, #9e9e9e 66%, #e0e0e0 100%);
}

/* ==========================================================================
   HOME COMPONENTS - ABOUT
   ========================================================================== */
.about-sec-wrapper { background-color: var(--bg-light); }
.about-sec-image-wrapper { position: relative; border-radius: var(--radius-md); overflow: hidden; box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1); }
.about-sec-image-wrapper img { width: 100%; height: auto; display: block; transition: transform 0.6s ease; }
@media (min-width: 992px) {
    .about-sec-image-wrapper:hover img { transform: scale(1.03); }
}
.about-sec-text { text-align: justify; color: #555; line-height: 1.8; }

/* ==========================================================================
   HOME COMPONENTS - NEWS
   ========================================================================== */
.news-sec-wrapper { background-color: var(--bg-main); }
.news-sec-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 30px; }
.news-sec-grid-container { height: 60vh; min-height: 450px; max-height: 600px; }
.news-sec-card-main {
    position: relative; border-radius: var(--radius-md); overflow: hidden; height: 100%;
    color: #fff; text-decoration: none; display: block; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08); transition: var(--transition);
}
.news-sec-card-main .news-sec-bg {
    position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background-size: cover; background-position: center; transition: transform 0.6s ease;
}
.news-sec-card-main .news-sec-overlay {
    position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.1) 60%);
}
.news-sec-card-main .news-sec-content { position: absolute; bottom: 0; left: 0; right: 0; padding: 40px; z-index: 2; }
.news-sec-card-sm {
    display: flex; flex-direction: column; background: #fff; border-radius: var(--radius-md);
    overflow: hidden; text-decoration: none; color: var(--text-main);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03); transition: var(--transition); height: 100%;
}
.news-sec-card-sm .news-sec-img-wrapper { height: 45%; overflow: hidden; position: relative; }
.news-sec-card-sm .news-sec-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.news-sec-card-sm .news-sec-info { padding: 20px; display: flex; flex-direction: column; height: 55%; justify-content: space-between; }
@media (min-width: 992px) {
    .news-sec-card-main:hover { transform: translateY(-5px); }
    .news-sec-card-main:hover .news-sec-bg { transform: scale(1.05); }
    .news-sec-card-sm:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08); }
    .news-sec-card-sm:hover .news-sec-img { transform: scale(1.05); }
    .news-sec-card-sm:hover .news-sec-title { color: var(--primary-color); }
}
.news-sec-meta { font-size: 12px; color: var(--text-muted); display: flex; gap: 15px; margin-top: 15px; flex-wrap: wrap; }
.news-sec-meta span { display: inline-flex; align-items: center; gap: 5px; }
.news-sec-meta i { color: var(--secondary-color); }
.news-sec-card-main .news-sec-meta { color: rgba(255, 255, 255, 0.8); }
@media (max-width: 991.98px) {
    .news-sec-grid-container { height: auto; min-height: auto; max-height: none; margin-bottom: 30px; }
    .news-sec-card-main { height: 400px; margin-bottom: 20px; }
    .news-sec-card-sm { height: auto; min-height: 350px; margin-bottom: 20px; }
    .news-sec-card-sm .news-sec-img-wrapper { height: 200px; }
    .news-sec-card-sm .news-sec-info { height: auto; }
}

/* ==========================================================================
   HOME COMPONENTS - MEGA PROJECTS
   ========================================================================== */
.mega-sec-wrapper { background-color: var(--primary-color); color: #fff; position: relative; }
.mega-sec-bg-pattern {
    position: absolute; top: 0; left: 0; right: 0; bottom: 0; opacity: 0.05;
    background-image: linear-gradient(rgba(255, 255, 255, 1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 1) 1px, transparent 1px);
    background-size: 40px 40px; pointer-events: none;
}
.mega-sec-glow {
    position: absolute; width: 60vw; height: 60vw;
    background: radial-gradient(circle, rgba(247, 143, 30, 0.15) 0%, transparent 70%);
    top: 50%; left: 50%; transform: translate(-50%, -50%); pointer-events: none; border-radius: 50%;
}
.mega-sec-accordion { display: flex; gap: 15px; height: 60vh; min-height: 400px; width: 100%; margin-top: 30px; position: relative; z-index: 2; }
.mega-sec-card {
    flex: 1; position: relative; border-radius: var(--radius-md); overflow: hidden;
    cursor: pointer; transition: flex 1.2s cubic-bezier(0.19, 1, 0.22, 1); border: 1px solid rgba(255, 255, 255, 0.1);
}
.mega-sec-bg {
    position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background-size: cover; background-position: center;
    transition: transform 1.2s cubic-bezier(0.19, 1, 0.22, 1); opacity: 0.5; filter: grayscale(50%);
}
.mega-sec-overlay {
    position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(180deg, rgba(25, 74, 146, 0.2) 0%, rgba(18, 56, 112, 0.95) 100%);
    transition: all 1s ease;
}
.mega-sec-content {
    position: absolute; bottom: 0; left: 0; right: 0; padding: 40px 30px; z-index: 2;
    display: flex; flex-direction: column; align-items: flex-start;
}
.mega-sec-icon {
    width: 55px; height: 55px; background: rgba(255, 255, 255, 0.1); backdrop-filter: blur(10px);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 22px; color: var(--secondary-color); margin-bottom: 20px;
    border: 1px solid rgba(247, 143, 30, 0.5); transition: all 0.5s ease;
}
.mega-sec-title { font-size: 1.4rem; font-weight: 800; margin: 0; white-space: nowrap; transition: var(--transition); text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5); }
.mega-sec-hidden-content { max-height: 0; opacity: 0; overflow: hidden; transition: all 0.8s cubic-bezier(0.19, 1, 0.22, 1); margin-top: 0; width: 100%; }
.mega-sec-badge {
    display: inline-block; padding: 6px 15px; font-size: 12px; font-weight: bold;
    background: rgba(247, 143, 30, 0.15); color: var(--secondary-color); border-radius: 50px;
    border: 1px solid var(--secondary-color); margin-bottom: 15px; backdrop-filter: blur(5px);
}
@media (min-width: 992px) {
    .mega-sec-card:hover, .mega-sec-card:focus-within {
        flex: 4; border-color: var(--secondary-color); box-shadow: 0 0 30px rgba(247, 143, 30, 0.2);
    }
    .mega-sec-card:hover .mega-sec-bg, .mega-sec-card:focus-within .mega-sec-bg { opacity: 0.8; transform: scale(1.05); filter: grayscale(0%); }
    .mega-sec-card:hover .mega-sec-overlay, .mega-sec-card:focus-within .mega-sec-overlay { background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(25, 74, 146, 0.9) 100%); }
    .mega-sec-card:hover .mega-sec-icon, .mega-sec-card:focus-within .mega-sec-icon { background: var(--secondary-color); color: #fff; transform: scale(1.1); box-shadow: 0 5px 15px rgba(247, 143, 30, 0.4); }
    .mega-sec-card:hover .mega-sec-hidden-content, .mega-sec-card:focus-within .mega-sec-hidden-content { max-height: 200px; opacity: 1; margin-top: 15px; }
}
@media (max-width: 991.98px) {
    .mega-sec-accordion { flex-direction: column; height: auto; min-height: 80vh; }
    .mega-sec-card { min-height: 120px; }
    .mega-sec-card.active-mobile { flex: 3; min-height: 350px; }
    .mega-sec-card.active-mobile .mega-sec-bg { opacity: 0.8; transform: scale(1.05); filter: grayscale(0%); }
    .mega-sec-card.active-mobile .mega-sec-overlay { background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(25, 74, 146, 0.9) 100%); }
    .mega-sec-card.active-mobile .mega-sec-icon { background: var(--secondary-color); color: #fff; }
    .mega-sec-card.active-mobile .mega-sec-hidden-content { max-height: 200px; opacity: 1; margin-top: 15px; }
    .mega-sec-title { white-space: normal; font-size: 1.2rem; }
}

/* ==========================================================================
   HOME COMPONENTS - SUBSIDIARIES
   ========================================================================== */
.sub-sec-wrapper {
    background: linear-gradient(135deg, rgba(25, 74, 146, 0.04) 0%, rgba(247, 143, 30, 0.04) 100%);
    background-color: #fcfcfc;
}
.sub-sec-card {
    background: rgba(255, 255, 255, 0.8); backdrop-filter: blur(10px);
    border-radius: var(--radius-md); padding: 40px 25px; text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03); transition: var(--transition);
    height: 100%; border: 1px solid rgba(0, 0, 0, 0.04); display: flex;
    flex-direction: column; align-items: center; text-decoration: none; color: var(--text-main);
    position: relative; overflow: hidden;
}
.sub-sec-card::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 4px;
    background: var(--primary-color); transform: scaleX(0); transition: transform 0.5s ease; transform-origin: right;
}
.sub-sec-logo { width: 90px; height: 90px; object-fit: contain; margin-bottom: 25px; opacity: 0.8; transition: var(--transition); filter: grayscale(100%); }
.sub-sec-title { font-size: 1.2rem; font-weight: 800; margin-bottom: 12px; color: var(--primary-color); }
.sub-sec-desc { font-size: 13.5px; color: #666; line-height: 1.7; margin-bottom: 25px; }
.sub-sec-link-text { margin-top: auto; font-size: 14px; font-weight: bold; color: var(--text-main); transition: var(--transition); display: flex; align-items: center; gap: 8px; }
@media (min-width: 992px) {
    .sub-sec-card:hover::before { transform: scaleX(1); }
    .sub-sec-card:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(25, 74, 146, 0.08); border-color: transparent; }
    .sub-sec-card:hover .sub-sec-logo { opacity: 1; filter: grayscale(0%); transform: scale(1.1); }
    .sub-sec-card:hover .sub-sec-link-text { color: var(--secondary-color); gap: 12px; }
}

/* ==========================================================================
   INTERNAL PAGES (abbreviated - keep existing styles)
   ========================================================================== */
.se-internal-hero { padding: 160px 0 80px; }
.bg-primary-dark { background-color: var(--primary-dark); }
.text-primary-dark { color: var(--primary-dark); }
.opacity-10 { opacity: 0.1; }
.line-clamp-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.line-clamp-3 { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.transition-transform { transition: transform 0.5s ease; }
.transition-all { transition: all 0.3s ease; }
.se-link-hover { transition: var(--transition); }
.se-zoom-hover { transition: transform 0.4s ease; }
.se-zoom-hover:hover { transform: scale(1.05); }
.group-hover:hover .group-hover-primary { color: var(--primary-color) !important; }
.group-hover:hover img { transform: scale(1.05); }
.se-custom-pagination .page-link {
    color: var(--text-muted); border: 1px solid var(--border); min-width: 40px;
    text-align: center; font-weight: bold; transition: var(--transition);
}
.se-custom-pagination .page-link:hover { background: var(--bg-light); color: var(--primary-color); }
.se-custom-pagination .active .page-link {
    background: var(--primary-color); border-color: var(--primary-color); color: #fff;
    box-shadow: 0 4px 10px rgba(25, 74, 146, 0.2); pointer-events: none;
}
.se-custom-pagination .disabled .page-link { opacity: 0.5; background: transparent; border-color: transparent; }

/* ==========================================================================
   RICH TEXT IMAGES (for single-news and similar content)
   ========================================================================== */
.se-rich-text figure {
    max-width: 100%;
    margin: 25px auto;
    text-align: center;
}
.se-rich-text figure img,
.se-rich-text img {
    max-width: 100% !important;
    height: auto !important;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

/* ==========================================================================
   CONTACT PAGE
   ========================================================================== */
.cp-hero {
    position: relative;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    padding: 190px 0 120px 0;
    text-align: center;
    color: #fff;
    overflow: hidden;
}
@media (max-width: 991.98px) { .cp-hero { padding: 160px 0 100px 0; } }
.cp-hero-pattern {
    position: absolute; top: 0; left: 0; right: 0; bottom: 0; opacity: 0.05;
    background-image: radial-gradient(#fff 1px, transparent 1px); background-size: 25px 25px;
}
.cp-hero-title { font-size: clamp(2rem, 3vw, 3rem); font-weight: 900; position: relative; z-index: 2; margin-bottom: 15px; }
.cp-hero-subtitle { font-size: 1.1rem; font-weight: 300; opacity: 0.8; position: relative; z-index: 2; max-width: 600px; margin: 0 auto; }
.cp-main-wrapper { position: relative; z-index: 10; margin-top: -80px; padding-bottom: 80px; }
.cp-container { max-width: 1200px; margin: 0 auto; padding: 0 15px; }
.cp-form-box {
    background: #fff; border-radius: var(--radius-md); padding: 45px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.06); border: 1px solid var(--border-light); height: 100%;
}
.cp-tagline { font-size: 13px; font-weight: 800; color: var(--secondary-color); text-transform: uppercase; letter-spacing: 1px; display: block; margin-bottom: 10px; }
.cp-box-title { font-size: 1.8rem; font-weight: 800; color: var(--primary-color); margin-bottom: 15px; }
.cp-box-desc { font-size: 14.5px; color: var(--text-muted); margin-bottom: 35px; line-height: 1.8; }
.cp-form-group { position: relative; margin-bottom: 28px; }
.cp-input {
    width: 100%; background: #fdfdfd; border: 2px solid var(--border); border-radius: 12px;
    padding: 18px 20px; font-size: 14.5px; color: var(--text-main); transition: var(--transition);
}
.cp-input:focus { outline: none; border-color: var(--primary-color); background: #fff; box-shadow: 0 4px 15px rgba(25, 74, 146, 0.08); }
.cp-label { position: absolute; top: 20px; right: 20px; font-size: 14px; color: #94a3b8; pointer-events: none; transition: var(--transition); }
.cp-input:focus ~ .cp-label, .cp-input:not(:placeholder-shown) ~ .cp-label {
    top: -10px; right: 15px; font-size: 12px; font-weight: 700; color: var(--primary-color); background: #fff; padding: 0 8px; border-radius: 4px;
}
textarea.cp-input { min-height: 160px; resize: vertical; }
.cp-select-wrapper { position: relative; }
.cp-select {
    appearance: none; -webkit-appearance: none; -moz-appearance: none;
    width: 100%; background: #fdfdfd; border: 2px solid var(--border); border-radius: 12px;
    padding: 18px 20px; font-size: 14.5px; color: var(--text-main); transition: var(--transition); cursor: pointer;
}
.cp-select:focus { outline: none; border-color: var(--primary-color); background: #fff; box-shadow: 0 4px 15px rgba(25, 74, 146, 0.08); }
.cp-select-icon {
    position: absolute; left: 20px; top: 50%; transform: translateY(-50%); color: var(--primary-color);
    pointer-events: none; transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1); font-size: 14px;
}
.cp-select:focus ~ .cp-select-icon { transform: translateY(-50%) rotate(180deg); color: var(--secondary-color); }
.cp-select:focus ~ .cp-label, .cp-select:valid ~ .cp-label {
    top: -10px; right: 15px; font-size: 12px; font-weight: 700; color: var(--primary-color); background: #fff; padding: 0 8px;
}
.cp-btn-submit {
    display: inline-flex; align-items: center; justify-content: center; gap: 12px; width: 100%;
    background: var(--primary-color); color: #fff; border: none; border-radius: 12px; padding: 18px;
    font-size: 16px; font-weight: 800; cursor: pointer; transition: var(--transition);
}
.cp-btn-submit:disabled { background: #94a3b8; cursor: not-allowed; }
.cp-btn-submit:hover:not(:disabled) { background: var(--secondary-color); transform: translateY(-3px); box-shadow: 0 10px 25px rgba(247, 143, 30, 0.25); }
.cp-info-container { display: flex; flex-direction: column; gap: 20px; height: 100%; }
.cp-info-card {
    background: #fff; border-radius: var(--radius-md); padding: 30px; display: flex; align-items: flex-start; gap: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03); border: 1px solid var(--border-light); transition: var(--transition);
}
.cp-info-card:hover { transform: translateX(-5px); box-shadow: 0 15px 35px rgba(25, 74, 146, 0.08); border-color: rgba(25, 74, 146, 0.1); }
.cp-icon-circle {
    width: 60px; height: 60px; min-width: 60px; background: rgba(247, 143, 30, 0.1); color: var(--secondary-color);
    border-radius: 50%; display: flex; justify-content: center; align-items: center; font-size: 24px; transition: var(--transition);
}
.cp-info-card:hover .cp-icon-circle { background: var(--secondary-color); color: #fff; transform: scale(1.1) rotate(5deg); }
.cp-info-content h4 { font-size: 1.15rem; font-weight: 800; color: var(--primary-color); margin-bottom: 12px; }
.cp-info-content p, .cp-info-content address { font-size: 14.5px; color: #555; line-height: 1.8; margin-bottom: 0; font-style: normal; }
.cp-data-row { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; font-size: 14.5px; color: #555; }
.cp-data-row strong { color: var(--text-main); font-weight: 700; width: 120px; }
.cp-data-row span, .cp-data-row a { direction: ltr; display: inline-block; color: #555; text-decoration: none; transition: var(--transition); }
.cp-data-row a:hover { color: var(--secondary-color); font-weight: bold; }
.cp-map-module { margin-top: 60px; background: #fff; border-radius: var(--radius-md); overflow: hidden; box-shadow: 0 10px 40px rgba(0,0,0,0.05); border: 1px solid var(--border-light); }
.cp-map-view { position: relative; width: 100%; height: 450px; background-color: #f1f5f9; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.cp-map-placeholder { text-align: center; color: var(--primary-color); }
.cp-map-pin { font-size: 50px; color: var(--secondary-color); margin-bottom: 15px; filter: drop-shadow(0 10px 10px rgba(247, 143, 30, 0.3)); animation: cp-bounce 2s infinite; }
@keyframes cp-bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-15px); } }
.cp-route-bar { background: #fff; padding: 30px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; border-top: 1px solid var(--border-light); }
.cp-route-title { font-size: 1.1rem; font-weight: 800; color: var(--text-main); margin: 0; }
.cp-route-buttons { display: flex; gap: 15px; flex-wrap: wrap; }
.cp-btn-nav {
    display: inline-flex; align-items: center; gap: 10px; padding: 10px 24px; font-size: 14px; font-weight: 700; border-radius: 50px; text-decoration: none; transition: var(--transition); background: var(--bg-light); border: 2px solid var(--border); color: var(--text-main);
}
.cp-btn-nav i { font-size: 18px; }
.cp-btn-nav.cp-google:hover { background: #34a853; color: #fff; border-color: #34a853; box-shadow: 0 5px 15px rgba(52, 168, 83, 0.3); }
.cp-btn-nav.cp-neshan:hover { background: #ff7f00; color: #fff; border-color: #ff7f00; box-shadow: 0 5px 15px rgba(255, 127, 0, 0.3); }
.cp-btn-nav.cp-balad:hover { background: #00c853; color: #fff; border-color: #00c853; box-shadow: 0 5px 15px rgba(0, 200, 83, 0.3); }
.cp-btn-nav.cp-waze:hover { background: #33ccff; color: #fff; border-color: #33ccff; box-shadow: 0 5px 15px rgba(51, 204, 255, 0.3); }
@media (max-width: 992px) {
    .cp-route-bar { flex-direction: column; align-items: flex-start; }
    .cp-form-box { margin-bottom: 30px; }
}

/* ==========================================================================
   PROJECTS ARCHIVE
   ========================================================================== */
.pr-archive-wrapper { background-color: var(--bg-main); padding-bottom: 80px; }
.pr-hero {
    position: relative;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-hover) 100%);
    padding: 180px 0 100px 0;
    text-align: center; color: #fff; overflow: hidden;
}
@media (max-width: 991.98px) { .pr-hero { padding: 150px 0 80px 0; } }
.pr-hero-pattern {
    position: absolute; top: 0; left: 0; right: 0; bottom: 0; opacity: 0.05;
    background-image: radial-gradient(#fff 1px, transparent 1px); background-size: 25px 25px;
}
.pr-kicker { font-size: 13px; font-weight: 800; color: var(--secondary-color); text-transform: uppercase; letter-spacing: 1px; display: block; margin-bottom: 12px; }
.pr-hero-title { font-size: clamp(2rem, 4vw, 3rem); font-weight: 900; margin-bottom: 15px; }
.pr-hero-subtitle { font-size: 1.1rem; font-weight: 300; opacity: 0.8; max-width: 600px; margin: 0 auto; line-height: 1.6; }
.pr-container { position: relative; z-index: 10; margin-top: -30px; }
.pr-filter-bar {
    background: #fff; border-radius: var(--radius-md); padding: 15px 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04); border: 1px solid var(--border-light);
    margin-bottom: 40px;
}
.pr-filter-scroll { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; align-items: center; }
.pr-filter-scroll::-webkit-scrollbar { display: none; }
.pr-filter-btn {
    white-space: nowrap; padding: 10px 22px; font-size: 14px; font-weight: 700;
    color: var(--text-muted); background: var(--bg-main); border-radius: 50px;
    text-decoration: none; transition: var(--transition); border: 1px solid transparent;
}
.pr-filter-btn:hover { background: rgba(25, 74, 146, 0.05); color: var(--primary-color); }
.pr-filter-btn.active { background: var(--primary-color); color: #fff; box-shadow: 0 5px 15px rgba(25, 74, 146, 0.2); }
.pr-card {
    display: flex; flex-direction: column; background: #fff; border-radius: var(--radius-md);
    overflow: hidden; height: 100%; border: 1px solid var(--border-light);
    box-shadow: 0 5px 20px rgba(0,0,0,0.02); transition: var(--transition);
}
.pr-card:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(25, 74, 146, 0.08); border-color: rgba(25, 74, 146, 0.1); }
.pr-card-img { position: relative; height: 240px; overflow: hidden; background: #e2e8f0; }
.pr-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.pr-card:hover .pr-card-img img { transform: scale(1.08); }
.pr-badges { position: absolute; top: 15px; right: 15px; left: 15px; display: flex; justify-content: space-between; z-index: 2; }
.pr-badge { padding: 6px 14px; font-size: 11.5px; font-weight: 800; border-radius: 50px; color: #fff; backdrop-filter: blur(5px); box-shadow: 0 2px 10px rgba(0,0,0,0.1); }
.pr-badge.status-completed { background: rgba(16, 185, 129, 0.9); }
.pr-badge.status-ongoing { background: rgba(247, 143, 30, 0.9); }
.pr-badge.scope-badge { background: rgba(0, 0, 0, 0.6); }
.pr-card-body { padding: 30px; display: flex; flex-direction: column; flex-grow: 1; }
.pr-card-title { font-size: 1.25rem; font-weight: 800; margin-bottom: 12px; line-height: 1.5; }
.pr-card-title a { color: var(--text-main); text-decoration: none; transition: var(--transition); }
.pr-card:hover .pr-card-title a { color: var(--primary-color); }
.pr-card-desc { font-size: 14px; color: var(--text-muted); line-height: 1.8; margin-bottom: 25px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pr-card-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; padding-top: 20px; border-top: 1px dashed var(--border); margin-bottom: 25px; }
.pr-meta-item { display: flex; align-items: flex-start; gap: 12px; }
.pr-meta-item i { color: var(--secondary-color); font-size: 18px; margin-top: 3px; }
.pr-meta-text { display: flex; flex-direction: column; overflow: hidden; }
.pr-meta-text .label { font-size: 11px; font-weight: 700; color: #94a3b8; text-transform: uppercase; margin-bottom: 2px; }
.pr-meta-text .value { font-size: 13px; font-weight: 600; color: var(--text-main); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pr-card-footer { margin-top: auto; }
.pr-btn-link { display: inline-flex; align-items: center; font-size: 14px; font-weight: 800; color: var(--primary-color); text-decoration: none; transition: var(--transition); }
.pr-card:hover .pr-btn-link { color: var(--secondary-color); gap: 5px; }
.pr-pagination-wrapper { display: flex; justify-content: center; }
.pr-pagination { display: flex; list-style: none; gap: 10px; padding: 0; margin: 0; align-items: center; }
.pr-pagination li a {
    display: flex; align-items: center; justify-content: center; min-width: 45px; height: 45px; padding: 0 15px;
    border-radius: 10px; background: #fff; color: var(--text-muted); text-decoration: none;
    font-weight: bold; font-size: 14.5px; border: 1px solid var(--border); transition: var(--transition);
}
.pr-pagination li a:hover { background: var(--bg-main); color: var(--primary-color); border-color: var(--primary-color); }
.pr-pagination li.active a { background: var(--primary-color); color: #fff; border-color: var(--primary-color); box-shadow: 0 5px 15px rgba(25, 74, 146, 0.2); pointer-events: none; }
.pr-pagination li.disabled a { opacity: 0.5; pointer-events: none; background: transparent; border-color: transparent; }

/* ==========================================================================
   SINGLE PROJECT
   ========================================================================== */
.se-sp-hero {
    position: relative; min-height: 550px; background-color: var(--primary-dark);
    padding: 180px 0 60px 0; display: flex; align-items: flex-end;
}
.se-sp-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; background-repeat: no-repeat; opacity: 0.6; }
.se-sp-hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18, 56, 112, 0.4) 0%, rgba(11, 19, 30, 0.95) 100%); }
.text-shadow { text-shadow: 0 4px 15px rgba(0, 0, 0, 0.6); }
.se-sp-stats-wrapper {
    background: #fff; border-radius: 16px; box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--border-light); margin-top: -40px; padding: 12px 0;
    position: relative; z-index: 10; overflow: hidden;
}
.se-sp-stats-wrapper .row { display: flex !important; flex-wrap: nowrap !important; margin: 0 !important; padding: 0 15px; gap: 15px; }
.se-sp-stat-box {
    flex: 1 1 0; min-width: 90px; padding: 10px 8px; display: flex; flex-direction: column;
    align-items: center; justify-content: center; text-align: center; border-left: 1px solid var(--border); transition: background-color 0.3s ease;
}
.se-sp-stat-box:first-child, .se-sp-stat-box:last-child { border-left: none; }
.se-sp-stat-box:hover { background: var(--bg-light); }
.se-sp-stat-icon {
    width: 45px; height: 45px; min-width: 45px; background: rgba(247, 143, 30, 0.1);
    color: var(--secondary-color); border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; margin-bottom: 6px;
}
.se-sp-stat-info { display: block; width: 100%; }
.se-sp-stat-label { display: block; font-size: 13px; color: var(--text-muted); margin-bottom: 4px; white-space: nowrap; }
.se-sp-stat-value { display: block; font-size: 14px; font-weight: 700; color: var(--text-main); line-height: 1.4; word-break: break-word; }
@media (max-width: 991.98px) {
    .se-sp-stats-wrapper .row { flex-wrap: wrap !important; gap: 0; padding: 0; }
    .se-sp-stat-box { flex: 0 0 33.333%; border-left: none; border-bottom: 1px solid var(--border); padding: 12px 10px; }
    .se-sp-stat-box:last-child { border-bottom: none; }
}
@media (max-width: 575.98px) {
    .se-sp-stat-box { flex: 0 0 50%; }
    .se-sp-stat-box:nth-child(2n) { border-left: none; }
}
.se-sp-content-card {
    background: #fff; padding: 40px; border-radius: var(--radius-md);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03); border: 1px solid var(--border-light);
}
.se-sp-section-title, .se-sp-widget-title {
    font-size: 1.5rem; font-weight: 800; color: var(--primary-color);
    display: flex; align-items: center; gap: 10px; margin-bottom: 0;
}
.se-sp-section-title::before, .se-sp-widget-title::before {
    content: ''; display: block; width: 5px; height: 24px; background: var(--secondary-color); border-radius: 5px;
}
.se-sp-section-title span, .se-sp-widget-title span { color: var(--text-main); }
.se-sp-rich-text { font-size: 15.5px; line-height: 2; color: #4b5563; text-align: justify; }
.se-sp-rich-text h2, .se-sp-rich-text h3, .se-sp-rich-text h4 { color: var(--text-main); font-weight: 800; margin: 30px 0 15px; }
.se-sp-rich-text p { margin-bottom: 20px; }
.se-sp-rich-text ul { padding-right: 20px; margin-bottom: 20px; }
.se-sp-rich-text li { margin-bottom: 10px; position: relative; }
.se-sp-rich-text img { max-width: 100%; height: auto; border-radius: 12px; margin: 25px 0; box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05); }
.se-sp-sidebar { top: 120px; }
.se-sp-widget {
    background: #fff; padding: 30px; border-radius: var(--radius-md);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03); border: 1px solid var(--border-light);
}
.se-sp-gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.se-sp-gallery-item { position: relative; border-radius: 12px; overflow: hidden; aspect-ratio: 1 / 1; display: block; background: #e2e8f0; }
.se-sp-gallery-item.large-item { grid-column: span 2; aspect-ratio: 16 / 9; }
.se-sp-gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.se-sp-gallery-item:hover img { transform: scale(1.1); }
.se-sp-gallery-overlay {
    position: absolute; inset: 0; background: rgba(25, 74, 146, 0.85); color: #fff;
    display: flex; align-items: center; justify-content: center; font-size: 1.8rem;
    font-weight: bold; backdrop-filter: blur(2px); transition: background-color 0.3s ease;
}
.se-sp-gallery-item:hover .se-sp-gallery-overlay { background: rgba(247, 143, 30, 0.9); }

/* ==========================================================================
   NEWS ARCHIVE & SINGLE (abbreviated - keep existing)
   ========================================================================== */
.col-lg-2-4 {
    flex: 0 0 auto;
    width: 20%;
}
@media (max-width: 991.98px) { .col-lg-2-4 { width: 50%; } }
@media (max-width: 575.98px) { .col-lg-2-4 { width: 100%; } }

.team-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--border-light);
    text-align: center;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.02);
}
.team-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(25, 74, 146, 0.08);
    border-color: rgba(247, 143, 30, 0.25);
}
.team-img-wrapper {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-bottom: 3px solid var(--secondary-color);
}
.team-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: none;
}
.team-info-body { padding: 18px 15px 10px 15px; }
.team-name { font-size: 1.1rem; font-weight: 800; color: var(--primary-color); margin: 0 0 4px 0; }
.team-role { font-size: 0.85rem; color: var(--text-muted); font-weight: 600; margin: 0; }
.team-contact-info {
    padding: 12px 15px 15px 15px;
    background-color: var(--bg-main);
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: auto;
    border-top: 1px solid var(--border-light);
}
.team-social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background-color: #fff;
    color: var(--text-muted);
    border: 1px solid var(--border);
    font-size: 0.9rem;
    transition: var(--transition);
    text-decoration: none;
}
.team-social-icon:hover {
    background-color: var(--secondary-color);
    color: #fff;
    border-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(247, 143, 30, 0.25);
}
/* ==========================================================================
   12. PORTAL PAGE (.portal-)
   ========================================================================== */

/* بدنهٔ پورتال با پس‌زمینهٔ تصویری و لایهٔ تیره */
.portal-body {
    background: url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?w=1600&q=80') center/cover no-repeat fixed;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-family);
    position: relative;
}

/* لایهٔ تاریک‌کننده با گرادیان مشکی-آبی */
.portal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(2, 6, 23, 0.92) 0%, rgba(15, 23, 42, 0.85) 100%);
    z-index: 1;
    pointer-events: none;
}

/* کانتینر اصلی با لایه‌بندی مناسب */
.portal-container {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 2rem 1rem;
}

/* کارت گلس‌مورفیسم */
.portal-card {
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 2rem 1.5rem 1.8rem;
    text-align: center;
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1),
                box-shadow 0.3s ease,
                border-color 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

/* خط نوری طلایی در بالای کارت (پنهان به‌طور پیش‌فرض) */
.portal-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 3px;
    background: var(--secondary-color);
    transform: scaleX(0);
    transform-origin: right center;
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    border-radius: 0 0 3px 3px;
    box-shadow: 0 0 15px rgba(247, 143, 30, 0.4);
}

/* هاور روی کارت */
.portal-card:hover {
    transform: translateY(-10px);
    border-color: rgba(247, 143, 30, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(247, 143, 30, 0.05);
}

.portal-card:hover::before {
    transform: scaleX(1);
}

/* آیکون داخل کارت */
.portal-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.2rem;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #f8fafc;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.portal-card:hover .portal-icon {
    background: var(--secondary-color);
    color: #fff;
    transform: rotate(5deg) scale(1.1);
    box-shadow: 0 8px 20px rgba(247, 143, 30, 0.25);
}

/* عنوان کارت */
.portal-card-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: #f8fafc;
    margin-bottom: 0.5rem;
}

/* زیرنویس کارت */
.portal-card-sub {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* دکمهٔ ورود (تمام‌عرض) */
.portal-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    width: 100%;
    padding: 0.7rem 1.2rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.03);
    color: #f8fafc;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    margin-top: auto;
}

.portal-btn i {
    transition: transform 0.3s ease;
}

.portal-btn:hover {
    background: var(--secondary-color);
    color: var(--primary-dark);
    border-color: var(--secondary-color);
    box-shadow: 0 8px 25px rgba(247, 143, 30, 0.3);
}

.portal-btn:hover i {
    transform: translateX(-5px);
}

/* هدر پورتال */
.portal-header {
    text-align: center;
    margin-bottom: 3rem;
}

.portal-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 75px;
    height: 75px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    font-size: 2.5rem;
    color: var(--secondary-color);
    box-shadow: 0 0 40px rgba(247, 143, 30, 0.15), inset 0 0 20px rgba(247, 143, 30, 0.05);
    transition: all 0.4s ease;
    margin-bottom: 1.2rem;
}

.portal-logo:hover {
    transform: scale(1.05);
    box-shadow: 0 0 60px rgba(247, 143, 30, 0.25);
}

.portal-title {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 900;
    color: #f8fafc;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.portal-subtitle {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 300;
    margin-top: 0.3rem;
}

/* بازگشت به سایت اصلی */
.portal-back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: rgba(255, 255, 255, 0.35);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease;
    margin-top: 2.5rem;
}

.portal-back-link:hover {
    color: rgba(255, 255, 255, 0.7);
}

.portal-back-link i {
    transition: transform 0.3s ease;
}

.portal-back-link:hover i {
    transform: translateX(4px);
}

/* ریسپانسیو برای موبایل */
@media (max-width: 575.98px) {
    .portal-card {
        padding: 1.5rem 1rem;
    }
    .portal-icon {
        width: 60px;
        height: 60px;
        font-size: 1.6rem;
    }
    .portal-title {
        font-size: 1.8rem;
    }
}

/* ==========================================================================
   CAREERS ARCHIVE & SINGLE
   ========================================================================== */
.se-career-hero {
    position: relative;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    padding: 160px 0 80px 0;
    text-align: center; color: #fff; overflow: hidden;
}
.se-career-hero-pattern {
    position: absolute; top: 0; left: 0; right: 0; bottom: 0; opacity: 0.05;
    background-image: radial-gradient(#fff 1px, transparent 1px); background-size: 25px 25px;
}
.se-career-card {
    background: #fff; border-radius: var(--radius-md); padding: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03); border: 1px solid var(--border-light);
    transition: var(--transition); display: flex; flex-direction: column; gap: 20px;
    margin-bottom: 25px; position: relative; overflow: hidden;
}
.se-career-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(25, 74, 146, 0.08);
    border-color: rgba(247, 143, 30, 0.25);
}
.se-career-card::before {
    content: ''; position: absolute; right: 0; top: 0; bottom: 0; width: 4px;
    background: var(--secondary-color); transform: scaleY(0); transition: transform 0.4s ease;
}
.se-career-card:hover::before { transform: scaleY(1); }
.se-career-header { display: flex; justify-content: space-between; align-items: flex-start; }
.se-career-code { font-size: 12px; font-weight: 800; color: var(--text-muted); background: var(--bg-main); padding: 5px 12px; border-radius: 50px; }
.se-career-category { font-size: 13px; color: var(--secondary-color); font-weight: 700; margin-bottom: 8px; display: block; }
.se-career-title { font-size: 1.4rem; font-weight: 800; color: var(--primary-color); text-decoration: none; transition: var(--transition); margin: 0; }
.se-career-title:hover { color: var(--secondary-color); }
.se-career-meta-grid { display: flex; flex-wrap: wrap; gap: 20px; padding: 15px 0; border-top: 1px dashed var(--border); border-bottom: 1px dashed var(--border); }
.se-career-meta-item { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--text-main); }
.se-career-meta-item i { color: var(--secondary-color); font-size: 16px; }
.se-career-skills { display: flex; flex-wrap: wrap; gap: 8px; }
.se-career-skill-tag { background: rgba(25, 74, 146, 0.05); color: var(--primary-color); font-size: 12px; font-weight: 700; padding: 5px 12px; border-radius: 8px; }
.se-career-action { display: flex; justify-content: space-between; align-items: center; margin-top: auto; }
.se-career-status { font-size: 13px; font-weight: 700; color: #10b981; display: flex; align-items: center; gap: 6px; }
@media (max-width: 767.98px) {
    .se-career-header { flex-direction: column; gap: 10px; }
    .se-career-action { flex-direction: column; align-items: flex-start; gap: 15px; }
    .se-career-action .btn-custom-outline { width: 100%; justify-content: center; }
}
.se-career-sidebar {
    background: #fff; border-radius: var(--radius-md); padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03); border: 1px solid var(--border-light);
    position: sticky; top: 120px;
}
.se-career-sidebar-title { font-size: 1.2rem; font-weight: 800; color: var(--primary-color); margin-bottom: 20px; padding-bottom: 15px; border-bottom: 2px solid var(--bg-main); }
.se-career-meta-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 18px; }
.se-career-meta-list li { display: flex; gap: 15px; align-items: flex-start; }
.se-career-meta-list i { width: 40px; height: 40px; background: rgba(247, 143, 30, 0.1); color: var(--secondary-color); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; transition: var(--transition); }
.se-career-meta-list li:hover i { background: var(--secondary-color); color: #fff; transform: scale(1.1); }
.se-career-meta-list div { display: flex; flex-direction: column; }
.se-career-meta-list strong { font-size: 12px; color: var(--text-muted); margin-bottom: 4px; }
.se-career-meta-list span { font-size: 14px; font-weight: 700; color: var(--text-main); }
.se-file-upload-wrapper {
    border: 2px dashed var(--border); border-radius: 12px; padding: 35px 20px; text-align: center;
    cursor: pointer; background: #fdfdfd; transition: var(--transition);
}
.se-file-upload-wrapper:hover { border-color: var(--primary-color); background: rgba(25, 74, 146, 0.02); }
.se-file-upload-wrapper i { font-size: 45px; color: var(--text-muted); margin-bottom: 15px; transition: var(--transition); }
.se-file-upload-wrapper:hover i { color: var(--secondary-color); transform: translateY(-5px); }

/* ==========================================================================
   TENDERS ARCHIVE & SINGLE
   ========================================================================== */
.se-tender-hero {
    position: relative;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    padding: 160px 0 80px 0;
    text-align: center; color: #fff; overflow: hidden;
}
.se-tender-hero-pattern {
    position: absolute; top: 0; left: 0; right: 0; bottom: 0; opacity: 0.05;
    background-image: radial-gradient(#fff 1px, transparent 1px); background-size: 25px 25px;
}
.se-tender-filters { display: flex; justify-content: center; gap: 12px; margin-bottom: 40px; flex-wrap: wrap; }
.se-filter-btn {
    background: #fff; color: var(--text-muted); border: 1px solid var(--border);
    padding: 10px 28px; border-radius: 50px; font-weight: 700; font-size: 14px;
    transition: var(--transition); text-decoration: none; box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}
.se-filter-btn:hover { background: rgba(25, 74, 146, 0.05); color: var(--primary-color); border-color: var(--primary-color); }
.se-filter-btn.active { background: var(--primary-color); color: #fff; border-color: var(--primary-color); box-shadow: 0 5px 15px rgba(25, 74, 146, 0.25); }
.se-tender-card {
    background: #fff; border-radius: var(--radius-md); padding: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03); border: 1px solid var(--border-light);
    transition: var(--transition); display: flex; align-items: center; gap: 30px;
    margin-bottom: 25px; position: relative; overflow: hidden; border-right: 5px solid var(--primary-color);
}
.se-tender-card.type-auction { border-right-color: var(--secondary-color); }
.se-tender-card:hover { transform: translateY(-5px); box-shadow: 0 15px 35px rgba(25, 74, 146, 0.08); }
.se-tender-content { flex-grow: 1; }
.se-tender-badges { display: flex; gap: 10px; margin-bottom: 15px; flex-wrap: wrap; align-items: center; }
.se-tender-badge { padding: 5px 14px; border-radius: 8px; font-size: 12px; font-weight: 800; border: 1px solid transparent; }
.se-tender-badge.type { background: rgba(25, 74, 146, 0.08); color: var(--primary-color); }
.type-auction .se-tender-badge.type { background: rgba(247, 143, 30, 0.1); color: var(--secondary-color); }
.se-tender-badge.number { background: var(--bg-main); color: var(--text-muted); border-color: var(--border); }
.se-tender-title { font-size: 1.4rem; font-weight: 800; color: var(--text-main); margin-bottom: 12px; line-height: 1.5; transition: var(--transition); }
.se-tender-card:hover .se-tender-title { color: var(--primary-color); }
.se-tender-desc { font-size: 14px; color: var(--text-muted); line-height: 1.8; margin-bottom: 20px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.se-tender-meta { display: flex; flex-wrap: wrap; gap: 20px; padding-top: 15px; border-top: 1px dashed var(--border); }
.se-tender-meta-item { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: var(--text-main); }
.se-tender-meta-item i { font-size: 16px; }
.se-tender-meta-item.date i { color: var(--secondary-color); }
.se-tender-meta-item.file i { color: var(--primary-color); }
.se-tender-action { display: flex; flex-direction: column; align-items: flex-end; justify-content: center; min-width: 200px; padding-right: 30px; border-right: 1px solid var(--border-light); }
.se-tender-status-text { font-size: 13px; font-weight: 800; display: flex; align-items: center; gap: 6px; margin-bottom: 15px; }
.status-active-text { color: #10b981; }
.status-expired-text { color: #ef4444; }
.btn-tender-action { width: 100%; text-align: center; padding: 12px 20px; border-radius: 10px; font-size: 14px; font-weight: 800; transition: var(--transition); text-decoration: none; }
.btn-tender-active { background: var(--primary-color); color: #fff; border: 2px solid var(--primary-color); }
.btn-tender-active:hover { background: transparent; color: var(--primary-color); box-shadow: 0 5px 15px rgba(25, 74, 146, 0.2); }
.btn-tender-expired { background: var(--bg-main); color: var(--text-muted); border: 2px solid var(--border); cursor: not-allowed; pointer-events: none; }
.se-tender-card.expired-card { opacity: 0.75; filter: grayscale(40%); border-right-color: var(--text-muted); }
.se-tender-card.expired-card:hover { opacity: 1; filter: grayscale(0%); border-right-color: var(--primary-color); }
@media (max-width: 991.98px) {
    .se-tender-card { flex-direction: column; align-items: stretch; gap: 20px; }
    .se-tender-action { min-width: 100%; padding-right: 0; padding-top: 20px; border-right: none; border-top: 1px dashed var(--border); align-items: flex-start; }
}
.se-tender-status-box {
    display: flex; align-items: center; gap: 20px; padding: 25px 30px; border-radius: var(--radius-md);
    margin-bottom: 30px; transition: var(--transition);
}
.se-tender-status-box.active-box { background: rgba(16, 185, 129, 0.05); border: 1px solid rgba(16, 185, 129, 0.2); }
.se-tender-status-box.expired-box { background: var(--bg-main); border: 1px solid var(--border); }
.se-status-icon {
    width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 24px;
}
.active-box .se-status-icon { background: rgba(16, 185, 129, 0.15); color: #10b981; }
.expired-box .se-status-icon { background: var(--border); color: var(--text-muted); }
.se-status-info { flex-grow: 1; }
.se-status-label { font-size: 13px; font-weight: 700; color: var(--text-muted); display: block; margin-bottom: 4px; }
.se-status-date { font-size: 1.2rem; font-weight: 800; color: var(--text-main); }
.expired-box .se-status-date { color: var(--text-muted); }
.se-download-card {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: var(--radius-md); padding: 35px; display: flex; align-items: center; justify-content: space-between;
    margin-top: 40px; color: #fff; box-shadow: 0 10px 30px rgba(25, 74, 146, 0.15);
}
.se-download-info h5 { font-size: 1.2rem; font-weight: 800; margin-bottom: 8px; }
.se-download-info p { font-size: 14px; opacity: 0.8; margin: 0; }
.btn-se-download {
    background: var(--secondary-color); color: #fff; padding: 14px 28px; border-radius: 10px;
    font-weight: 800; text-decoration: none; transition: var(--transition); display: inline-flex; align-items: center; gap: 10px; white-space: nowrap;
}
.btn-se-download:hover { background: #fff; color: var(--secondary-color); transform: translateY(-3px); box-shadow: 0 10px 20px rgba(247, 143, 30, 0.3); }
@media (max-width: 767.98px) {
    .se-tender-status-box { flex-direction: column; text-align: center; }
    .se-download-card { flex-direction: column; text-align: center; gap: 20px; padding: 25px; }
}
.se-sidebar-link { display: block; padding: 15px 0; border-bottom: 1px solid var(--border-light); text-decoration: none; transition: var(--transition); }
.se-sidebar-link:last-child { border-bottom: none; }
.se-sidebar-link h6 { font-size: 14.5px; font-weight: 800; color: var(--text-main); margin-bottom: 8px; line-height: 1.5; transition: var(--transition); }
.se-sidebar-link:hover h6 { color: var(--secondary-color); }
.se-sidebar-link-meta { font-size: 12px; color: var(--text-muted); display: flex; align-items: center; gap: 15px; }
.se-sidebar-link-meta i { color: var(--secondary-color); }

/* ==========================================================================
   SHAREHOLDERS PAGE COMPONENTS (اصلاح شده نهایی)
   ========================================================================== */

/* ── Hero ──────────────────────────────────────────────────────────────── */
.sh-hero {
    position: relative;
    padding: 160px 0 100px 0;
    background-color: var(--primary-dark);
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: center;
    overflow: hidden;
}
.sh-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 100%);
    z-index: 1;
}
.sh-hero-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.05;
    background-image: radial-gradient(#fff 1px, transparent 1px);
    background-size: 30px 30px;
    z-index: 1;
}
.sh-hero .container {
    position: relative;
    z-index: 2;
}
.sh-hero-title {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 900;
    margin-bottom: 1rem;
}
.sh-hero-subtitle {
    font-size: 1.15rem;
    font-weight: 300;
    opacity: 0.85;
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.7;
}
.pr-kicker {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.75rem;
    padding: 0.3rem 1.2rem;
    border: 1px solid rgba(247, 143, 30, 0.3);
    border-radius: 50px;
    background: rgba(247, 143, 30, 0.08);
}

/* ── Stats Bar ──────────────────────────────────────────────────────────── */
.sh-stats-bar {
    margin-top: -50px;
    position: relative;
    z-index: 5;
}
.sh-stats-inner {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    border: 1px solid rgba(0,0,0,0.04);
    padding: 1.2rem 1.5rem;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}
.sh-stat-item {
    text-align: center;
    padding: 0.2rem 0.5rem;
}
.sh-stat-number {
    display: block;
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--primary-color);
    line-height: 1.2;
}
.sh-stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 600;
}
.sh-stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border);
}

/* ── Grid & Cards ──────────────────────────────────────────────────────── */
.sh-container {
    padding-top: 3rem;
    padding-bottom: 4rem;
}
.sh-group-label {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 1.8rem;
    display: flex;
    align-items: center;
    gap: 0.7rem;
}
.sh-group-label i {
    color: var(--secondary-color);
    font-size: 1.4rem;
}

/* کارت‌های معمولی (سهامداران عادی) */
.sh-card {
    background: #fff;
    border-radius: 16px;
    padding: 1.8rem 1.2rem 1.5rem;
    text-align: center;
    height: 100%;
    border: 1px solid var(--border-light);
    box-shadow: 0 5px 20px rgba(0,0,0,0.02);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}
.sh-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(25, 74, 146, 0.08);
    border-color: rgba(25, 74, 146, 0.12);
}

/* کارت سهامدار عمده - بدون border-top اضافی */
.sh-card-major {
    background: linear-gradient(135deg, rgba(247, 143, 30, 0.04) 0%, #fff 80%);
    border: 1px solid rgba(247, 143, 30, 0.12);
    padding: 2rem;
    text-align: right;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.04);
    transition: var(--transition);
}
.sh-card-major:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(247, 143, 30, 0.08);
    border-color: var(--secondary-color);
}

/* خط نارنجی بالای کارت - فقط در هاور */
.sh-card-accent {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: transparent;
    border-radius: 4px 4px 0 0;
    transition: background 0.4s ease;
}
.sh-card-major:hover .sh-card-accent {
    background: var(--secondary-color);
}

.sh-major-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(247, 143, 30, 0.1);
    color: var(--secondary-color);
    font-size: 0.8rem;
    font-weight: 800;
    padding: 0.3rem 1rem;
    border-radius: 50px;
    border: 1px solid rgba(247, 143, 30, 0.15);
    margin-bottom: 1rem;
}

/* لوگو */
.sh-logo-area {
    display: flex;
    justify-content: center;
    align-items: center;
}
.sh-card-major .sh-logo-area {
    justify-content: flex-start;
}
.sh-logo-img {
    max-width: 100%;
    max-height: 80px;
    object-fit: contain;
    transition: var(--transition);
}
.sh-card:hover .sh-logo-img {
    transform: scale(1.05);
}
.sh-card-major .sh-logo-img {
    max-height: 120px;
}
.sh-logo-placeholder {
    width: 80px;
    height: 80px;
    background: var(--gray-100);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    color: var(--gray-500);
    border: 1px solid var(--border);
}
.sh-card-major .sh-logo-placeholder {
    width: 120px;
    height: 120px;
    font-size: 3rem;
}

/* نام شرکت */
.sh-company-name {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 0.6rem;
    line-height: 1.4;
    min-height: 3rem;
}
.sh-company-name--sm {
    font-size: 1rem;
    min-height: 2.4rem;
}
.sh-card-major .sh-company-name {
    font-size: 1.8rem;
    color: var(--primary-color);
    min-height: auto;
    margin-bottom: 0.5rem;
}

/* توضیحات */
.sh-description {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 1.2rem;
    text-align: justify;
}

/* بلوک سهام */
.sh-shares-block {
    background: var(--gray-100);
    padding: 0.6rem 1rem;
    border-radius: 10px;
    display: inline-block;
    margin-bottom: 1rem;
}
.sh-shares-major {
    background: rgba(247, 143, 30, 0.08);
    border: 1px solid rgba(247, 143, 30, 0.15);
    padding: 0.8rem 1.5rem;
    border-radius: 12px;
}
.sh-shares-value {
    display: block;
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--primary-color);
}
.sh-shares-value--sm {
    font-size: 1.1rem;
}
.sh-card-major .sh-shares-value {
    font-size: 1.8rem;
}
.sh-shares-desc {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 600;
}

/* راه‌های ارتباطی */
.sh-contact-strip {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: auto;
    padding-top: 0.8rem;
    border-top: 1px solid var(--border-light);
    width: 100%;
    justify-content: center;
}
.sh-card-major .sh-contact-strip {
    border-top: none;
    padding-top: 0;
    justify-content: flex-start;
}
.sh-contact-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: var(--gray-100);
    color: var(--text-muted);
    border: 1px solid var(--border);
    font-size: 0.9rem;
    transition: var(--transition);
    text-decoration: none;
}
.sh-contact-icon:hover {
    background: var(--secondary-color);
    color: #fff;
    border-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(247, 143, 30, 0.25);
}
.sh-contact-icon.sh-linkedin:hover {
    background: #0a66c2;
    border-color: #0a66c2;
}

/* ── Empty State ───────────────────────────────────────────────────────── */
.sh-empty-state {
    padding: 4rem 2rem;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
    border: 1px solid var(--border-light);
}
.sh-empty-icon {
    font-size: 4rem;
    color: var(--gray-300);
    margin-bottom: 1.5rem;
}

/* ── Responsive Adjustments ────────────────────────────────────────────── */
@media (max-width: 991.98px) {
    .sh-card-major .row {
        flex-direction: column;
        text-align: center;
    }
    .sh-card-major .sh-logo-area {
        justify-content: center;
    }
    .sh-card-major .sh-contact-strip {
        justify-content: center;
    }
    .sh-card-major .sh-company-name {
        font-size: 1.5rem;
    }
    .sh-card-major .sh-logo-placeholder {
        width: 100px;
        height: 100px;
        font-size: 2.5rem;
    }
    .sh-card-major .sh-logo-img {
        max-height: 100px;
    }
}
@media (max-width: 767.98px) {
    .sh-hero {
        padding: 120px 0 70px 0;
    }
    .sh-stats-inner {
        flex-direction: column;
        gap: 0.5rem;
        padding: 1rem;
    }
    .sh-stat-divider {
        width: 80%;
        height: 1px;
    }
    .sh-card {
        padding: 1.2rem 0.8rem;
    }
    .sh-card-major {
        padding: 1.5rem;
    }
    .sh-company-name {
        font-size: 1rem;
        min-height: 2.4rem;
    }
    .sh-company-name--sm {
        font-size: 0.9rem;
        min-height: 2rem;
    }
    .sh-card-major .sh-company-name {
        font-size: 1.3rem;
    }
    .sh-logo-img {
        max-height: 60px;
    }
    .sh-logo-placeholder {
        width: 60px;
        height: 60px;
        font-size: 1.6rem;
    }
    .sh-card-major .sh-logo-img {
        max-height: 80px;
    }
    .sh-card-major .sh-logo-placeholder {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }
    .sh-card-major .sh-shares-value {
        font-size: 1.4rem;
    }
    .sh-description {
        font-size: 0.9rem;
    }
}
@media (max-width: 575.98px) {
    .sh-hero-title {
        font-size: 1.8rem;
    }
    .sh-hero-subtitle {
        font-size: 1rem;
    }
}
/* ==========================================================================
   FIX: CAREERS SINGLE PAGE - SIDEBAR (فقط در این صفحه اعمال می‌شود)
   ========================================================================== */

/* فقط در wrapper اختصاصی single-career-wrapper اعمال شود */
.single-career-wrapper .se-career-sidebar {
    position: sticky !important;
    top: 120px !important;
    max-height: none !important;
    overflow: visible !important;
    background: #fff;
    border-radius: var(--radius-md);
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    border: 1px solid var(--border-light);
    height: auto !important;
}

.single-career-wrapper .se-career-sidebar .se-career-meta-list {
    margin-bottom: 0;
}

.single-career-wrapper .row.g-5 {
    align-items: stretch !important;
}

.single-career-wrapper .col-lg-8,
.single-career-wrapper .col-lg-4 {
    display: flex !important;
    flex-direction: column !important;
}

.single-career-wrapper .se-file-upload-wrapper {
    max-height: 160px !important;
    min-height: auto !important;
    overflow: hidden !important;
    padding: 20px 15px !important;
}

.single-career-wrapper .se-file-upload-wrapper i {
    font-size: 30px !important;
    margin-bottom: 8px !important;
}

.single-career-wrapper .se-file-upload-wrapper h6 {
    font-size: 14px !important;
    margin-bottom: 4px !important;
}

.single-career-wrapper .se-file-upload-wrapper p {
    font-size: 12px !important;
    margin-bottom: 0 !important;
}

@media (max-width: 992px) {
    .single-career-wrapper .se-file-upload-wrapper {
        max-height: 140px !important;
        padding: 15px !important;
    }
}


/* =========================================
   اضافات به style.css برای صفحه ارکان جهت‌ساز
   ========================================= */

/* Hero */
.sp-hero {
    position: relative;
    background: linear-gradient(135deg, #194a92 0%, #0b131e 100%);
    padding: 160px 0 80px 0;
    text-align: center;
    color: #fff;
    overflow: hidden;
}
.sp-hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.05;
    background-image: radial-gradient(#fff 1px, transparent 1px);
    background-size: 25px 25px;
    pointer-events: none;
}
.sp-hero-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
}
.sp-hero-subtitle {
    font-size: 1.1rem;
    font-weight: 300;
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

/* Breadcrumb */
.sp-breadcrumb {
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    padding: 15px 0;
    margin-bottom: 40px;
}
.sp-breadcrumb .breadcrumb {
    margin: 0;
    background: transparent;
}
.sp-breadcrumb .breadcrumb-item a {
    color: #194a92;
    font-weight: 600;
    text-decoration: none;
}
.sp-breadcrumb .breadcrumb-item.active {
    color: #94a3b8;
    font-weight: 500;
}

/* Mission & Vision Cards */
.sp-mission-card,
.sp-vision-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 40px;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    height: 100%;
}
.sp-mission-card {
    border-top: 4px solid #194a92;
}
.sp-vision-card {
    border-top: 4px solid #f78f1e;
}
.sp-mission-card:hover,
.sp-vision-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(26, 42, 64, 0.08);
}
.sp-icon-box {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 25px;
}
.sp-icon-box--navy {
    background: rgba(25, 74, 146, 0.08);
    color: #194a92;
}
.sp-icon-box--orange {
    background: rgba(247, 143, 30, 0.12);
    color: #e07b1a;
}
.sp-card-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: #194a92;
    margin-bottom: 20px;
}
.sp-card-desc {
    font-size: 1.05rem;
    color: #4b5563;
    line-height: 1.9;
    text-align: justify;
}
.sp-vision-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.sp-vision-list li {
    font-size: 1.05rem;
    color: #4b5563;
    line-height: 1.8;
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}
.sp-vision-list li i {
    margin-top: 6px;
    margin-left: 10px;
    font-size: 0.9rem;
    color: #f78f1e;
}

/* Section Header */
.sp-section-header {
    text-align: center;
    margin-bottom: 40px;
}
.sp-section-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: #194a92;
    display: inline-block;
    border-bottom: 3px solid #f78f1e;
    padding-bottom: 10px;
}
.sp-section-sub {
    color: #94a3b8;
    margin-top: 12px;
    font-size: 1rem;
}

/* Core Values Grid */
.sp-value-box {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.sp-value-box:hover {
    background: #194a92;
    border-color: #194a92;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}
.sp-value-box i {
    font-size: 2.5rem;
    color: #f78f1e;
    margin-bottom: 15px;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.sp-value-box h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #194a92;
    margin: 0;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    line-height: 1.5;
}
.sp-value-box:hover i,
.sp-value-box:hover h4 {
    color: #ffffff;
}

/* Strategic Goals Wrapper */
.sp-goals-wrapper {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    margin-bottom: 50px;
}
.sp-goals-banner {
    background: #0b131e;
    color: #ffffff;
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
    min-height: 250px;
}
.sp-goals-banner::after {
    content: '';
    position: absolute;
    right: -30px;
    top: -30px;
    width: 180px;
    height: 180px;
    background: #f78f1e;
    border-radius: 50%;
    opacity: 0.08;
    filter: blur(30px);
    pointer-events: none;
}
.sp-goals-banner h2 {
    font-weight: 800;
    font-size: 2rem;
    position: relative;
    z-index: 2;
}
.sp-goals-banner h2 span {
    color: #f78f1e;
}
.sp-goals-banner p {
    opacity: 0.7;
    font-size: 1rem;
    line-height: 1.7;
    position: relative;
    z-index: 2;
    max-width: 80%;
}
.sp-goals-list {
    padding: 40px;
}
.sp-goal-item {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 15px 20px;
    font-size: 1rem;
    font-weight: 600;
    color: #1e293b;
    display: flex;
    align-items: center;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    margin-bottom: 15px;
}
.sp-goal-item i {
    color: #f78f1e;
    font-size: 1.2rem;
    margin-left: 12px;
}
.sp-goal-item:hover {
    background: #ffffff;
    border-color: #f78f1e;
    box-shadow: 0 5px 15px rgba(247, 143, 30, 0.1);
    transform: translateX(-5px);
}

/* Ethics Intro Box */
.sp-ethics-intro {
    background: #ffffff;
    border: 1px dashed #cbd5e1;
    border-radius: 16px;
    padding: 30px 40px;
    line-height: 2;
    font-size: 1.05rem;
    color: #4b5563;
    border-right: 5px solid #f78f1e;
    max-width: 900px;
    margin: 0 auto 40px auto;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
    text-align: justify;
}
.sp-ethics-bold {
    font-weight: 700;
    color: #194a92;
}

/* Vertical Timeline for Ethics */
.sp-ethics-timeline {
    position: relative;
    padding-right: 40px;
    max-width: 900px;
    margin: 0 auto;
}
.sp-ethics-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    right: 19px;
    width: 2px;
    background: #e2e8f0;
}
.sp-timeline-item {
    position: relative;
    margin-bottom: 25px;
}
.sp-timeline-item:last-child {
    margin-bottom: 0;
}
.sp-timeline-number {
    position: absolute;
    right: -40px;
    top: 15px;
    width: 40px;
    height: 40px;
    background: #194a92;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.1rem;
    border: 4px solid #f8fafc;
    z-index: 2;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.sp-timeline-content {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px 25px;
    margin-right: 20px;
    position: relative;
    font-size: 1.05rem;
    color: #1e293b;
    line-height: 1.9;
    text-align: justify;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
}
.sp-timeline-content::before {
    content: '';
    position: absolute;
    top: 25px;
    right: -8px;
    width: 15px;
    height: 15px;
    background: #ffffff;
    border-right: 1px solid #e2e8f0;
    border-top: 1px solid #e2e8f0;
    transform: rotate(45deg);
}
.sp-timeline-item:hover .sp-timeline-number {
    background: #f78f1e;
    transform: scale(1.1);
}
.sp-timeline-item:hover .sp-timeline-content {
    border-color: #f78f1e;
}

/* Responsive */
@media (max-width: 991.98px) {
    .sp-goals-banner {
        padding: 30px 25px;
        text-align: center;
    }
    .sp-goals-banner p {
        max-width: 100%;
    }
    .sp-goals-list {
        padding: 25px;
    }
    .sp-ethics-timeline {
        padding-right: 20px;
    }
    .sp-ethics-timeline::before {
        right: 9px;
    }
    .sp-timeline-number {
        right: -20px;
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
        top: 20px;
    }
    .sp-timeline-content {
        margin-right: 25px;
        padding: 15px;
        font-size: 0.95rem;
    }
    .sp-ethics-intro {
        padding: 20px 25px;
        font-size: 0.95rem;
    }
}

@media (max-width: 767.98px) {
    .sp-hero {
        padding: 130px 0 60px 0;
    }
    .sp-mission-card,
    .sp-vision-card {
        padding: 25px;
    }
    .sp-value-box {
        padding: 20px 15px;
    }
    .sp-goals-banner h2 {
        font-size: 1.5rem;
    }
    .sp-section-title {
        font-size: 1.4rem;
    }
}

/* ============================================
   ceo-message.css
   استایل‌های اختصاصی صفحه سخن مدیریت
   (هماهنگ با کلاس‌های استاندارد ثمین)
   ============================================ */

/* --- کلاس‌های کمکی --- */
.se-ceo-page .text-orange {
    color: var(--secondary-color, #f78f1e) !important;
}

/* --- انیمیشن هاور تصویر --- */
.se-ceo-page .ceo-image-wrapper:hover .ceo-image-frame {
    transform: translate(-10px, -10px);
}

.se-ceo-page .ceo-image-wrapper:hover .ceo-main-img {
    transform: translate(5px, 5px);
}

.se-ceo-page .ceo-main-img {
    transition: transform 0.5s ease;
}

.se-ceo-page .ceo-image-frame {
    transition: transform 0.5s ease;
}

/* --- ریسپانسیو --- */
@media (max-width: 991.98px) {
    .se-ceo-page .ceo-image-wrapper {
        padding-right: 15px !important;
        padding-bottom: 15px !important;
        max-width: 350px !important;
    }
    .se-ceo-page .ceo-image-frame {
        top: 15px !important;
        left: 15px !important;
    }
    .se-ceo-page .ceo-experience-badge {
        right: 0 !important;
        bottom: 30px !important;
        padding: 12px !important;
        min-width: 80px !important;
    }
    .se-ceo-page .ceo-experience-badge i {
        font-size: 1.5rem !important;
    }
    .se-ceo-page .ceo-experience-badge span {
        font-size: 0.75rem !important;
    }
    .se-ceo-page .ceo-message-text {
        font-size: 1rem !important;
    }
}

@media (max-width: 575.98px) {
    .se-ceo-page .ceo-image-wrapper {
        max-width: 280px !important;
        padding-right: 10px !important;
        padding-bottom: 10px !important;
    }
    .se-ceo-page .ceo-image-frame {
        top: 10px !important;
        left: 10px !important;
    }
    .se-ceo-page .ceo-experience-badge {
        right: 5px !important;
        bottom: 20px !important;
        padding: 10px !important;
        min-width: 70px !important;
    }
    .se-ceo-page .ceo-experience-badge i {
        font-size: 1.2rem !important;
    }
    .se-ceo-page .ceo-experience-badge span {
        font-size: 0.7rem !important;
    }
}



/* ==========================================================================
   SINGLE SERVICE (se-ss-*) — distinct from project-single
   ========================================================================== */

/* Hero */
.se-ss-hero {
    position: relative;
    min-height: 550px;
    background-color: var(--primary-dark);
    padding: 180px 0 60px 0;
    display: flex;
    align-items: flex-end;
}
.se-ss-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.6;
}
.se-ss-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(18, 56, 112, 0.4) 0%, rgba(11, 19, 30, 0.95) 100%);
}
.se-ss-hero-icon {
    max-height: 70px;
    width: auto;
    filter: drop-shadow(0 4px 15px rgba(0,0,0,0.3));
    background: rgba(255,255,255,0.1);
    border-radius: 16px;
    padding: 6px 10px;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255,255,255,0.15);
}

/* Contact Bar (replaces stats ribbon) */
.se-ss-contact-bar {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--border-light);
    margin-top: -40px;
    padding: 12px 0;
    position: relative;
    z-index: 10;
    overflow: hidden;
}
.se-ss-contact-bar .row {
    display: flex !important;
    flex-wrap: nowrap !important;
    margin: 0 !important;
    padding: 0 15px;
    gap: 15px;
}
.se-ss-contact-item {
    flex: 1 1 0;
    min-width: 90px;
    padding: 10px 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-left: 1px solid var(--border);
    transition: background-color 0.3s ease;
}
.se-ss-contact-item:first-child,
.se-ss-contact-item:last-child {
    border-left: none;
}
.se-ss-contact-item:hover {
    background: var(--bg-light);
}
.se-ss-contact-icon {
    width: 45px;
    height: 45px;
    min-width: 45px;
    background: rgba(247, 143, 30, 0.1);
    color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 6px;
}
.se-ss-contact-info {
    display: block;
    width: 100%;
}
.se-ss-contact-label {
    display: block;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 4px;
    white-space: nowrap;
}
.se-ss-contact-value {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--text-main);
    line-height: 1.4;
    word-break: break-word;
}
@media (max-width: 991.98px) {
    .se-ss-contact-bar .row {
        flex-wrap: wrap !important;
        gap: 0;
        padding: 0;
    }
    .se-ss-contact-item {
        flex: 0 0 33.333%;
        border-left: none;
        border-bottom: 1px solid var(--border);
        padding: 12px 10px;
    }
    .se-ss-contact-item:last-child {
        border-bottom: none;
    }
}
@media (max-width: 575.98px) {
    .se-ss-contact-item {
        flex: 0 0 50%;
    }
    .se-ss-contact-item:nth-child(2n) {
        border-left: none;
    }
}

/* Content Card */
.se-ss-content-card {
    background: #fff;
    padding: 40px;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    border: 1px solid var(--border-light);
}

/* Dynamic Blocks */
.se-ss-dynamic-block {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.se-ss-dynamic-block:not(:last-child) {
    margin-bottom: 35px;
    padding-bottom: 35px;
    border-bottom: 1px dashed var(--border);
}
.se-ss-block-image img {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}
.se-ss-block-text {
    font-size: 15.5px;
    line-height: 2;
    color: #4b5563;
    text-align: justify;
}
.se-ss-block-text p {
    margin-bottom: 1rem;
}
.se-ss-block-text ul,
.se-ss-block-text ol {
    padding-right: 1.5rem;
    margin-bottom: 1rem;
}
.se-ss-block-text li {
    margin-bottom: 0.5rem;
}
@media (min-width: 768px) {
    .se-ss-dynamic-block {
        flex-direction: row;
        align-items: center;
    }
    .se-ss-block-even .se-ss-block-image {
        order: 1;
    }
    .se-ss-block-even .se-ss-block-text {
        order: 0;
    }
    .se-ss-block-image {
        flex: 0 0 45%;
    }
    .se-ss-block-text {
        flex: 1;
    }
}

/* Sidebar & Widgets */
.se-ss-sidebar {
    top: 120px;
}
.se-ss-widget {
    background: #fff;
    padding: 30px;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    border: 1px solid var(--border-light);
}
.se-ss-widget-title,
.se-ss-section-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 0;
}
.se-ss-widget-title::before,
.se-ss-section-title::before {
    content: '';
    display: block;
    width: 5px;
    height: 24px;
    background: var(--secondary-color);
    border-radius: 5px;
}
.se-ss-widget-title span,
.se-ss-section-title span {
    color: var(--text-main);
}

/* Catalog Box inside widget */
.se-ss-catalog-box {
    background: rgba(25, 74, 146, 0.04);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 15px;
    justify-content: space-between;
    margin-top: 15px;
}
.se-ss-catalog-box i {
    font-size: 2rem;
    color: #dc2626;
}
.se-ss-catalog-box span {
    font-weight: 700;
    color: var(--text-main);
    flex: 1;
}
.se-ss-catalog-box .btn-custom-outline {
    margin-right: auto;
}

/* Gallery Grid */
.se-ss-gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}
.se-ss-gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    display: block;
    background: #e2e8f0;
}
.se-ss-gallery-item.large-item {
    grid-column: span 2;
    aspect-ratio: 16 / 9;
}
.se-ss-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.se-ss-gallery-item:hover img {
    transform: scale(1.1);
}
.se-ss-gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(25, 74, 146, 0.85);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: bold;
    backdrop-filter: blur(2px);
    transition: background-color 0.3s ease;
}
.se-ss-gallery-item:hover .se-ss-gallery-overlay {
    background: rgba(247, 143, 30, 0.9);
}

/* Responsive */
@media (max-width: 991.98px) {
    .se-ss-hero {
        min-height: 400px;
        padding: 140px 0 40px 0;
    }
    .se-ss-content-card {
        padding: 25px;
    }
    .se-ss-widget {
        padding: 20px;
    }
    .se-ss-catalog-box {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }
    .se-ss-catalog-box .btn-custom-outline {
        margin-right: 0;
        justify-content: center;
    }
}
@media (max-width: 575.98px) {
    .se-ss-hero {
        min-height: 350px;
        padding: 120px 0 30px 0;
    }
    .se-ss-hero-icon {
        max-height: 50px;
    }
    .se-ss-dynamic-block {
        gap: 15px;
    }
}