/* ============================================
   Elite Global Recruiting - Main Stylesheet
   ============================================ */

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Merriweather:ital,wght@0,300;0,400;0,700;0,900;1,300;1,400;1,700&family=Open+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400;1,600&display=swap');

/* ---- CSS Custom Properties ---- */
:root {
  --navy: #1B365D;
  --navy-dark: #0f2240;
  --gold: #FFA500;
  --gold-hover: #e69500;
  --dark-red: #8B0000;
  --text-dark: #151515;
  --text-body: #5f5f5f;
  --text-light: #ffffff;
  --bg-light: #f8f8f8;
  --bg-white: #ffffff;
  --link-blue: #095BB1;
  --border-light: #e0e0e0;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.12);
  --transition: all 0.3s ease;
  --max-width: 1200px;
  --nav-height: 80px;
}

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

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

body {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  color: var(--text-body);
  line-height: 1.7;
  background: var(--bg-white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Merriweather', Georgia, 'Times New Roman', serif;
  color: var(--text-dark);
  line-height: 1.3;
  font-weight: 700;
}

h1 { font-size: 2.75rem; margin-bottom: 1rem; }
h2 { font-size: 2rem; margin-bottom: 0.75rem; }
h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }
h4 { font-size: 1.25rem; margin-bottom: 0.5rem; }

p {
  margin-bottom: 1.25rem;
  font-size: 1.05rem;
}

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

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

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

ul, ol {
  margin-bottom: 1.25rem;
  padding-left: 1.5rem;
}

li {
  margin-bottom: 0.5rem;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

/* ---- Utility Classes ---- */
.text-center { text-align: center; }
.text-white { color: var(--text-light); }
.text-gold { color: var(--gold); }
.text-navy { color: var(--navy); }
.text-dark-red { color: var(--dark-red); }
.bg-navy { background-color: var(--navy); }
.bg-light { background-color: var(--bg-light); }
.bg-white { background-color: var(--bg-white); }

.section-padding {
  padding: 5rem 0;
}

.section-padding-lg {
  padding: 6rem 0;
}

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  padding: 14px 36px;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

.btn-gold {
  background: var(--gold);
  color: var(--navy);
}

.btn-gold:hover {
  background: var(--gold-hover);
  color: var(--navy);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 165, 0, 0.4);
}

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

.btn-outline:hover {
  background: var(--gold);
  color: var(--navy);
  transform: translateY(-2px);
}

.btn-navy {
  background: var(--navy);
  color: var(--text-light);
}

