/* =========================================
   HI TECH SAVVY'S ELECTRICAL
   CONTACT / INNER PAGES
   ========================================= */

/* GOOGLE FONT */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');


/* =========================================
   GLOBAL
   ========================================= */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
}

.page-body {
  min-height: 100vh;

  background: #f4f7fb;

  /* SAME FONT AS HOME PAGE */
  font-family: 'Poppins', sans-serif;

  /* SAME MAIN TEXT COLOUR */
  color: #00153d;

  overflow-x: hidden;
}


/* =========================================
   COLOUR VARIABLES
   ========================================= */

:root {
  --page-navy: #00153d;
  --page-blue: #0d6efd;
  --page-dark-blue: #075dcc;
  --page-hover-blue: #004aa8;

  --page-ink: #00153d;
  --page-muted: #5d6b82;

  --page-line: #dbe3ef;

  --page-white: #ffffff;
  
    --font-body: 16px;
    --font-nav: 16px;
    --font-small: 14px;

    --font-kicker: 14px;

    --font-h1: 85px;
    --font-h2: 32px;
    --font-h3: 24px;

    --font-description: 24px;
}


/* =========================================
   NAVBAR
   SAME STYLE AS HOME PAGE
   ========================================= */

.page-header {
  width: 100%;
  height: 100px;

  background: #ffffff;

  color: #00153d;

  padding: 0 clamp(20px, 7vw, 100px);

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 24px;

  border-bottom: 1px solid #e2eaf5;

  box-shadow: 0 4px 18px rgba(0, 21, 61, 0.08);

  font-family: 'Poppins', sans-serif;
  

  position: relative;

  z-index: 1000;
}


/* =========================================
   BRAND / LOGO
   ========================================= */

.page-brand {
  display: flex;

  align-items: center;

  gap: 12px;

  color: #00153d;

  font-family: 'Poppins', sans-serif;

  font-size: 16px;

  font-weight: 700;

  text-decoration: none;
}

.page-brand img {
  width: 58px;
  height: 70px;

  object-fit: contain;

  background: transparent;

  border-radius: 0;

  padding: 0;
}


/* =========================================
   NAVIGATION
   ========================================= */

.page-nav {
  display: flex;

  align-items: center;

  justify-content: flex-end;

  gap: 36px;

  flex-wrap: wrap;
  
font-size: 16px;

}

.page-nav a {
  display: inline-block;

  position: relative;

  color: #00153d;

  text-decoration: none;

  font-family: 'Poppins', sans-serif;

  font-size: 16px;

  font-weight: 600;

  letter-spacing: 0.02em;

  padding: 10px 0;

  transition: color 0.2s ease;
}


/* =========================================
   NAVIGATION UNDERLINE
   ========================================= */

.page-nav a::after {
  content: "";

  position: absolute;

  left: 0;
  right: 0;

  bottom: 2px;

  height: 2px;

  background: #075dcc;

  transform: scaleX(0);

  transform-origin: center;

  transition: transform 0.2s ease;
}


/* =========================================
   NAVIGATION HOVER
   ========================================= */

.page-nav a:hover {
  color: #075dcc;
}

.page-nav a:hover::after {
  transform: scaleX(1);
}


/* =========================================
   ACTIVE PAGE
   ========================================= */

.page-nav a[aria-current="page"] {
  color: #075dcc;
}

.page-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}


/* =========================================
   REQUEST A QUOTE BUTTON
   ========================================= */

.page-nav a:last-child {
  background: #075dcc;

  color: #ffffff !important;

  padding: 15px 30px;

  border-radius: 8px;

  font-size: 15px;

  font-weight: 600;

  box-shadow: 0 8px 18px rgba(7, 93, 204, 0.20);

  transition:
    background 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}


/* REMOVE UNDERLINE FROM QUOTE BUTTON */

.page-nav a:last-child::after {
  display: none;
}


/* QUOTE BUTTON HOVER */

.page-nav a:last-child:hover {
  background: #004aa8;

  color: #ffffff !important;

  transform: translateY(-2px);

  box-shadow: 0 10px 22px rgba(7, 93, 204, 0.30);
}


/* =========================================
   MAIN CONTENT
   ========================================= */

.page-main {
  width: min(1100px, 86vw);

  margin: 0 auto;

  padding:
    clamp(52px, 9vw, 110px)
    0;
}


/* =========================================
   PAGE HERO
   ========================================= */

.page-hero {
  max-width: 720px;

  margin-bottom: 36px;
}


/* SMALL BLUE HEADING */

.page-kicker {
  color: #0d6efd;

  font-family: 'Poppins', sans-serif;

  font-size: 0.8rem;

  font-weight: 700;

  letter-spacing: 0.16em;

  text-transform: uppercase;
}


/* =========================================
   MAIN PAGE TITLE
   SAME DARK NAVY AS HOME
   ========================================= */

.page-title {
  margin: 10px 0 16px;

  color: #00153d;

  font-family: 'Poppins', sans-serif;

  font-size: clamp(2.3rem, 6vw, 5rem);

  line-height: 1.03;

  font-weight: 800;

  letter-spacing: -0.02em;
}


/* =========================================
   INTRO TEXT
   ========================================= */

.page-intro {
  color: #5d6b82;

  font-family: 'Poppins', sans-serif;

  font-size: clamp(1rem, 2vw, 1.25rem);

  font-weight: 400;

  line-height: 1.7;
}


/* =========================================
   CONTENT GRID
   ========================================= */

.page-grid {
  display: grid;

  grid-template-columns:
    repeat(3, 1fr);

  gap: 18px;
}


