/* ==========================================================================
   COMINCO OLTENIA SA - ELEGANT STYLING SYSTEM
   ========================================================================== */

:root {
  /* Color Palette */
  --primary: #0A2540;         /* Deep Navy */
  --primary-light: #163B66;   /* Lighter Navy */
  --accent: #E5A93C;          /* Construction Amber Gold */
  --accent-hover: #D4982B;    /* Dark Gold */
  --accent-glow: rgba(229, 169, 60, 0.3);
  --secondary: #046BD2;       /* Corporate Blue */
  --dark-bg: #071527;
  --surface: #FFFFFF;
  --surface-alt: #F4F7FA;
  --surface-glass: rgba(255, 255, 255, 0.85);
  --text-dark: #1E293B;
  --text-muted: #64748B;
  --text-light: #F8FAFC;
  --border-color: #E2E8F0;

  /* Typography */
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Montserrat', sans-serif;

  /* Elevation / Shadows */
  --shadow-sm: 0 2px 4px rgba(10, 37, 64, 0.05);
  --shadow-md: 0 8px 16px rgba(10, 37, 64, 0.08);
  --shadow-lg: 0 16px 32px rgba(10, 37, 64, 0.12);
  --shadow-glow: 0 0 25px rgba(229, 169, 60, 0.25);

  /* Transitions */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
}

/* Reset & Base Styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-main);
  background-color: var(--surface);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--primary);
  line-height: 1.2;
}

a {
  color: var(--secondary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--accent);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}



/* Container */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ==========================================================================
   TOP BAR & NAVIGATION
   ========================================================================== */
.top-bar {
  background-color: var(--dark-bg);
  color: var(--text-light);
  font-size: 0.875rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.top-contact, .top-info {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.top-contact-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #CBD5E1;
}

.top-contact-item i {
  color: var(--accent);
}

.top-contact-item a {
  color: #CBD5E1;
}
.top-contact-item a:hover {
  color: var(--accent);
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Language Selector */
.lang-selector {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  background: rgba(255, 255, 255, 0.08);
  padding: 0.25rem 0.5rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.lang-btn {
  background: transparent;
  border: none;
  color: var(--text-light);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.25rem 0.65rem;
  border-radius: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  transition: var(--transition);
}

.lang-btn:hover, .lang-btn.active {
  background: var(--accent);
  color: var(--primary);
}

.flag-icon {
  font-size: 1rem;
  line-height: 1;
}

/* Header */
.main-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--surface-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.main-header.scrolled {
  box-shadow: var(--shadow-md);
  background-color: rgba(255, 255, 255, 0.96);
}

.header-container, .header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo-brand, .brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.logo-img, .brand-logo img {
  height: 52px;
  max-height: 52px;
  width: auto;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.5px;
  line-height: 1.1;
}

.brand-tagline {
  font-size: 0.725rem;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* Desktop Nav */
.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 0.2rem;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.6rem 0.85rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--primary);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.nav-link:hover, .nav-item.active > .nav-link {
  color: var(--secondary);
  background-color: rgba(4, 107, 210, 0.06);
}

.nav-link i {
  font-size: 0.75rem;
  transition: transform 0.2s ease;
}

.nav-item:hover > .nav-link i {
  transform: rotate(180deg);
}

/* Dropdown Menu */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: var(--surface);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 0.5rem 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  border: 1px solid var(--border-color);
  z-index: 100;
}

.nav-item:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-dark);
  transition: var(--transition);
}

.dropdown-item a:hover {
  background-color: var(--surface-alt);
  color: var(--secondary);
  padding-left: 1.5rem;
}

.dropdown-item a i {
  color: var(--accent);
  font-size: 0.85rem;
}

/* Header Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-align: center;
}

.btn-accent {
  background-color: var(--accent);
  color: var(--primary);
  box-shadow: 0 4px 12px rgba(229, 169, 60, 0.3);
}

.btn-accent:hover {
  background-color: var(--accent-hover);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(229, 169, 60, 0.4);
}

.btn-primary {
  background-color: var(--primary);
  color: var(--surface);
}

.btn-primary:hover {
  background-color: var(--primary-light);
  color: var(--surface);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}

.btn-outline:hover {
  background-color: var(--primary);
  color: var(--surface);
}

.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  font-size: 1.5rem;
  color: var(--primary);
  cursor: pointer;
}

/* ==========================================================================
   HERO CAROUSEL / SLIDER
   ========================================================================== */
