﻿/* =========================================================
   AAD SMART SYSTEMS - MAIN STYLESHEET
   ---------------------------------------------------------
   Table of Contents
   01. Theme Variables
   02. Base / Reset
   03. Buttons
   04. Shared Section Styles
   05. Hero + Header + Navigation
   06. Intro Section
   07. Services Section
   08. Split Feature Section
   09. Stats Section
   10. Current Initiative Section
   11. Contact Section
   12. Footer
   13. Responsive Breakpoints
   ========================================================= */

/* =========================================================
   01. THEME VARIABLES
   ========================================================= */
:root {
  --navy: #0b1d3a;
  --navy-2: #1e4a7a;
  --navy-3: #1e4a7a;
  --cyan: #00a3b5;
  --cyan-dark: #008d9d;
  --text: #0b1d3a;
  --muted: #6b7280;
  --light: #e6e8eb;
  --white: #ffffff;
  --border: rgba(255, 255, 255, 0.18);
  --container: 1200px;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

/* =========================================================
   02. BASE / RESET
   ========================================================= */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", Arial, Helvetica, sans-serif;
  color: var(--text);
  background: #ffffff;
  line-height: 1.45;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(var(--container), calc(100% - 48px));
  margin: 0 auto;
}

/* =========================================================
   03. BUTTONS
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 28px;
  border: 2px solid transparent;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  transition: 0.25s ease;
  cursor: pointer;
}

.btn-primary {
  background: var(--cyan);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--cyan-dark);
}

.btn-outline {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.65);
  background: rgba(255, 255, 255, 0.02);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
}

/* =========================================================
   04. SHARED SECTION STYLES
   ========================================================= */
.section-heading {
  text-align: center;
  margin-bottom: 20px;
}

.section-heading h2,
.section-heading h3 {
  margin: 0;
  color: #13284b;
}

.section-heading h3 {
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.line,
.mini-line {
  width: 64px;
  height: 4px;
  background: var(--cyan);
  margin: 16px auto 0;
}

.mini-line {
  width: 56px;
  height: 3px;
  margin: 0 0 18px;
}

/* =========================================================
   05. HERO + HEADER + NAVIGATION
   ========================================================= */
.hero {
  position: relative;
  min-height: 660px;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(0, 10, 25, 0.82) 0%, rgba(0, 17, 40, 0.72) 38%, rgba(0, 0, 0, 0.35) 100%),
    url("images/hero-living-room.png") center center / cover no-repeat;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.14));
  pointer-events: none;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 8px 0;
  background: rgba(11, 29, 58, 0.9);
  backdrop-filter: blur(14px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.14);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  line-height: 1;
  display: inline-block;
}

.logo img {
  display: block;
  width: 260px;
  height: auto;
}

.footer .logo img {
  display: block;
  width: 230px;
  height: auto;
}

.logo .aad {
  display: block;
  font-size: 53px;
}

.logo .sub {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  color: var(--cyan);
  letter-spacing: 0.24em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 34px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
}

.nav a {
  position: relative;
  opacity: 0.95;
}

.nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 3px;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.nav a:not(.nav-cta):hover,
.nav a:not(.nav-cta).active {
  color: var(--cyan);
}

.nav a:not(.nav-cta):hover::after,
.nav a:not(.nav-cta).active::after {
  transform: scaleX(1);
}

.nav .nav-cta {
  min-height: 48px;
}

.nav .nav-cta:hover,
.nav .nav-cta.active {
  color: var(--white);
  background: var(--cyan-dark);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 0 auto;
  background: #ffffff;
  transition: 0.25s ease;
}

.menu-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 160px 0 140px;
  max-width: 760px;
}

.hero h1 {
  margin: 0 0 28px;
  font-size: clamp(38px, 5vw, 70px);
  line-height: 1.03;
  letter-spacing: -0.03em;
  max-width: 760px;
}

.hero p {
  margin: 0;
  font-size: clamp(20px, 2vw, 34px);
  max-width: 700px;
  color: rgba(255, 255, 255, 0.92);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 42px;
}

.hero-scroll {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: var(--cyan);
  font-size: 34px;
  line-height: 1;
}

