/* ========================================
   Global Styles & Utilities
   ======================================== */

:root {
  /* Colors - InfraTalent Identity (Based on Blue & Navy) */
  --blue-primary: #0A2342;
  /* Dark Navy Blue (Professional & Trust) */
  --blue-bright: #0066CC;
  /* Bright Blue (Action & Highlight) */
  --blue-soft: #E6F0FA;
  /* Light Blue Background */
  --text-main: #333333;
  --text-light: #1A1A1A;
  --white: #ffffff;
  --bg-color: #FAFAFA;
  --gradient-overlay: linear-gradient(135deg, rgba(10, 35, 66, 0.95), rgba(0, 102, 204, 0.8));
  --gray-100: #f8f9fa;
  --gray-200: #e9ecef;
  --navy-dark: #051A30;
}

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-family: 'Inter', sans-serif;
  /* Clean, modern sans-serif */
  scroll-behavior: smooth;
  font-size: 16px;
  color: var(--text-main);
  background-color: var(--bg-color);
}

body {
  line-height: 1.6;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ========================================
   Typography
   ======================================== */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  color: var(--blue-primary);
  line-height: 1.3;
}

p {
  margin-bottom: 1rem;
}

/* ========================================
   Layout Utilities
   ======================================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-subtitle {
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--blue-bright);
  margin-bottom: 10px;
}

.section-header h2 {
  font-size: 2.5rem;
  color: var(--navy-dark);
  font-weight: 700;
}

/* ========================================
   Buttons
   ======================================== */
.btn {
  display: inline-block;
  padding: 14px 32px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  text-align: center;
}

.btn-primary {
  background-color: var(--blue-bright);
  color: white;
  box-shadow: 0 4px 12px rgba(0, 102, 204, 0.2);
}

.btn-primary:hover {
  background-color: #0052a3;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 102, 204, 0.3);
}

.btn-light {
  background-color: white;
  color: var(--blue-bright);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.btn-light:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

/* ========================================
   Top Bar
   ======================================== */
.top-bar {
  background-color: var(--navy-dark);
  color: white;
  padding: 6px 0;
  font-size: 0.85rem;
}

.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-contact {
  display: flex;
  gap: 25px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.9);
}

.contact-item:hover {
  color: var(--blue-bright);
}

.top-social a {
  color: rgba(255, 255, 255, 0.9);
}

.top-social a:hover {
  color: var(--blue-bright);
}

/* ========================================
   Header / Navigation
   ======================================== */
.header {
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(30px) saturate(180%);
  -webkit-backdrop-filter: blur(30px) saturate(180%);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
}

.logo img {
  height: 40px;
  width: auto;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.nav-links {
  display: flex;
  gap: 30px;
  align-items: center;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy-dark);
  transition: all 0.3s ease;
  text-shadow: 0 1px 3px rgba(255, 255, 255, 0.8);
}

.nav-links a:hover {
  color: var(--blue-bright);
  text-shadow: 0 2px 4px rgba(255, 255, 255, 1);
}

.btn-candidatos {
  background-color: var(--blue-soft) !important;
  color: var(--blue-bright) !important;
  padding: 10px 20px !important;
  border-radius: 8px !important;
  font-weight: 700 !important;
  text-shadow: none !important;
  transition: all 0.3s ease !important;
}

.btn-candidatos:hover {
  background-color: var(--blue-bright) !important;
  color: white !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
}

.mobile-menu-toggle span {
  width: 25px;
  height: 3px;
  background-color: var(--navy-dark);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 280px;
  height: 100vh;
  background-color: white;
  box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
  z-index: 2000;
  transition: right 0.3s ease;
  padding: 25px;
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.mobile-logo {
  height: 30px;
}

.mobile-menu-close {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--navy-dark);
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.mobile-nav-links a {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-main);
  padding: 10px 0;
  border-bottom: 1px solid var(--gray-200);
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
  background: white;
  color: var(--navy-dark);
  padding: 160px 0 100px;
  margin-top: -60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('hero-bg.jpg') center center/cover no-repeat;
  z-index: 0;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.7) 30%, rgba(255, 255, 255, 0) 100%);
  z-index: 0;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero-subtitle {
  display: inline-block;
  background-color: var(--blue-soft);
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
  color: var(--blue-bright);
}

.hero-title {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 25px;
  color: var(--navy-dark) !important;
}

.hero-description {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-light);
  margin-bottom: 15px;
}

.hero-description strong {
  color: var(--blue-bright);
  font-weight: 700;
}

.hero-actions {
  margin-top: 35px;
}

/* ========================================
   About Section
   ======================================== */
.about {
  background-color: white;
}