.hero-slider {
  position: relative;
  width: 100%;
  height: 82vh;
  min-height: 560px;
  max-height: 780px;
  overflow: hidden;
  background-color: var(--dark-bg);
}

.slider-container {
  width: 100%;
  height: 100%;
  position: relative;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s ease-in-out, visibility 1s ease-in-out;
}

.slide.active {
  opacity: 1;
  visibility: visible;
}

.slide-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  transition: transform 7s ease-out;
}

.slide.active .slide-bg {
  transform: scale(1);
}

.slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(7, 21, 39, 0.88) 0%, rgba(7, 21, 39, 0.45) 60%, rgba(7, 21, 39, 0.75) 100%);
}

.slide-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 760px;
  color: var(--surface);
}

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(229, 169, 60, 0.2);
  border: 1px solid var(--accent);
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.35rem 1rem;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
  width: fit-content;
  margin-bottom: 1.25rem;
  animation: fadeInDown 0.8s ease forwards;
}

.slide-title {
  font-size: 3.2rem;
  font-weight: 800;
  color: var(--surface);
  margin-bottom: 1.25rem;
  line-height: 1.15;
  animation: fadeInUp 0.8s ease 0.2s forwards;
}

.slide-desc {
  font-size: 1.15rem;
  color: #CBD5E1;
  margin-bottom: 2rem;
  animation: fadeInUp 0.8s ease 0.4s forwards;
}

.slide-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.6s forwards;
}

/* Slider Controls */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--surface);
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.slider-arrow:hover {
  background: var(--accent);
  color: var(--primary);
}

.slider-arrow.prev { left: 2rem; }
.slider-arrow.next { right: 2rem; }

.slider-dots {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 0.5rem;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: var(--transition);
}

.dot.active {
  width: 32px;
  border-radius: 12px;
  background: var(--accent);
}

/* Keyframes */
@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); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ==========================================================================
   FEATURED COUNTERS / STATS
   ========================================================================== */
.stats-section, .stats-banner {
  background-color: var(--primary);
  color: var(--surface);
  padding: 3rem 0;
  margin-top: -3.5rem;
  position: relative;
  z-index: 20;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  text-align: center;
}

.stat-card {
  padding: 1rem;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-card:last-child {
  border-right: none;
}

.stat-number {
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.5rem;
  font-family: var(--font-heading);
}

.stat-label {
  font-size: 1rem;
  color: #CBD5E1;
  font-weight: 500;
}

/* ==========================================================================
   SECTIONS & CARDS
   ========================================================================== */
.section {
  padding: 5.5rem 0;
}

.section-bg {
  background-color: var(--surface-alt);
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3.5rem auto;
}

.section-subtitle {
  color: var(--accent);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
  display: block;
}

.section-title {
  font-size: 2.35rem;
  margin-bottom: 1rem;
}

.section-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* About Us Section */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-content h3 {
  font-size: 1.85rem;
  margin-bottom: 1.25rem;
}

.about-content p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}

.values-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.value-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  color: var(--primary);
}

.value-item i {
  color: var(--accent);
  font-size: 1.2rem;
  background: rgba(229, 169, 60, 0.15);
  padding: 0.5rem;
  border-radius: 50%;
}

.president-box {
  background: var(--primary);
  color: var(--surface);
  padding: 2.5rem;
  border-radius: var(--radius-md);
  position: relative;
  box-shadow: var(--shadow-lg);
  border-left: 6px solid var(--accent);
}

.president-box h4 {
  color: var(--accent);
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.president-box p {
  color: #E2E8F0;
  font-style: italic;
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}

.pdf-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.15);
  color: var(--surface);
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
}

.pdf-link:hover {
  background: var(--accent);
  color: var(--primary);
}

/* Services / Activity Cards */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
}

.service-card {
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 2.25rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

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

.service-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  background: rgba(4, 107, 210, 0.08);
  color: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: var(--primary);
  color: var(--accent);
}

.service-card h3 {
  font-size: 1.35rem;
  margin-bottom: 1rem;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.975rem;
  line-height: 1.6;
}

/* ISO Certificates Section */
.iso-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.75rem;
}

.iso-card {
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  text-align: center;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  cursor: pointer;
}

.iso-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--secondary);
}

.iso-img-wrapper {
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
  background-color: var(--surface-alt);
}

