/*
 * AllTechSolution Enterprises Inc.
 * Complete responsive website stylesheet
 */

:root {
  --navy: #0b1f3a;
  --navy-dark: #07172b;
  --blue: #1261a0;
  --blue-dark: #0a477a;
  --accent: #f4b41a;
  --accent-light: #ffd15c;
  --text: #1f2933;
  --muted: #5f6b76;
  --light: #f4f7fa;
  --white: #ffffff;
  --border: #dce4eb;
  --shadow: 0 14px 35px rgba(11, 31, 58, 0.12);
}

/* =========================
   BASE STYLES
========================= */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.7;
}

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

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--navy);
  line-height: 1.15;
}

h1 {
  max-width: 850px;
  margin-bottom: 24px;
  font-size: clamp(2.4rem, 6vw, 4.8rem);
  letter-spacing: -0.04em;
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(1.8rem, 4vw, 3rem);
  letter-spacing: -0.025em;
}

h3 {
  font-size: 1.25rem;
}

p {
  color: var(--muted);
}

/* =========================
   HEADER
========================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--navy);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1120px, calc(100% - 48px));
  min-height: 78px;
  margin: 0 auto;
  gap: 30px;
}

/* Brand */

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  color: var(--white) !important;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-decoration: none !important;
}

.brand-logo {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.brand-name {
  color: var(--white) !important;
}

/* Main navigation */

.main-navigation {
  margin: 0;
  padding: 0;
}

.main-navigation ul {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 26px;
  margin: 0;
  padding: 0;
  list-style: none !important;
}

.main-navigation li {
  display: block;
  margin: 0;
  padding: 0;
  list-style: none !important;
}

.main-navigation li::before,
.main-navigation li::marker {
  display: none !important;
  content: none !important;
}

.main-navigation a {
  position: relative;
  display: inline-block;
  padding: 8px 0;
  color: rgba(255, 255, 255, 0.88) !important;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none !important;
  transition:
    color 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

.main-navigation a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}

.main-navigation a:hover,
.main-navigation a:focus,
.main-navigation a:active {
  color: var(--white) !important;
}

.main-navigation a:hover::after,
.main-navigation a:focus::after {
  transform: scaleX(1);
}

/* Request a Quote button */

.main-navigation a.header-cta {
  padding: 11px 18px;
  border: 2px solid var(--accent);
  border-radius: 6px;
  background: var(--accent);
  color: var(--navy) !important;
  font-weight: 700;
}

.main-navigation a.header-cta::after {
  display: none;
}

.main-navigation a.header-cta:hover,
.main-navigation a.header-cta:focus {
  border-color: var(--accent-light);
  background: var(--accent-light);
  color: var(--navy) !important;
  transform: translateY(-2px);
}

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

.hero {
  position: relative;
  overflow: hidden;
  padding: 120px 24px 100px;
  background: linear-gradient(
    135deg,
    var(--navy) 0%,
    #123c67 58%,
    var(--blue) 100%
  );
  color: var(--white);
}

.hero::after {
  content: "";
  position: absolute;
  right: -150px;
  bottom: -220px;
  width: 520px;
  height: 520px;
  border: 80px solid rgba(255, 255, 255, 0.07);
  border-radius: 50%;
  pointer-events: none;
}

.hero > * {
  position: relative;
  z-index: 1;
  width: min(1100px, 100%);
  margin-right: auto;
  margin-left: auto;
}

.hero h1 {
  color: var(--white);
}

.eyebrow {
  margin-bottom: 22px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-text {
  max-width: 760px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.15rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 28px;
}

.hero-actions a {
  display: inline-block;
  padding: 14px 24px;
  border: 2px solid var(--accent);
  border-radius: 6px;
  background: var(--accent);
  color: var(--navy) !important;
  font-weight: 700;
  text-decoration: none !important;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

.hero-actions a:hover {
  border-color: var(--accent-light);
  background: var(--accent-light);
  transform: translateY(-2px);
}

.hero-actions a:last-child {
  border-color: rgba(255, 255, 255, 0.65);
  background: transparent;
  color: var(--white) !important;
}

.hero-actions a:last-child:hover {
  border-color: var(--white);
  background: var(--white);
  color: var(--navy) !important;
}

.trust-line {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.95rem;
}

/* =========================
   MAIN CONTENT SECTIONS
========================= */

.intro-section,
.cta-section {
  width: min(1100px, calc(100% - 48px));
  margin: 0 auto;
  padding: 90px 0;
}

.intro-section p,
.cta-section p {
  max-width: 800px;
  font-size: 1.08rem;
}

.intro-section {
  border-bottom: 1px solid var(--border);
}

.cta-section {
  margin-top: 50px;
  margin-bottom: 70px;
  padding: 60px;
  border-radius: 12px;
  background: var(--light);
  box-shadow: var(--shadow);
}

.cta-section a {
  color: var(--blue) !important;
  font-weight: 700;
  text-decoration: none;
}

.cta-section a:hover {
  color: var(--blue-dark) !important;
  text-decoration: underline;
}

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

.site-footer {
  padding: 76px 24px 24px;
  background: linear-gradient(
    135deg,
    var(--navy-dark) 0%,
    var(--navy) 100%
  );
  color: var(--white);
}

.site-footer-inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 80px;
  width: min(1120px, 100%);
  margin: 0 auto;
}

.site-footer h2 {
  margin-bottom: 16px;
  color: var(--white);
  font-size: 1.6rem;
}

.site-footer h3 {
  margin-bottom: 16px;
  color: var(--accent);
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer p {
  max-width: 480px;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.95rem;
}

.site-footer a {
  color: var(--accent) !important;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-footer a:hover {
  color: var(--accent-light) !important;
  text-decoration: underline;
}

.footer-bottom {
  width: min(1120px, 100%);
  margin: 52px auto 0;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.82rem;
}

/* =========================
   MOBILE RESPONSIVE STYLES
========================= */

@media (max-width: 700px) {
  .header-container {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 14px;
    min-height: auto;
    padding: 12px 0 18px;
  }

  .brand {
    font-size: 1rem;
  }

  .brand-logo {
    width: 48px;
    height: 48px;
  }

  .main-navigation {
    width: 100%;
  }

  .main-navigation ul {
    align-items: flex-start;
    justify-content: flex-start;
    flex-wrap: wrap;
    width: 100%;
    gap: 8px 20px;
  }

  .main-navigation a {
    font-size: 0.88rem;
  }

  .main-navigation a.header-cta {
    padding: 9px 14px;
  }

  .hero {
    padding: 80px 20px 70px;
  }

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

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

  .hero-actions a {
    text-align: center;
  }

  .intro-section,
  .cta-section {
    width: min(100% - 40px, 1100px);
    padding: 60px 0;
  }

  .cta-section {
    margin-top: 20px;
    margin-bottom: 40px;
    padding: 32px 24px;
  }

  .site-footer {
    padding: 56px 20px 22px;
  }

  .site-footer-inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-bottom {
    margin-top: 36px;
  }
}