/* =============================================
   ANURB - Agence Nationale de l'Urbanisme
   style.css — Global Stylesheet
   =============================================
   LOGO COLOR PALETTE:
   --color-navy:   #1A4F8A   (deep blue — ANURB text & main brand)
   --color-teal:   #1A9E8F   (teal — building icon accent)
   --color-green:  #3AAD6E   (green — building icon accent)
   --color-gold:   #F2C14E   (gold/yellow — diamond accents)
   --color-orange: #E87C2E   (orange — warm accent)
   ============================================= */

/* ---------- RESET & BASE ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Logo-extracted brand colors */
  --color-navy:      #1A4F8A;
  --color-navy-dark: #0F2F52;
  --color-navy-light:#2A6BB5;
  --color-teal:      #1A9E8F;
  --color-teal-dark: #116B61;
  --color-green:     #3AAD6E;
  --color-gold:      #F2C14E;
  --color-gold-dark: #C99B27;
  --color-orange:    #E87C2E;

  /* UI Colors */
  --color-bg:        #F4F7FB;
  --color-surface:   #FFFFFF;
  --color-border:    #D9E4F0;
  --color-text:      #1C2B3A;
  --color-text-muted:#5A7389;
  --color-text-light:#8AAFCC;

  /* Typography */
  /* --font-display: 'Playfair Display', 'Georgia', serif;
  --font-body:    'Source Sans 3', 'Segoe UI', sans-serif;
  --font-arabic:  'Noto Naskh Arabic', 'Arabic Typesetting', serif; */

  /* Spacing */
  --section-padding: 5rem 0;
  --container-max: 1200px;
  --border-radius: 12px;
  --border-radius-sm: 6px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(26,79,138,0.08);
  --shadow-md: 0 6px 24px rgba(26,79,138,0.14);
  --shadow-lg: 0 16px 48px rgba(26,79,138,0.20);

  /* Transitions */
  --transition: 0.3s cubic-bezier(0.4,0,0.2,1);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.7;
  overflow-x: hidden;
}

/* Arabic RTL */
body.lang-ar {
  font-family: var(--font-arabic);
  direction: rtl;
  text-align: right;
}

/* ---------- TYPOGRAPHY ---------- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  line-height: 1.25;
  color: var(--color-navy-dark);
}

body.lang-ar h1, body.lang-ar h2,
body.lang-ar h3, body.lang-ar h4 {
  font-family: var(--font-arabic);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.2rem; }

p { margin-bottom: 1rem; color: var(--color-text-muted); }
a { color: var(--color-navy); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--color-teal); }

/* ---------- UTILITY ---------- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section { padding: var(--section-padding); }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-teal);
  margin-bottom: 0.75rem;
}

.section-label::before,
.section-label::after {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-teal);
}

.section-title {
  margin-bottom: 0.5rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  max-width: 640px;
  margin-bottom: 2.5rem;
}

.text-center { text-align: center; }
.text-center .section-subtitle { margin-left: auto; margin-right: auto; }
.text-center .section-label { justify-content: center; }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  letter-spacing: 0.02em;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-navy), var(--color-navy-light));
  color: #fff;
  box-shadow: 0 4px 16px rgba(26,79,138,0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26,79,138,0.45);
  color: #fff;
}

.btn-secondary {
  background: linear-gradient(135deg, var(--color-teal), var(--color-teal-dark));
  color: #fff;
  box-shadow: 0 4px 16px rgba(26,158,143,0.35);
}
.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26,158,143,0.45);
  color: #fff;
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--color-navy);
  color: var(--color-navy);
}
.btn-outline:hover {
  background: var(--color-navy);
  color: #fff;
}

.btn-gold {
  background: linear-gradient(135deg, var(--color-gold), var(--color-gold-dark));
  color: var(--color-navy-dark);
  box-shadow: 0 4px 16px rgba(242,193,78,0.4);
  /* margin-right:40px; */
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(242,193,78,0.55);
}

/* ---------- NAVBAR ---------- */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  transition: var(--transition);
  padding:0 25px;
}

#navbar.scrolled {
  box-shadow: var(--shadow-md);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-logo img {
  height: 80px;
  width: auto;
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
}

.nav-logo-text .abbr {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-navy);
  line-height: 1;
}

.nav-logo-text .full {
  font-size: 0.62rem;
  color: var(--color-text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}

.nav-links a {
  padding: 0.45rem 0.9rem;
  border-radius: 6px;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--color-text);
  transition: var(--transition);
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--color-navy);
  background: rgba(26,79,138,0.07);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Language toggle */


.lang-dropdown {
  position: relative;
  display: inline-block;
  font-family: inherit;
}

/* Selected button */
.lang-selected {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.7rem;
  border: 1px solid var(--color-border);
  background: white;
  border-radius: 50px;
  cursor: pointer;
  font-weight: 700;
}

