/*
 Theme Name:   Austin SC Child
 Theme URI:    https://www.austinsupplychain.com
 Description:  Child theme for Divi — Austin Supply Chain Consulting brand system
 Author:       Austin Supply Chain Consulting
 Author URI:   https://www.austinsupplychain.com
 Template:     Divi
 Version:      1.0.0
 Text Domain:  austinsc-child
*/

/* ============================================
   CSS VARIABLES
   ============================================ */
:root {
  --navy: #0A1628;
  --navy-mid: #0F2040;
  --steel: #1B3A5C;
  --cyan: #00C5FF;
  --azure: #0080C5;
  --silver: #8FA8BE;
  --charcoal: #1E2C3A;
  --light: #F0F4F8;
}

/* ============================================
   GLOBAL TYPOGRAPHY
   ============================================ */
body,
.et_pb_module p,
.et_pb_text p {
  font-family: 'DM Sans', sans-serif !important;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--charcoal);
}

h1, h2, h3, h4, h5, h6,
.et_pb_module h1, .et_pb_module h2, .et_pb_module h3,
.et_pb_module h4, .et_pb_module h5, .et_pb_module h6 {
  font-family: 'Rajdhani', sans-serif !important;
  color: var(--navy);
  line-height: 1.15;
}

h1, .et_pb_module h1 { font-size: 48px; font-weight: 700; }
h2, .et_pb_module h2 { font-size: 34px; font-weight: 600; }
h3, .et_pb_module h3 { font-size: 24px; font-weight: 600; }

/* ============================================
   EYEBROW / LABEL TEXT
   ============================================ */
.asc-eyebrow {
  font-family: 'DM Sans', sans-serif !important;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--cyan);
  margin-bottom: 12px;
}

/* ============================================
   NAVIGATION
   ============================================ */
#main-header {
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  height: 64px;
  transition: background 0.3s ease, backdrop-filter 0.3s ease;
  background: transparent !important;
}

#main-header.scrolled {
  background: rgba(10, 22, 40, 0.95) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

#main-header .et_pb_menu__logo-wrap img,
#logo {
  max-height: 40px !important;
}

#top-menu li a {
  font-family: 'DM Sans', sans-serif !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  text-transform: uppercase !important;
  color: var(--silver) !important;
  letter-spacing: 0.08em;
  transition: color 0.2s ease;
}

#top-menu li a:hover,
#top-menu li.current-menu-item a {
  color: #FFFFFF !important;
}

#top-menu li.current-menu-item a {
  border-bottom: 2px solid var(--cyan);
  padding-bottom: 2px;
}

/* Nav dropdown (Services) */
#top-menu li ul.sub-menu {
  background: var(--navy) !important;
  border: 1px solid var(--steel);
  border-radius: 6px;
  min-width: 240px;
}

#top-menu li ul.sub-menu li a {
  font-size: 13px !important;
  padding: 10px 16px !important;
  border-left: 3px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}

#top-menu li ul.sub-menu li a:hover {
  border-left-color: var(--cyan) !important;
  color: #FFFFFF !important;
}

/* Nav CTA button */
.et_pb_menu .et_pb_button,
#top-menu .menu-item-cta a,
.asc-nav-cta {
  background: var(--cyan) !important;
  color: #FFFFFF !important;
  border-radius: 4px !important;
  padding: 10px 20px !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  text-transform: uppercase;
  border: none !important;
  transition: filter 0.2s ease;
}

.et_pb_menu .et_pb_button:hover,
.asc-nav-cta:hover {
  filter: brightness(0.9);
}

/* Mobile nav */
@media (max-width: 980px) {
  #main-header {
    height: 56px;
  }
  .et_mobile_menu {
    background: var(--navy) !important;
  }
  .et_mobile_menu li a {
    color: var(--silver) !important;
    border-bottom: 1px solid var(--steel) !important;
  }
}

/* ============================================
   BUTTONS
   ============================================ */
.et_pb_button,
.asc-btn-primary {
  font-family: 'DM Sans', sans-serif !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.06em;
  padding: 12px 28px !important;
  border-radius: 4px !important;
  transition: all 0.2s ease !important;
}

.asc-btn-primary,
.et_pb_bg_layout_dark .et_pb_button {
  background: var(--cyan) !important;
  color: var(--navy) !important;
  border: none !important;
}

.asc-btn-primary:hover {
  filter: brightness(0.9);
  transform: scale(1.01);
}

.asc-btn-secondary {
  background: transparent !important;
  border: 1.5px solid var(--cyan) !important;
  color: var(--cyan) !important;
}