.about-content {
  max-width: 900px;
  margin: 0 auto;
}

.about-content .lead {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--navy-dark);
  margin-bottom: 20px;
  text-align: center;
}

.about-content p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-light);
  margin-bottom: 18px;
  text-align: center;
}

.highlight-box {
  background-color: var(--blue-soft);
  border-left: 4px solid var(--blue-bright);
  padding: 30px;
  border-radius: 8px;
  margin-top: 40px;
  text-align: left;
}

.highlight-box h3 {
  color: var(--navy-dark);
  font-size: 1.4rem;
  margin-bottom: 12px;
}

.highlight-box p {
  color: var(--text-main);
  font-size: 1.05rem;
}

.about-grid,
.scope-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image img,
.scope-image img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* ========================================
   Scope Section
   ======================================== */
.scope {
  background-color: var(--bg-color);
}

.scope-content-full {
  max-width: 900px;
  margin: 0 auto;
}

.scope-content-full .lead {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--navy-dark);
  margin-bottom: 20px;
  text-align: center;
}

.scope-content-full p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-light);
  margin-bottom: 18px;
  text-align: center;
}

/* ========================================
   Solutions Section
   ======================================== */
.solutions {
  background-color: white;
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.solution-card {
  background-color: white;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #EAEAEA;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.solution-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 102, 204, 0.15);
}

.card-header {
  background-color: white;
  padding: 30px 25px;
  text-align: center;
}

.solution-icon {
  width: 80px;
  height: 80px;
  background-color: var(--blue-soft);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin: 0 auto 15px;
}

.card-header h3 {
  color: var(--navy-dark);
  font-size: 1.2rem;
  font-weight: 700;
}

.card-body {
  padding: 25px;
}

.card-body p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ========================================
   Positions Section
   ======================================== */
.positions {
  background: linear-gradient(135deg, rgba(10, 35, 66, 0.85) 0%, rgba(26, 58, 95, 0.85) 100%),
    url('positions-bg.png') center center/cover no-repeat;
  position: relative;
  overflow: hidden;
}

.positions::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(255, 255, 255, .02) 35px, rgba(255, 255, 255, .02) 70px);
  pointer-events: none;
}

.positions .section-header {
  position: relative;
  z-index: 1;
}

.positions .section-subtitle {
  color: rgba(255, 255, 255, 0.8);
}

.positions .section-header h2 {
  color: white;
}

.positions-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.position-card-new {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  padding: 30px 25px;
  transition: all 0.3s ease;
}

.position-card-new:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-5px);
}

.position-card-new h3 {
  color: white;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.position-card-new ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.position-card-new li {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  line-height: 1.8;
  padding-left: 20px;
  position: relative;
  margin-bottom: 10px;
}

.position-card-new li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  background-color: rgba(255, 255, 255, 0.6);
  border-radius: 50%;
}

/* ========================================
   Process Section
   ======================================== */
.process {
  background-color: white;
}


.process-steps {
  /* Removed - using timeline now */
  display: none;
}

.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 20px 0;
}

/* Vertical Line */
.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 28px;
  /* Half of marker width (56/2) */
  width: 2px;
  background-color: #E0E0E0;
  z-index: 0;
}

.timeline-item {
  position: relative;
  margin-bottom: 30px;
  display: flex;
  align-items: flex-start;
  z-index: 1;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-marker {
  width: 56px;
  height: 56px;
  background-color: white;
  border: 2px solid var(--blue-bright);
  border-radius: 50%;
  color: var(--blue-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-right: 30px;
  z-index: 2;
  /* Above the line */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.timeline-content {
  background-color: white;
  border: 1px solid #EAEAEA;
  border-radius: 12px;
  padding: 25px 30px;
  flex-grow: 1;
  transition: all 0.3s ease;
  position: relative;
}

.timeline-content h3 {
  color: var(--navy-dark);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.timeline-content p {
  color: var(--text-light);
  line-height: 1.6;
  font-size: 1rem;
  margin: 0;
}

/* Hover Effect */
.timeline-item:hover .timeline-content {
  border-color: var(--blue-bright);
  box-shadow: 0 5px 15px rgba(0, 102, 204, 0.1);
  transform: translateX(5px);
}

.timeline-item:hover .timeline-marker {
  background-color: var(--blue-bright);
  color: white;
  transform: scale(1.1);
  transition: all 0.3s ease;
}

/* Hide old styles */
.process-step,
.step-number {
  display: none;
}


/* ========================================
   Partnership Section
   ======================================== */
.partnership {
  background-color: var(--blue-soft);
}

.partnership-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.partnership-content .lead {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--navy-dark);
  margin-bottom: 18px;
}

.partnership-content p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-light);
}

/* ========================================
   Differentials Section
   ======================================== */
.differentials {
  background-color: white;
}

.differentials-intro {
  max-width: 800px;
  margin: 0 auto 40px;
  text-align: center;
}

.differentials-intro .lead {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--navy-dark);
  margin-bottom: 15px;
}

