/* ========================================
   InfraTalent - Modern Premium Design
   ======================================== */

:root {
  /* Premium Palette */
  --navy-dark: #0A192F;
  /* Deep, rich navy for footer/text */
  --navy-primary: #003366;
  /* Trustworthy corporate blue */
  --blue-bright: #0077CC;
  /* Vibrant accent for call-to-actions */
  --blue-soft: #E6F2FF;
  /* Very light blue for backgrounds */

  /* Neutrals */
  --white: #ffffff;
  --gray-50: #F9FAFB;
  --gray-100: #F3F4F6;
  --gray-200: #E5E7EB;
  --text-main: #374151;
  /* Dark gray for readability */
  --text-light: #6B7280;

  /* UI Elements */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --radius-md: 8px;
  --radius-lg: 16px;

  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Outfit', sans-serif;
}

/* ========================================
   Reset & Base
   ======================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-sans);
  color: var(--text-main);
  background-color: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  color: var(--navy-primary);
  font-weight: 700;
  line-height: 1.25;
}

h1 {
  font-size: 3rem;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 2.25rem;
  letter-spacing: -0.01em;
  margin-bottom: 0.5em;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75em;
}

p {
  margin-bottom: 1.5rem;
  color: var(--text-main);
}

a {
  text-decoration: none;
  transition: all 0.2s ease;
}

ul {
  list-style: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ========================================
   Top Bar
   ======================================== */

.top-bar {
  background-color: var(--navy-dark);
  color: rgba(255, 255, 255, 0.9);
  padding: 10px 0;
  font-size: 0.875rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-contact span {
  margin-right: 24px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.top-social {
  display: flex;
  gap: 16px;
}

.top-social a {
  color: white;
  opacity: 0.8;
  font-weight: 500;
}

.top-social a:hover {
  opacity: 1;
}

/* ========================================
   Header
   ======================================== */

.header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-200);
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  color: var(--text-main);
  font-weight: 600;
  font-size: 0.95rem;
}

.nav-links a:hover {
  color: var(--blue-bright);
}

/* ========================================
   Hero Section
   ======================================== */

.hero {
  padding: 140px 0 100px;
  /* Spacing for fixed header */
  background: linear-gradient(135deg, #F0F7FF 0%, #FFFFFF 100%);
  position: relative;
  overflow: hidden;
}

/* Background accent blob */
.hero::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(0, 119, 204, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
}

.hero-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.hero-subtitle {
  display: inline-block;
  background: var(--blue-soft);
  color: var(--blue-bright);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  padding: 8px 16px;
  border-radius: 100px;
  margin-bottom: 24px;
}

.hero h1 {
  color: var(--navy-dark);
  margin-bottom: 24px;
  line-height: 1.1;
}

.hero-description-box {
  background: white;
  border: 1px solid var(--gray-200);
  padding: 32px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  margin-bottom: 40px;
}

.hero-description-box p {
  font-size: 1.125rem;
  color: var(--text-main);
  margin-bottom: 12px;
}

.hero-description-box p:last-child {
  margin-bottom: 0;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--blue-bright);
  color: white;
  padding: 16px 32px;
  font-weight: 600;
  border-radius: 100px;
  box-shadow: 0 4px 6px rgba(0, 119, 204, 0.25);
  transition: transform 0.2s, box-shadow 0.2s;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 12px rgba(0, 119, 204, 0.3);
  background: #006bb3;
}

/* ========================================
   Sections Formatting
   ======================================== */

.section {
  padding: 100px 0;
}

.section:nth-child(even) {
  background-color: var(--gray-50);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 64px;
}

.section-subtitle {
  color: var(--blue-bright);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 12px;
}

/* Grids */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.scope-content,
.solutions-grid,
.differentials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}

.positions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

/* Cards - Modern & Clean */
.highlight-card,
.scope-card,
.solution-card,
.diff-card,
.position-column {
  background: white;
  padding: 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  transition: all 0.3s ease;
}

.highlight-card:hover,
.scope-card:hover,
.solution-card:hover,
.diff-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--blue-soft);
}

.scope-icon,
.solution-icon,
.diff-icon {
  width: 64px;
  height: 64px;
  background: var(--blue-soft);
  color: var(--blue-bright);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 24px;
}

/* Position Lists */
.pos-title {
  font-size: 1.25rem;
  color: var(--navy-primary);
  border-bottom: 2px solid var(--gray-100);
  padding-bottom: 16px;
  margin-bottom: 24px;
}

.pos-list li {
  margin-bottom: 12px;
  padding-left: 24px;
  position: relative;
  font-size: 0.95rem;
  color: var(--text-main);
}