/* flag */
.lang-selected img,
.lang-menu button img {
  width: 18px;
  height: 14px;
  object-fit: cover;
  border-radius: 2px;
}

/* arrow */
.lang-selected .arrow {
  width: 6px;
  height: 6px;
  border-right: 2px solid #333;
  border-bottom: 2px solid #333;
  transform: rotate(45deg);
  margin-left: 4px;
}

/* dropdown menu */
.lang-menu {
  position: absolute;
  top: 110%;
  right: 0;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  box-shadow: var(--shadow-md);
  display: none;
  flex-direction: column;
  min-width: 120px;
  overflow: hidden;
  z-index: 1000;
}

/* each item */
.lang-menu button {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.7rem;
  background: none;
  border: none;
  cursor: pointer;
  font-weight: 600;
  text-align: left;
}

.lang-menu button:hover {
  background: var(--color-bg);
}

/* open state */
.lang-dropdown.open .lang-menu {
  display: flex;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-navy);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: 72px; left: 0; right: 0;
  background: #fff;
  border-bottom: 1px solid var(--color-border);
  padding: 1.5rem;
  z-index: 999;
  box-shadow: var(--shadow-lg);
  flex-direction: column;
  gap: 0.5rem;
}

.mobile-nav.open { display: flex; }
.mobile-nav a {
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-weight: 600;
  color: var(--color-text);
  border-bottom: 1px solid var(--color-border);
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:hover { background: var(--color-bg); color: var(--color-navy); }
/* ===== Dropdown Container ===== */
.nav-dropdown {
  position: relative;
}

/* ===== Toggle Link ===== */
.nav-dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ===== Caret ===== */
.nav-caret {
  width: 6px;
  height: 6px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: 0.3s;
}

/* Rotate when open */
.nav-dropdown.open .nav-caret {
  transform: rotate(-135deg);
}

/* ===== Dropdown Menu ===== */
.nav-dropdown-menu {
  position: absolute;
  top: 110%;
  left: 0;
  min-width: 200px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  box-shadow: var(--shadow-md);
  padding: 0.5rem 0;
  display: none;
  z-index: 1000;
}
.nav-dropdown.open .nav-dropdown-menu {
  display: block;
}
/* ===== Dropdown Items ===== */
.nav-dropdown-link {
  display: block;
  padding: 0.6rem 1rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-text);
  transition: var(--transition);

}
.nav-dropdown-menu li{
  list-style: none;
}

.nav-dropdown-link:hover {
  background: var(--color-bg);
  color: var(--color-navy);
}

/* ===== SHOW (hover version) ===== */
.nav-dropdown:hover .nav-dropdown-menu {
  display: block;
}
/* ---------- HERO ---------- */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  /* align-items: center; */
  overflow: hidden;
  /* padding-top: 72px; */
  padding-top:20px
}
.hero-text{
  
    color: #1c2b3a !important;

}
.hero-bg {
  position: absolute;
  inset: 0;
  /* Navy to teal gradient with gold accent — logo colors */
  background: linear-gradient(135deg,
    var(--color-navy-dark) 0%,
    var(--color-navy) 40%,
    var(--color-teal-dark) 80%,
    var(--color-teal) 100%);
}

/* Animated geometric overlay */
.hero-overlay {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-overlay::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 80vw;
  height: 80vw;
  border-radius: 50%;
  background: radial-gradient(circle,
    rgba(242,193,78,0.15) 0%,
    rgba(58,173,110,0.08) 50%,
    transparent 70%);
  animation: pulseOrb 8s ease-in-out infinite;
}

.hero-overlay::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -15%;
  width: 60vw;
  height: 60vw;
  border-radius: 50%;
  background: radial-gradient(circle,
    rgba(26,158,143,0.2) 0%,
    transparent 70%);
  animation: pulseOrb 10s ease-in-out infinite reverse;
}

@keyframes pulseOrb {
  0%, 100% { transform: scale(1) translateY(0); }
  50% { transform: scale(1.08) translateY(-20px); }
}

/* Grid pattern overlay */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  display: grid;
  grid-template-columns:  1fr;
  gap: 4rem;
  /* align-items: center; */
  text-align:center;
}

.hero-text { }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(242,193,78,0.2);
  border: 1px solid rgba(242,193,78,0.4);
  border-radius: 50px;
  padding: 0.4rem 1rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 1.5rem;
}

.hero-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--color-gold);
  border-radius: 50%;
  animation: blink 2s ease-in-out infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero-title {
  color: #fff;
  margin-bottom: 1.25rem;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
}

.hero-title span {
  display: block;
  color: var(--color-gold);
}

.hero-desc {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.80);
  margin-bottom: 2.5rem;
  max-width: 1000px;
  line-height: 1.75;
  text-align:center;
}

.hero-actions {
  /* display: flex; */
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

.hero-stats {
  display: flex;
  gap: 4rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.15);
}

.hero-stat .num {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-gold);
  font-family: var(--font-display);
  line-height: 1;
}

