/* ===========================
   HOWARD RESOURCE GROUP — DARK TECH THEME
   =========================== */

/* --- Color Tokens --- */
:root {
  --black-true: #000000;
  --black-elevated: #0A0D12;
  --black-soft: #10141C;

  --blue-electric: #0A84FF;         /* main highlight */
  --blue-glow: rgba(10, 132, 255, 0.18);
  --blue-border: rgba(10, 132, 255, 0.45);

  --text-main: #e9ecf1;
  --text-muted: #8b93a5;

  --radius: 14px;
  --radius-soft: 22px;

  --shadow: 0 18px 40px rgba(0, 0, 0, 0.65);

  --transition: 180ms ease;
}

/* --- Reset & Global --- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--black-true);
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-main);
  overflow-x: hidden;
  scroll-behavior: smooth;
}

a {
  color: var(--blue-electric);
  text-decoration: none;
  transition: opacity var(--transition), color var(--transition);
}

a:hover {
  opacity: 0.85;
}

/* --- Layout container --- */
.container {
  width: min(1200px, 92%);
  margin: 0 auto;
}

/* --- Generic sections --- */
.section {
  padding: 80px 0;
}

.section-header {
  text-align: left;
  margin-bottom: 32px;
}

.section-header h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 8px;
}

.section-subtitle {
  margin: 0;
  color: var(--text-muted);
  max-width: 520px;
  font-size: 0.98rem;
}

/* ===========================
   NAVIGATION
   =========================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(0, 0, 0, 0.94);
  border-bottom: 1px solid #10141c;
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

/* Brand (left) */
.brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-title {
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.brand-tagline {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Nav links (right) */
.nav-links {
  list-style: none;
  display: flex;
  gap: 26px;
  margin: 0;
  padding: 0;
}

.nav-links > li {
  position: relative;
}

.nav-links a {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-muted);
  position: relative;
  padding-bottom: 4px;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--blue-electric);
  transition: width var(--transition);
}

.nav-links a:hover {
  color: var(--text-main);
}

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

/* Dropdown under Services */
.has-dropdown .dropdown {
  position: absolute;
  top: 140%;
  right: 0;
  background: var(--black-elevated);
  border-radius: 12px;
  border: 1px solid var(--black-soft);
  box-shadow: var(--shadow);
  padding: 10px 0;
  list-style: none;
  margin: 0;
  min-width: 220px;
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition: opacity var(--transition), transform var(--transition);
}

.has-dropdown:hover .dropdown {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.dropdown li {
  padding: 0;
}

.dropdown a {
  display: block;
  padding: 8px 16px;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.dropdown a::after {
  display: none;
}

.dropdown a:hover {
  color: var(--text-main);
  background: rgba(10, 132, 255, 0.14);
}

/* Mobile responsiveness for nav */
@media (max-width: 720px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 0 12px;
  }

  .nav-links {
    gap: 18px;
    flex-wrap: wrap;
    font-size: 0.8rem;
  }

  .has-dropdown .dropdown {
    position: static;
    opacity: 1;
    transform: none;
    pointer-events: auto;
    box-shadow: none;
    margin-top: 6px;
  }
}

/* ===========================
   HERO
   =========================== */

.hero {
  padding: 120px 0 70px;
  background:
    radial-gradient(circle at top left, rgba(10, 132, 255, 0.16), transparent 60%),
    var(--black-true);
}

.hero-inner {
  display: flex;
  align-items: center;
}

.hero-text {
  max-width: 700px;
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  margin: 0;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.hero-subtitle {
  margin-top: 18px;
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.hero-actions {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* ===========================
   BUTTONS
   =========================== */

.btn {
  display: inline-block;
  padding: 14px 34px;
  border-radius: var(--radius-soft);
  background: var(--blue-electric);
  color: #000;
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 0 25px var(--blue-glow);
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition);
}

.btn:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 0 35px var(--blue-glow);
}

.btn-secondary {
  display: inline-block;
  padding: 13px 30px;
  border-radius: var(--radius-soft);
  border: 1px solid var(--blue-border);
  background: transparent;
  color: var(--text-main);
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.btn-secondary:hover {
  background: rgba(10, 132, 255, 0.16);
}

/* ===========================
   SLIDES STRIP
   =========================== */

.slides {
  padding: 40px 0 10px;
  background: radial-gradient(circle at top right, rgba(10, 132, 255, 0.18), transparent 55%),
              var(--black-true);
}

.slides-inner {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: thin;
}

.slides-inner::-webkit-scrollbar {
  height: 6px;
}

.slides-inner::-webkit-scrollbar-track {
  background: #050509;
}

.slides-inner::-webkit-scrollbar-thumb {
  background: #1a2434;
  border-radius: 999px;
}

.slide {
  min-width: 240px;
  max-width: 320px;
  flex: 0 0 auto;
  padding: 18px 20px;
  border-radius: 18px;
  background: linear-gradient(135deg, #05060a, #101626);
  border: 1px solid rgba(10, 132, 255, 0.35);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.7);
}

.slide h3 {
  margin: 0 0 8px;
  font-size: 1rem;
  color: var(--text-main);
}

.slide p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ===========================
   SERVICES / DEFINITIONS
   =========================== */

.section-services {
  background: var(--black-true);
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
  margin-top: 32px;
}

.feature-card {
  background: var(--black-elevated);
  padding: 26px 26px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--black-soft);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.7);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.feature-header {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.feature-header h3 {
  margin: 0;
  font-size: 1.3rem;
}

.feature-tag {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-muted);
}

.feature-description {
  margin: 4px 0 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.feature-list {
  margin: 10px 0 0;
  padding-left: 18px;
  list-style: disc;
  color: var(--text-main);
  font-size: 0.93rem;
  line-height: 1.5;
}

.feature-list li + li {
  margin-top: 4px;
}

.feature-cta {
  margin-top: 14px;
}

.text-link {
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

/* ===========================
   WHY HRG
   =========================== */

.section-why {
  background: #020307;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 26px;
}

.why-item {
  background: var(--black-elevated);
  padding: 20px 22px;
  border-radius: 16px;
  border: 1px solid var(--black-soft);
}

.why-item h3 {
  margin-top: 0;
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.why-item p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* ===========================
   CTA BAR
   =========================== */

.section-cta {
  background: radial-gradient(circle at center, rgba(10, 132, 255, 0.16), #020307);
}

.cta-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
}

.cta-text h2 {
  margin: 0 0 10px;
  font-size: clamp(1.4rem, 3vw, 1.9rem);
}

.cta-text p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* ===========================
   FOOTER
   =========================== */

footer {
  padding: 34px 0 40px;
  border-top: 1px solid #0f121a;
  background: #000000;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-inner {
  text-align: center;
}

/* ===========================
   RESPONSIVE TWEAKS
   =========================== */

@media (max-width: 900px) {
  .cta-bar {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-inner {
    flex-direction: column;
  }
}

@media (max-width: 600px) {
  .hero {
    padding-top: 90px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-subtitle {
    font-size: 0.98rem;
  }
}
