/* ============================================
   ARTA GHADIR - Main Stylesheet
   Material Design + Bootstrap 5 RTL
   ============================================ */

/* --- Variables --- */
:root {
  --ag-primary: #1B3A6B;       /* Deep Navy */
  --ag-secondary: #C8962A;     /* Gold */
  --ag-accent: #2C6E49;        /* Earth Green */
  --ag-dark: #0D1B2A;
  --ag-light-bg: #F5F7FA;
  --ag-text: #2D3748;
  --ag-text-light: #718096;
  --ag-white: #FFFFFF;
  --ag-border: #E2E8F0;
  --ag-shadow: 0 4px 24px rgba(27,58,107,0.10);
  --ag-shadow-lg: 0 8px 40px rgba(27,58,107,0.18);
  --ag-radius: 12px;
  --ag-radius-lg: 20px;
  --ag-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-fa: 'Vazirmatn', sans-serif;
  --font-en: 'Montserrat', sans-serif;
}

/* --- Base --- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-fa);
  color: var(--ag-text);
  background: var(--ag-white);
  overflow-x: hidden;
  line-height: 1.8;
}

body.lang-en { font-family: var(--font-en); }

/* --- Preloader --- */
#preloader {
  position: fixed; inset: 0;
  background: var(--ag-dark);
  z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.5s, visibility 0.5s;
}
#preloader.loaded { opacity: 0; visibility: hidden; }
.preloader-inner { text-align: center; }
.preloader-logo {
  font-size: 3rem; font-weight: 800;
  color: var(--ag-secondary);
  letter-spacing: 4px;
  margin-bottom: 20px;
  animation: pulse 1s ease-in-out infinite;
}
.preloader-bar {
  width: 200px; height: 3px;
  background: rgba(255,255,255,0.1);
  border-radius: 99px; overflow: hidden;
  margin: 0 auto;
}
.preloader-bar span {
  display: block; height: 100%;
  background: var(--ag-secondary);
  border-radius: 99px;
  animation: loading-bar 1.5s ease-in-out infinite;
}
@keyframes loading-bar {
  0% { width: 0; margin-right: auto; }
  50% { width: 60%; }
  100% { width: 100%; margin-left: auto; }
}
@keyframes pulse { 0%,100% { opacity:1; } 50% { opacity:0.5; } }

/* --- Navbar --- */
#mainNav {
  background: transparent;
  padding: 20px 0;
  transition: var(--ag-transition);
}
#mainNav.scrolled {
  background: var(--ag-primary);
  padding: 12px 0;
  box-shadow: 0 2px 20px rgba(0,0,0,0.2);
}
.navbar-brand .brand-text {
  font-size: 1.6rem; font-weight: 800;
  color: var(--ag-white);
  letter-spacing: 1px;
}
.navbar-brand .brand-text span { color: var(--ag-secondary); }
.navbar-nav .nav-link {
  color: rgba(255,255,255,0.9) !important;
  font-weight: 500;
  font-size: 0.88rem;
  padding: 7px 10px !important;
  border-radius: 8px;
  transition: var(--ag-transition);
  white-space: nowrap;
}
/* Navbar single line */
.navbar-collapse { flex-wrap: nowrap !important; }
.navbar-nav { flex-wrap: nowrap !important; gap: 0 !important; }
#mainNav .navbar-collapse { overflow-x: auto; }
#mainNav .container-fluid, #mainNav .container { flex-wrap: nowrap !important; }
.navbar-nav .nav-link:hover {
  color: var(--ag-secondary) !important;
  background: rgba(255,255,255,0.1);
}
.navbar-toggler { border: none; color: white; }
.btn-lang {
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  color: white;
  padding: 5px 14px; border-radius: 99px;
  font-size: 0.85rem; cursor: pointer;
  transition: var(--ag-transition);
}
.btn-lang:hover { background: var(--ag-secondary); border-color: var(--ag-secondary); }

/* --- Hero Section --- */
.hero-section {
  position: relative;
  height: 100vh; min-height: 600px;
}
.hero-swiper { height: 100%; }
.swiper-slide {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 100vh; min-height: 600px;
  display: flex; align-items: center;
}
.hero-default { background: linear-gradient(135deg, var(--ag-primary) 0%, #2d5a9b 100%); }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(13,27,42,0.85) 0%, rgba(27,58,107,0.6) 100%);
}
.hero-badge {
  display: inline-block;
  background: var(--ag-secondary);
  color: white;
  padding: 6px 18px; border-radius: 99px;
  font-size: 0.85rem; font-weight: 600;
  margin-bottom: 20px;
  animation: fadeInDown 0.6s ease;
}
.hero-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  color: white;
  line-height: 1.3;
  margin-bottom: 20px;
  animation: fadeInUp 0.7s ease 0.2s both;
}
.hero-subtitle {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 35px;
  max-width: 560px;
  animation: fadeInUp 0.7s ease 0.4s both;
}
.hero-actions { animation: fadeInUp 0.7s ease 0.6s both; display: flex; gap: 16px; flex-wrap: wrap; }
.hero-scroll-indicator {
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
  color: white; animation: bounce 2s infinite; cursor: pointer; z-index: 10;
}
.hero-scroll-indicator .material-icons-round { font-size: 2rem; }
@keyframes bounce { 0%,100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(10px); } }

/* Swiper Navigation */
.hero-next, .hero-prev {
  width: 48px !important; height: 48px !important;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  backdrop-filter: blur(4px);
  transition: var(--ag-transition);
  display: flex !important; align-items: center; justify-content: center;
}
.hero-next:hover, .hero-prev:hover { background: var(--ag-secondary); }
.hero-next::after, .hero-prev::after { display: none !important; }
.hero-pagination .swiper-pagination-bullet-active { background: var(--ag-secondary) !important; }

/* --- Buttons --- */
.btn-primary-custom {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--ag-secondary);
  color: white; border: none;
  padding: 13px 28px; border-radius: 10px;
  font-weight: 600; font-size: 0.95rem;
  transition: var(--ag-transition);
  text-decoration: none;
}
.btn-primary-custom:hover {
  background: #a87a20; color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(200,150,42,0.4);
}
.btn-outline-custom {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent;
  color: white; border: 2px solid rgba(255,255,255,0.5);
  padding: 12px 28px; border-radius: 10px;
  font-weight: 600; font-size: 0.95rem;
  transition: var(--ag-transition);
  text-decoration: none;
}
.btn-outline-custom:hover { background: white; color: var(--ag-primary); border-color: white; }
.btn-outline-primary-custom {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent;
  color: var(--ag-primary); border: 2px solid var(--ag-primary);
  padding: 12px 28px; border-radius: 10px;
  font-weight: 600; transition: var(--ag-transition);
  text-decoration: none;
}
.btn-outline-primary-custom:hover {
  background: var(--ag-primary); color: white;
  transform: translateY(-2px);
}
.btn-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--ag-white);
  color: var(--ag-primary);
  padding: 14px 32px; border-radius: 10px;
  font-weight: 700; font-size: 1rem;
  transition: var(--ag-transition);
  text-decoration: none; border: none;
}
.btn-cta:hover { transform: translateY(-3px); box-shadow: var(--ag-shadow-lg); color: var(--ag-primary); }

/* --- Stats --- */
.stats-section {
  position: relative; z-index: 10;
  margin-top: -60px;
}
.stats-card {
  background: var(--ag-white);
  border-radius: var(--ag-radius-lg);
  box-shadow: var(--ag-shadow-lg);
  overflow: hidden;
}
.stat-item {
  padding: 36px 20px;
  text-align: center;
  border-left: 1px solid var(--ag-border);
  transition: var(--ag-transition);
}
.stat-item:last-child { border-left: none; }
.lang-en .stat-item:first-child { border-left: none; }
.lang-en .stat-item { border-right: 1px solid var(--ag-border); }
.lang-en .stat-item:last-child { border-right: none; }
.stat-item:hover { background: var(--ag-primary); }
.stat-item:hover .stat-icon,
.stat-item:hover .stat-value,
.stat-item:hover .stat-label { color: white !important; }
.stat-icon {
  color: var(--ag-secondary);
  font-size: 2.2rem !important; display: block;
  margin-bottom: 10px;
}
.stat-value {
  font-size: 2rem; font-weight: 800;
  color: var(--ag-primary); line-height: 1;
  margin-bottom: 6px;
}
.stat-label { color: var(--ag-text-light); font-size: 0.9rem; }

/* --- Sections --- */
.section-padding { padding: 90px 0; }
.bg-light-custom { background: var(--ag-light-bg); }
.bg-dark-custom { background: var(--ag-primary); }

.section-eyebrow {
  display: inline-block;
  color: var(--ag-secondary);
  font-size: 0.85rem; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  margin-bottom: 12px;
}
.section-eyebrow.light { color: rgba(200,150,42,0.9); }
.section-title {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 800; color: var(--ag-primary);
  line-height: 1.3; margin-bottom: 16px;
}
.section-title.light { color: white; }
.section-subtitle { color: var(--ag-text-light); font-size: 1.05rem; max-width: 600px; margin: 0 auto; }
.section-subtitle.light { color: rgba(255,255,255,0.75); }
.section-header { margin-bottom: 20px; }
.section-text { color: var(--ag-text-light); font-size: 1.05rem; line-height: 1.9; margin-bottom: 24px; }

/* --- About Brief --- */
.rounded-custom { border-radius: var(--ag-radius-lg); }
.about-image-wrap { position: relative; display: inline-block; width: 100%; }
.about-image-wrap img { width: 100%; box-shadow: var(--ag-shadow-lg); }
.about-badge-float {
  position: absolute; bottom: -20px;
  right: 30px;
  background: var(--ag-secondary);
  color: white; padding: 16px 24px;
  border-radius: var(--ag-radius);
  display: flex; align-items: center; gap: 12px;
  box-shadow: 0 8px 24px rgba(200,150,42,0.4);
}
.lang-en .about-badge-float { right: auto; left: 30px; }
.about-badge-float .material-icons-round { font-size: 2rem; }
.about-badge-float strong { display: block; font-size: 1rem; }
.about-badge-float small { font-size: 0.8rem; opacity: 0.9; }