.btn-navy:hover {
  background: var(--navy-dark);
  color: var(--text-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(27, 54, 93, 0.4);
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(27, 54, 93, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: var(--transition);
  height: var(--nav-height);
}

.navbar.scrolled {
  background: rgba(15, 34, 64, 0.98);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo img {
  height: 42px;
  width: auto;
  max-width: 280px;
  object-fit: contain;
  overflow: visible;
}

.nav-logo-text {
  font-family: 'Merriweather', Georgia, serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-light);
  letter-spacing: 2px;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 0;
  margin: 0;
  padding: 0;
}

.nav-links li {
  margin: 0;
}

.nav-links a {
  color: var(--text-light);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.5rem 1rem;
  position: relative;
  transition: var(--transition);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 70%;
}

/* Mobile Menu Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  padding: 5px;
}

.nav-toggle span {
  display: block;
  width: 28px;
  height: 3px;
  background: var(--text-light);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

/* ============================================
   HERO SECTIONS
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: calc(var(--nav-height) + 2rem) 2rem 4rem;
}

.hero-overlay {
  display: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.hero h1 {
  color: #ffffff;
  font-size: 3.5rem;
  font-weight: 900;
  margin-bottom: 1.25rem;
  text-shadow: 2px 2px 6px rgba(0,0,0,0.85), 0 0 30px rgba(0,0,0,0.7);
}

.hero .tagline {
  color: #FFD700;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 2rem;
  letter-spacing: 0.5px;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.9), 0 0 20px rgba(0,0,0,0.7);
}

.hero p {
  color: #ffffff;
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto 2rem;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.9);
}

/* Page hero (shorter for inner pages) */
.hero-page {
  min-height: 50vh;
  padding: calc(var(--nav-height) + 3rem) 2rem 3rem;
}

.hero-page h1 {
  font-size: 3rem;
}

/* ============================================
   STATS SECTION
   ============================================ */
.stats-section {
  background: var(--navy);
  padding: 4rem 0;
}

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

.stat-item {
  padding: 1.5rem;
}

.stat-number {
  font-family: 'Merriweather', Georgia, serif;
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.05rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ============================================
   CONTENT SECTIONS
   ============================================ */
.content-section {
  padding: 5rem 0;
}

.content-section.alt {
  background: var(--bg-light);
}

.content-section.dark {
  background: var(--navy);
  color: var(--text-light);
}

.content-section.dark h2,
.content-section.dark h3 {
  color: var(--text-light);
}

.content-section.dark .subtitle {
  color: var(--gold);
}

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

.section-header h2 {
  color: var(--navy);
  margin-bottom: 1rem;
}

.section-header .subtitle {
  color: var(--gold);
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  font-style: italic;
}

.section-divider {
  width: 80px;
  height: 3px;
  background: var(--gold);
  margin: 1.5rem auto;
}

/* Two-column layout */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.two-col.reverse .col-text {
  order: 2;
}

.two-col.reverse .col-image {
  order: 1;
}

.col-image img {
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  width: 100%;
  height: auto;
  object-fit: cover;
}

.col-text h2 {
  color: var(--navy);
}

.col-text .subtitle {
  color: var(--gold);
  font-style: italic;
  font-weight: 600;
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

/* ============================================
   FEATURE CARDS
   ============================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.feature-card {
  background: var(--bg-white);
  border-radius: 8px;
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border-top: 4px solid transparent;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-top-color: var(--gold);
}

.feature-card .icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--gold);
}

.feature-card h3 {
  color: var(--navy);
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

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

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

.service-card {
  background: var(--bg-white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

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

.service-card-image {
  height: 220px;
  overflow: hidden;
}

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

.service-card:hover .service-card-image img {
  transform: scale(1.05);
}

.service-card-content {
  padding: 2rem;
}

.service-card-content h3 {
  color: var(--navy);
  margin-bottom: 0.75rem;
}

/* ============================================
   TESTIMONIALS / QUOTES
   ============================================ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2.5rem;
}

.testimonial-card {
  background: var(--bg-white);
  border-radius: 8px;
  padding: 2.5rem;
  box-shadow: var(--shadow);
  position: relative;
  transition: var(--transition);
  border-left: 4px solid var(--gold);
}

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

.testimonial-card .quote-icon {
  font-size: 3rem;
  color: var(--gold);
  opacity: 0.3;
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonial-card h4 {
  color: var(--navy);
  font-family: 'Merriweather', Georgia, serif;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.testimonial-card blockquote {
  font-style: italic;
  color: var(--text-body);
  font-size: 1rem;
  line-height: 1.8;
  border: none;
  padding: 0;
  margin: 0;
}

/* ============================================
   GLOBAL REACH LIST
   ============================================ */
.reach-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.reach-list li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 1rem;
  font-size: 1.05rem;
}

.reach-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 10px;
  height: 10px;
  background: var(--gold);
  border-radius: 50%;
}

/* Dark section reach list */
.content-section.dark .reach-list li {
  color: rgba(255, 255, 255, 0.9);
}

/* ============================================
   CAPABILITIES LIST
   ============================================ */
.capabilities-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.capabilities-list li {
  position: relative;
  padding: 0.75rem 0 0.75rem 2rem;
  border-bottom: 1px solid var(--border-light);
  font-size: 1.05rem;
}

.capabilities-list li:last-child {
  border-bottom: none;
}

.capabilities-list li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
  font-size: 1.1rem;
}

.industries-served {
  background: var(--bg-light);
  border-radius: 8px;
  padding: 2rem;
  margin-top: 2rem;
}

.industries-served h4 {
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.industry-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.industry-tag {
  background: var(--navy);
  color: var(--text-light);
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

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

.contact-info-item .icon-circle {
  width: 50px;
  height: 50px;
  min-width: 50px;
  background: var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-info-item .icon-circle svg {
  width: 22px;
  height: 22px;
  fill: var(--gold);
}

.contact-info-item h4 {
  color: var(--navy);
  margin-bottom: 0.25rem;
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 700;
}

.contact-info-item p,
.contact-info-item a {
  color: var(--text-body);
  font-size: 1rem;
  margin: 0;
}

/* Contact Form */
.contact-form {
  background: var(--bg-white);
  border-radius: 8px;
  padding: 2.5rem;
  box-shadow: var(--shadow);
}

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

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

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--border-light);
  border-radius: 4px;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  color: var(--text-dark);
  transition: var(--transition);
  background: var(--bg-white);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(27, 54, 93, 0.1);
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

.form-submit {
  text-align: left;
}

/* ============================================
   MAP EMBED
   ============================================ */
.map-section {
  width: 100%;
  height: 400px;
  background: var(--bg-light);
}

.map-section iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--navy-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 3rem 0 1.5rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-logo img {
  height: 44px;
  width: auto;
  filter: none;
}

.footer-logo span {
  color: var(--text-light);
  font-family: 'Merriweather', Georgia, serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

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

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

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

.footer-social a svg {
  width: 18px;
  height: 18px;
  fill: rgba(255, 255, 255, 0.8);
  transition: var(--transition);
}

.footer-social a:hover svg {
  fill: var(--navy);
}

.footer-bottom {
  text-align: center;
  padding-top: 1.5rem;
  font-size: 0.9rem;
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Stagger delays */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* ============================================
   CTA BANNER
   ============================================ */
.cta-banner {
  background: var(--navy);
  padding: 4rem 0;
  text-align: center;
}

.cta-banner h2 {
  color: var(--text-light);
  margin-bottom: 1rem;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 700px;
  margin: 0 auto 2rem;
  font-size: 1.1rem;
}

/* ============================================
   VETERAN HEROES PAGE
   ============================================ */
.veteran-content {
  max-width: 800px;
  margin: 0 auto;
}

.veteran-content p {
  font-size: 1.1rem;
  line-height: 1.9;
  margin-bottom: 1.5rem;
}

.veteran-highlight {
  background: var(--navy);
  color: var(--text-light);
  padding: 3rem;
  border-radius: 8px;
  text-align: center;
  margin: 3rem 0;
}

.veteran-highlight p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.3rem;
  font-style: italic;
  font-family: 'Merriweather', Georgia, serif;
  margin: 0;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
  h1 { font-size: 2.25rem; }
  h2 { font-size: 1.75rem; }

  .hero h1 { font-size: 2.75rem; }
  .hero-page h1 { font-size: 2.5rem; }

  .two-col {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .two-col.reverse .col-text,
  .two-col.reverse .col-image {
    order: unset;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  :root {
    --nav-height: 70px;
  }

  h1 { font-size: 1.85rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.25rem; }

  .hero {
    min-height: 80vh;
    padding: calc(var(--nav-height) + 2rem) 1.5rem 3rem;
  }

  .hero h1 {
    font-size: 2.25rem;
  }

  .hero .tagline {
    font-size: 1.1rem;
  }

  .hero-page {
    min-height: 40vh;
  }

  .hero-page h1 {
    font-size: 2rem;
  }

  .section-padding {
    padding: 3.5rem 0;
  }

  .container {
    padding: 0 1.25rem;
  }

  /* Mobile Navigation */
  .nav-links {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    width: 100%;
    background: var(--navy-dark);
    flex-direction: column;
    padding: 1rem 0;
    transform: translateY(-120%);
    transition: transform 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  }

  .nav-links.open {
    transform: translateY(0);
  }

  .nav-links li {
    width: 100%;
    text-align: center;
  }

  .nav-links a {
    display: block;
    padding: 1rem;
    font-size: 1rem;
  }

  .nav-toggle {
    display: flex;
  }

  /* Stats */
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .stat-number {
    font-size: 2.75rem;
  }

  /* Features */
  .features-grid {
    grid-template-columns: 1fr;
  }

  /* Services */
  .services-grid {
    grid-template-columns: 1fr;
  }

  /* Testimonials */
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.85rem;
  }

  .hero .tagline {
    font-size: 1rem;
  }

  .btn {
    padding: 12px 28px;
    font-size: 0.9rem;
  }

  .stat-number {
    font-size: 2.25rem;
  }

  .contact-form {
    padding: 1.5rem;
  }
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
  .navbar, .footer, .nav-toggle {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 2rem;
  }

  .hero-overlay {
    display: none;
  }

  body {
    color: #000;
  }
}