/* =========================================================
   06. INTRO SECTION
   ========================================================= */
.intro {
  padding: 88px 0 74px;
  background: #ffffff;
  text-align: center;
}

.intro h2 {
  margin: 0;
  font-size: clamp(30px, 3.3vw, 52px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: #12274a;
}

.intro p {
  max-width: 980px;
  margin: 28px auto 0;
  font-size: clamp(20px, 1.8vw, 28px);
  color: #5f6d7c;
}

.about-stats {
  margin-top: 72px;
  padding-top: 0;
  border-top: none;
}

.intro .stat {
  min-height: auto;
  padding: 10px 12px;
}

.intro .stat .stat-icon {
  width: 90px;
  height: 90px;
  margin-bottom: 24px;
  color: var(--cyan);
}

.intro .stat-svg {
  width: 80px;
  height: 80px;
}

.intro .stat .value {
  color: var(--navy);
}

.intro .stat .label {
  color: var(--navy);
  font-size: clamp(15px, 1vw, 18px);
}
/* =========================================================
   07. SERVICES SECTION
   ========================================================= */
.services {
  background: var(--light);
  padding: 82px 0 90px;
}

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

.service-card {
  position: relative;
  padding: 18px 40px 10px;
  text-align: center;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.service-card.animate {
  opacity: 0;
  transform: translateY(20px);
}

.service-card.animate.visible {
  opacity: 1;
  transform: translateY(0);
}

.service-card:nth-child(1) { transition-delay: 0.1s; }
.service-card:nth-child(2) { transition-delay: 0.2s; }
.service-card:nth-child(3) { transition-delay: 0.3s; }

.service-card:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 28px;
  right: 0;
  width: 1px;
  height: calc(100% - 56px);
  background: #d7dde5;
}

.icon-box {
  width: 90px;
  height: 90px;
  margin: 0 auto 24px;
  display: grid;
  place-items: center;
  color: var(--cyan);
  background: none;
  border: none;
}

.icon-svg {
  width: 80px;
  height: 80px;
  transition: transform 0.25s ease, filter 0.25s ease;
}

.service-card:hover .icon-svg {
  transform: scale(1.15);
  filter: drop-shadow(0 0 8px rgba(23, 196, 216, 0.35));
}

.service-card h4 {
  margin: 0 0 18px;
  font-size: 26px;
  color: #13284b;
}

.service-card ul {
  list-style: disc;
  text-align: left;
  max-width: 280px;
  margin: 0 auto;
  padding-left: 24px;
  color: #3c536e;
  font-size: 22px;
  line-height: 1.9;
}

.service-card li::marker {
  color: var(--cyan);
}

/* =========================================================
   08. SPLIT FEATURE SECTION
   ========================================================= */
#approach {
  scroll-margin-top: 80px;
}

.split-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 400px;
}

.split-feature .image-panel {
  min-height: 400px;
}

.split-image {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.home-img {
  background: url("images/home-exterior.png") center / cover no-repeat;
}

.mdu-img {
  background: url("images/mdu-building.png") center / cover no-repeat;
}

.home-img,
.mdu-img {
  position: relative;
}

.home-img::after,
.mdu-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(11, 29, 58, 0.12);
}

.split-feature .content-panel {
  display: flex;
  align-items: center;
  padding: 56px 68px;
  background: var(--navy);
  color: var(--white);
}