.iso-img-wrapper img {
  max-height: 100%;
  width: auto;
  object-fit: contain;
  transition: transform 0.4s ease;
}

.iso-card:hover .iso-img-wrapper img {
  transform: scale(1.06);
}

.iso-card h4 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.iso-card span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ==========================================================================
   CONSTRUCTION CALCULATORS
   ========================================================================== */
.calc-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--dark-bg) 100%);
  color: var(--surface);
}

.calc-section .section-title {
  color: var(--surface);
}

.calc-section .section-desc {
  color: #CBD5E1;
}

.calc-wrapper {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  color: var(--text-dark);
  box-shadow: var(--shadow-lg);
}

.calc-tabs {
  display: flex;
  gap: 0.5rem;
  border-bottom: 2px solid var(--border-color);
  margin-bottom: 2rem;
  overflow-x: auto;
}

.calc-tab-btn {
  padding: 0.85rem 1.5rem;
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-muted);
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.calc-tab-btn:hover, .calc-tab-btn.active {
  color: var(--secondary);
  border-bottom-color: var(--secondary);
}

.calc-content {
  display: none;
}

.calc-content.active {
  display: block;
  animation: fadeIn 0.4s ease;
}

.calc-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.5rem;
  align-items: start;
}

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

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  color: var(--primary);
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-family: var(--font-main);
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(4, 107, 210, 0.15);
}

.calc-result-box {
  background: var(--surface-alt);
  border-radius: var(--radius-md);
  padding: 2rem;
  border: 2px dashed var(--secondary);
  text-align: center;
}

.calc-result-box h4 {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.result-value {
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--secondary);
  line-height: 1.1;
  font-family: var(--font-heading);
  margin-bottom: 0.5rem;
}

.result-unit {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ==========================================================================
   PORTFOLIO & PROJECTS
   ========================================================================== */
.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.project-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: var(--surface);
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

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

.project-img {
  height: 240px;
  overflow: hidden;
  position: relative;
}

.project-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-card:hover .project-img img {
  transform: scale(1.08);
}

.project-body {
  padding: 1.75rem;
}

.project-category {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}

.project-body h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.project-body p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Testimonials */
.testimonial-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.testimonial-card {
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 2.25rem;
  border-left: 5px solid var(--accent);
  box-shadow: var(--shadow-md);
}

.quote-icon {
  font-size: 2.5rem;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 1rem;
  opacity: 0.6;
}

.testimonial-text {
  font-size: 1.05rem;
  font-style: italic;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.client-author h4 {
  font-size: 1.1rem;
  margin-bottom: 0.2rem;
}

.client-author p {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* Contact Section */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3.5rem;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}

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

.contact-info-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(4, 107, 210, 0.1);
  color: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.contact-info-text h4 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.contact-info-text p {
  color: var(--text-muted);
}

.contact-form-card {
  background: var(--surface);
  padding: 2.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
}

/* Footer */
.footer {
  background-color: var(--dark-bg);
  color: var(--text-light);
  padding: 4rem 0 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand p {
  color: #94A3B8;
  margin: 1.25rem 0;
  font-size: 0.95rem;
}

.footer-col h4 {
  color: var(--surface);
  font-size: 1.15rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 35px;
  height: 3px;
  background: var(--accent);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: #94A3B8;
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--accent);
  padding-left: 0.25rem;
}

.bottom-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  color: #64748B;
  font-size: 0.875rem;
}

/* Lightbox Modal */
.lightbox-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(7, 21, 39, 0.9);
  z-index: 2000;
  justify-content: center;
  align-items: center;
  padding: 2rem;
}

.lightbox-modal.active {
  display: flex;
  animation: fadeIn 0.3s ease;
}

.lightbox-content {
  max-width: 90%;
  max-height: 90%;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 2rem;
  right: 2.5rem;
  color: var(--surface);
  font-size: 2.5rem;
  cursor: pointer;
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .hero-slider { height: 65vh; }
  .slide-title { font-size: 2.4rem; }
  .about-grid, .calc-grid, .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background: var(--surface);
    flex-direction: column;
    align-items: flex-start;
    padding: 2rem;
    gap: 1rem;
    transition: var(--transition);
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
  }

  .nav-menu.active { left: 0; }
  .mobile-toggle { display: block; }
  .dropdown-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; padding-left: 1rem; }
  .hero-slider { height: 520px; }
  .slide-title { font-size: 1.9rem; }
  .slide-desc { font-size: 0.975rem; }
  .slider-arrow { display: none; }
  .testimonial-grid, .values-list { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .stat-card { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); }
}

