/*--------------------------------------------------------------
# AWTIAHS — Design System (theme base)
# Loaded AFTER assets/css/main.css — overrides the template.
# Fonts:  Sora (display) + Inter (body)
# Palette: brand green / deep ink / soft paper
--------------------------------------------------------------*/

:root {
  /* Fonts (override template vars) */
  --font-default: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-primary: "Sora", "Inter", sans-serif;
  --font-secondary: "Sora", "Inter", sans-serif;

  /* Brand colors (override template vars) */
  --color-primary: #09965d;
  --color-primary-dark: #077a4b;
  --color-secondary: #20242c;
  --color-default: #59616e;

  /* Bootstrap primary override */
  --bs-primary: #09965d;
  --bs-primary-rgb: 9, 150, 93;
  --bs-link-color: #09965d;
  --bs-link-hover-color: #077a4b;

  /* Extended palette */
  --awt-ink: #14181f;
  --awt-ink-soft: #1d222b;
  --awt-heading: #232830;
  --awt-body: #59616e;
  --awt-muted: #8b93a1;
  --awt-paper: #f4f8f6;
  --awt-surface: #ffffff;
  --awt-line: #e3ebe7;
  --awt-tint: #e8f5ef;
  --awt-tint-strong: #cce9dc;
  --awt-star: #f0b429;
  --awt-success: #09965d;
  --awt-danger: #d64545;

  --awt-radius-sm: 10px;
  --awt-radius: 16px;
  --awt-radius-lg: 24px;
  --awt-shadow-sm: 0 2px 10px rgba(20, 24, 31, 0.06);
  --awt-shadow: 0 14px 40px -12px rgba(20, 24, 31, 0.16);
  --awt-shadow-lg: 0 30px 70px -20px rgba(20, 24, 31, 0.28);
  --awt-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --awt-grad: linear-gradient(120deg, #09965d 0%, #0bb56f 100%);
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/
html {
  scroll-padding-top: 90px;
}

body {
  font-family: var(--font-default);
  color: var(--awt-body);
  background-color: var(--awt-surface);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection {
  background: var(--color-primary);
  color: #fff;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  color: var(--awt-heading);
  letter-spacing: -0.02em;
}

a {
  color: var(--color-primary);
  transition: color 0.25s var(--awt-ease);
}

a:hover {
  color: var(--color-primary-dark);
}

:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
  border-radius: 4px;
}

img,
video {
  max-width: 100%;
}

/*--------------------------------------------------------------
# Motion utilities & keyframes
--------------------------------------------------------------*/
@keyframes awt-fade-up {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes awt-kenburns {
  from { transform: scale(1) translateY(0); }
  to   { transform: scale(1.12) translateY(-1.5%); }
}

@keyframes awt-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}

@keyframes awt-pulse-ring {
  0%   { box-shadow: 0 0 0 0 rgba(9, 150, 93, 0.45); }
  100% { box-shadow: 0 0 0 18px rgba(9, 150, 93, 0); }
}

@keyframes awt-shine {
  from { transform: translateX(-130%) skewX(-18deg); }
  to   { transform: translateX(230%) skewX(-18deg); }
}

@keyframes awt-scroll-dot {
  0%   { opacity: 1; transform: translateY(0); }
  70%  { opacity: 0; transform: translateY(14px); }
  100% { opacity: 0; transform: translateY(0); }
}

@keyframes awt-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/*--------------------------------------------------------------
# Sections & headers
--------------------------------------------------------------*/
section {
  padding: 90px 0;
}

.section-bg {
  background-color: var(--awt-paper);
}

.section-header {
  text-align: center;
  padding-bottom: 48px;
}

.section-header h2 {
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 700;
  color: var(--awt-heading);
  margin-bottom: 18px;
  position: relative;
  display: inline-block;
  padding-bottom: 0;
}

/* replace the template's side lines with a brush-stroke underline */
.section-header h2::before {
  display: none;
}

.section-header h2::after {
  content: "";
  display: block;
  width: 64px;
  height: 4px;
  margin: 14px auto 0;
  border-radius: 99px;
  background: var(--awt-grad);
}

.section-header p {
  color: var(--awt-body);
  font-size: 17px;
}

/*--------------------------------------------------------------
# Header / Navigation
--------------------------------------------------------------*/
.header {
  padding: 22px 0;
  transition: background 0.4s var(--awt-ease), padding 0.4s var(--awt-ease),
    box-shadow 0.4s var(--awt-ease);
  background: linear-gradient(180deg, rgba(13, 16, 21, 0.55), rgba(13, 16, 21, 0));
}

.header.awt-scrolled {
  position: fixed;
  background: rgba(17, 20, 26, 0.86);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  padding: 12px 0;
  box-shadow: 0 10px 30px -12px rgba(0, 0, 0, 0.45);
  animation: awt-fade-up 0.35s var(--awt-ease) both;
}

.header .logo img {
  max-height: 48px;
  margin-right: 12px;
  border-radius: 10px;
}

.header .logo h1,
.header .logo .logo-title {
  font-size: 23px;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.04em;
  margin-bottom: 0;
  display: block;
}

.header .logo h1 span,
.header .logo .logo-title span {
  color: var(--color-primary);
}

.header .logo h6,
.header .logo .logo-tagline {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin: 2px 0 0;
  display: block;
}

@media (min-width: 1280px) {
  .navbar a,
  .navbar a:focus {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.72);
  }

  .navbar > ul > li > a:before {
    height: 2px;
    bottom: -8px;
    border-radius: 99px;
    background: var(--awt-grad);
  }

  /* CTA pill in nav */
  .navbar .nav-cta a {
    background: var(--awt-grad);
    color: #fff !important;
    padding: 10px 22px;
    border-radius: 99px;
    box-shadow: 0 8px 20px -8px rgba(9, 150, 93, 0.7);
    transition: transform 0.3s var(--awt-ease), box-shadow 0.3s var(--awt-ease);
  }

  .navbar .nav-cta a::before {
    display: none;
  }

  .navbar .nav-cta a:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 26px -8px rgba(9, 150, 93, 0.8);
  }
}

