/* ===== CSS VARIABLES (Color Scheme) ===== */
:root {
  /* Primary Colors - Navy & Gold */
  --navy-dark: #0a1628;
  --navy: #1a2744;
  --navy-light: #2a3f5f;
  --gold: #c9a227;
  --gold-light: #e3c565;
  --gold-dark: #a68419;

  /* Neutral Colors */
  --white: #ffffff;
  --off-white: #f8f9fa;
  --gray-light: #e9ecef;
  --gray: #6c757d;
  --gray-dark: #343a40;
  --black: #212529;

  /* Functional Colors */
  --success: #28a745;
  --shadow: rgba(10, 22, 40, 0.15);
  --shadow-dark: rgba(10, 22, 40, 0.25);

  /* Typography */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Poppins', var(--font-primary);

  /* Spacing */
  --section-padding: 100px 0;
  --container-width: 1200px;
}

/* ===== RESET & BASE STYLES ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  font-size: 16px;
  line-height: 1.6;
  color: var(--black);
  background-color: var(--white);
  overflow-x: hidden;
}

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Poppins:wght@500;600;700;800&display=swap');

/* ===== UTILITY CLASSES ===== */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

.btn {
  display: inline-block;
  padding: 14px 32px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: var(--navy-dark);
  box-shadow: 0 4px 15px rgba(201, 162, 39, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201, 162, 39, 0.4);
}

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

.btn-secondary:hover {
  background: var(--white);
  color: var(--navy-dark);
}

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

.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
}

.btn-full {
  width: 100%;
}

/* Section Headers */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-tag {
  display: inline-block;
  padding: 8px 20px;
  background: linear-gradient(135deg, rgba(201, 162, 39, 0.1) 0%, rgba(201, 162, 39, 0.2) 100%);
  color: var(--gold-dark);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 30px;
  margin-bottom: 20px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(28px, 5vw, 42px);
  font-weight: 700;
  color: var(--navy-dark);
  margin-bottom: 20px;
  line-height: 1.2;
}

.section-description {
  font-size: 18px;
  color: var(--gray);
  max-width: 700px;
  margin: 0 auto;
}

/* ===== NAVIGATION ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: all 0.3s ease;
  background: transparent;
}

.navbar.scrolled {
  background: var(--white);
  padding: 15px 0;
  box-shadow: 0 2px 20px var(--shadow);
}

.nav-container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: baseline;
  text-decoration: none;
  gap: 8px;
}

.logo-ago {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 800;
  color: var(--gold);
}

.logo-consulting {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 2px;
  transition: color 0.3s ease;
}

.navbar.scrolled .logo-consulting {
  color: var(--navy);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 40px;
}

.nav-links a {
  text-decoration: none;
  color: var(--white);
  font-weight: 500;
  font-size: 15px;
  transition: color 0.3s ease;
  position: relative;
}

.navbar.scrolled .nav-links a {
  color: var(--navy);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.3s ease;
}

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

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.navbar.scrolled .hamburger span {
  background: var(--navy);
}

/* ===== HERO SECTION ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 50%, var(--navy-light) 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('images/utah-downtown.jpeg') center/cover;
  opacity: 0.1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at center, transparent 0%, var(--navy-dark) 70%);
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 0 20px;
  max-width: 900px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(36px, 7vw, 64px);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 24px;
  line-height: 1.1;
}

.hero-title span {
  color: var(--gold);
}

.hero-subtitle {
  font-size: clamp(16px, 2.5vw, 22px);
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.hero-cta {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.stat {
  text-align: center;
}

.stat-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 700;
  color: var(--gold);
}

.stat-label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  max-width: 150px;
  display: block;
}

.stat-divider {
  width: 1px;
  height: 50px;
  background: rgba(255, 255, 255, 0.2);
}

.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
  letter-spacing: 2px;
  animation: bounce 2s infinite;
}

.scroll-arrow {
  width: 20px;
  height: 20px;
  border-right: 2px solid rgba(255, 255, 255, 0.6);
  border-bottom: 2px solid rgba(255, 255, 255, 0.6);
  transform: rotate(45deg);
  margin: 10px auto 0;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-10px); }
  60% { transform: translateX(-50%) translateY(-5px); }
}

/* ===== ABOUT SECTION ===== */
.about {
  padding: var(--section-padding);
  background: var(--white);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image {
  position: relative;
}

.about-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 20px 40px var(--shadow);
}