.split-feature h3 {
  margin: 0 0 18px;
  font-size: clamp(34px, 3vw, 58px);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.split-feature p {
  margin: 0;
  max-width: 560px;
  font-size: clamp(20px, 1.8vw, 28px);
  color: rgba(255, 255, 255, 0.9);
}

/* =========================================================
   09. STATS SECTION
   ========================================================= */
.stats {
  background: #001f44;
  color: var(--white);
  padding: 18px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.stat {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 150px;
  padding: 10px 12px 24px;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.stat.animate {
  opacity: 0;
  transform: translateY(20px);
}

.stat.animate.visible {
  opacity: 1;
  transform: translateY(0);
}

.stat:nth-child(1) { transition-delay: 0.1s; }
.stat:nth-child(2) { transition-delay: 0.2s; }
.stat:nth-child(3) { transition-delay: 0.3s; }
.stat:nth-child(4) { transition-delay: 0.4s; }

.stat:not(:last-child)::after {
  display: none;
}

.stat .stat-icon {
  width: 128px;
  height: 128px;
  display: grid;
  place-items: center;
  margin-bottom: 12px;
  color: var(--cyan);
  transition: transform 0.25s ease, filter 0.25s ease;
}

.stat-svg {
  width: 96px;
  height: 96px;
}

.stat:hover .stat-icon {
  transform: scale(1.15);
  filter: drop-shadow(0 0 8px rgba(23, 196, 216, 0.5));
}

.stat .value {
  display: block;
  min-height: 34px;
  margin-bottom: 6px;
  font-size: clamp(24px, 2vw, 28px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.stat .label {
  display: block;
  min-height: 24px;
  font-size: clamp(18px, 1.2vw, 22px);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.88);
}

/* =========================================================
   TESTIMONIALS SECTION
   ========================================================= */
.testimonials {
  padding: 78px 0 84px;
  background: #ffffff;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 42px;
}

.testimonial-card {
  min-height: 260px;
  padding: 34px 30px;
  background: #f4f6f8;
  border-top: 4px solid var(--cyan);
  box-shadow: 0 18px 40px rgba(11, 29, 58, 0.08);
}

.testimonial-card p {
  margin: 0 0 28px;
  color: #2a3e59;
  font-size: 20px;
  line-height: 1.65;
}

.testimonial-card span {
  display: block;
  color: var(--navy);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* =========================================================
   10. CURRENT INITIATIVE SECTION
   ========================================================= */
.initiative {
  display: grid;
  grid-template-columns: 0.9fr 1.4fr;
  min-height: 360px;
}

.initiative-copy {
  display: flex;
  align-items: center;
  padding: 64px 54px;
  background: var(--navy-3);
  color: var(--white);
}

.initiative-copy h3 {
  margin: 0 0 18px;
  font-size: clamp(34px, 3vw, 52px);
  line-height: 1.08;
}

.initiative-copy p {
  margin: 0;
  max-width: 450px;
  font-size: clamp(19px, 1.8vw, 28px);
  color: rgba(255, 255, 255, 0.92);
}

.initiative-image {
  min-height: 360px;
  background: url("images/cityscape.png") center / cover no-repeat;
}

/* =========================================================
   11. CONTACT SECTION
   ========================================================= */
.contact {
  background: #ffffff;
  padding: 72px 0 64px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 54px;
  align-items: start;
}

.contact h3 {
  margin: 0 0 10px;
  font-size: clamp(34px, 3vw, 56px);
  line-height: 1.08;
  color: #102548;
}

.contact-list {
  display: grid;
  gap: 18px;
  margin-top: 24px;
  color: #2a3e59;
  font-size: 20px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.contact-item .dot {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  border-radius: 50%;
  background: rgba(23, 196, 216, 0.14);
  color: var(--navy);
  font-size: 17px;
  font-weight: 700;
}

.socials {
  display: flex;
  gap: 14px;
  margin-top: 26px;
}

.socials a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #102548;
  color: #ffffff;
  transition: 0.2s ease;
}

.socials a:hover {
  background: var(--cyan);
}

.social-svg {
  width: 18px;
  height: 18px;
}

/* Forms */
form {
  display: grid;
  gap: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

input,
textarea {
  width: 100%;
  border: 1px solid #d7dde5;
  padding: 18px 16px;
  font-size: 18px;
  color: #23344d;
  outline: none;
  background: #ffffff;
}

input:focus,
textarea:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(23, 196, 216, 0.12);
}

textarea {
  min-height: 180px;
  resize: vertical;
}

.form-status {
  min-height: 24px;
  margin: 0;
  font-size: 15px;
  color: #48627e;
}

.contact-service-area {
  width: min(var(--container), calc(100% - 48px));
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 38px auto 0;
  padding: 18px 22px;
  border-left: 4px solid var(--cyan);
  background: rgba(0, 163, 181, 0.08);
  color: var(--navy);
  font-size: 16px;
  font-weight: 700;
  text-align: center;
}

.service-area-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  border-radius: 50%;
  background: rgba(0, 163, 181, 0.14);
  color: var(--navy);
}

.service-area-icon svg {
  width: 20px;
  height: 20px;
}

.contact-service-area.animate {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.contact-service-area.animate.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================================
   12. FOOTER
   ========================================================= */
.footer {
  background: #0b1d3a;
  color: rgba(255, 255, 255, 0.9);
  padding: 38px 0 28px;
  font-size: 15px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr 1fr;
  gap: 36px;
  align-items: start;
}

.footer-col {
  position: relative;
  min-height: 120px;
  padding: 0 34px;
}

.footer-col:first-child {
  padding-left: 0;
}

.footer-col:last-child {
  padding-right: 0;
}

.footer-col:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 4px;
  right: 0;
  width: 1px;
  height: 100%;
  background: rgba(255, 255, 255, 0.22);
}

.footer .logo .aad {
  font-size: 58px;
  line-height: 0.85;
}

.footer .logo .sub {
  margin-top: 8px;
  font-size: 12px;
  letter-spacing: 0.28em;
}

.footer-company {
  max-width: 250px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.5;
}

.footer-nav,
.footer-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px 28px;
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
}

.footer-nav {
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
}

.footer-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 30px;
  list-style: none;
  padding: 0;
  margin: 0px 0 24px;
  color: var(--cyan);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.footer-tags li:not(:last-child)::after {
  content: "\2022";
  margin-left: 26px;
  color: rgba(255, 255, 255, 0.75);
}

.footer-contact {
  display: grid;
  gap: 12px;
  justify-items: start;
  color: rgba(255, 255, 255, 0.9);
  font-size: 16px;
  font-weight: 600;
}

.footer-contact a:last-child {
  color: var(--cyan);
}

.copyright {
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
  text-align: center;
}

.testimonials,
.initiative {
  display: none;
}

/* Tablet */
@media (max-width: 1100px) {
  .hero {
    min-height: auto;
  }

  .hero-content {
    padding: 80px 0 120px;
  }

  .nav {
    gap: 18px 24px;
  }
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

/* Mobile */
@media (max-width: 900px) {

    #approach {
    scroll-margin-top: 58px;
  }

  #contact {
    scroll-margin-top: 96px;
  }

  .menu-toggle {
    display: flex;
  }

  .nav-wrap {
    flex-wrap: wrap;
    align-items: center;
  }

  .nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: rgba(3, 21, 45, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav.is-open {
    display: flex;
  }

  .nav .nav-cta {
    width: 100%;
  }

  .services-grid,
  .stats-grid,
  .split-feature,
  .initiative,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    gap: 16px;
  }

  .service-card:not(:last-child)::after,
  .footer-col:not(:last-child)::after {
    display: none;
  }

  .service-card {
    padding: 22px 16px;
    border-bottom: 1px solid #d7dde5;
  }

  .service-card:last-child {
    border-bottom: 0;
  }

  .split-feature .content-panel,
  .initiative-copy {
    padding: 42px 24px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-col {
    padding-right: 0;
  }
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

/* Small mobile */
@media (max-width: 640px) {

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

  .footer-col {
    padding: 0;
  }

  .footer .logo {
    margin: 0 auto;
  }

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

  .footer-contact {
    justify-items: center;
  }
  
   .site-header {
    padding: 9px 0;
  }

  .logo img {
    width: 188px;
  }

  .menu-toggle {
    width: 44px;
    height: 44px;
  }

   #approach {
    scroll-margin-top: 70px;
  }

  #contact {
    scroll-margin-top: 78px;
  }

  .container {
    width: min(var(--container), calc(100% - 28px));
  }

  .logo .aad,
  .footer .logo .aad {
    font-size: 48px;
  }

  .logo .sub {
    font-size: 12px;
  }

  .btn {
    width: 100%;
  }

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

  .contact-list,
  .service-card ul,
  .footer-nav,
  .footer-tags,
  .footer-contact {
    font-size: 16px;
  }

  .stat .stat-icon {
    width: 104px;
    height: 104px;
  }

  .stat-svg {
    width: 80px;
    height: 80px;
  }
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