/* ==========================================================================
   ORGANIZATION & MANAGEMENT SECTION STYLES
   ========================================================================== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 3.5rem;
}

.team-card {
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  text-align: center;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--secondary);
}

.team-avatar-wrapper {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  margin: 0 auto 1.25rem auto;
  overflow: hidden;
  border: 4px solid var(--surface-alt);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.team-avatar-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.team-card:hover .team-avatar-wrapper img {
  transform: scale(1.1);
}

.team-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.team-role {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--secondary);
  margin-bottom: 0.5rem;
}

.team-tag {
  display: inline-block;
  font-size: 0.775rem;
  background: rgba(229, 169, 60, 0.15);
  color: var(--accent-hover);
  padding: 0.2rem 0.75rem;
  border-radius: 12px;
  font-weight: 700;
}

.org-details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3.5rem;
}

.management-box {
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 2.25rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
}

.management-box h3 {
  font-size: 1.35rem;
  margin-bottom: 1rem;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.management-box h3 i {
  color: var(--accent);
}

.management-box p {
  color: var(--text-muted);
  margin-bottom: 1rem;
  font-size: 0.975rem;
}

.delegation-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.delegation-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-dark);
}

.delegation-list li i {
  color: var(--secondary);
  margin-top: 0.25rem;
}

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

.location-card {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--surface);
  padding: 2rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.location-card h4 {
  color: var(--accent);
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.location-card p {
  color: #E2E8F0;
  font-size: 1rem;
}

@media (max-width: 992px) {
  .mobile-toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 8px;
    background: var(--surface-alt);
    border: 1px solid var(--border-color);
    color: var(--primary);
    font-size: 1.25rem;
    cursor: pointer;
    z-index: 1001;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background: var(--surface);
    flex-direction: column;
    padding: 1.5rem 2rem;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    border-bottom: 3px solid var(--accent);
    gap: 0.5rem;
    z-index: 1000;
  }

  .nav-menu.active {
    display: flex !important;
  }

  .nav-menu .nav-item {
    width: 100%;
  }

  .nav-menu .nav-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    font-size: 1.05rem;
    font-weight: 600;
    border-bottom: 1px solid var(--border-color);
    color: var(--primary);
  }

  .nav-menu .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background: var(--surface-alt);
    padding: 0.5rem 1rem;
    margin-top: 0.25rem;
    border-radius: var(--radius-sm);
    display: none;
  }
}

@media (max-width: 768px) {
  .top-info,
  .top-contact,
  .top-contact-item {
    display: none !important;
  }

  .top-bar {
    padding: 0.35rem 0 !important;
  }

  .top-bar .container {
    justify-content: center !important;
  }

  .top-actions {
    width: 100%;
    justify-content: center !important;
  }

  .org-details-grid, .locations-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   PARTNERS & CLIENTS SECTION STYLES
   ========================================================================== */
.partner-group-title {
  font-size: 1.5rem;
  color: var(--primary);
  margin: 2.5rem 0 1.5rem 0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--accent);
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
}

.partner-card {
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 1.25rem 1rem;
  text-align: center;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

.partner-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--secondary);
}

.partner-logo-wrapper {
  height: 90px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  margin-bottom: 0.75rem;
  background: var(--surface-alt);
  border-radius: var(--radius-sm);
}

.partner-logo-wrapper img {
  max-height: 70px;
  max-width: 85%;
  object-fit: contain;
  transition: var(--transition);
}

.partner-card:hover .partner-logo-wrapper img {
  transform: scale(1.08);
}

.partner-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.25rem;
  line-height: 1.2;
}

.partner-link {
  font-size: 0.825rem;
  color: var(--secondary);
  font-weight: 600;
}

.partner-link:hover {
  color: var(--accent-hover);
  text-decoration: underline;
}

/* ==========================================================================
   BACK TO TOP BUTTON
   ========================================================================== */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--accent);
  color: var(--primary);
  border: none;
  box-shadow: 0 4px 14px rgba(229, 169, 60, 0.4);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.back-to-top.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background-color: var(--accent-hover);
  color: var(--primary);
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 6px 20px rgba(229, 169, 60, 0.6);
}