.asc-btn-secondary:hover {
  background: rgba(0, 197, 255, 0.1) !important;
}

/* ============================================
   HERO SECTION
   ============================================ */
.asc-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  min-height: 85vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

.asc-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 31px,
      rgba(0, 197, 255, 0.07) 31px,
      rgba(0, 197, 255, 0.07) 32px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 31px,
      rgba(0, 197, 255, 0.07) 31px,
      rgba(0, 197, 255, 0.07) 32px
    );
  pointer-events: none;
  z-index: 1;
}

.asc-hero h1 {
  font-size: 56px !important;
  font-weight: 700 !important;
  color: #FFFFFF !important;
  line-height: 1.05 !important;
  font-family: 'Rajdhani', sans-serif !important;
}

.asc-hero .asc-sub-headline {
  font-size: 16px;
  color: var(--silver);
  max-width: 540px;
  line-height: 1.7;
}

.asc-hero-image {
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 45%);
  mask-image: linear-gradient(to right, transparent 0%, black 45%);
}

/* ============================================
   STATS BAR
   ============================================ */
.asc-stats-bar {
  background: var(--navy-mid);
  border-top: 1px solid var(--steel);
  padding: 32px 0;
}

.asc-stats-bar .et_pb_column {
  border-right: 1px solid var(--steel);
  text-align: center;
}

.asc-stats-bar .et_pb_column:last-child {
  border-right: none;
}

.asc-stat-number {
  font-family: 'Rajdhani', sans-serif !important;
  font-size: 32px;
  font-weight: 700;
  color: var(--cyan);
}

.asc-stat-label {
  font-family: 'DM Sans', sans-serif !important;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--silver);
}

/* ============================================
   SERVICE CARDS
   ============================================ */
.asc-service-card {
  background: #FFFFFF;
  border: 1px solid #E0E8F0;
  border-radius: 8px;
  padding: 28px;
  transition: all 0.25s ease-in-out;
  border-top: 3px solid transparent;
}