.about-features { display: flex; flex-direction: column; gap: 16px; }
.feature-item {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 16px; border-radius: var(--ag-radius);
  background: var(--ag-light-bg);
  transition: var(--ag-transition);
}
.feature-item:hover { background: var(--ag-primary); }
.feature-item:hover .material-icons-round,
.feature-item:hover h6, .feature-item:hover p { color: white !important; }
.feature-item .material-icons-round { color: var(--ag-secondary); font-size: 1.8rem !important; flex-shrink: 0; }
.feature-item h6 { font-weight: 700; margin-bottom: 4px; color: var(--ag-primary); }
.feature-item p { font-size: 0.9rem; color: var(--ag-text-light); margin: 0; }

/* --- Project Cards --- */
.project-card {
  display: block; text-decoration: none;
  background: white;
  border-radius: var(--ag-radius-lg);
  overflow: hidden;
  box-shadow: var(--ag-shadow);
  transition: var(--ag-transition);
  height: 100%;
}
.project-card:hover { transform: translateY(-8px); box-shadow: var(--ag-shadow-lg); }
.project-card-img { position: relative; overflow: hidden; height: 220px; }
.project-card-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease;
}
.project-card:hover .project-card-img img { transform: scale(1.08); }
.project-card-overlay {
  position: absolute; inset: 0;
  background: rgba(27,58,107,0.7);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: var(--ag-transition);
}
.project-card:hover .project-card-overlay { opacity: 1; }
.project-card-overlay .material-icons-round { color: white; font-size: 2.5rem !important; }
.project-card-body { padding: 20px; }
.project-status {
  display: inline-block; font-size: 0.75rem; font-weight: 600;
  padding: 3px 10px; border-radius: 99px;
  margin-bottom: 10px;
}
.status-active { background: #d1fae5; color: #065f46; }
.status-exploration { background: #dbeafe; color: #1e40af; }
.status-development { background: #fef3c7; color: #92400e; }
.status-completed { background: #f3f4f6; color: #374151; }
.project-card-body h5 { font-weight: 700; color: var(--ag-primary); margin-bottom: 8px; }
.project-location {
  color: var(--ag-text-light); font-size: 0.88rem;
  display: flex; align-items: center; gap: 4px;
}
.project-location .material-icons-round { font-size: 1rem !important; color: var(--ag-secondary); }
.project-minerals { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 6px; }
.mineral-tag {
  background: var(--ag-light-bg);
  color: var(--ag-primary); font-size: 0.75rem;
  padding: 3px 10px; border-radius: 99px; font-weight: 600;
}

/* --- Activity Cards --- */
.activity-card {
  background: white;
  border-radius: var(--ag-radius-lg);
  padding: 32px 24px;
  box-shadow: var(--ag-shadow);
  transition: var(--ag-transition);
  height: 100%;
  text-align: center;
  border-bottom: 4px solid transparent;
}
.activity-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--ag-shadow-lg);
  border-bottom-color: var(--ag-secondary);
}
.activity-icon {
  width: 70px; height: 70px;
  background: var(--ag-light-bg);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  transition: var(--ag-transition);
}
.activity-card:hover .activity-icon { background: var(--ag-primary); }
.activity-icon .material-icons-round { color: var(--ag-secondary); font-size: 2rem !important; }
.activity-card:hover .activity-icon .material-icons-round { color: white; }
.activity-card h5 { font-weight: 700; color: var(--ag-primary); margin-bottom: 12px; }
.activity-card p { color: var(--ag-text-light); font-size: 0.93rem; line-height: 1.7; margin: 0; }

/* --- News Cards --- */
.news-card {
  display: block; text-decoration: none;
  background: white; border-radius: var(--ag-radius-lg);
  overflow: hidden; box-shadow: var(--ag-shadow);
  transition: var(--ag-transition); height: 100%;
}
.news-card:hover { transform: translateY(-6px); box-shadow: var(--ag-shadow-lg); }
.news-card-img { position: relative; overflow: hidden; height: 200px; }
.news-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.news-card:hover .news-card-img img { transform: scale(1.06); }
.news-category {
  position: absolute; bottom: 12px; right: 12px;
  background: var(--ag-secondary); color: white;
  font-size: 0.75rem; font-weight: 600;
  padding: 4px 12px; border-radius: 99px;
}
.lang-en .news-category { right: auto; left: 12px; }
.news-card-body { padding: 20px; }
.news-card-body time { font-size: 0.82rem; color: var(--ag-text-light); }
.news-card-body h5 { font-weight: 700; color: var(--ag-primary); margin: 8px 0; font-size: 1rem; line-height: 1.5; }
.news-card-body p { color: var(--ag-text-light); font-size: 0.9rem; margin-bottom: 16px; }
.read-more {
  color: var(--ag-secondary); font-weight: 600; font-size: 0.9rem;
  display: flex; align-items: center; gap: 4px;
}
.read-more .material-icons-round { font-size: 1rem !important; transition: transform 0.3s; }
.news-card:hover .read-more .material-icons-round { transform: translateX(-4px); }
.lang-en .news-card:hover .read-more .material-icons-round { transform: translateX(4px); }

/* --- Tenders Table --- */
.tenders-table-wrap { background: white; border-radius: var(--ag-radius-lg); overflow: hidden; box-shadow: var(--ag-shadow); }
.tenders-table { margin: 0; }
.tenders-table thead th { background: var(--ag-primary); color: white; font-weight: 600; padding: 16px 20px; border: none; }
.tenders-table tbody td { padding: 14px 20px; border-color: var(--ag-border); vertical-align: middle; }
.tenders-table tbody tr:hover { background: var(--ag-light-bg); }
.badge-status { font-size: 0.78rem; font-weight: 600; padding: 4px 12px; border-radius: 99px; }
.badge-status.status-open { background: #d1fae5; color: #065f46; }
.badge-status.status-closed { background: #fee2e2; color: #991b1b; }

/* --- Map Section --- */
.iran-map-wrap { text-align: center; margin-top: 40px; }
.iran-map { max-width: 600px; width: 100%; filter: invert(1) brightness(0.7); opacity: 0.7; }

/* --- CTA Section --- */
.cta-section { padding: 60px 0; }
.cta-card {
  background: linear-gradient(135deg, var(--ag-primary) 0%, #2d5a9b 100%);
  border-radius: var(--ag-radius-lg);
  padding: 50px 48px;
  box-shadow: var(--ag-shadow-lg);
}
.cta-card h3 { color: white; font-weight: 800; font-size: 1.8rem; margin-bottom: 10px; }
.cta-card p { color: rgba(255,255,255,0.8); font-size: 1.05rem; margin: 0; }

/* --- Footer --- */
.footer { background: var(--ag-dark); color: rgba(255,255,255,0.8); }
.footer-top { padding: 70px 0 40px; }
.footer-brand h3 { font-size: 1.8rem; font-weight: 800; color: white; margin-bottom: 16px; }
.footer-brand h3 span { color: var(--ag-secondary); }
.footer-brand p { font-size: 0.93rem; line-height: 1.8; color: rgba(255,255,255,0.65); max-width: 300px; }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a {
  width: 40px; height: 40px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.7);
  transition: var(--ag-transition); text-decoration: none;
}
.footer-social a:hover { background: var(--ag-secondary); color: white; }
.footer-title { color: white; font-weight: 700; font-size: 1rem; margin-bottom: 20px; position: relative; padding-bottom: 12px; }
.footer-title::after { content: ''; position: absolute; bottom: 0; right: 0; width: 30px; height: 2px; background: var(--ag-secondary); }
.lang-en .footer-title::after { right: auto; left: 0; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  color: rgba(255,255,255,0.65); font-size: 0.92rem;
  text-decoration: none; transition: var(--ag-transition);
  display: flex; align-items: center; gap: 6px;
}
.footer-links a:hover { color: var(--ag-secondary); padding-right: 6px; }
.lang-en .footer-links a:hover { padding-right: 0; padding-left: 6px; }
.footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-contact li {
  display: flex; gap: 10px; align-items: flex-start;
  margin-bottom: 14px; font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
}
.footer-contact .material-icons-round { color: var(--ag-secondary); font-size: 1.1rem !important; margin-top: 2px; flex-shrink: 0; }
.footer-contact a { color: rgba(255,255,255,0.65); text-decoration: none; transition: color 0.2s; }
.footer-contact a:hover { color: var(--ag-secondary); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.45);
}
.footer-bottom a { color: rgba(255,255,255,0.45); text-decoration: none; }
.footer-bottom a:hover { color: var(--ag-secondary); }

/* --- Scroll To Top --- */
.scroll-top {
  position: fixed; bottom: 30px; left: 30px;
  width: 46px; height: 46px;
  background: var(--ag-primary);
  color: white; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--ag-shadow);
  opacity: 0; visibility: hidden;
  transition: var(--ag-transition); z-index: 999;
  text-decoration: none;
}
.lang-en .scroll-top { left: auto; right: 30px; }
.scroll-top.show { opacity: 1; visibility: visible; }
.scroll-top:hover { background: var(--ag-secondary); color: white; transform: translateY(-4px); }

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

/* --- Page Header (for inner pages) --- */
.page-header {
  background: linear-gradient(135deg, var(--ag-primary) 0%, #2d5a9b 100%);
  padding: 130px 0 60px;
  text-align: center;
}
.page-header h1 { color: white; font-weight: 800; font-size: 2.5rem; margin-bottom: 16px; }
.page-header .breadcrumb { justify-content: center; }
.page-header .breadcrumb-item, .page-header .breadcrumb-item a { color: rgba(255,255,255,0.7); }
.page-header .breadcrumb-item.active { color: var(--ag-secondary); }
.page-header .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,0.4); }

/* --- Responsive --- */
@media (max-width: 992px) {
  .stat-item { border-left: none; border-bottom: 1px solid var(--ag-border); }
  .stat-item:last-child { border-bottom: none; }
  .about-badge-float { position: static; margin-top: 20px; display: inline-flex; }
  .cta-card { padding: 36px 28px; }
}
@media (max-width: 768px) {
  .section-padding { padding: 60px 0; }
  .hero-title { font-size: 2rem; }
  .stats-section { margin-top: -30px; }
  .footer-top { padding: 50px 0 30px; }
}
@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .btn-primary-custom, .btn-outline-custom { width: 100%; justify-content: center; }
  .cta-card { padding: 28px 20px; }
  .cta-card h3 { font-size: 1.4rem; }
}

