/* =========================================================
   AZ SERVICES - site.css
========================================================= */

/* =========================
   VARIABLES
========================= */
:root{
  --nav-h: 64px;
  --nav-bg: #0b2a63;

  --bg-top: #f6f9fa;
  --bg-mid: #dde5e8;
  --bg-bot: #c7d1d6;

  --text-strong: rgba(0,0,0,0.86);
  --text-soft: rgba(0,0,0,0.70);
}

/* =========================
   RESET / BASE
========================= */
* { box-sizing: border-box; }

html, body { height: 100%; }
html { font-size: 16px; }

body{
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;

  background: linear-gradient(180deg, var(--bg-top) 0%, var(--bg-mid) 70%, var(--bg-bot) 100%);
  background-attachment: fixed;

  padding-top: var(--nav-h);
  overflow-x: hidden; /* prevents side scroll */
}

/* Let pages grow and keep footer at bottom */
main{ flex: 1; }

/* IMPORTANT: remove this if you don’t want to override Bootstrap container widths */
/* .container { max-width: 1140px; } */


/* =========================
   NAVBAR
========================= */
.az-nav{
  background: var(--nav-bg);
  min-height: var(--nav-h);
  box-shadow: 0 10px 28px rgba(0,0,0,0.22);
}

/* Desktop links */
.az-nav .navbar-nav .nav-link{
  color: rgba(255,255,255,0.92) !important;
  font-weight: 700;
  padding: 0 14px;
}
.az-nav .navbar-nav .nav-link:hover{
  color: #fff !important;
}
.az-nav .navbar-nav .nav-link.active{
  color: #fff !important;
  text-decoration: underline;
  text-underline-offset: 7px;
}

/* Keep nav centered on desktop */
.az-nav .navbar-collapse{
  justify-content: center;
}

/* Toggler base */
.az-nav .navbar-toggler{
  border: none;
}
.az-nav .navbar-toggler:focus{
  box-shadow: none;
}

/* White hamburger icon */
.az-nav .navbar-toggler-icon{
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255,255,255,0.95)' stroke-width='2' stroke-linecap='round' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

/* MOBILE NAV (≤ 992px) */
@media (max-width: 991.98px){

  /* Make toggler stay on the LEFT */
  .az-nav .container{
    justify-content: flex-start !important;
  }
  .az-nav .navbar-toggler{
    margin-right: auto;
  }

  /* Left align menu and cancel mx-auto */
  .az-nav .navbar-collapse{
    justify-content: flex-start !important;
  }
  .az-nav .navbar-nav{
    margin: 0 !important;
    align-items: flex-start;
  }

  /* Dropdown panel background */
  #mainNavbar.collapse,
  #mainNavbar.collapsing,
  #mainNavbar.collapse.show{
    background: rgba(255,255,255,0.96);
    border-radius: 14px;
    margin-top: 10px;
    padding: 12px 16px;
    text-align: left;
  }

  /* Make text black immediately */
  #mainNavbar.collapse .nav-link,
  #mainNavbar.collapsing .nav-link,
  #mainNavbar.collapse.show .nav-link{
    color: rgba(0,0,0,0.85) !important;
    width: 100%;
    text-align: left;
    padding: 10px 0;
  }

  #mainNavbar .nav-link:hover{
    background: rgba(0,0,0,0.05);
    border-radius: 8px;
    padding-left: 10px;
  }

  #mainNavbar .nav-link.active{
    color: #000 !important;
    text-decoration: underline;
    text-underline-offset: 6px;
  }
}


/* =========================
   HERO (Home page)
========================= */
.hero{
  position: relative;
  padding: 90px 0 170px;
  background: transparent;
}

.hero-grid{
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 60px;
}

.hero-text{ max-width: 540px; }

.hero-text h1{
  font-size: clamp(2.7rem, 5vw, 4.2rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin: 0 0 14px;
  color: rgba(0,0,0,0.82);
  font-weight: 750;
}
.hero-text p{
  margin: 0 0 22px;
  font-size: 1.05rem;
  color: rgba(0,0,0,0.82);
  max-width: 460px;
}

.hero .btn{
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 800;
  box-shadow: 0 14px 30px rgba(0,0,0,0.22);
  transition: transform .15s ease, box-shadow .15s ease;
}
.hero .btn:hover{
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.26);
}