.hero-stat .label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.65);
  margin-top: 0.25rem;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero-logo-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-logo-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.12);
  animation: spinRing 20s linear infinite;
}

.hero-logo-ring.r1 { width: 320px; height: 320px; }
.hero-logo-ring.r2 { width: 420px; height: 420px; animation-direction: reverse; animation-duration: 30s; }
.hero-logo-ring.r3 { width: 520px; height: 520px; animation-duration: 45s; }

/* Dots on ring */
.hero-logo-ring::before,
.hero-logo-ring::after {
  content: '';
  position: absolute;
  width: 8px;
  height: 8px;
  background: var(--color-gold);
  border-radius: 50%;
  top: -4px;
  left: 50%;
  transform: translateX(-50%);
}

.hero-logo-ring::after {
  top: auto;
  bottom: -4px;
  background: var(--color-teal);
}

@keyframes spinRing {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.hero-logo-img {
  width: 220px;
  height: 220px;
  object-fit: contain;
  background: rgba(255,255,255,0.95);
  border-radius: 50%;
  padding: 2rem;
  box-shadow: 0 0 60px rgba(26,79,138,0.5), 0 0 120px rgba(242,193,78,0.15);
  position: relative;
  z-index: 2;
  animation: floatLogo 6s ease-in-out infinite;
}

@keyframes floatLogo {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* Floating data cards */
.hero-float-card {
  position: absolute;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 12px;
  padding: 0.8rem 1.2rem;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  animation: floatCard 5s ease-in-out infinite;
  z-index: 3;
}

.hero-float-card:nth-child(2) { top: 10%; right: -5%; animation-delay: -1.5s; }
.hero-float-card:nth-child(3) { bottom: 15%; left: -8%; animation-delay: -3s; }
.hero-float-card:nth-child(4) { top: 40%; left: -12%; animation-delay: -2s; }

.hero-float-card .icon {
  font-size: 1.2rem;
  margin-right: 0.4rem;
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-8px) rotate(1deg); }
}

/* ---------- SECTION: ABOUT SUMMARY ---------- */
.about-summary {
  background: var(--color-surface);
  padding: var(--section-padding);
}

/* .about-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
} */

.about-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}


.mission-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.mission-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
}

/* Card accent lines — logo colors */
.mission-card:nth-child(1)::before { background: var(--color-navy); }
.mission-card:nth-child(2)::before { background: var(--color-teal); }
.mission-card:nth-child(3)::before { background: var(--color-gold); }
.mission-card:nth-child(4)::before { background: var(--color-teal-dark); }
.mission-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
/* Full width values card */
.values-card {
  grid-column: 1 / -1;
}

.mission-card .card-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.mission-card:nth-child(1) .card-icon { background: rgba(26,79,138,0.1); }
.mission-card:nth-child(2) .card-icon { background: rgba(26,158,143,0.1); }
.mission-card:nth-child(3) .card-icon { background: rgba(242,193,78,0.15); }

.mission-card h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.mission-card p { font-size: 0.9rem; margin: 0; }

/* ---------- SECTION: STATS BANNER ---------- */
.stats-banner {
  background: linear-gradient(135deg, var(--color-navy-dark), var(--color-navy), var(--color-teal-dark));
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}

.stats-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
}

.stats-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-item {}

.stat-item .number {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-gold); /* Gold numbers — logo color */
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-item .stat-label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.70);
  font-weight: 500;
  letter-spacing: 0.05em;
}

.stat-divider {
  width: 1px;
  background: rgba(255,255,255,0.12);
  align-self: stretch;
}

/* ---------- SECTION: FEATURED PROJECTS ---------- */
.projects-section { background: var(--color-bg); }

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.project-card {
  background: var(--color-surface);
  border-radius: var(--border-radius);
  overflow: hidden;
  transition: var(--transition);
  border: 1px solid var(--color-border);
  cursor: pointer;
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.project-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  position: relative;
  overflow: hidden;
}

.project-card-img-placeholder {
  width: 100%;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  position: relative;
  overflow: hidden;
}

/* Project card image backgrounds — logo colors */
.project-card:nth-child(1) .project-card-img-placeholder {
  background: linear-gradient(135deg, var(--color-navy), var(--color-teal));
}
.project-card:nth-child(2) .project-card-img-placeholder {
  background: linear-gradient(135deg, var(--color-teal), var(--color-green));
}
.project-card:nth-child(3) .project-card-img-placeholder {
  background: linear-gradient(135deg, var(--color-navy-dark), var(--color-navy));
}
.project-card:nth-child(4) .project-card-img-placeholder {
  background: linear-gradient(135deg, var(--color-green), var(--color-teal));
}
.project-card:nth-child(5) .project-card-img-placeholder {
  background: linear-gradient(135deg, var(--color-gold-dark), var(--color-orange));
}
.project-card:nth-child(6) .project-card-img-placeholder {
  background: linear-gradient(135deg, var(--color-teal-dark), var(--color-navy));
}