/* =========================================
   CARDS
   ========================================= */

.page-card {
  background: #ffffff;

  border: 1px solid #dbe3ef;

  border-radius: 10px;

  padding: 26px;

  box-shadow:
    0 14px 35px
    rgba(0, 21, 61, 0.06);
}

.page-card h2 {
  margin: 0 0 10px;

  color: #00153d;

  font-family: 'Poppins', sans-serif;

  font-size: 1.2rem;

  font-weight: 700;
}

.page-card p,
.page-card li {
  color: #5d6b82;

  font-family: 'Poppins', sans-serif;

  font-size: 0.95rem;

  font-weight: 400;

  line-height: 1.7;
}

.page-card ul {
  padding-left: 20px;

  margin: 0;
}


/* =========================================
   PAGE ACTION BUTTON
   ========================================= */

.page-action {
  display: inline-block;

  margin-top: 22px;

  background: #0d6efd;

  color: #ffffff;

  padding: 13px 22px;

  border-radius: 7px;

  text-decoration: none;

  font-family: 'Poppins', sans-serif;

  font-size: 15px;

  font-weight: 700;

  transition:
    background 0.2s ease,
    transform 0.2s ease;
}

.page-action:hover {
  background: #0758c7;

  color: #ffffff;

  transform: translateY(-2px);
}


/* =========================================
   CONTACT SECTION
   ========================================= */

.page-contact {
  display: grid;

  grid-template-columns:
    1fr 1.2fr;

  gap: 28px;

  align-items: start;
}


/* =========================================
   CONTACT LIST
   ========================================= */

.page-contact-list {
  list-style: none;

  padding: 0;

  margin: 0;
}

.page-contact-list li {
  margin: 0 0 14px;

  color: #5d6b82;

  font-family: 'Poppins', sans-serif;

  font-size: 0.95rem;

  line-height: 1.7;
}

.page-contact-list a {
  color: #0d6efd;

  font-family: 'Poppins', sans-serif;

  font-weight: 600;

  text-decoration: none;
}

.page-contact-list a:hover {
  color: #075dcc;
}


/* =========================================
   CONTACT FORM
   ========================================= */

.page-form {
  background: #ffffff;

  border: 1px solid #dbe3ef;

  border-radius: 10px;

  padding: 28px;

  box-shadow:
    0 14px 35px
    rgba(0, 21, 61, 0.06);
}

.page-form label {
  display: block;

  margin-bottom: 16px;

  color: #00153d;

  font-family: 'Poppins', sans-serif;

  font-size: 15px;

  font-weight: 600;
}

.page-form input,
.page-form textarea {
  display: block;

  width: 100%;

  margin-top: 7px;

  padding: 12px;

  border: 1px solid #b8c5d6;

  border-radius: 6px;

  font-family: 'Poppins', sans-serif;

  font-size: 14px;

  color: #00153d;

  background: #ffffff;

  outline: none;
}

.page-form input:focus,
.page-form textarea:focus {
  border-color: #0d6efd;

  box-shadow:
    0 0 0 3px
    rgba(13, 110, 253, 0.10);
}


/* =========================================
   FORM BUTTON
   ========================================= */

.page-form button {
  border: 0;

  cursor: pointer;

  background: #0d6efd;

  color: #ffffff;

  padding: 13px 22px;

  border-radius: 7px;

  font-family: 'Poppins', sans-serif;

  font-size: 15px;

  font-weight: 700;

  transition: background 0.2s ease;
}

.page-form button:hover {
  background: #0758c7;
}

.page-form button:disabled {
  opacity: 0.6;

  cursor: wait;
}


/* =========================================
   FORM NOTE
   ========================================= */

.page-note {
  min-height: 24px;

  color: #0d6efd;

  font-family: 'Poppins', sans-serif;

  font-weight: 600;
}


/* =========================================
   FOOTER
   ========================================= */

.page-footer {
  background: #00153d;

  color: #ffffff;

  text-align: center;

  padding: 24px;

  font-family: 'Poppins', sans-serif;
}


/* =========================================
   SCROLL REVEAL
   ========================================= */

.page-reveal {
  opacity: 0;

  transform: translateY(18px);

  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

.page-reveal.is-visible {
  opacity: 1;

  transform: translateY(0);
}


/* =========================================
   TABLET
   ========================================= */

@media (max-width: 900px) {

  .page-header {
    padding: 0 30px;
  }

  .page-nav {
    gap: 24px;
  }

  .page-nav a {
    font-size: 15px;
  }

  .page-contact {
    grid-template-columns: 1fr;
  }

  .page-grid {
    grid-template-columns:
      repeat(2, 1fr);
  }
}


/* =========================================
   MOBILE
   ========================================= */

@media (max-width: 760px) {

  .page-header {
    height: auto;

    min-height: 100px;

    padding: 18px 20px;

    align-items: center;

    flex-direction: column;
  }

  .page-brand {
    justify-content: center;
  }

  .page-nav {
    justify-content: center;

    gap: 18px;
  }

  .page-nav a {
    font-size: 14px;
  }

  .page-nav a:last-child {
    padding: 12px 20px;
  }

  .page-grid {
    grid-template-columns: 1fr;
  }

  .page-contact {
    grid-template-columns: 1fr;
  }
}


/* =========================================
   SMALL MOBILE
   ========================================= */

@media (max-width: 520px) {

  .page-main {
    width: 88vw;
  }

  .page-title {
    font-size: 2.5rem;
  }

  .page-intro {
    font-size: 1rem;
  }

  .page-header {
    padding: 15px 20px;
  }

  .page-nav {
    gap: 14px;
  }
}