.asc-service-card:hover {
  border-top-color: var(--cyan);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.asc-service-card .asc-card-icon {
  width: 48px;
  height: 48px;
  background: rgba(0, 197, 255, 0.12);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.asc-service-card .asc-card-icon svg {
  width: 32px;
  height: 32px;
  stroke: var(--cyan);
  fill: none;
  stroke-width: 1.5;
}

.asc-service-card h3 {
  font-family: 'Rajdhani', sans-serif !important;
  font-size: 20px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
}

.asc-service-card p {
  font-size: 14px;
  color: var(--charcoal);
  line-height: 1.6;
}

.asc-service-card .asc-card-link {
  color: var(--azure);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s;
}

.asc-service-card .asc-card-link:hover {
  color: var(--cyan);
}

/* ============================================
   DARK SECTIONS
   ============================================ */
.asc-dark-section {
  background: var(--navy);
}

.asc-dark-section h1,
.asc-dark-section h2,
.asc-dark-section h3 {
  color: #FFFFFF !important;
}

.asc-dark-section p,
.asc-dark-section .et_pb_text p {
  color: var(--silver) !important;
}

.asc-navy-mid-section {
  background: var(--navy-mid);
}

.asc-navy-mid-section h1,
.asc-navy-mid-section h2,
.asc-navy-mid-section h3 {
  color: #FFFFFF !important;
}

.asc-navy-mid-section p,
.asc-navy-mid-section .et_pb_text p {
  color: var(--silver) !important;
}

/* ============================================
   LAM RESEARCH EXPERTISE SECTION
   ============================================ */
.asc-lam-section {
  background: var(--navy);
  padding: 80px 0;
}

.asc-lam-section .asc-feature-list li {
  color: var(--silver);
  font-size: 15px;
  padding: 8px 0;
  padding-left: 24px;
  position: relative;
}

.asc-lam-section .asc-feature-list li::before {
  content: '✓';
  color: var(--cyan);
  position: absolute;
  left: 0;
  font-weight: 700;
}

/* ============================================
   ABOUT / FOUNDER SECTION
   ============================================ */
.asc-about-section {
  background: var(--light);
}

.asc-headshot {
  border-radius: 50%;
  width: 200px;
  height: 200px;
  object-fit: cover;
  border: 3px solid var(--cyan);
}

.asc-founder-badge {
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--cyan);
  background: rgba(0, 197, 255, 0.1);
  padding: 4px 12px;
  border-radius: 3px;
  display: inline-block;
  margin-bottom: 8px;
}

.asc-credentials {
  font-size: 14px;
  color: var(--azure);
  font-style: italic;
}

/* ============================================
   PROCESS / HOW WE WORK
   ============================================ */
.asc-process-section {
  background: var(--navy-mid);
  padding: 80px 0;
}

.asc-process-step {
  text-align: center;
  position: relative;
}

.asc-process-step .asc-step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid var(--cyan);
  color: var(--cyan);
  font-family: 'Rajdhani', sans-serif;
  font-size: 24px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.asc-process-step h3 {
  color: #FFFFFF !important;
  font-size: 20px;
  margin-bottom: 8px;
}

.asc-process-step p {
  color: var(--silver) !important;
  font-size: 14px;
}

/* Connector line between steps */
.asc-process-step::after {
  content: '';
  position: absolute;
  top: 28px;
  right: -50%;
  width: 100%;
  height: 2px;
  background: var(--steel);
  z-index: 0;
}

.asc-process-step:last-child::after {
  display: none;
}

/* ============================================
   CTA BANNER
   ============================================ */
.asc-cta-banner {
  background: var(--cyan);
  padding: 64px 0;
  text-align: center;
}

.asc-cta-banner h2 {
  font-family: 'Rajdhani', sans-serif !important;
  font-size: 40px;
  font-weight: 700;
  color: var(--navy) !important;
}

.asc-cta-banner p {
  color: var(--navy) !important;
  opacity: 0.8;
  font-size: 16px;
}

.asc-cta-banner .asc-btn-dark {
  background: var(--navy) !important;
  color: #FFFFFF !important;
  padding: 14px 32px;
  border-radius: 4px;
  font-weight: 500;
  text-transform: uppercase;
  font-size: 12px;
  transition: background 0.2s;
}

.asc-cta-banner .asc-btn-dark:hover {
  background: var(--navy-mid) !important;
}

/* ============================================
   FOOTER
   ============================================ */
#main-footer,
.asc-footer {
  background: #060D1A !important;
}

#main-footer a,
.asc-footer a {
  color: var(--silver) !important;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  transition: color 0.2s;
}

#main-footer a:hover,
.asc-footer a:hover {
  color: #FFFFFF !important;
}

.asc-footer-bottom {
  border-top: 1px solid var(--steel);
  padding-top: 20px;
  font-size: 12px;
  color: rgba(143, 168, 190, 0.6);
}

/* ============================================
   CONTACT FORM
   ============================================ */
.asc-contact-form input[type="text"],
.asc-contact-form input[type="email"],
.asc-contact-form input[type="tel"],
.asc-contact-form select,
.asc-contact-form textarea,
.et_pb_contact_form .et_pb_contact_field input,
.et_pb_contact_form .et_pb_contact_field textarea {
  background: var(--navy-mid) !important;
  border: 1px solid var(--steel) !important;
  color: #FFFFFF !important;
  border-radius: 4px !important;
  padding: 12px 16px !important;
  font-family: 'DM Sans', sans-serif !important;
  font-size: 14px;
}

.asc-contact-form input::placeholder,
.asc-contact-form textarea::placeholder {
  color: var(--silver) !important;
}

.asc-contact-form input:focus,
.asc-contact-form textarea:focus {
  border-color: var(--cyan) !important;
  outline: none;
}

/* ============================================
   BLOG / RESOURCES CARDS
   ============================================ */
.asc-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.asc-blog-card {
  background: #FFFFFF;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s, box-shadow 0.2s;
}

.asc-blog-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.asc-blog-card img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.asc-blog-card .asc-category-badge {
  background: var(--cyan);
  color: var(--navy);
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 3px;
  display: inline-block;
  margin-bottom: 8px;
}

.asc-blog-card h3 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--navy);
}

.asc-blog-card .asc-read-more {
  color: var(--azure);
  font-size: 13px;
  font-weight: 500;
}

/* ============================================
   SECTION PADDING
   ============================================ */
.et_pb_section {
  padding: 80px 0;
}

.et_pb_row {
  max-width: 1200px !important;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1099px) and (min-width: 768px) {
  .asc-blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .asc-hero h1 {
    font-size: 40px !important;
  }
}

@media (max-width: 767px) {
  .asc-blog-grid {
    grid-template-columns: 1fr;
  }
  .asc-hero h1 {
    font-size: 32px !important;
  }
  .asc-hero {
    min-height: auto;
    padding: 120px 20px 60px;
  }
  .et_pb_section {
    padding: 48px 0;
  }
  .asc-headshot {
    width: 160px;
    height: 160px;
  }
  .asc-process-step::after {
    display: none;
  }
  .asc-cta-banner h2 {
    font-size: 28px;
  }
}