.project-card-body { padding: 1.5rem; }

.project-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-teal);
  background: rgba(26,158,143,0.1);
  border-radius: 4px;
  padding: 0.2rem 0.6rem;
  margin-bottom: 0.75rem;
}

.project-card h3 { font-size: 1rem; margin-bottom: 0.5rem; }
.project-card p { font-size: 0.86rem; margin: 0; }

.project-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--color-border);
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.project-card-footer .location {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.project-card-footer .arrow {
  width: 30px;
  height: 30px;
  background: var(--color-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.project-card:hover .project-card-footer .arrow {
  background: var(--color-navy);
  color: #fff;
}

/* ---------- SECTION: NEWS ---------- */
.news-section { background: var(--color-surface); }

.news-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.news-featured {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 0;
  background: var(--color-bg);
  border-radius: var(--border-radius);
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: var(--transition);
}

.news-featured:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }

.news-featured-img {
  height: 280px;
  background: linear-gradient(135deg, var(--color-navy), var(--color-teal));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: rgba(255,255,255,0.5);
}

.news-featured-body { padding: 2rem; display: flex; flex-direction: column; justify-content: center; }

.news-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  overflow: hidden;
  transition: var(--transition);
}

.news-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }

.news-card-img {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: rgba(255,255,255,0.6);
  overflow: hidden;
}

.news-card:nth-child(2) .news-card-img { background: linear-gradient(135deg, var(--color-teal), var(--color-green)); }
.news-card:nth-child(3) .news-card-img { background: linear-gradient(135deg, var(--color-gold-dark), var(--color-orange)); }

.news-card-body { padding: 1.25rem; }

.news-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.78rem;
  color: var(--color-text-muted);
  margin-bottom: 0.5rem;
}

.news-cat {
  color: var(--color-teal);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.news-card h3,
.news-featured-body h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.news-card p,
.news-featured-body p {
  font-size: 0.88rem;
  margin-bottom: 0.75rem;
}

.read-more {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-navy);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.read-more:hover { color: var(--color-teal); }
.read-more::after { content: '→'; transition: var(--transition); }
.read-more:hover::after { transform: translateX(3px); }

/* ---------- SECTION: TEAM ---------- */
.team-section { background: var(--color-bg); text-align:center


}.filiale{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:20px;
  margin:20px;
}

/* GRID */
.team-grid{
    display:flex;
    flex-wrap:wrap;
    gap:1rem;
}

/* First 5 cards */
.team-card{
    width:calc(20% - 0.8rem);
}

/* Last 4 cards */
.team-card:nth-child(n+6){
    width:calc(25% - 0.75rem);
}
/* CARD */
.team-card{
  background:var(--color-surface);
  border-radius:16px;
  overflow:hidden;
  border:1px solid var(--color-border);
  transition:0.3s ease;
  text-align:center;
  position:relative;
  padding:12px;
}

.team-card:hover{
  transform:translateY(-5px);
  box-shadow:var(--shadow-lg);
}

/* LOGO CONTAINER */
.team-card-photo{
  width:100%;
  height:90px;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  background:#fff;
  /* margin-bottom:5px; */
}

/* LOGO */
.team-card-photo img{
  max-width:90px;
  max-height:65px;
  object-fit:contain;
  transition:0.3s;
}

.team-card:hover .team-card-photo img{
  transform:scale(1.05);
}

/* CONTENT */
.team-card-content{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}

.team-card-content h3{
  font-size:14px;
  margin:0;
  font-weight:700;
  color:var(--color-text);
}

/* SMALL ICON BUTTON */
.visit-btn{
  width:34px;
  height:34px;
  border-radius:50%;
  background:var(--color-primary);
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  transition:0.3s;
  flex-shrink:0;
}

.visit-btn:hover{
  transform:scale(1.1);
  background:var(--color-navy);
}
/* <= 1200px */
@media(max-width:1200px){

    .team-card,
    .team-card:nth-child(n+6){
        width:calc(33.333% - 0.7rem); /* 3 cards */
    }
}
@media(max-width:992px){

    .team-card,
    .team-card:nth-child(n+6){
        width:calc(50% - 0.5rem);
    }
}

@media(max-width:576px){

    .team-card,
    .team-card:nth-child(n+6){
        width:100%;
    }
}
/* MOBILE */
@media(max-width:768px){

  .filiale{
    grid-template-columns:1fr;
  }

  .team-grid{
    grid-template-columns:repeat(auto-fit,minmax(140px,1fr));
  }

  .team-card-photo{
    height:70px;
  }

  .team-card-photo img{
    max-width:70px;
    max-height:50px;
  }

}
.visit-btn{
 background:var(--color-teal);
}
/* ---------- CTA SECTION ---------- */
.cta-section {
  background: linear-gradient(135deg, var(--color-navy-dark) 0%, var(--color-navy) 50%, var(--color-teal-dark) 100%);
  padding: 5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cta-section h2 { color: #fff; margin-bottom: 1rem; }
.cta-section p { color: rgba(255,255,255,0.75); max-width: 560px; margin: 0 auto 2.5rem; font-size: 1.05rem; }

.cta-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  position: relative;
}
.team-card-photo {
  width: 100%;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: #fff;
}

.team-card-photo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
/* ---------- FOOTER ---------- */
footer {
  background: var(--color-navy-dark);
  color: rgba(255,255,255,0.75);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.footer-logo img { height: 50px; filter: brightness(0) invert(1); opacity: 0.9; }
.footer-logo .abbr { color: #fff; font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; }
.footer-logo .full { font-size: 0.6rem; color: rgba(255,255,255,0.55); text-transform: uppercase; letter-spacing: 0.06em; display: block; }

footer p { font-size: 0.875rem; line-height: 1.8; }

.footer-heading {
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  font-family: var(--font-body);
}

.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.6rem; }
.footer-links a { color: rgba(255,255,255,0.65); font-size: 0.875rem; transition: var(--transition); }
.footer-links a:hover { color: var(--color-gold); padding-left: 4px; }

.footer-contact-item {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  font-size: 0.875rem;
  align-items: flex-start;
}

.footer-contact-item .icon {
  color: var(--color-gold);
  font-size: 1rem;
  margin-top: 0.15rem;
  flex-shrink: 0;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  font-size: 0.82rem;
}

.footer-social {
  display: flex;
  gap: 0.6rem;
}

.footer-social a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.65);
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--color-gold);
  color: var(--color-navy-dark);
}