@media (max-width: 1279px) {
  .navbar ul {
    background: rgba(17, 20, 26, 0.96);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    padding-top: 80px;
  }

  .navbar a,
  .navbar a:focus {
    font-size: 16px;
    padding: 16px 28px;
    letter-spacing: 0.08em;
  }

  .navbar .nav-cta a {
    margin: 14px 28px;
    background: var(--awt-grad);
    color: #fff !important;
    border-radius: 12px;
    justify-content: center;
  }
}

/*--------------------------------------------------------------
# Breadcrumbs (page banners)
--------------------------------------------------------------*/
.breadcrumbs {
  padding: 170px 0 80px;
  min-height: 38vh;
}

.breadcrumbs::before {
  background: linear-gradient(160deg, rgba(13, 16, 21, 0.88) 10%, rgba(9, 50, 35, 0.55) 100%);
}

.breadcrumbs h2 {
  font-size: clamp(38px, 6vw, 60px);
  font-weight: 800;
  letter-spacing: -0.02em;
  animation: awt-fade-up 0.7s var(--awt-ease) both;
}

.breadcrumbs ol {
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--awt-tint-strong);
  animation: awt-fade-up 0.7s 0.12s var(--awt-ease) both;
}

.breadcrumbs ol a {
  color: rgba(255, 255, 255, 0.75);
}

.breadcrumbs ol a:hover {
  color: #fff;
  text-decoration: none;
}

/*--------------------------------------------------------------
# Shared buttons
--------------------------------------------------------------*/
.awt-btn,
.btn-get-started,
.btn-submit-enhanced,
.btn-service-request,
.step-form .btn-primary,
.contact-form-container button[type="submit"] {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--awt-grad);
  color: #fff;
  border: none;
  padding: 15px 36px;
  border-radius: 99px;
  font-family: var(--font-primary);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.03em;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 14px 30px -10px rgba(9, 150, 93, 0.55);
  transition: transform 0.35s var(--awt-ease), box-shadow 0.35s var(--awt-ease);
}

.awt-btn::after,
.btn-get-started::after,
.btn-submit-enhanced::after,
.btn-service-request::after,
.step-form .btn-primary::after,
.contact-form-container button[type="submit"]::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 45%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: translateX(-130%) skewX(-18deg);
}

.awt-btn:hover,
.btn-get-started:hover,
.btn-submit-enhanced:hover,
.btn-service-request:hover,
.step-form .btn-primary:hover,
.contact-form-container button[type="submit"]:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 38px -10px rgba(9, 150, 93, 0.7);
  color: #fff;
}

.awt-btn:hover::after,
.btn-get-started:hover::after,
.btn-submit-enhanced:hover::after,
.btn-service-request:hover::after,
.step-form .btn-primary:hover::after,
.contact-form-container button[type="submit"]:hover::after {
  animation: awt-shine 0.8s var(--awt-ease);
}

.awt-btn:active,
.btn-get-started:active,
.btn-submit-enhanced:active,
.btn-service-request:active,
.step-form .btn-primary:active {
  transform: translateY(-1px);
}

/* Ghost / outline variant */
.awt-btn-ghost {
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  box-shadow: none;
  color: #fff;
}