.about-image-accent {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 200px;
  height: 200px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  border-radius: 12px;
  z-index: -1;
}

.about-text h3 {
  font-family: var(--font-heading);
  font-size: 28px;
  color: var(--navy-dark);
  margin-bottom: 20px;
}

.about-text p {
  color: var(--gray);
  margin-bottom: 20px;
  font-size: 16px;
  line-height: 1.8;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 30px;
}

.feature {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.feature-icon {
  font-size: 24px;
  flex-shrink: 0;
}

.feature-text strong {
  display: block;
  color: var(--navy-dark);
  font-size: 15px;
  margin-bottom: 4px;
}

.feature-text span {
  font-size: 13px;
  color: var(--gray);
}

/* ===== SERVICES SECTION ===== */
.services {
  padding: var(--section-padding);
  background: var(--off-white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-card {
  background: var(--white);
  border-radius: 16px;
  padding: 40px 30px;
  box-shadow: 0 10px 30px var(--shadow);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px var(--shadow-dark);
}

.service-card.featured {
  border: 2px solid var(--gold);
}

.service-badge {
  position: absolute;
  top: 20px;
  right: -30px;
  background: var(--gold);
  color: var(--navy-dark);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 40px;
  transform: rotate(45deg);
}

.service-icon {
  font-size: 48px;
  margin-bottom: 20px;
}

.service-title {
  font-family: var(--font-heading);
  font-size: 22px;
  color: var(--navy-dark);
  margin-bottom: 15px;
}

.service-description {
  color: var(--gray);
  font-size: 15px;
  margin-bottom: 20px;
  line-height: 1.6;
}

.service-features {
  list-style: none;
  margin-bottom: 25px;
}

.service-features li {
  padding: 8px 0;
  color: var(--gray-dark);
  font-size: 14px;
  position: relative;
  padding-left: 25px;
}

.service-features li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
}

.service-pricing {
  text-align: center;
  padding: 20px 0;
  margin-bottom: 20px;
  border-top: 1px solid var(--gray-light);
  border-bottom: 1px solid var(--gray-light);
}

.price {
  display: block;
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 700;
  color: var(--navy-dark);
}

.price-note {
  display: block;
  font-size: 14px;
  color: var(--gray);
  margin-top: 5px;
}

.price-flexible {
  display: block;
  font-size: 12px;
  color: var(--gold-dark);
  margin-top: 8px;
  font-weight: 500;
}

.services-cta {
  text-align: center;
  margin-top: 50px;
}

.services-cta p {
  color: var(--gray);
  margin-bottom: 15px;
}

/* ===== WHY US SECTION ===== */
.why-us {
  padding: var(--section-padding);
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  color: var(--white);
}

.why-us-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.why-us-text .section-tag {
  background: rgba(201, 162, 39, 0.2);
  color: var(--gold);
}

.why-us-text h2 {
  font-family: var(--font-heading);
  font-size: clamp(28px, 4vw, 38px);
  margin-bottom: 20px;
  color: var(--white);
}

.why-us-text p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 17px;
  line-height: 1.7;
}

.why-us-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}

.why-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 25px;
  transition: all 0.3s ease;
}

.why-card:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-5px);
}

.why-number {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 10px;
}

.why-card h4 {
  font-size: 18px;
  margin-bottom: 10px;
  color: var(--white);
}

.why-card p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

/* ===== CURRENT CLIENTS SECTION ===== */
.current-clients {
  padding: var(--section-padding);
  background: var(--off-white);
}

.clients-grid {
  display: flex;
  flex-direction: column;
  gap: 30px;
  max-width: 900px;
  margin: 0 auto;
}

.client-card {
  display: flex;
  align-items: center;
  gap: 40px;
  background: var(--white);
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 10px 40px rgba(10, 22, 40, 0.08);
  border: 1px solid var(--gray-light);
  transition: all 0.3s ease;
}

.client-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(10, 22, 40, 0.12);
  border-color: var(--gold);
}

.client-logo {
  flex-shrink: 0;
  width: 200px;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--off-white);
  border-radius: 12px;
  padding: 20px;
}