/* ---------- PAGE HEADER (inner pages) ---------- */
.page-hero {
  padding: 8rem 0 4rem;
  background: url('assets/images/news/job.png') center/cover no-repeat;
  position: relative;
  overflow: hidden;
  text-align: center;
}

/* Overlay (color + opacity) */
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(33, 64, 154, 0.6); /* blue with opacity */
  z-index: 1;
}

/* Grid layer on top of overlay */
.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 2;
}

/* Ensure content is above everything */
.page-hero > * {
  position: relative;
  z-index: 3;
}
.page-hero h1 { color: #fff; position: relative; }
.page-hero p { color: rgba(255,255,255,0.75); position: relative; max-width: 600px; margin: 0.75rem auto 0; }

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 1rem;
  position: relative;
}

.breadcrumb a { color: var(--color-gold); }
.breadcrumb span { color: rgba(255,255,255,0.4); }

/* ---------- ABOUT PAGE ---------- */
.about-content { background: var(--color-surface); }

/* .about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
} */

.about-img-block {
  position: relative;
}

.about-img-main {
  width: 100%;
  border-radius: var(--border-radius);
  height: 440px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  background: linear-gradient(135deg, var(--color-navy), var(--color-teal));
  border-radius: var(--border-radius);
  position: relative;
  overflow: hidden;
}