.pos-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  background: var(--blue-bright);
  border-radius: 50%;
}

/* ========================================
   Timeline
   ======================================== */

.timeline {
  max-width: 800px;
  margin: 0 auto;
  padding-left: 24px;
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 24px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--gray-200);
}

.timeline-item {
  position: relative;
  padding-left: 64px;
  margin-bottom: 48px;
}

.timeline-number {
  position: absolute;
  left: 0;
  top: 0;
  width: 50px;
  height: 50px;
  background: white;
  border: 2px solid var(--blue-bright);
  color: var(--blue-bright);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.25rem;
  z-index: 2;
  box-shadow: var(--shadow-sm);
}

.timeline-content {
  background: white;
  padding: 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
}

.timeline-content h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
  color: var(--navy-primary);
}

.timeline-content p {
  margin: 0;
  color: var(--text-light);
}


/* ========================================
   Partnership & CTA
   ======================================== */

.cta-section {
  padding: 100px 0 0;
  background: var(--gray-50);
}

.partnership-box {
  background: white;
  max-width: 800px;
  margin: 0 auto 80px;
  padding: 40px;
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
}

.partnership-box h3 {
  color: var(--navy-primary);
  margin-bottom: 16px;
}

.cta-content {
  background: var(--navy-primary);
  color: white;
  text-align: center;
  padding: 80px 20px;
  border-top-left-radius: 40px;
  border-top-right-radius: 40px;
}

.cta-content h2,
.cta-content p {
  color: white;
}

.cta-content p {
  opacity: 0.9;
  font-size: 1.25rem;
  max-width: 600px;
  margin: 0 auto 32px;
}

.cta-button-secondary {
  display: inline-block;
  background: white;
  color: var(--navy-primary);
  padding: 16px 40px;
  border-radius: 100px;
  font-weight: 700;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: 0.2s;
}

.cta-button-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* ========================================
   Footer (Fixed Layout)
   ======================================== */

.footer {
  background: var(--navy-dark);
  color: #E2E8F0;
  padding: 80px 0 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  /* Distinct columns */
  gap: 64px;
  margin-bottom: 64px;
  align-items: start;
}

.footer h3 {
  color: white;
  font-size: 1.25rem;
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 12px;
}

.footer h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--blue-bright);
}

.footer p {
  color: #94A3B8;
  line-height: 1.7;
  max-width: 300px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 12px;
  display: block;
}

.footer-links a {
  color: #CBD5E1;
  font-weight: 400;
  text-decoration: none;
  font-size: 0.95rem;
  display: inline-block;
  transition: all 0.2s;
}

.footer-links a:hover {
  color: var(--blue-bright);
  transform: translateX(5px);
}

.footer-bottom {
  text-align: center;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #64748B;
  font-size: 0.875rem;
}

.footer-bottom p {
  max-width: 100%;
  margin: 0;
}

/* ========================================
   Mobile
   ======================================== */

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }

  .about-grid,
  .footer-content {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  h1 {
    font-size: 2.5rem;
  }

  .top-bar {
    display: none;
  }

  /* Simplify mobile */
  .hero-description-box {
    padding: 24px;
  }
}

/* Animations included but subtle */
.scroll-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.scroll-reveal.revealed {
  opacity: 1;
  transform: 0;
}

/* ========================================
   Visual Enhancements (Images & Graphics)
   ======================================== */

/* General Image Styling */
.about-image img,
.scope-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.about-image {
  height: 100%;
  max-height: 500px;
}

/* About Section Adjustments */
.highlight-box {
  background: var(--blue-soft);
  border-left: 4px solid var(--blue-bright);
  padding: 24px;
  border-radius: var(--radius-md);
  margin-top: 32px;
}

.highlight-box h3 {
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.highlight-box p {
  margin: 0;
  font-size: 0.95rem;
}

/* Scope Section New Layout */
.scope-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.scope-image {
  height: 100%;
  min-height: 400px;
}

.scope-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.scope-card {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding: 24px;
  /* Use the existing card styles but adjust for flex */
}

.scope-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  font-size: 1.5rem;
  margin-bottom: 0;
  /* Reset margin */
}

.scope-card h3 {
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.scope-card p {
  margin: 0;
  font-size: 0.95rem;
  max-width: 100%;
}

/* Responsive adjustments */
@media (max-width: 900px) {
  .scope-container {
    grid-template-columns: 1fr;
  }

  .scope-image {
    height: 300px;
    order: -1;
  }

  /* Image on top */
  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-image {
    height: 300px;
    order: -1;
  }
}