.differentials-intro p {
  font-size: 1.05rem;
  color: var(--text-light);
  margin-bottom: 10px;
}

.differentials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.differential-card {
  background-color: white;
  padding: 30px 25px;
  border-radius: 12px;
  border: 1px solid #EAEAEA;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.differential-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 102, 204, 0.15);
}

.differential-icon {
  width: 70px;
  height: 70px;
  background-color: var(--blue-soft);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 20px;
}

.differential-card h3 {
  font-size: 1.15rem;
  color: var(--navy-dark);
  margin-bottom: 10px;
  font-weight: 700;
}

.differential-card p {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.6;
}

.differentials-conclusion {
  max-width: 700px;
  margin: 50px auto 0;
  text-align: center;
}

.highlight-text {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--blue-bright);
  line-height: 1.6;
}

/* ========================================
   CTA Section
   ======================================== */
.cta {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--blue-primary) 100%);
  color: white;
  text-align: center;
  padding: 80px 0;
}

.cta-content h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: white;
}

.cta-content p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.95);
}

/* ========================================
   Footer
   ======================================== */
.footer {
  background-color: var(--navy-dark);
  color: white;
  padding: 60px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-section h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: white;
}

.footer-section p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  font-size: 0.95rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.3s ease;
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--blue-bright);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-contact li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
}

.footer-social {
  margin-top: 15px;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background-color: var(--blue-bright);
  transform: translateY(-2px);
}

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  margin: 0;
}

@media (max-width: 768px) {
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    justify-content: center;
  }
}

/* ========================================
   Form & Inputs (Premium Style)
   ======================================== */
.form-group {
  margin-bottom: 24px;
}

.form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--navy-dark);
  font-size: 0.95rem;
}

.form-input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #E0E0E0;
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  color: var(--text-main);
  background-color: #F8F9FA;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.form-input:hover {
  background-color: #FFF;
  border-color: #BDBDBD;
}

.form-input:focus {
  outline: none;
  background-color: #FFF;
  border-color: var(--blue-bright);
  box-shadow: 0 0 0 4px rgba(0, 102, 204, 0.1);
}

.form-input::placeholder {
  color: #BBB;
  font-weight: 400;
}

/* Fix for Select dropdowns */
select.form-input {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23555' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  cursor: pointer;
}

/* ========================================
   Responsive Design
   ======================================== */

/* Notebook & Tablet Landscape (max-width: 1024px) */
@media (max-width: 1024px) {
  .nav-links {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .positions-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .timeline::before {
    left: 20px;
  }

  .timeline-marker {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
    margin-right: 20px;
  }
}

/* Tablet Portrait (max-width: 768px) */
@media (max-width: 768px) {
  .section {
    padding: 60px 0;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  /* Hero Adjustments */
  .hero {
    padding: 120px 0 60px;
    /* Reduced top padding slightly */
    margin-top: -60px;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .hero-description {
    font-size: 1rem;
  }

  /* Grids to Single Column */
  .positions-cards,
  .differentials-grid,
  .footer-content {
    grid-template-columns: 1fr;
  }

  /* Solutions specific: Keep 2 columns on tablet */
  .solutions-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .positions-cards {
    gap: 20px;
  }

  /* Timeline Mobile */
  .timeline::before {
    left: 15px;
  }

  .timeline-marker {
    width: 30px;
    height: 30px;
    font-size: 1rem;
    margin-right: 15px;
    border-width: 2px;
  }

  .timeline-content {
    padding: 20px;
  }

  .top-contact {
    flex-direction: column;
    gap: 8px;
  }
}

/* Mobile Devices (max-width: 600px) - Stack About/Scope here instead */
@media (max-width: 600px) {

  .about-grid,
  .scope-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-image {
    order: -1;
  }
}

/* Mobile Devices (max-width: 480px) */
@media (max-width: 480px) {
  .hero-title {
    font-size: 1.8rem;
  }

  .section-header h2 {
    font-size: 1.6rem;
  }

  .btn {
    padding: 12px 24px;
    font-size: 0.95rem;
    width: 100%;
    margin-bottom: 10px;
  }

  .cta-content h2 {
    font-size: 1.8rem;
  }

  .timeline-content h3 {
    font-size: 1.1rem;
  }

  .timeline-content p {
    font-size: 0.9rem;
  }
}