.about-img-badge {
  position: absolute;
  bottom: -24px;
  right: -24px;
  width: 140px;
  height: 140px;
  background: linear-gradient(135deg, var(--color-gold), var(--color-gold-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.about-img-badge .years {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-navy-dark);
  font-family: var(--font-display);
  line-height: 1;
}

.about-img-badge .years-label {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--color-navy-dark);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.about-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2rem;
}

.value-item {
  background: var(--color-bg);
  border-radius: var(--border-radius-sm);
  padding: 1rem;
  border-left: 3px solid;
}


.mission-org-layout{
    display:grid;
    grid-template-columns: 420px 1fr;
    gap:40px;
    margin-top:3rem;
    align-items:start;
}

.missions-column{
    display:flex;
    flex-direction:column;
    gap:20px;
}

.mission-card{
    background:#fff;
    border-radius:18px;
    padding:24px;
    box-shadow:var(--shadow-sm);
    border-top:4px solid var(--color-navy);
    transition:all .3s ease;
}

.mission-card:hover{
    transform:translateY(-5px);
    box-shadow:var(--shadow-md);
}

.mission-card:nth-child(2){
    border-top-color:var(--color-teal);
}

.mission-card:nth-child(3){
    border-top-color:var(--color-gold);
}

.card-icon{
    width:55px;
    height:55px;
    border-radius:14px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:var(--color-bg);
    font-size:24px;
    margin-bottom:15px;
}

.mission-card h3{
    margin-bottom:15px;
}

.mission-card ul{
    padding-left:18px;
}

.mission-card li{
    margin-bottom:8px;
    color:var(--color-text-muted);
}

.organigram-card{
    background:#fff;
    border-radius:18px;
    overflow:hidden;
    box-shadow:var(--shadow-md);
    position:sticky;
    top:100px;
}

.organigram-header{
    padding:20px 25px;
    border-bottom:1px solid var(--color-border);
}

.organigram-header h3{
    margin:0;
    color:var(--color-navy);
}

.organigram-frame{
    width:100%;
    height:900px;
    border:none;
}

.value-item:nth-child(1) { border-color: var(--color-navy); }
.value-item:nth-child(2) { border-color: var(--color-teal); }
.value-item:nth-child(3) { border-color: var(--color-green); }
.value-item:nth-child(4) { border-color: var(--color-gold); }

.value-item h4 { font-size: 0.9rem; margin-bottom: 0.25rem; }
.value-item p { font-size: 0.8rem; margin: 0; }

/* Organigram */
.orgchart-section { background: var(--color-bg); }

.orgchart {
  padding: 2rem 0;
  overflow-x: auto;
}

.org-level {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  position: relative;
  margin-bottom: 2.5rem;
}

.org-node {
  background: var(--color-surface);
  border-radius: var(--border-radius-sm);
  padding: 1rem 1.5rem;
  border: 2px solid;
  text-align: center;
  min-width: 160px;
  position: relative;
  transition: var(--transition);
}

.org-node:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.org-node.level-1 {
  border-color: var(--color-gold);
  background: var(--color-navy-dark);
  color: #fff;
  min-width: 220px;
}

.org-node.level-1 h4 { color: var(--color-gold); }
.org-node.level-1 p { color: rgba(255,255,255,0.7); }

.org-node.level-2 { border-color: var(--color-navy); }
.org-node.level-2 h4 { color: var(--color-navy); }

.org-node.level-3 { border-color: var(--color-teal); }
.org-node.level-3 h4 { color: var(--color-teal); }

.org-node h4 { font-size: 0.85rem; margin-bottom: 0.2rem; }
.org-node p { font-size: 0.75rem; margin: 0; }

.org-connector {
  display: flex;
  justify-content: center;
  margin-bottom: 0;
}

.org-connector-line {
  width: 2px;
  height: 2rem;
  background: var(--color-border);
  margin: 0 auto;
}

.org-connector-h {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  position: relative;
}

.org-connector-h::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 2px;
  background: var(--color-border);
}

/* ---------- PROJECTS PAGE ---------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
  padding: 1.25rem;
  background: var(--color-surface);
  border-radius: var(--border-radius);
  border: 1px solid var(--color-border);
}

.filter-btn {
  padding: 0.45rem 1.1rem;
  border-radius: 50px;
  border: 1px solid var(--color-border);
  background: none;
  color: var(--color-text-muted);
  font-size: 0.83rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--color-navy);
  border-color: var(--color-navy);
  color: #fff;
}

.projects-grid-full {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

/* ---------- NEWS PAGE ---------- */
.news-list { background: var(--color-surface); }

.news-article-card {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 0;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  overflow: hidden;
  margin-bottom: 1.5rem;
  transition: var(--transition);
}

.news-article-card:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-md);
}

.news-article-img {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: rgba(255,255,255,0.6);
}

.news-article-card:nth-child(1) .news-article-img { background: linear-gradient(135deg, var(--color-navy), var(--color-teal)); }
.news-article-card:nth-child(2) .news-article-img { background: linear-gradient(135deg, var(--color-teal), var(--color-green)); }
.news-article-card:nth-child(3) .news-article-img { background: linear-gradient(135deg, var(--color-gold-dark), var(--color-orange)); }
.news-article-card:nth-child(4) .news-article-img { background: linear-gradient(135deg, var(--color-navy-dark), var(--color-navy)); }
.news-article-card:nth-child(5) .news-article-img { background: linear-gradient(135deg, var(--color-green), var(--color-teal)); }

.news-article-body { padding: 1.75rem; display: flex; flex-direction: column; justify-content: center; }
.news-article-body h3 { margin-bottom: 0.75rem; font-size: 1.1rem; }
.news-article-body p { margin-bottom: 1rem; font-size: 0.9rem; }

/* ---------- NEWS DETAILS ---------- */
.article-content { background: var(--color-surface); }

.article-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 3rem;
  align-items: start;
}

.article-body {}

.article-hero-img {
  width: 100%;
  height: 400px;
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  background: linear-gradient(135deg, var(--color-navy), var(--color-teal));
  color: rgba(255,255,255,0.5);
  margin-bottom: 2rem;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.article-meta .author-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.author-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-navy), var(--color-teal));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.9rem;
}

.article-text { font-size: 1rem; line-height: 1.9; }
.article-text h2 { margin: 2rem 0 1rem; font-size: 1.4rem; }
.article-text p { margin-bottom: 1.25rem; color: var(--color-text); }
.article-text blockquote {
  border-left: 4px solid var(--color-teal);
  padding: 1rem 1.5rem;
  background: var(--color-bg);
  margin: 2rem 0;
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: var(--color-text-muted);
}

.share-section {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
}