.client-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.client-info h3 {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  color: var(--navy-dark);
  margin-bottom: 8px;
}

.client-industry {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold-dark);
  background: rgba(201, 162, 39, 0.12);
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 14px;
}

.client-info p {
  font-size: 15px;
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 16px;
}

.client-link {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: var(--gold-dark);
  text-decoration: none;
  transition: color 0.3s ease;
}

.client-link:hover {
  color: var(--gold);
}

@media (max-width: 768px) {
  .client-card {
    flex-direction: column;
    text-align: center;
    padding: 30px;
  }

  .client-logo {
    width: 160px;
    height: 110px;
  }
}

/* ===== CONTACT SECTION ===== */
.contact {
  padding: var(--section-padding);
  background: var(--white);
}

.contact-content {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
}

.contact-form {
  background: var(--off-white);
  padding: 40px;
  border-radius: 16px;
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  font-weight: 600;
  color: var(--navy-dark);
  margin-bottom: 8px;
  font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid var(--gray-light);
  border-radius: 8px;
  font-size: 15px;
  font-family: var(--font-primary);
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.form-note {
  text-align: center;
  font-size: 13px;
  color: var(--gray);
  margin-top: 15px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.info-card {
  background: var(--off-white);
  padding: 30px;
  border-radius: 16px;
}

.info-card.dark {
  background: var(--navy-dark);
  color: var(--white);
}

.info-card h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  margin-bottom: 20px;
  color: var(--navy-dark);
}

.info-card.dark h3 {
  color: var(--white);
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}

.info-icon {
  font-size: 20px;
  flex-shrink: 0;
}

.info-item strong {
  display: block;
  color: var(--navy-dark);
  font-size: 14px;
}

.info-item p {
  color: var(--gray);
  font-size: 15px;
  margin: 0;
}

.info-card.dark p {
  color: rgba(255, 255, 255, 0.8);
}

.highlight {
  color: var(--gold) !important;
  font-weight: 600;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--navy-dark);
  color: var(--white);
  padding: 80px 0 30px;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 50px;
  margin-bottom: 50px;
}

.footer-logo {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 15px;
}

.footer-tagline {
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 15px;
}

.footer-description {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  line-height: 1.7;
}

.footer-links h4,
.footer-services h4,
.footer-social h4 {
  font-size: 16px;
  margin-bottom: 20px;
  color: var(--white);
}

.footer-links ul,
.footer-services ul {
  list-style: none;
}

.footer-links li,
.footer-services li {
  margin-bottom: 12px;
}

.footer-links a,
.footer-services a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer-links a:hover,
.footer-services a:hover {
  color: var(--gold);
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: var(--gold);
  color: var(--navy-dark);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
  margin-bottom: 5px;
}

/* ===== PAGE HERO (for multi-page inner pages) ===== */
.page-hero {
  padding: 160px 0 80px;
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 50%, var(--navy-light) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('images/utah-downtown.jpeg') center/cover;
  opacity: 0.05;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero .section-tag {
  background: rgba(201, 162, 39, 0.2);
  color: var(--gold);
}

.page-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 20px;
  line-height: 1.1;
}

.page-hero p {
  font-size: clamp(16px, 2vw, 20px);
  color: rgba(255, 255, 255, 0.8);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }

  .why-us-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-content {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background: var(--navy-dark);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: right 0.3s ease;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links a {
    color: var(--white) !important;
    font-size: 20px;
  }

  .hamburger {
    display: flex;
    z-index: 1001;
  }

  .about-content {
    grid-template-columns: 1fr;
  }

  .about-image-accent {
    display: none;
  }

  .about-features {
    grid-template-columns: 1fr;
  }

  .contact-content {
    grid-template-columns: 1fr;
  }

  .why-us-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-logo {
    justify-content: center;
  }

  .social-links {
    justify-content: center;
  }

  .hero-stats {
    flex-direction: column;
    gap: 20px;
  }

  .stat-divider {
    width: 50px;
    height: 1px;
  }
}

@media (max-width: 480px) {
  .hero-cta {
    flex-direction: column;
    gap: 15px;
  }

  .hero-cta .btn {
    width: 100%;
  }

  .contact-form {
    padding: 25px;
  }

  .service-card {
    padding: 30px 20px;
  }
}