.hero-logo{
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-logo img{
  width: min(560px, 100%);
  opacity: 0.92;
  filter: drop-shadow(0 22px 44px rgba(0,0,0,0.25));
  mask-image: radial-gradient(circle at center, black 65%, transparent 100%);
  -webkit-mask-image: radial-gradient(circle at center, black 65%, transparent 92%);
}


/* =========================
   MAIN CONTAINER (pages)
========================= */
main.container{
  width: min(1050px, 92%);
  margin: 40px auto 60px;
  background: transparent;
  padding: 0;
  box-shadow: none;
  text-align: left;
}

/* Overlap into hero only on home */
body.has-hero main.container{
  margin-top: -95px;
}


/* =========================
   SERVICES GRID
========================= */
.service-img-wrapper img{
  width: 190px;
  height: 190px;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 14px 28px rgba(0,0,0,0.18);
  transition: transform .18s ease, box-shadow .18s ease;
}
.service-img-wrapper img:hover{
  transform: translateY(-4px);
  box-shadow: 0 22px 40px rgba(0,0,0,0.22);
}

.card.bg-transparent{
  background: transparent !important;
}

.card-title{
  margin-top: 10px;
  letter-spacing: 0.2px;
}

/* Shared small logo used at top of pages */
.services-logo{
  display: flex;
  justify-content: center;
  margin-bottom: 12px;
}
.services-logo img{
  max-width: 160px; /* keep ONE value (no duplicates) */
  width: 100%;
  opacity: 0.9;
  filter: drop-shadow(0 6px 14px rgba(0,0,0,0.18));
}


/* =========================
   ABOUT PAGE
========================= */
.about-section{ padding-bottom: 80px; }

.about-logo img{
  max-width: 160px;
  width: 100%;
  opacity: 0.95;
  filter: drop-shadow(0 8px 20px rgba(0,0,0,0.25));
}

.about-card{
  max-width: 820px;
  background: rgba(255,255,255,0.92);
  padding: 36px 42px;
  border-radius: 22px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.18);
  text-align: left;
  line-height: 1.7;
}

.about-card p{
  margin-bottom: 18px;
  color: rgba(0,0,0,0.8);
  font-size: 1.05rem;
}


/* =========================
   CONTACT PAGE (table)
========================= */
.contact-card{ max-width: 820px; }

.contact-table{
  border-collapse: separate;
  border-spacing: 0 10px;
}

.contact-table thead th{
  border: none !important;
  color: rgba(0,0,0,0.65);
  font-weight: 700;
  padding: 10px 16px;
}

.contact-table tbody tr{
  background: rgba(255,255,255,0.85);
  box-shadow: 0 10px 22px rgba(0,0,0,0.10);
  transition: transform 0.12s ease;
}
.contact-table tbody tr:hover{
  transform: translateY(-1px);
}
.contact-table tbody td{
  border: none !important;
  padding: 14px 16px;
}


/* =========================
   FOOTER
========================= */
#site-footer{
  padding: 24px 0 30px;
  text-align: center;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  background: transparent;
}


/* =========================
   RESPONSIVE (general)
========================= */
@media (max-width: 992px){
  .hero{ padding: 70px 0 170px; }
  .hero-grid{
    grid-template-columns: 1fr;
    gap: 34px;
    text-align: center;
  }
  .hero-text h1,
  .hero-text p{
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
  .hero-logo img{
    width: min(360px, 100%);
  }
  body.has-hero main.container{
    margin-top: -70px;
  }
  main.container{
    padding: 28px 20px;
  }
}

@media (max-width: 576px){
  .hero{ padding: 62px 0 165px; }
  .service-img-wrapper img{
    width: 160px;
    height: 160px;
  }
}

@media (max-width: 768px){
  .about-logo img{ max-width: 120px; }
  .about-card{ padding: 26px 22px; }
}