.share-section h4 { font-size: 0.9rem; margin-bottom: 0.75rem; }
.share-buttons { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.share-btn {
  padding: 0.45rem 1rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.share-btn:hover { transform: translateY(-2px); }
.share-btn.fb { background: #1877F2; color: #fff; }
.share-btn.tw { background: #1DA1F2; color: #fff; }
.share-btn.li { background: #0A66C2; color: #fff; }
.share-btn.cp { background: var(--color-bg); color: var(--color-text); border: 1px solid var(--color-border); }

/* Sidebar */
.article-sidebar {}

.sidebar-widget {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.sidebar-widget h3 {
  font-size: 1rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--color-teal);
  color: var(--color-navy);
}

.related-article {
  display: flex;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--color-border);
  transition: var(--transition);
}

.related-article:last-child { border-bottom: none; }
.related-article:hover { padding-left: 4px; }

.related-thumb {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  background: linear-gradient(135deg, var(--color-navy), var(--color-teal));
}

.related-article h4 { font-size: 0.82rem; line-height: 1.4; color: var(--color-text); margin-bottom: 0.25rem; }
.related-article span { font-size: 0.75rem; color: var(--color-text-muted); }

/* ---------- TENDERS PAGE ---------- */
.tenders-section { background: var(--color-surface); }

.tenders-search {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.search-input {
  flex: 1;
  padding: 0.75rem 1.25rem;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  font-size: 0.9rem;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  transition: var(--transition);
}

.search-input:focus {
  outline: none;
  border-color: var(--color-navy);
  box-shadow: 0 0 0 3px rgba(26,79,138,0.1);
}

.tender-table-wrap { overflow-x: auto; }

.tender-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.tender-table th {
  text-align: left;
  padding: 0.9rem 1rem;
  background: var(--color-navy-dark);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.tender-table th:first-child { border-radius: 8px 0 0 0; }
.tender-table th:last-child { border-radius: 0 8px 0 0; }

.tender-table td {
  padding: 1rem;
  border-bottom: 1px solid var(--color-border);
  vertical-align: middle;
}

.tender-table tr:nth-child(even) td { background: var(--color-bg); }
.tender-table tr:hover td { background: rgba(26,79,138,0.04); }

.tender-status {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.7rem;
  border-radius: 50px;
}

.tender-status.open {
  background: rgba(58,173,110,0.12);
  color: var(--color-green);
}

.tender-status.closed {
  background: rgba(232,124,46,0.12);
  color: var(--color-orange);
}

.tender-status.open::before,
.tender-status.closed::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}

.download-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.9rem;
  background: rgba(26,79,138,0.08);
  color: var(--color-navy);
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  transition: var(--transition);
  border: 1px solid rgba(26,79,138,0.15);
}

.download-btn:hover {
  background: var(--color-navy);
  color: #fff;
}

/* ---------- CONTACT PAGE ---------- */
.contact-section { background: var(--color-surface); }

.contact-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
}

.contact-form-wrap {}

.form-group { margin-bottom: 1.25rem; }

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 0.4rem;
}

.form-control {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  font-size: 0.9rem;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--color-navy);
  box-shadow: 0 0 0 3px rgba(26,79,138,0.1);
}

textarea.form-control { resize: vertical; min-height: 140px; }

.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.contact-info {}

.contact-info-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  padding: 2rem;
  margin-bottom: 1.5rem;
}

.contact-info-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.25rem;
  align-items: flex-start;
}

.contact-info-item:last-child { margin-bottom: 0; }

.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* Contact icons — logo colors */
.contact-icon.navy { background: rgba(26,79,138,0.1); color: var(--color-navy); }
.contact-icon.teal { background: rgba(26,158,143,0.1); color: var(--color-teal); }
.contact-icon.gold { background: rgba(242,193,78,0.15); color: var(--color-gold-dark); }
.contact-icon.green { background: rgba(58,173,110,0.1); color: var(--color-green); }

.contact-info-item h4 { font-size: 0.85rem; margin-bottom: 0.2rem; }
.contact-info-item p { font-size: 0.88rem; margin: 0; }