.awt-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
  box-shadow: none;
}

/*--------------------------------------------------------------
# Forms (shared input look)
--------------------------------------------------------------*/
.form-control-enhanced,
.contact-form-container .form-control,
.step-form .form-control {
  width: 100%;
  padding: 14px 18px;
  border: 1.5px solid var(--awt-line);
  border-radius: var(--awt-radius-sm);
  font-size: 15px;
  font-family: var(--font-default);
  color: var(--awt-heading);
  background: var(--awt-paper);
  transition: border-color 0.3s var(--awt-ease), box-shadow 0.3s var(--awt-ease),
    background 0.3s var(--awt-ease);
}

.form-control-enhanced:focus,
.contact-form-container .form-control:focus,
.step-form .form-control:focus {
  outline: none;
  border-color: var(--color-primary);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(9, 150, 93, 0.12);
}

.form-control-enhanced::placeholder,
.contact-form-container .form-control::placeholder,
.step-form .form-control::placeholder {
  color: var(--awt-muted);
}

textarea.form-control-enhanced {
  resize: vertical;
  min-height: 120px;
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.footer {
  background: var(--awt-ink);
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--awt-grad);
  border: none;
}

.footer .footer-content {
  padding: 70px 0 40px;
}

.footer .footer-content .footer-info h3 {
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.04em;
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 14px;
}

.footer .footer-content .footer-info h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 44px;
  height: 3px;
  border-radius: 99px;
  background: var(--awt-grad);
}

.footer .footer-content .footer-info p {
  color: rgba(255, 255, 255, 0.62);
  font-size: 15px;
  line-height: 1.9;
}

.footer .footer-content .footer-info p strong {
  color: rgba(255, 255, 255, 0.9);
}

.footer .footer-content h4 {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 18px;
  padding-bottom: 0;
}

.footer .footer-content h4::after {
  display: none;
}

.footer .footer-content .footer-links {
  margin-bottom: 30px;
}

.footer .footer-content .footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer .footer-content .footer-links ul li {
  padding: 7px 0;
  border: none;
}

.footer .footer-content .footer-links ul a {
  color: rgba(255, 255, 255, 0.6);
  display: inline-block;
  font-size: 15px;
  transition: color 0.25s var(--awt-ease), transform 0.25s var(--awt-ease);
}

.footer .footer-content .footer-links ul a:hover {
  color: var(--color-primary);
  transform: translateX(5px);
}

.footer .social-links a {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  margin-right: 10px;
  font-size: 17px;
  color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s var(--awt-ease);
}

.footer .social-links a:hover {
  background: var(--awt-grad);
  border-color: transparent;
  color: #fff;
  transform: translateY(-4px);
}

.footer .footer-legal {
  background: rgba(0, 0, 0, 0.35);
  padding: 24px 0;
}

.footer .footer-legal .copyright {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
}

.footer .footer-legal .credits {
  color: rgba(255, 255, 255, 0.45);
  font-size: 13px;
  padding-top: 6px;
}

.footer .footer-legal .credits a {
  color: var(--color-primary);
}

/*--------------------------------------------------------------
# Scroll-top & preloader
--------------------------------------------------------------*/
.scroll-top {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  right: 22px;
  bottom: 22px;
  background: var(--awt-grad);
  box-shadow: 0 12px 26px -8px rgba(9, 150, 93, 0.6);
  transition: all 0.35s var(--awt-ease);
}

.scroll-top i {
  color: #fff;
  font-size: 26px;
}

.scroll-top:hover {
  transform: translateY(-4px);
  background: var(--awt-grad);
  filter: brightness(1.08);
}

#preloader {
  background: var(--awt-ink);
}

#preloader::before {
  border: 4px solid rgba(255, 255, 255, 0.08);
  border-top-color: var(--color-primary);
  border-bottom-color: var(--color-primary);
  width: 54px;
  height: 54px;
  top: calc(50% - 27px);
  left: calc(50% - 27px);
  animation: animate-preloader 1.1s cubic-bezier(0.6, 0.1, 0.4, 0.9) infinite;
}

/*--------------------------------------------------------------
# Page hero (inner pages intro under breadcrumbs)
--------------------------------------------------------------*/
.page-intro {
  background: var(--awt-surface);
  padding: 70px 0 30px;
  text-align: center;
}

.page-intro h1 {
  font-size: clamp(30px, 4.4vw, 44px);
  font-weight: 800;
  margin-bottom: 14px;
}

.page-intro h1 em {
  font-style: normal;
  color: var(--color-primary);
}

.page-intro p {
  font-size: 18px;
  color: var(--awt-body);
  max-width: 720px;
  margin: 0 auto;
}
