/* Master Engineering & Layout Styling for DIR Argentina */
:root {
  --dir-dark: #070c18;
  --dir-surface: #111a2e;
  --dir-surface-hover: #182542;
  --dir-blue: #0284c7;
  --dir-cyan: #38bdf8;
  --dir-orange: #f59e0b;
  --dir-text: #94a3b8;
  --dir-light: #cbd5e1;
  --dir-border: rgba(56, 189, 248, 0.22);
}

body {
  background-color: var(--dir-dark) !important;
  color: var(--dir-text);
  font-family: 'DM Sans', sans-serif;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  color: #ffffff;
  font-weight: 700;
}

/* Hardened High-Contrast Fixed Navbar */
.navbar {
  background: rgba(7, 12, 24, 0.98) !important;
  backdrop-filter: blur(14px);
  border-bottom: 2px solid rgba(56, 189, 248, 0.3) !important;
  padding: 10px 0 !important;
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  z-index: 99999 !important;
  box-shadow: 0 8px 30px rgba(0,0,0,0.7);
}

.navbar-brand img {
  height: 44px;
  width: auto;
  display: block;
}

.navbar-nav .nav-link {
  color: #e2e8f0 !important;
  font-size: 14px;
  font-weight: 600;
  padding: 8px 14px !important;
  border-radius: 8px;
  transition: all 0.2s ease;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: #070c18 !important;
  background: #38bdf8 !important;
  font-weight: 700;
}

.nav-cta-btn {
  background: #0284c7 !important;
  color: #ffffff !important;
  border-radius: 20px;
  font-weight: 700 !important;
  padding: 8px 18px !important;
  border: 1px solid #38bdf8 !important;
  transition: background 0.2s ease;
}
.nav-cta-btn:hover {
  background: #0369a1 !important;
  color: #ffffff !important;
}

/* Mobile Nav Collapse (< 992px) */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background: #0f172a;
    border-radius: 12px;
    padding: 20px;
    margin-top: 15px;
    border: 1px solid rgba(56, 189, 248, 0.3);
    box-shadow: 0 15px 35px rgba(0,0,0,0.8);
  }
}

/* Internal Banner with Adequate Spacing */
.internal-hero-dir {
  background: linear-gradient(135deg, #070c18 0%, #111a2e 60%, #0369a1 100%);
  padding: 140px 0 65px !important;
  border-bottom: 2px solid rgba(56, 189, 248, 0.3);
  text-align: center;
}
.internal-hero-dir h1 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 12px;
}
.internal-hero-dir p {
  color: #cbd5e1;
  font-size: 16px;
  max-width: 740px;
  margin: 0 auto;
}

/* Industrial Card */
.dir-card {
  background: var(--dir-surface);
  border: 1px solid var(--dir-border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.dir-card:hover {
  transform: translateY(-5px);
  border-color: #38bdf8;
  box-shadow: 0 16px 36px rgba(56, 189, 248, 0.15);
}

.dir-card-img-wrap {
  width: 100%;
  height: 220px;
  overflow: hidden;
  position: relative;
  background: #090e1a;
}
.dir-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.dir-card:hover .dir-card-img-wrap img {
  transform: scale(1.05);
}

.dir-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.dir-badge-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(7, 12, 24, 0.9);
  backdrop-filter: blur(6px);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.4);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

/* Director Portrait Card */
.director-portrait-img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #38bdf8;
  box-shadow: 0 8px 20px rgba(0,0,0,0.5);
  margin: 0 auto 16px;
  display: block;
}

/* Footer */
footer.dir-footer {
  background: #04070e;
  border-top: 1px solid #1a253c;
  padding: 70px 0 35px;
  color: #94a3b8;
}
footer.dir-footer h5 {
  color: #ffffff;
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 20px;
}
footer.dir-footer a {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.2s;
}
footer.dir-footer a:hover {
  color: #38bdf8;
}