.map-embed {
  width: 100%;
  height: 260px;
  border-radius: var(--border-radius);
  overflow: hidden;
  border: 1px solid var(--color-border);
  background: var(--color-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.75rem;
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* ---------- ANIMATIONS ---------- */
[data-aos] {
  opacity: 0;
  transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-aos="fade-up"] { transform: translateY(30px); }
[data-aos="fade-in"] { transform: none; }
[data-aos="fade-left"] { transform: translateX(-30px); }
[data-aos="fade-right"] { transform: translateX(30px); }
[data-aos="zoom-in"] { transform: scale(0.9); }

[data-aos].animated {
  opacity: 1;
  transform: none;
}

/* Stagger delays */
[data-delay="100"] { transition-delay: 0.1s; }
[data-delay="200"] { transition-delay: 0.2s; }
[data-delay="300"] { transition-delay: 0.3s; }
[data-delay="400"] { transition-delay: 0.4s; }
[data-delay="500"] { transition-delay: 0.5s; }
[data-delay="600"] { transition-delay: 0.6s; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .hero-content { grid-template-columns: 1fr; text-align: center; }
  .hero-visual { display: none; }
  .hero-stats { justify-content: center; }
  .hero-actions { justify-content: center; }
  .about-cards { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .projects-grid-full { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .article-layout { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .news-featured { grid-column: auto; grid-template-columns: 1fr; }
  .news-featured-img { height: 200px; }
  .news-grid { grid-template-columns: 1fr; }
  .about-layout { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .about-cards { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .projects-grid { grid-template-columns: 1fr; }
  .projects-grid-full { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .filiale{grid-template-columns: 1fr;}
  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
  .news-article-card { grid-template-columns: 1fr; }
  .news-article-img { height: 180px; }
  .form-grid-2 { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: column; align-items: center; gap: 1rem; }
  .stat-divider { display: none; }
}

@media (max-width: 480px) {
  .team-grid { grid-template-columns: 1fr; }
  h1 { font-size: 1.9rem; }
}

/* ---------- SCROLLBAR ---------- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--color-bg); }
::-webkit-scrollbar-thumb { background: var(--color-navy-light); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--color-navy); }

/***********************************************************************************/

/* ===== PARTNERS SECTION ===== */
.partners-section {
  background: linear-gradient(
    135deg,
    var(--color-surface) 0%,
    var(--color-bg) 100%
  );
  position: relative;
  overflow: hidden;
}

/* subtle pattern */
/* .partners-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(26,79,138,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26,79,138,0.03) 1px, transparent 1px);
  background-size: 50px 50px;
} */

/* ===== GRID ===== */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
  align-items: center;
  margin-top: 3rem;
  position: relative;
}

/* ===== CARD ===== */
.partner-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 1.5rem;
  height: 150px;

  display: flex;
  align-items: center;
  justify-content: center;

  transition: var(--transition);
  overflow: hidden;

}

/* image */
.partner-card img {
  max-width: 100%;
  max-height: 150px;
  object-fit: contain;
  transition: var(--transition);
}

/* hover effect */
.partner-card:hover {
  transform: translateY(-5px) scale(1.03);
  box-shadow: var(--shadow-md);
  filter: grayscale(0%) opacity(1);
  border-color: var(--color-navy);
}

/* glow effect */
.partner-card:hover img {
  transform: scale(1.05);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
  .partners-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 768px) {
  .partners-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }

  .partner-card {
    height: 80px;
    padding: 1rem;
  }
}

@media (max-width: 480px) {
  .partners-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ===== MATERIALS SECTION ===== */
.materials-section {
  background: var(--color-surface);
  position: relative;
}
.material_content{
   display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 3rem;
}
/* GRID */
.materials-grid {
  display: flex;
  flex-direction: column;
  gap: 4rem;
  margin-top: 3rem;
}

/* CARD */
.material-card {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 3rem;
}

/* reverse layout */
.material-card.reverse {
  grid-template-columns: 1fr 1.1fr;
}

.material-card.reverse .material-img {
  order: 2;
}

/* IMAGE */
.material-img {
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  max-height: 250px;
}

.material-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

/* overlay gradient */
.material-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(26,79,138,0.15),
    rgba(26,158,143,0.15)
  );
}

/* hover effect */
.material-card:hover img {
  transform: scale(1.05);
}

/* CONTENT */
.material-content {
  position: relative;
}

.material-content h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  position: relative;
}

/* underline accent */
.material-content h3::after {
  content: '';
  width: 50px;
  height: 3px;
  background: var(--color-gold);
  display: block;
  margin-top: 8px;
}

/* text */
.material-content p {
  font-size: 0.95rem;
  line-height: 1.8;
}

/* subtle card effect */
.material-content {
  background: var(--color-bg);
  padding: 2rem;
  border-radius: var(--border-radius);
  border: 1px solid var(--color-border);
  transition: var(--transition);
}

.material-card:hover .material-content {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
  .material-card,
  .material-card.reverse {
    grid-template-columns: 1fr;
  }
  .material_content{
    grid-template-columns: 1fr;
  }

  .material-card.reverse .material-img {
    order: 0;
  }
}


.leaflet-tile {
  image-rendering: auto;
  border: none !important;
}
/* =========================
   ANURB MARKER STYLE
========================= */
.anurb-marker {
  position: relative;
  font-size: 34px;
  text-align: center;
}

/* glow pulse */
.anurb-marker::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 70px;
  height: 70px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: rgba(255, 0, 110, 0.4);
  animation: pulse 1.8s infinite;
  z-index: -1;
}

@keyframes pulse {
  0% { transform: translate(-50%, -50%) scale(0.6); opacity: 0.8; }
  70% { transform: translate(-50%, -50%) scale(1.4); opacity: 0; }
  100% { opacity: 0; }
}

/* arrow */
.anurb-arrow {
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 18px;
}