/* ============================================
   INNER PAGES - Additional Styles
   ============================================ */

/* --- About Page --- */
.corporate-chain { background: var(--ag-light-bg); border-radius: var(--ag-radius); padding: 24px; margin-top: 28px; }
.chain-title { font-size: .85rem; font-weight: 700; color: var(--ag-text-light); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px; }
.chain-items { display: flex; flex-direction: column; gap: 0; }
.chain-item {
  display: flex; align-items: center; gap: 12px;
  background: white; border-radius: 8px; padding: 12px 16px;
  font-size: .9rem; font-weight: 500; color: var(--ag-text);
  border: 1px solid var(--ag-border);
}
.chain-item.active { background: var(--ag-primary); color: white; border-color: var(--ag-primary); }
.chain-item.active .material-icons-round { color: var(--ag-secondary); }
.chain-item .material-icons-round { color: var(--ag-secondary); }
.chain-arrow { text-align: center; padding: 4px; color: var(--ag-text-light); }
.chain-arrow .material-icons-round { font-size: 1.2rem !important; }
.about-placeholder-img { height: 450px; background: linear-gradient(135deg, var(--ag-primary) 0%, #2d5a9b 100%); }
.vm-card {
  background: white; border-radius: var(--ag-radius-lg); padding: 36px;
  box-shadow: var(--ag-shadow); height: 100%;
  border-top: 4px solid transparent; transition: var(--ag-transition);
}
.vision-card { border-top-color: var(--ag-secondary); }
.mission-card { border-top-color: var(--ag-accent); }
.vm-card:hover { transform: translateY(-4px); box-shadow: var(--ag-shadow-lg); }
.vm-icon {
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--ag-light-bg);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.vm-icon .material-icons-round { color: var(--ag-primary); font-size: 1.8rem !important; }
.vm-card h4 { font-weight: 800; color: var(--ag-primary); margin-bottom: 12px; }
.vm-card p { color: var(--ag-text-light); line-height: 1.9; margin: 0; }
.value-card {
  background: white; border-radius: var(--ag-radius-lg); padding: 32px 24px;
  box-shadow: var(--ag-shadow); text-align: center; height: 100%;
  transition: var(--ag-transition);
}
.value-card:hover { background: var(--ag-primary); transform: translateY(-6px); }
.value-card:hover h5, .value-card:hover p { color: white; }
.value-icon {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--ag-light-bg);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
}
.value-card:hover .value-icon { background: rgba(255,255,255,.15); }
.value-icon .material-icons-round { color: var(--ag-secondary); font-size: 1.8rem !important; }
.value-card h5 { font-weight: 700; color: var(--ag-primary); margin-bottom: 10px; }
.value-card p { color: var(--ag-text-light); font-size: .9rem; margin: 0; }
.team-card { background: white; border-radius: var(--ag-radius-lg); overflow: hidden; box-shadow: var(--ag-shadow); transition: var(--ag-transition); text-align: center; }
.team-card:hover { transform: translateY(-6px); box-shadow: var(--ag-shadow-lg); }
.team-photo { height: 220px; overflow: hidden; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.team-card:hover .team-photo img { transform: scale(1.05); }
.team-avatar { height: 220px; background: var(--ag-light-bg); display: flex; align-items: center; justify-content: center; }
.team-avatar .material-icons-round { font-size: 4rem !important; color: var(--ag-text-light); }
.team-info { padding: 20px; }
.team-info h6 { font-weight: 700; color: var(--ag-primary); margin-bottom: 4px; }
.team-info span { font-size: .85rem; color: var(--ag-text-light); }
.team-linkedin { display: inline-block; margin-top: 10px; color: var(--ag-secondary); }
/* Timeline */
.timeline { position: relative; max-width: 700px; margin: 0 auto; }
.timeline::before { content:''; position:absolute; right:24px; top:0; bottom:0; width:2px; background:rgba(255,255,255,.15); }
.lang-en .timeline::before { right:auto; left:24px; }
.timeline-item { position: relative; padding-right: 60px; padding-bottom: 40px; }
.lang-en .timeline-item { padding-right: 0; padding-left: 60px; }
.timeline-dot { position:absolute; right:16px; top:6px; width:18px; height:18px; border-radius:50%; background:var(--ag-secondary); border:3px solid var(--ag-primary); }
.lang-en .timeline-dot { right:auto; left:16px; }
.timeline-content { background:rgba(255,255,255,.07); border-radius:var(--ag-radius); padding:24px; }
.timeline-year { font-size:.85rem; font-weight:700; color:var(--ag-secondary); display:block; margin-bottom:8px; }
.timeline-content h5 { color:white; font-weight:700; margin-bottom:8px; }
.timeline-content p { color:rgba(255,255,255,.65); font-size:.9rem; margin:0; }

/* --- Contact Page --- */
.contact-info-list { display:flex; flex-direction:column; gap:20px; margin-top:28px; }
.contact-info-item { display:flex; align-items:flex-start; gap:16px; }
.contact-info-icon { width:44px; height:44px; border-radius:50%; background:var(--ag-secondary); display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.contact-info-icon .material-icons-round { color:white; font-size:1.2rem !important; }
.contact-info-item strong { display:block; font-weight:700; color:var(--ag-primary); margin-bottom:3px; }
.contact-info-item p, .contact-info-item a { color:var(--ag-text-light); font-size:.93rem; margin:0; text-decoration:none; }
.contact-info-item a:hover { color:var(--ag-secondary); }
.contact-social { display:flex; gap:10px; }
.contact-social a { width:40px; height:40px; border-radius:50%; background:var(--ag-light-bg); display:flex; align-items:center; justify-content:center; color:var(--ag-primary); transition:var(--ag-transition); text-decoration:none; }
.contact-social a:hover { background:var(--ag-primary); color:white; }
.contact-form-card { background:white; border-radius:var(--ag-radius-lg); padding:36px; box-shadow:var(--ag-shadow); }
.contact-form-card h4, .contact-form-card h5 { font-weight:800; color:var(--ag-primary); margin-bottom:24px; }
.input-group-custom { position:relative; }
.input-group-custom .material-icons-round { position:absolute; top:50%; transform:translateY(-50%); right:14px; color:var(--ag-text-light); font-size:1.1rem !important; pointer-events:none; z-index:5; }
.lang-en .input-group-custom .material-icons-round { right:auto; left:14px; }
.input-group-custom .form-control { padding-right:44px; }
.lang-en .input-group-custom .form-control { padding-right:.75rem; padding-left:44px; }
.form-control { border:1.5px solid var(--ag-border); border-radius:10px; padding:12px 16px; font-family:var(--font-fa); transition:var(--ag-transition); }
.form-control:focus { border-color:var(--ag-primary); box-shadow:0 0 0 3px rgba(27,58,107,.12); }
.map-embed { border:1px solid var(--ag-border); }

/* --- Projects --- */
.filter-bar { background:white; border-radius:var(--ag-radius); padding:20px 24px; box-shadow:var(--ag-shadow); }
.filter-group label { font-size:.82rem; font-weight:600; color:var(--ag-text-light); display:block; margin-bottom:5px; }
.filter-group .form-select { min-width:160px; border-radius:8px; font-size:.88rem; }
.project-detail-cover { max-height:480px; object-fit:cover; }
.project-sidebar { background:white; border-radius:var(--ag-radius-lg); padding:28px; box-shadow:var(--ag-shadow); position:sticky; top:90px; }
.sidebar-title { font-weight:700; color:var(--ag-primary); font-size:1rem; margin-bottom:16px; padding-bottom:10px; border-bottom:2px solid var(--ag-border); }
.project-meta-list { list-style:none; padding:0; margin:0; }
.project-meta-list li { display:flex; align-items:flex-start; justify-content:space-between; gap:12px; padding:12px 0; border-bottom:1px solid var(--ag-border); font-size:.9rem; }
.project-meta-list li:last-child { border-bottom:none; }
.meta-label { display:flex; align-items:center; gap:6px; color:var(--ag-text-light); font-weight:500; }
.meta-label .material-icons-round { font-size:.9rem !important; color:var(--ag-secondary); }
.project-reserve { display:flex; align-items:center; gap:4px; font-size:.85rem; color:var(--ag-text-light); }
.project-reserve .material-icons-round { font-size:1rem !important; color:var(--ag-secondary); }
.mini-map { border:1px solid var(--ag-border); }
.placeholder-img-bg { height:220px; background:linear-gradient(135deg, #e2e8f0, #cbd5e0); }
.empty-icon { font-size:4rem !important; color:var(--ag-border); }
.mt-6 { margin-top:4rem; }

/* --- News --- */
.cat-filter-bar { display:flex; flex-wrap:wrap; gap:8px; }
.cat-btn { display:inline-block; padding:6px 18px; border-radius:99px; font-size:.85rem; font-weight:600; color:var(--ag-text-light); background:white; border:1.5px solid var(--ag-border); text-decoration:none; transition:var(--ag-transition); }
.cat-btn:hover, .cat-btn.active { background:var(--ag-primary); color:white; border-color:var(--ag-primary); }
.news-sidebar { position:sticky; top:90px; }
.sidebar-widget { background:white; border-radius:var(--ag-radius-lg); padding:24px; box-shadow:var(--ag-shadow); }
.sidebar-cat-list { list-style:none; padding:0; margin:0; }
.sidebar-cat-list li { border-bottom:1px solid var(--ag-border); }
.sidebar-cat-list a { display:block; padding:10px 0; color:var(--ag-text); font-size:.9rem; text-decoration:none; transition:color .2s; }
.sidebar-cat-list a:hover, .sidebar-cat-list a.active { color:var(--ag-secondary); }
.sidebar-links { list-style:none; padding:0; margin:0; }
.sidebar-links li { margin-bottom:8px; }
.sidebar-links a { display:flex; align-items:center; gap:8px; color:var(--ag-text); font-size:.9rem; text-decoration:none; transition:color .2s; }
.sidebar-links a .material-icons-round { font-size:1rem !important; color:var(--ag-secondary); }
.sidebar-links a:hover { color:var(--ag-primary); }
.news-placeholder-img { height:200px; background:linear-gradient(135deg,#e2e8f0,#cbd5e0); }
.article-meta { display:flex; align-items:center; flex-wrap:wrap; gap:16px; }
.article-cat { background:var(--ag-secondary); color:white; font-size:.78rem; font-weight:700; padding:4px 14px; border-radius:99px; }
.article-meta-item { display:flex; align-items:center; gap:5px; font-size:.85rem; color:var(--ag-text-light); }
.article-meta-item .material-icons-round { font-size:1rem !important; color:var(--ag-secondary); }
.article-summary { font-size:1.1rem; color:var(--ag-text); font-weight:500; line-height:1.8; padding:20px; background:var(--ag-light-bg); border-radius:var(--ag-radius); border-right:4px solid var(--ag-secondary); }
.lang-en .article-summary { border-right:none; border-left:4px solid var(--ag-secondary); }
.article-body { font-size:1rem; line-height:2; color:var(--ag-text); }
.article-body h2, .article-body h3 { color:var(--ag-primary); font-weight:700; margin:28px 0 16px; }
.article-body img { max-width:100%; border-radius:var(--ag-radius); margin:16px 0; }
.article-body blockquote { border-right:4px solid var(--ag-secondary); padding:16px 20px; background:var(--ag-light-bg); border-radius:0 var(--ag-radius) var(--ag-radius) 0; margin:24px 0; }
.share-btns { display:flex; gap:10px; flex-wrap:wrap; margin-top:12px; }
.share-btn { display:inline-flex; align-items:center; gap:6px; padding:8px 16px; border-radius:8px; font-size:.85rem; font-weight:600; text-decoration:none; transition:var(--ag-transition); }
.share-btn:hover { transform:translateY(-2px); }
.share-btn.telegram { background:#e3f2fd; color:#0277bd; }
.share-btn.linkedin { background:#e8f5e9; color:#1b5e20; }
.share-btn.twitter { background:#e3f2fd; color:#01579b; }
.share-btn .material-icons-round { font-size:1rem !important; }
.related-news { display:flex; flex-direction:column; gap:14px; }
.related-item { display:flex; align-items:center; gap:12px; text-decoration:none; }
.related-item img { width:70px; height:55px; object-fit:cover; border-radius:8px; flex-shrink:0; }
.related-item h6 { font-size:.85rem; font-weight:600; color:var(--ag-primary); margin:0 0 4px; line-height:1.4; }
.related-item time { font-size:.78rem; color:var(--ag-text-light); }
.related-item:hover h6 { color:var(--ag-secondary); }

/* --- Tenders --- */
.tender-item { background:white; border-radius:var(--ag-radius-lg); padding:28px; box-shadow:var(--ag-shadow); margin-bottom:20px; transition:var(--ag-transition); }
.tender-item:hover { box-shadow:var(--ag-shadow-lg); }
.tender-header { display:flex; align-items:flex-start; justify-content:space-between; gap:16px; margin-bottom:14px; flex-wrap:wrap; }
.tender-header h5 { font-weight:700; color:var(--ag-primary); margin:0; }
.tender-type { font-size:.78rem; font-weight:700; padding:4px 12px; border-radius:99px; flex-shrink:0; }
.type-tender { background:#dbeafe; color:#1e40af; }
.type-auction { background:#fef3c7; color:#92400e; }
.tender-body p { color:var(--ag-text-light); font-size:.93rem; margin-bottom:12px; }
.tender-meta { display:flex; flex-wrap:wrap; gap:16px; font-size:.85rem; color:var(--ag-text-light); }
.tender-meta span { display:flex; align-items:center; gap:5px; }
.tender-meta .material-icons-round { font-size:1rem !important; color:var(--ag-secondary); }
.tender-footer { display:flex; gap:10px; flex-wrap:wrap; margin-top:16px; padding-top:16px; border-top:1px solid var(--ag-border); }
.info-box { display:flex; align-items:flex-start; gap:16px; background:#eff6ff; border:1px solid #bfdbfe; border-radius:var(--ag-radius); padding:20px 24px; }
.info-box>.material-icons-round { color:#2563eb; flex-shrink:0; margin-top:2px; }
.info-box strong { display:block; color:var(--ag-primary); font-weight:700; margin-bottom:4px; }
.info-box p { margin:0; font-size:.9rem; color:var(--ag-text-light); }
.info-box a { color:var(--ag-primary); font-weight:600; }

/* --- Careers --- */
.job-card { background:white; border-radius:var(--ag-radius-lg); padding:28px; box-shadow:var(--ag-shadow); margin-bottom:20px; transition:var(--ag-transition); }
.job-card:hover { box-shadow:var(--ag-shadow-lg); }
.job-card-header { display:flex; align-items:flex-start; justify-content:space-between; gap:16px; flex-wrap:wrap; margin-bottom:16px; }
.job-card-header h5 { font-weight:800; color:var(--ag-primary); margin-bottom:10px; }
.job-tags { display:flex; flex-wrap:wrap; gap:8px; }
.job-tag { display:inline-flex; align-items:center; gap:4px; font-size:.8rem; font-weight:600; padding:4px 12px; border-radius:99px; background:var(--ag-light-bg); color:var(--ag-text); }
.job-tag .material-icons-round { font-size:.9rem !important; color:var(--ag-secondary); }
.job-tag.deadline { background:#fef3c7; color:#92400e; }
.job-detail-toggle { display:flex; align-items:center; justify-content:space-between; font-size:.9rem; font-weight:600; color:var(--ag-primary); padding:10px 0; }
.job-detail-toggle .material-icons-round { transition:transform .3s; }
.job-detail-toggle[aria-expanded="true"] .material-icons-round { transform:rotate(180deg); }
.job-description h6 { font-weight:700; color:var(--ag-primary); margin-bottom:8px; }
.job-description p { color:var(--ag-text-light); font-size:.9rem; line-height:1.8; }
.job-apply-header { background:var(--ag-light-bg); border-radius:var(--ag-radius); padding:24px; border-right:4px solid var(--ag-secondary); }
.lang-en .job-apply-header { border-right:none; border-left:4px solid var(--ag-secondary); }
.job-apply-header h4 { font-weight:800; color:var(--ag-primary); margin-bottom:12px; }
.careers-sidebar { position:sticky; top:90px; }
.careers-sidebar .sidebar-widget { background:white; border-radius:var(--ag-radius-lg); padding:28px; box-shadow:var(--ag-shadow); text-align:center; }
.careers-intro-icon .material-icons-round { font-size:3rem !important; color:var(--ag-secondary); margin-bottom:16px; }
.careers-sidebar h5 { font-weight:800; color:var(--ag-primary); margin-bottom:16px; }
.why-list { list-style:none; padding:0; margin:0; text-align:right; }
.lang-en .why-list { text-align:left; }
.why-list li { display:flex; align-items:center; gap:8px; padding:8px 0; font-size:.9rem; color:var(--ag-text); border-bottom:1px solid var(--ag-border); }
.why-list li:last-child { border-bottom:none; }
.why-list .material-icons-round { color:var(--ag-accent); font-size:1.1rem !important; }

/* --- Gallery --- */
.album-block { }
.album-header h4 { font-weight:700; color:var(--ag-primary); }
.gallery-grid { display:grid; grid-template-columns:repeat(auto-fill, minmax(220px, 1fr)); gap:16px; }
.gallery-item { position:relative; overflow:hidden; border-radius:var(--ag-radius); }
.gallery-item img { width:100%; height:200px; object-fit:cover; display:block; transition:transform .4s; }
.gallery-item:hover img { transform:scale(1.06); }
.gallery-caption { position:absolute; bottom:0; left:0; right:0; background:rgba(0,0,0,.6); color:white; font-size:.8rem; padding:8px 12px; }
.video-card { background:white; border-radius:var(--ag-radius-lg); overflow:hidden; box-shadow:var(--ag-shadow); transition:var(--ag-transition); }
.video-card:hover { transform:translateY(-4px); box-shadow:var(--ag-shadow-lg); }
.video-thumb { position:relative; height:190px; overflow:hidden; }
.video-thumb img { width:100%; height:100%; object-fit:cover; }
.video-play-btn { position:absolute; inset:0; background:rgba(0,0,0,.3); border:none; cursor:pointer; display:flex; align-items:center; justify-content:center; transition:var(--ag-transition); }
.video-play-btn:hover { background:rgba(0,0,0,.5); }
.video-play-btn .material-icons-round { color:white; font-size:3.5rem !important; filter:drop-shadow(0 2px 8px rgba(0,0,0,.5)); }
.video-info { padding:16px; }
.video-info h6 { font-weight:700; color:var(--ag-primary); margin:0; }

/* --- Pagination --- */
.pagination .page-link { border-radius:8px !important; margin:0 3px; color:var(--ag-primary); border:1.5px solid var(--ag-border); font-weight:600; }
.pagination .page-item.active .page-link { background:var(--ag-primary); border-color:var(--ag-primary); }
.pagination .page-link:hover { background:var(--ag-primary); color:white; border-color:var(--ag-primary); }

/* --- Image Placeholder (وقتی تصویر آپلود نشده) --- */
.img-placeholder {
  width: 100%; height: 100%;
  min-height: 200px;
  background: linear-gradient(135deg, #1B3A6B 0%, #2d5a9b 100%);
  display: flex; align-items: center; justify-content: center;
}
.img-placeholder .material-icons-round {
  color: rgba(255,255,255,0.25);
  font-size: 3.5rem !important;
}

/* --- Navbar Auth Buttons --- */
.nav-auth-links { display: flex; align-items: center; gap: 8px; }
.btn-nav-user {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,0.15); color: white;
  padding: 6px 14px; border-radius: 99px;
  font-size: .85rem; font-weight: 600; text-decoration: none;
  transition: var(--ag-transition); border: 1px solid rgba(255,255,255,0.3);
}
.btn-nav-user:hover { background: var(--ag-secondary); color: white; border-color: var(--ag-secondary); }
.btn-nav-user .material-icons-round { font-size: .95rem !important; }
.btn-nav-login {
  display: inline-flex; align-items: center; gap: 5px;
  background: transparent; color: white;
  padding: 6px 14px; border-radius: 99px;
  font-size: .85rem; font-weight: 600; text-decoration: none;
  border: 1px solid rgba(255,255,255,0.4);
  transition: var(--ag-transition);
}
.btn-nav-login:hover { background: rgba(255,255,255,0.1); color: white; }
.btn-nav-login .material-icons-round { font-size: .95rem !important; }
.btn-nav-register {
  display: inline-flex; align-items: center;
  background: var(--ag-secondary); color: white;
  padding: 6px 16px; border-radius: 99px;
  font-size: .85rem; font-weight: 700; text-decoration: none;
  transition: var(--ag-transition);
}
.btn-nav-register:hover { background: #a87a20; color: white; transform: translateY(-1px); }

/* ══ SEARCH BAR IN NAVBAR ══════════════════════════════════ */
.navbar-search { margin: 0 8px; }
.navbar-search-wrap {
  display: flex; border-radius: 99px; overflow: hidden;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  transition: var(--ag-transition);
}
.navbar-search-wrap:focus-within {
  background: rgba(255,255,255,.2);
  border-color: var(--ag-secondary);
}
.navbar-search-input {
  background: transparent; border: none; outline: none;
  color: white; padding: 6px 14px;
  font-family: var(--font-fa); font-size: .82rem;
  width: 160px; transition: width .3s;
}
.navbar-search-input::placeholder { color: rgba(255,255,255,.5); }
.navbar-search-input:focus { width: 220px; }
.navbar-search-btn {
  background: transparent; border: none; color: rgba(255,255,255,.8);
  padding: 6px 10px; cursor: pointer; display: flex; align-items: center;
  transition: color .2s;
}
.navbar-search-btn:hover { color: var(--ag-secondary); }
.navbar-search-btn .material-icons-round { font-size: 1rem !important; }

@media (max-width: 992px) {
  .navbar-search { display: none; }
}

/* ══ NEWSLETTER BAR ════════════════════════════════════════ */
.newsletter-bar {
  background: linear-gradient(135deg, #0D1B2A 0%, #1B3A6B 100%);
  padding: 36px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.newsletter-bar h5 {
  color: white; font-weight: 800; font-size: 1.1rem; margin-bottom: 6px;
}
.newsletter-bar p { color: rgba(255,255,255,.6); font-size: .85rem; margin: 0; }
.newsletter-form { }
.nl-input-wrap {
  display: flex; gap: 8px; flex-wrap: wrap;
}
.nl-input {
  flex: 1; min-width: 160px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  color: white; padding: 11px 16px;
  border-radius: 10px;
  font-family: var(--font-fa); font-size: .88rem;
  outline: none; transition: border-color .2s;
}
.nl-input::placeholder { color: rgba(255,255,255,.4); }
.nl-input:focus { border-color: var(--ag-secondary); }
.nl-btn {
  background: var(--ag-secondary); color: white;
  border: none; padding: 11px 28px; border-radius: 10px;
  font-family: var(--font-fa); font-weight: 700; font-size: .88rem;
  cursor: pointer; transition: var(--ag-transition); white-space: nowrap;
}
.nl-btn:hover { background: #a87a20; transform: translateY(-1px); }
.nl-success {
  color: #6ee7b7; font-size: .85rem; margin-top: 10px;
  display: flex; align-items: center; gap: 6px;
}

/* ══ TENDER CARDS ═══════════════════════════════════════════ */
.tender-card {
  background: white;
  border-radius: var(--ag-radius-lg);
  box-shadow: var(--ag-shadow);
  overflow: hidden;
  transition: var(--ag-transition);
  height: 100%;
  display: flex; flex-direction: column;
  border: 1.5px solid transparent;
}
.tender-card:hover { transform: translateY(-4px); box-shadow: var(--ag-shadow-lg); border-color: var(--ag-secondary); }
.tender-card.tender-closed { opacity: .75; }
.tender-card-head { padding: 22px 22px 14px; flex: 1; }
.tender-card-head h5 { font-weight: 800; color: var(--ag-primary); margin: 12px 0 8px; font-size: 1rem; line-height: 1.5; }
.tender-card-head p { color: var(--ag-text-light); font-size: .85rem; line-height: 1.7; margin: 0; }
.tender-card-meta {
  padding: 12px 22px;
  background: var(--ag-light-bg);
  display: flex; gap: 20px; flex-wrap: wrap;
}
.meta-item { display: flex; align-items: center; gap: 5px; font-size: .8rem; color: var(--ag-text-light); }
.meta-item .material-icons-round { font-size: .9rem !important; color: var(--ag-secondary); }
.tender-card-footer {
  padding: 14px 22px;
  display: flex; gap: 8px; flex-wrap: wrap;
  border-top: 1px solid var(--ag-border);
}
.btn-tender-detail {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 8px 14px; border-radius: 8px;
  background: var(--ag-light-bg); color: var(--ag-primary);
  text-decoration: none; font-size: .82rem; font-weight: 600;
  transition: var(--ag-transition);
}
.btn-tender-detail:hover { background: var(--ag-primary); color: white; }
.btn-tender-apply {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 8px 16px; border-radius: 8px;
  background: var(--ag-primary); color: white;
  text-decoration: none; font-size: .82rem; font-weight: 700;
  transition: var(--ag-transition);
}
.btn-tender-apply:hover { background: var(--ag-secondary); color: white; transform: translateY(-1px); }
.btn-tender-doc {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 8px 12px; border-radius: 8px;
  background: #f0fdf4; color: #16a34a;
  text-decoration: none; font-size: .82rem; font-weight: 600;
  border: 1px solid #bbf7d0;
  transition: var(--ag-transition);
}
.btn-tender-doc:hover { background: #16a34a; color: white; }
.btn-tender-detail .material-icons-round,
.btn-tender-apply .material-icons-round,
.btn-tender-doc .material-icons-round { font-size: .9rem !important; }

/* ══ TENDER MATERIAL LIST ═══════════════════════════════════ */
.tmd-list {
  display: flex; flex-direction: column; gap: 0;
  background: white; border-radius: var(--ag-radius-lg);
  box-shadow: var(--ag-shadow); overflow: hidden;
}
.tmd-item {
  display: flex; align-items: center; gap: 20px;
  padding: 22px 24px;
  border-bottom: 1px solid var(--ag-border);
  transition: background .15s;
}
.tmd-item:last-child { border-bottom: none; }
.tmd-item:hover { background: #f8fafc; }
.tmd-item.tmd-closed { opacity: .65; }

/* Icon */
.tmd-icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; flex-shrink: 0;
}
.tmd-icon.type-tender { background: #dbeafe; }
.tmd-icon.type-auction { background: #fef3c7; }

/* Body */
.tmd-body { flex: 1; min-width: 0; }
.tmd-tags { display: flex; gap: 6px; margin-bottom: 6px; }
.tmd-chip {
  display: inline-block; font-size: .7rem; font-weight: 700;
  padding: 3px 10px; border-radius: 99px;
}
.tmd-chip.chip-tender  { background: #dbeafe; color: #1e40af; }
.tmd-chip.chip-auction { background: #fef3c7; color: #92400e; }
.tmd-chip.chip-open    { background: #d1fae5; color: #065f46; }
.tmd-chip.chip-closed  { background: #f3f4f6; color: #6b7280; }
.tmd-title {
  font-weight: 700; color: var(--ag-primary);
  font-size: .95rem; margin: 0 0 5px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.tmd-desc {
  color: var(--ag-text-light); font-size: .82rem;
  margin: 0 0 8px; line-height: 1.6;
}
.tmd-meta {
  display: flex; gap: 16px; flex-wrap: wrap;
  font-size: .78rem; color: var(--ag-text-light);
}
.tmd-meta span { display: flex; align-items: center; gap: 3px; }
.tmd-meta .material-icons-round { font-size: .85rem !important; color: var(--ag-secondary); }

/* Actions */
.tmd-actions {
  display: flex; align-items: center; gap: 8px; flex-shrink: 0;
}
.tmd-btn-primary {
  display: inline-flex; align-items: center; gap: 5px;
  background: var(--ag-primary); color: white;
  padding: 9px 18px; border-radius: 10px;
  font-size: .82rem; font-weight: 700; text-decoration: none;
  transition: var(--ag-transition); white-space: nowrap;
  box-shadow: 0 2px 8px rgba(27,58,107,.25);
}
.tmd-btn-primary:hover { background: var(--ag-secondary); color: white; transform: translateY(-1px); }
.tmd-btn-secondary {
  display: inline-flex; align-items: center; gap: 4px;
  background: var(--ag-light-bg); color: var(--ag-primary);
  padding: 9px 14px; border-radius: 10px;
  font-size: .82rem; font-weight: 600; text-decoration: none;
  border: 1.5px solid var(--ag-border); transition: var(--ag-transition);
  white-space: nowrap;
}
.tmd-btn-secondary:hover { border-color: var(--ag-primary); background: white; }
.tmd-btn-doc {
  width: 38px; height: 38px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  background: #f0fdf4; color: #16a34a;
  border: 1.5px solid #bbf7d0; text-decoration: none;
  transition: var(--ag-transition); flex-shrink: 0;
}
.tmd-btn-doc:hover { background: #16a34a; color: white; }
.tmd-btn-primary .material-icons-round,
.tmd-btn-secondary .material-icons-round,
.tmd-btn-doc .material-icons-round { font-size: .88rem !important; }

@media (max-width: 768px) {
  .tmd-item { flex-direction: column; align-items: flex-start; }
  .tmd-actions { flex-wrap: wrap; }
  .tmd-title { white-space: normal; }
}

/* ══ TENDER CARDS - CLEAN MATERIAL ══════════════════════════ */
.tndr-card {
  background: white;
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(27,58,107,0.08);
  overflow: hidden;
  transition: box-shadow .25s, transform .25s;
  border: 1.5px solid var(--ag-border);
}
.tndr-card:hover {
  box-shadow: 0 8px 32px rgba(27,58,107,0.14);
  transform: translateY(-3px);
}
.tndr-card.tndr-closed { opacity: .7; }
.tndr-main { padding: 28px 28px 20px; }

/* Header */
.tndr-header {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 16px; margin-bottom: 12px;
}
.tndr-title {
  font-size: 1.1rem; font-weight: 800;
  color: var(--ag-primary); margin: 0; line-height: 1.4;
}
.tndr-type-badge {
  display: inline-block; font-size: .75rem; font-weight: 700;
  padding: 5px 14px; border-radius: 99px; flex-shrink: 0;
  margin-top: 2px;
}
.tndr-type-badge.type-tender  { background: #dbeafe; color: #1d4ed8; }
.tndr-type-badge.type-auction { background: #fef3c7; color: #b45309; }

/* Description */
.tndr-desc {
  color: var(--ag-text-light); font-size: .9rem;
  line-height: 1.8; margin: 0 0 16px;
}

/* Meta */
.tndr-meta {
  display: flex; gap: 24px; flex-wrap: wrap;
  font-size: .82rem; color: var(--ag-text-light);
}
.tndr-meta span { display: flex; align-items: center; gap: 5px; }
.tndr-meta .material-icons-round { font-size: .9rem !important; color: var(--ag-secondary); }
.tndr-meta strong { color: var(--ag-text); }

/* Footer */
.tndr-footer {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 28px;
  background: #fafbfc;
  border-top: 1px solid var(--ag-border);
  flex-wrap: wrap; gap: 12px;
}
.tndr-status {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: .8rem; font-weight: 700;
  padding: 6px 14px; border-radius: 99px;
}
.tndr-status.status-open   { background: #d1fae5; color: #065f46; }
.tndr-status.status-closed { background: #f3f4f6; color: #6b7280; }
.tndr-status.status-open::before   { content:''; width:7px; height:7px; border-radius:50%; background:#10B981; display:inline-block; }
.tndr-status.status-closed::before { content:''; width:7px; height:7px; border-radius:50%; background:#9CA3AF; display:inline-block; }

.tndr-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.tndr-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 18px; border-radius: 10px;
  font-size: .83rem; font-weight: 600;
  text-decoration: none; transition: var(--ag-transition);
  white-space: nowrap;
}
.tndr-btn .material-icons-round { font-size: .9rem !important; }
.tndr-btn-primary {
  background: var(--ag-primary); color: white;
  box-shadow: 0 2px 8px rgba(27,58,107,.2);
}
.tndr-btn-primary:hover { background: var(--ag-secondary); color: white; transform: translateY(-1px); }
.tndr-btn-outline {
  background: white; color: var(--ag-primary);
  border: 1.5px solid var(--ag-border);
}
.tndr-btn-outline:hover { border-color: var(--ag-primary); background: #f0f5ff; color: var(--ag-primary); }
.tndr-btn-doc {
  background: #f0fdf4; color: #16a34a;
  border: 1.5px solid #bbf7d0;
}
.tndr-btn-doc:hover { background: #16a34a; color: white; }

@media (max-width:768px) {
  .tndr-header { flex-direction: column-reverse; }
  .tndr-footer { flex-direction: column; align-items: flex-start; }
  .tndr-main { padding: 20px; }
  .tndr-footer { padding: 14px 20px; }
}

/* ══ PROJECT TIMELINE ════════════════════════════════════════ */
.proj-timeline { position: relative; padding-right: 32px; }
.proj-timeline::before {
  content: ''; position: absolute;
  right: 10px; top: 0; bottom: 0; width: 2px;
  background: linear-gradient(to bottom, var(--ag-secondary), var(--ag-primary));
}
.ptl-item {
  position: relative; padding-bottom: 28px;
  display: flex; gap: 20px; align-items: flex-start;
}
.ptl-item:last-child { padding-bottom: 0; }
.ptl-dot {
  position: absolute; right: -38px;
  font-size: 1.1rem; width: 26px; text-align: center;
  margin-top: 2px;
}
.ptl-content {
  background: white; border-radius: 12px; padding: 16px 20px;
  box-shadow: 0 2px 12px rgba(27,58,107,.08);
  border: 1.5px solid #E2E8F0; flex: 1;
  transition: border-color .2s;
}
.ptl-item.status-in_progress .ptl-content { border-color: #C8962A; }
.ptl-item.status-planned .ptl-content { opacity: .75; }
.ptl-date { font-size: .75rem; color: #C8962A; font-weight: 700; margin-bottom: 4px; }
.ptl-content h6 { font-weight: 700; color: #1B3A6B; margin: 0 0 5px; }
.ptl-content p  { color: #718096; font-size: .85rem; margin: 0; line-height: 1.7; }

/* ── Lazy Loading Transition ── */
img[loading="lazy"] { opacity: 0; transition: opacity .4s ease; }
img.img-loaded, img[loading="lazy"][src] { opacity: 1; }

/* ══ ZIGZAG TIMELINE ══════════════════════════════════════════ */
.zz-timeline {
  position: relative;
  padding: 20px 0 40px;
  max-width: 900px;
  margin: 0 auto;
}
/* Center vertical line */
.zz-line {
  position: absolute;
  right: 50%; top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, #C8962A, #1B3A6B, #C8962A);
  border-radius: 99px;
  transform: translateX(50%);
}

/* Each item */
.zz-item {
  display: flex;
  align-items: center;
  margin-bottom: 56px;
  position: relative;
  gap: 0;
}
.zz-item:last-child { margin-bottom: 0; }

/* Year circle - always in center */
.zz-year {
  position: absolute;
  right: 50%;
  transform: translateX(50%);
  width: 80px; height: 80px;
  border-radius: 50%;
  background: white;
  border: 3px solid #C8962A;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  z-index: 3;
  box-shadow: 0 4px 16px rgba(200,150,42,.25);
  text-align: center;
  flex-shrink: 0;
}
.zz-year span { font-weight: 800; font-size: .95rem; color: #1B3A6B; line-height: 1; }
.zz-year small { font-size: .6rem; color: #718096; margin-top: 2px; }

/* Content box */
.zz-content {
  width: calc(50% - 60px);
  background: white;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 20px rgba(27,58,107,.10);
  border: 1.5px solid #E2E8F0;
  position: relative;
  transition: box-shadow .3s, transform .3s;
}
.zz-content:hover {
  box-shadow: 0 8px 32px rgba(27,58,107,.16);
  transform: translateY(-3px);
}

/* Left items: content on left, empty on right */
.zz-left .zz-content {
  margin-right: auto;
  margin-left: calc(50% + 60px);
}
.zz-left .zz-content::after {
  content: '';
  position: absolute;
  left: -12px; top: 50%;
  transform: translateY(-50%);
  width: 0; height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-right: 12px solid white;
  filter: drop-shadow(-2px 0 1px rgba(0,0,0,.08));
}

/* Right items: content on right, empty on left */
.zz-right .zz-content {
  margin-left: auto;
  margin-right: calc(50% + 60px);
}
.zz-right .zz-content::after {
  content: '';
  position: absolute;
  right: -12px; top: 50%;
  transform: translateY(-50%);
  width: 0; height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 12px solid white;
  filter: drop-shadow(2px 0 1px rgba(0,0,0,.08));
}

/* Status border */
.zz-content.status-done        { border-right: 4px solid #10B981; }
.zz-content.status-in_progress { border-right: 4px solid #C8962A; }
.zz-content.status-planned     { border-right: 4px solid #9CA3AF; opacity: .85; }
.zz-right .zz-content.status-done        { border-right: 1.5px solid #E2E8F0; border-left: 4px solid #10B981; }
.zz-right .zz-content.status-in_progress { border-right: 1.5px solid #E2E8F0; border-left: 4px solid #C8962A; }
.zz-right .zz-content.status-planned     { border-right: 1.5px solid #E2E8F0; border-left: 4px solid #9CA3AF; opacity:.85; }

.zz-content h5 { font-weight: 800; color: #1B3A6B; font-size: 1rem; margin: 0 0 8px; }
.zz-content p  { color: #718096; font-size: .87rem; line-height: 1.7; margin: 0 0 12px; }
.zz-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.zz-tag { font-size: .72rem; font-weight: 700; padding: 3px 10px; border-radius: 99px; }
.zz-tag.done     { background: #D1FAE5; color: #065F46; }
.zz-tag.progress { background: #FEF3C7; color: #92400E; }
.zz-tag.planned  { background: #F3F4F6; color: #6B7280; }

/* Mobile */
@media (max-width: 768px) {
  .zz-line { right: 20px; transform: none; }
  .zz-item { flex-direction: column; align-items: flex-start; padding-right: 50px; }
  .zz-left .zz-content,
  .zz-right .zz-content {
    width: 100%; margin: 0;
  }
  .zz-year {
    right: 0; transform: none;
    width: 52px; height: 52px;
    position: absolute; top: 0;
  }
  .zz-year span { font-size: .8rem; }
  .zz-left .zz-content::after,
  .zz-right .zz-content::after { display: none; }
}

/* ══ SEARCH POPUP ════════════════════════════════════════ */
.navbar-search-icon-btn {
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2);
  color: white; width: 38px; height: 38px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all .2s; margin: 0 6px;
}
.navbar-search-icon-btn:hover { background: rgba(255,255,255,.25); }
.navbar-search-icon-btn .material-icons-round { font-size: 1.1rem !important; }

.search-overlay {
  position: fixed; inset: 0; z-index: 10000;
  background: rgba(13,27,42,.85); backdrop-filter: blur(4px);
  display: none; align-items: flex-start; justify-content: center;
  padding-top: 120px;
}
.search-overlay.open { display: flex; }
.search-overlay-box { width: 100%; max-width: 640px; padding: 0 20px; }
.search-overlay-wrap {
  display: flex; background: white; border-radius: 14px;
  overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,.4);
}
.search-overlay-input {
  flex: 1; padding: 18px 20px; border: none; outline: none;
  font-family: var(--font-fa); font-size: 1rem; color: #1B3A6B;
}
.search-overlay-btn {
  background: #1B3A6B; color: white; border: none;
  padding: 0 22px; cursor: pointer; transition: background .2s;
}
.search-overlay-btn:hover { background: #C8962A; }
.search-overlay-btn .material-icons-round { font-size: 1.2rem !important; }
.search-overlay-close {
  background: #f0f4f8; color: #718096; border: none;
  padding: 0 16px; cursor: pointer; font-size: 1rem;
}
.search-overlay-close:hover { background: #e2e8f0; color: #1B3A6B; }

/* ══ FOOTER MAP ══════════════════════════════════════════ */
.footer-map-section {
  padding: 0;
  background: #0D1B2A;
}
.footer-map-wrap {
  display: grid; grid-template-columns: 1fr 360px;
  min-height: 220px;
}
.footer-map-wrap iframe { display: block; width: 100%; height: 100%; min-height: 220px; }
.footer-map-info {
  padding: 28px 32px;
  display: flex; flex-direction: column; justify-content: center; gap: 14px;
}
.footer-map-info h6 { color: white; font-weight: 800; font-size: 1rem; margin: 0; }
.footer-contact-item {
  display: flex; align-items: center; gap: 10px;
  font-size: .85rem; color: rgba(255,255,255,.7);
}
.footer-contact-item .material-icons-round { color: #C8962A; font-size: 1rem !important; }
.footer-contact-item a { color: rgba(255,255,255,.7); text-decoration: none; }
.footer-contact-item a:hover { color: #C8962A; }
@media (max-width: 768px) {
  .footer-map-wrap { grid-template-columns: 1fr; }
}

/* ══ SOCIAL ICONS IN FOOTER ═════════════════════════════ */
.footer-social { display: flex; gap: 10px; margin-top: 8px; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.7); text-decoration: none; font-size: .8rem;
  transition: all .2s;
}
.footer-social a:hover { background: #C8962A; border-color: #C8962A; color: white; }

/* ══ SOCIAL FOOTER ICONS ════════════════════════════════ */
.footer-social { display: flex; gap: 8px; flex-wrap: wrap; }
.fs-soc {
  width: 36px; height: 36px; border-radius: 8px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.7); text-decoration: none;
  font-size: .72rem; font-weight: 800; letter-spacing: .5px;
  transition: all .2s; text-transform: uppercase;
}
.fs-soc:hover { background: #C8962A; border-color: #C8962A; color: white; transform: translateY(-2px); }

/* ══ FIX ENGLISH NAVBAR ════════════════════════════════ */
[lang="en"] .navbar-nav { flex-direction: row !important; }
[lang="en"] .navbar-collapse { direction: ltr !important; }
[lang="en"] .navbar-nav .nav-link { direction: ltr; }

/* ══ SERVICES CARDS ════════════════════════════════════ */
.service-card {
  background: white; border-radius: 16px; padding: 28px 22px;
  text-align: center; box-shadow: 0 2px 16px rgba(27,58,107,.08);
  border: 1.5px solid #E2E8F0; transition: all .3s; height: 100%;
}
.service-card:hover { transform: translateY(-6px); box-shadow: 0 8px 32px rgba(27,58,107,.14); border-color: #C8962A; }
.service-icon { font-size: 2.5rem; margin-bottom: 14px; }
.service-card h5 { font-weight: 800; color: #1B3A6B; font-size: .95rem; margin-bottom: 8px; }
.service-card p  { color: #718096; font-size: .83rem; line-height: 1.7; margin: 0; }

/* ══ TEAM CARDS ════════════════════════════════════════ */
.team-card {
  background: white; border-radius: 16px; padding: 24px 16px;
  text-align: center; box-shadow: 0 2px 16px rgba(27,58,107,.08);
  border: 1.5px solid #E2E8F0; transition: all .3s;
}
.team-card:hover { transform: translateY(-4px); box-shadow: 0 8px 32px rgba(27,58,107,.14); }
.team-card img {
  width: 90px; height: 90px; border-radius: 50%; object-fit: cover;
  border: 3px solid #C8962A; margin-bottom: 14px;
}
.team-avatar-placeholder {
  width: 90px; height: 90px; border-radius: 50%;
  background: #f0f5ff; border: 3px solid #C8962A;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px;
}
.team-avatar-placeholder .material-icons-round { font-size: 2.5rem !important; color: #C8962A; }
.team-card h6 { font-weight: 800; color: #1B3A6B; font-size: .9rem; margin-bottom: 4px; }
.team-card span { font-size: .78rem; color: #718096; display: block; }
.team-linkedin {
  display: inline-block; margin-top: 8px; font-size: .72rem;
  color: #1B3A6B; text-decoration: none; font-weight: 700;
  padding: 3px 10px; border: 1px solid #C8962A; border-radius: 99px;
}
.team-linkedin:hover { background: #C8962A; color: white; }

/* ══ AWARD CARDS ════════════════════════════════════════ */
.award-card {
  background: white; border-radius: 16px; padding: 28px 22px;
  text-align: center; box-shadow: 0 2px 16px rgba(27,58,107,.08);
  border: 1.5px solid #E2E8F0; transition: all .3s;
}
.award-card:hover { transform: translateY(-4px); border-color: #C8962A; }
.award-icon { font-size: 2.8rem; margin-bottom: 14px; }
.award-img { width: 100%; height: 160px; object-fit: cover; border-radius: 10px; margin-bottom: 14px; }
.award-card h6 { font-weight: 800; color: #1B3A6B; font-size: .9rem; margin-bottom: 6px; }
.award-issuer { font-size: .78rem; color: #718096; display: block; margin-bottom: 6px; }
.award-year { display: inline-block; background: #fef3c7; color: #92400e; font-size: .72rem; font-weight: 800; padding: 3px 10px; border-radius: 99px; }



/* ══ FOOTER SOCIAL ICONS ════════════════════════════════ */
.footer-social a {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  display: inline-flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.75); text-decoration: none;
  font-size: .75rem; font-weight: 700;
  transition: all .2s; margin-left: 6px;
}
.footer-social a:hover { background: #C8962A; border-color: #C8962A; color: white; }

/* ══ TEAM CARDS ════════════════════════════════════════ */
.team-card {
  background: white; border-radius: 16px; overflow: hidden;
  box-shadow: 0 4px 20px rgba(27,58,107,.10);
  text-align: center; transition: transform .3s, box-shadow .3s;
  border: 1.5px solid #E2E8F0;
}
.team-card:hover { transform: translateY(-6px); box-shadow: 0 12px 36px rgba(27,58,107,.16); }
.team-photo { width: 100%; height: 220px; object-fit: cover; object-position: top; }
.team-avatar-placeholder {
  width: 100%; height: 220px;
  background: linear-gradient(135deg, #1B3A6B, #2d5a9b);
  display: flex; align-items: center; justify-content: center;
}
.team-avatar-placeholder .material-icons-round { font-size: 4rem !important; color: rgba(255,255,255,.2); }
.team-body { padding: 20px; }
.team-name { font-weight: 800; color: #1B3A6B; font-size: 1rem; margin-bottom: 4px; }
.team-role { color: #C8962A; font-size: .82rem; font-weight: 600; margin-bottom: 10px; }
.team-bio  { color: #718096; font-size: .8rem; line-height: 1.6; }
.team-linkedin { display: inline-flex; align-items: center; gap: 5px; color: #1B3A6B; font-size: .78rem; font-weight: 600; text-decoration: none; margin-top: 10px; }
.team-linkedin:hover { color: #C8962A; }

/* ══ SERVICE CARDS ═══════════════════════════════════════ */
.service-card {
  background: white; border-radius: 16px; padding: 28px 24px;
  box-shadow: 0 4px 20px rgba(27,58,107,.08);
  border: 1.5px solid #E2E8F0; text-align: center;
  transition: all .3s; height: 100%;
}
.service-card:hover { transform: translateY(-4px); border-color: #C8962A; box-shadow: 0 8px 32px rgba(200,150,42,.15); }
.service-icon { font-size: 2.5rem; margin-bottom: 14px; }
.service-card h5 { font-weight: 800; color: #1B3A6B; font-size: .95rem; margin-bottom: 8px; }
.service-card p  { color: #718096; font-size: .83rem; line-height: 1.7; margin: 0; }

/* ══ AWARD CARDS ════════════════════════════════════════ */
.award-card {
  background: white; border-radius: 14px; padding: 20px;
  box-shadow: 0 2px 14px rgba(27,58,107,.08);
  border: 1.5px solid #E2E8F0; text-align: center;
  transition: transform .3s;
}
.award-card:hover { transform: translateY(-3px); }
.award-icon { font-size: 2rem; margin-bottom: 10px; }
.award-img { width: 60px; height: 60px; object-fit: contain; margin-bottom: 10px; border-radius: 8px; }
.award-card h6 { font-weight: 700; color: #1B3A6B; font-size: .88rem; margin-bottom: 4px; }
.award-issuer { display: block; font-size: .75rem; color: #718096; margin-bottom: 4px; }
.award-year { display: inline-block; background: #FEF3C7; color: #92400E; font-size: .7rem; font-weight: 700; padding: 2px 8px; border-radius: 99px; }


/* ══ FOOTER MAP + CONTACT ════════════════════════════════ */
.footer-map-section { background: #0D1B2A; }
.fmc-wrap { display: grid; grid-template-columns: 1fr 300px; }
.fmc-map  { min-height: 240px; }
.fmc-info {
  padding: 24px 28px;
  display: flex; flex-direction: column; gap: 12px;
  background: #0D1B2A;
}
.fmc-info h6 { color: white; font-weight: 800; font-size: .95rem; margin: 0; }
.fci-row {
  display: flex; align-items: flex-start; gap: 8px;
  font-size: .82rem; color: rgba(255,255,255,.7);
}
.fci-row .material-icons-round { color: #C8962A; font-size: .95rem !important; margin-top: 1px; flex-shrink: 0; }
.fci-row a { color: rgba(255,255,255,.7); text-decoration: none; }
.fci-row a:hover { color: #C8962A; }
.fci-qr { display: flex; align-items: center; gap: 10px; margin-top: 4px; }
.fci-qr img { border-radius: 8px; width: 70px; height: 70px; }
.fci-qr span { font-size: .72rem; color: rgba(255,255,255,.5); }
@media (max-width: 768px) {
  .fmc-wrap { grid-template-columns: 1fr; }
  .fmc-map iframe { min-height: 200px; }
}

/* ══ SOCIAL MEDIA BUTTONS ═══════════════════════════════ */
.soc-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%;
  text-decoration: none; transition: all .25s;
  flex-shrink: 0;
}
.soc-btn svg { width: 18px; height: 18px; }
.soc-instagram { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%); color: white; }
.soc-instagram:hover { transform: scale(1.15); box-shadow: 0 4px 12px rgba(214,36,159,.4); }
.soc-linkedin   { background: #0A66C2; color: white; }
.soc-linkedin:hover { background: #004182; transform: scale(1.15); }
.soc-telegram   { background: #2AABEE; color: white; }
.soc-telegram:hover { background: #1a97da; transform: scale(1.15); }
.soc-youtube    { background: #FF0000; color: white; }
.soc-youtube:hover { background: #cc0000; transform: scale(1.15); }
.soc-twitter    { background: #000; color: white; }
.soc-twitter:hover { background: #333; transform: scale(1.15); }

/* Footer social row */
.footer-social { display: flex; gap: 8px; flex-wrap: wrap; }


/* Social single row */
.footer-social { display: flex !important; flex-direction: row !important; flex-wrap: nowrap !important; gap: 8px !important; align-items: center; }
.footer-social a.soc-btn { margin: 0 !important; }

/* ══ IRAN MAP LINK & VISIBILITY ══════════════════════════ */
.iran-map-link {
  display: block; position: relative;
  border-radius: 16px; overflow: hidden;
  transition: transform .3s;
}
.iran-map-link:hover { transform: scale(1.02); }
.iran-map {
  filter: brightness(0) invert(1) opacity(0.85);  /* white map on dark bg */
  max-width: 100%; height: auto; display: block; margin: 0 auto;
  transition: filter .3s;
}
.iran-map-link:hover .iran-map { filter: brightness(0) invert(1) opacity(1); }
.iran-map-overlay {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px; background: rgba(27,58,107,.4);
  opacity: 0; transition: opacity .3s;
  color: white; font-weight: 700;
}
.iran-map-link:hover .iran-map-overlay { opacity: 1; }
.iran-map-overlay .material-icons-round { font-size: 2.5rem !important; color: #C8962A; }

/* Direction arrow */
.dir-arrow { display: inline-block; }

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE ENHANCEMENTS — موبایل و تبلت
   ═══════════════════════════════════════════════════════════ */

/* Mobile navbar: stack vertically, no overflow scroll */
@media (max-width: 991px) {
  #mainNav .navbar-collapse { overflow-x: visible !important; }
  .navbar-nav { flex-direction: column !important; flex-wrap: wrap !important; width: 100%; }
  .navbar-nav .nav-link { font-size: .95rem !important; padding: 10px 12px !important; }
  .navbar-search-icon-btn { margin: 8px 0; }
}

/* Tablet */
@media (max-width: 991px) {
  .proj-hero-title, .article-box h1 { font-size: 1.4rem !important; }
  .section-title { font-size: 1.5rem !important; }
  .fmc-wrap { grid-template-columns: 1fr !important; }
}

/* Mobile phones */
@media (max-width: 576px) {
  .section-title { font-size: 1.25rem !important; }
  .section-padding { padding: 40px 0 !important; }
  .proj-hero-body { padding: 20px !important; }
  .proj-hero-stats { flex-direction: column; gap: 12px; }
  .proj-hero-stat { border: none !important; padding: 0 !important; border-bottom: 1px solid rgba(255,255,255,.1) !important; padding-bottom: 8px !important; }
  .article-box { padding: 18px 16px !important; }
  .footer-social { justify-content: center; }
  .hero-section { min-height: 60vh; }
  .stat-value, .proj-stat-v { font-size: 1.4rem !important; }
  /* Stack columns */
  .row > [class*="col-"] { margin-bottom: 0; }
  /* Tables scroll horizontally */
  table { display: block; overflow-x: auto; white-space: nowrap; }
  /* Buttons full-width on tiny screens */
  .btn-primary-custom, .btn-cta { width: 100%; justify-content: center; }
}

/* Touch targets - min 44px for accessibility */
@media (max-width: 768px) {
  .nav-link, .btn, .footer-links a, .soc-btn { min-height: 40px; display: flex; align-items: center; }
  .footer-links a { min-height: auto; }
}

/* Images never overflow */
img { max-width: 100%; height: auto; }

/* Prevent horizontal scroll on whole page */
html, body { overflow-x: hidden; }

/* Footer QR */
.footer-qr { margin-top: 16px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.footer-qr img { border-radius: 10px; border: 2px solid rgba(255,255,255,.15); }
.footer-qr span { font-size: .72rem; color: rgba(255,255,255,.5); }

/* ══ LIVE SEARCH SUGGESTIONS ════════════════════════════ */
.search-suggest {
  display: none;
  background: white;
  border-radius: 14px;
  margin-top: 10px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,.3);
  max-height: 400px;
  overflow-y: auto;
}
.search-suggest.show { display: block; }
.ss-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 18px;
  text-decoration: none;
  border-bottom: 1px solid #F0F4F8;
  transition: background .15s;
}
.ss-item:last-child { border-bottom: none; }
.ss-item:hover { background: #F8FAFC; }
.ss-icon {
  font-size: 1.1rem !important;
  color: #C8962A;
  flex-shrink: 0;
}
.ss-text {
  flex: 1;
  color: #1B3A6B;
  font-weight: 600;
  font-size: .9rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ss-type {
  font-size: .72rem;
  color: #718096;
  background: #F0F4F8;
  padding: 3px 10px;
  border-radius: 99px;
  flex-shrink: 0;
}
.ss-empty {
  padding: 20px;
  text-align: center;
  color: #9CA3AF;
  font-size: .88rem;
}

/* ══ GALLERY ALBUM CARDS ════════════════════════════════ */
.album-card {
  display: block; text-decoration: none;
  background: white; border-radius: 16px; overflow: hidden;
  box-shadow: 0 4px 20px rgba(27,58,107,.10);
  border: 1.5px solid #E2E8F0;
  transition: transform .3s, box-shadow .3s;
}
.album-card:hover { transform: translateY(-6px); box-shadow: 0 14px 40px rgba(27,58,107,.18); }
.album-card-img { position: relative; height: 220px; overflow: hidden; }
.album-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.album-card:hover .album-card-img img { transform: scale(1.08); }
.album-card-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, #1B3A6B, #2d5a9b);
  display: flex; align-items: center; justify-content: center;
}
.album-card-placeholder .material-icons-round { font-size: 3rem !important; color: rgba(255,255,255,.25); }
.album-card-overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(13,27,42,.85));
  padding: 30px 16px 12px; display: flex; align-items: center; gap: 8px;
  color: white;
}
.album-card-overlay .material-icons-round { font-size: 1.1rem !important; color: #C8962A; }
.album-count { font-size: .82rem; font-weight: 600; }
.album-card-body { padding: 18px 20px; }
.album-card-body h5 { font-weight: 800; color: #1B3A6B; font-size: 1rem; margin: 0 0 8px; }
.album-card-link {
  display: inline-flex; align-items: center; gap: 4px;
  color: #C8962A; font-size: .82rem; font-weight: 700;
}
.album-card-link .material-icons-round { font-size: 1rem !important; }

/* ══ LIGHTBOX ═══════════════════════════════════════════ */
.lightbox {
  display: none; position: fixed; inset: 0; z-index: 10001;
  background: rgba(0,0,0,.92); align-items: center; justify-content: center;
  flex-direction: column; cursor: zoom-out;
}
.lightbox.show { display: flex; }
.lightbox img { max-width: 90%; max-height: 82vh; border-radius: 8px; box-shadow: 0 0 40px rgba(0,0,0,.5); }
.lightbox-close { position: absolute; top: 24px; right: 32px; color: white; font-size: 2.5rem; cursor: pointer; line-height: 1; }
.lightbox-caption { color: white; margin-top: 16px; font-size: .95rem; }
