/* ================================================================
   ROOT & BASE
================================================================ */
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--mobile-header-height, 0px) + 1rem);
}

body {
  /*background-image: url(https://southlake.windowhero.com/wp-content/uploads/sites/12/2024/08/WH_Commercial_Header_1920x794_NEW.webp);*/
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
  margin: 0;
  padding: 0;
  font-family: 'Roboto';
}

body.mobile-menu-open {
  overflow: hidden;
}

/* ================================================================
   HEADER
================================================================ */
#left-header-div {
  background-color: rgb(31, 83, 143);
  justify-content: center;
  align-items: center;
  color: white;
}

#telephone-div {
  display: flex;
  flex-direction: row;
  background-color: white;
  border-radius: 0.75rem;
  color: rgb(32, 83, 143);
  padding: 0.5rem 1rem;
}

#telephone-div * { margin: auto; }

.header-img {
  width: auto;
  height: 1.67rem;
}

#location-div {
  display: flex;
  flex-direction: row;
  background-color: white;
  border-radius: 0.75rem;
  color: rgb(32, 83, 143);
  padding: 0.5rem 1rem;
}

#location-div * { margin: auto; }

.inherit-styles {
  color: inherit;
  text-decoration: none;
}

/* ================================================================
   NAV

   nav div height is a guaranteed: 0.75rem + 18vh
    the rem comes from border + padding and the vh comes from the img wrapper. 
    this is important for the scroll anchor divs to work properly cuz they positioned based on the nav height.
    change the --scroll-distance var if any changes are made
================================================================ */
:root {
  --scroll-distance: calc(0.75rem + 18vh);
  /*change this anytime a change is made to the nav measurements*/
}
nav {
  position: sticky;
  top: 0;
  z-index: 999;
  width: 100%;
}

#nav-container {
  padding: 0.25rem 1rem;
    background-color: white;
    max-height: 20vh;
    border-bottom: clamp(0.25rem, 0.5vh, 0.5rem) solid rgb(32, 83, 143);
}

#nav-logo {
    margin: auto;
    max-height: 100%;
    max-width: 100%;
    height: auto;
    width: auto;
    object-fit: contain;
}

#img-wrapper {
    background-color: white;
    display: flex;
    align-items: center;
    height: 18vh;
    width: auto;
    justify-content: center;
}


@media (max-width: 992px) {
  #img-wrapper { aspect-ratio: 1/1 !important;}
}

#nav-center-menu-div li { display: inline-block; }
#nav-center-menu-div { max-width: fit-content; }
#nav-center-col { align-content: center; justify-items: left; }



.nav-spacer {
  display: inline-block;
  width: 1.5vw;
  margin: auto;
}

.nav-title-p {
  font-weight: bold;
  font-size: 1.25rem;
  margin: auto;
  text-decoration: none;
  position: relative;
}

.nav-title-p::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 0.2rem;
  background-color: currentColor;
  transition: width 0.3s ease-in-out;
}

.nav-title-p:hover::after {
  width: 100%;
}

#menu-svg { display: none; }


@media (max-width: 1060px) {
  header * { display: none; }

  #menu-svg {
    display: block;
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 1000;
    cursor: pointer;
  }

  .menu-div-li { display: none !important; }
  #nav-center-menu-div { justify-items: end; }
}


/* ================================================================
   MENU DROPDOWN (mobile)
================================================================ */
#mobile-menu-div {
  display: none;
}

@media (max-width: 1060px) {
    #mobile-menu-div { 
      display: block;
      position: absolute;
      top: 1rem;
      right: 1rem;
      z-index: 1000;
      cursor: pointer;
    }
}


#mobile-menu-button {
  border: none;
  background: none;
}

@media (min-width: 480px) {
  #mobile-menu-button {
    font-size: 3rem;
  }
}
@media (max-width: 380px) {
  #mobile-menu-dropdown {
  inset: 40px -50px auto auto !important;
  min-width: calc(0.125 * var(--bs-dropdown-min-width));
  }
}

@media (max-width: 290px) {
  #mobile-menu-div {
    display: none;
  }
}

@media (max-width: 1060px) {
  #nav-center-menu-div li { width: 100%;} /*super important, this ensures that the mobile dropdown buttons dont go in the same row*/
  /*this media query should apply anytime the mobile dropdown is shown, ensure the pixel value above is consistent with that*/
}



/*menu dropdown element underliens using :hover and ::after*/

#mobile-menu-dropdown li {
  position: relative; /*for the ::after anchoring*/
}

.menu-dropdown-li::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 0.2rem;
  background-color: currentColor;
  transition: width 0.3s ease-in-out;
}

.menu-dropdown-li:hover::after {
  width: 100%;
}


/* ================================================================
   COVER
================================================================ */

#cover-div {
  position: relative;
  background-image: url(/imgs/homebackground.jpg);
  background-size: cover;
  background-position: center;
  min-height: 90vh;
  padding-right: clamp(10px,1rem,20px)
}

#cover-div::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(32, 83, 143,0.5); /*blue overlay*/
  /*background: rgba(0,0,0,0.2)*/
}

#cover-container {
  margin-right: 1rem !important;
}

@media (max-width: 992px) {
  #cover-container { 
    margin-right: auto !important;
    margin-left: auto !important;}
}

#cover-content-div {
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 1rem;
  z-index: 1;
  padding: 1rem;
}

/* ================================================================
   HOME SECTION
================================================================ */

#home {
  overflow: visible;
}

#slogan-container {
  position: relative;
  background-color: white;
  padding: 2rem;
  border-radius: 1rem;
  overflow-x: visible;
  margin-top: 2rem;
}

#slogan {
  position: relative;
  text-align: center;
  animation: fade-drop 1s ease-in-out;
}

@keyframes fade-drop {
  0%   { opacity: 0; top: -8rem; }
  100% { opacity: 1; top: 0; }
}

#slogan::before,
#slogan::after {
  content: "";
  display: block;
  margin: 0.5rem auto;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #22c55e, #38bdf8);
  border-radius: 999px;
}

/* ================================================================
   ABOUT US + HOME CONTENT
================================================================ */

#scroll-about-us-div {
  position: absolute;
  top: calc(-1 * var(--scroll-distance));
  left: 0;
  width: 0.01px;
}

#about-us {
  position: relative;
}

#home-main-content {
  margin-top: 2rem;
  background-color: white;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: rgb(32, 83, 143) 0 1rem 12px 6px;
  border: 0.25rem solid rgb(32, 83, 143);
  border-bottom: 0 solid rgb(32, 83, 143);
}

#about-us-col {
  position: relative;
  padding: clamp(1rem, 2vw, 2rem);
  border-radius: 1rem;
  transition: box-shadow 0.3s ease;
  box-sizing: border-box !important;
}

.about-us-heading {
  font-family: "DM Sans", sans-serif;
}

#about-us-img {
  margin: auto;
  background-color: white;
  max-height: 100%;
  max-width: 100%;
  height: auto;
  width: auto;
  object-fit: contain;
  border-radius: 0.9rem;
  border: solid 0.25rem darkblue;
}

.decorative-blue-line::after {
  content: "";
  display: block;
  width: clamp(50px, 10vw, 100px);
  height: 4px;
  background: linear-gradient(90deg, #34fcff, #38bdf8);
  border-radius: 1px;
  margin: 1rem auto;
}

/* ================================================================
   SHARED PAGE CONTENT
================================================================ */
.page-content {
  margin-bottom: 3rem;
}

.content-card {
  background-color: rgba(255, 255, 255, 0.97);
  padding: 2.5rem;
  border-radius: 1rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
}

.section-title {
  color: rgb(32, 83, 143);
  font-family: "DM Sans", sans-serif;
  font-size: 2rem;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #22c55e, #38bdf8);
  border-radius: 999px;
  margin-top: 0.5rem;
}

@media (max-width: 767px) {
  .section-title::after {
  content: "";
  display: block;
  width: 100px;
  height: 3px;
  background: linear-gradient(90deg, #22c55e, #38bdf8);
  border-radius: 999px;
  margin: 0.5rem auto;
  }
  .section-title {
    text-align: center;
    display: block; /*centers it for smaller screens that dont have enough space for anything else*/
  }
}

.section-text {
  font-size: 1.1rem;
  color: #333;
  line-height: 1.8;
}

/* ================================================================
   HOME BENEFIT CARDS (residential light style)
================================================================ */

#residential {
  position: relative;
}
#scroll-residential-div {
  position: absolute;
  top: calc(-1 * var(--scroll-distance));
  left: 0;
  width: 0.01px;
}

.home-benefit-card {
  background: linear-gradient(135deg, #ffffff, #f0f9ff);
  padding: 1.75rem;
  border-radius: 0.75rem;
  text-align: center;
  border: 2px solid rgba(98, 166, 245, 0.3);
  transition: all 0.3s ease;
  height: 100%;
}

.home-benefit-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(98, 166, 245, 0.3);
  border-color: rgb(98, 166, 245);
}

.home-benefit-card i  { font-size: 3rem; color: rgb(98, 166, 245); margin-bottom: 1rem; display: block; }
.home-benefit-card h3 { font-size: 1.2rem; font-weight: bold; color: rgb(32, 83, 143); margin-bottom: 0.5rem; }
.home-benefit-card p  { font-size: 0.95rem; color: #666; margin: 0; }

/* ================================================================
   SERVICE LIST
================================================================ */
.service-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-list li {
  font-size: 1.1rem;
  color: #333;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  line-height: 1.6;
  gap: 0.75rem;
}

.service-list li i {
  font-size: 1.3rem;
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.text-success { color: #22c55e !important; }
.text-primary-blue { color: rgb(98, 166, 245) !important; }

.add-ons-card { border: 2px solid rgba(98, 166, 245, 0.3); }

/* ================================================================
   SERVICE FEATURES (residential)
================================================================ */
.service-feature {
  display: flex;
  gap: 1.5rem;
  padding: 1.5rem;
  background-color: white;
  border-radius: 0.75rem;
  border: 2px solid rgba(98, 166, 245, 0.2);
  transition: all 0.3s ease;
}

.service-feature:hover {
  border-color: rgb(98, 166, 245);
  box-shadow: 0 6px 16px rgba(98, 166, 245, 0.2);
  transform: translateX(5px);
}

.feature-icon {
  flex-shrink: 0;
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, rgb(98, 166, 245), rgb(32, 83, 143));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-icon i { font-size: 2rem; color: white; }

.feature-content h3 { color: rgb(32, 83, 143); font-size: 1.3rem; font-weight: bold; margin-bottom: 0.5rem; }
.feature-content p  { color: #555; font-size: 1rem; margin: 0; line-height: 1.6; }
.feature-content h4 { color: rgb(32, 83, 143); font-size: 1.2rem; font-weight: bold; margin-bottom: 0.5rem; }

/* ================================================================
   PACKAGE OPTIONS (residential)
================================================================ */
#packages {
  position: relative;
}

#scroll-packages-div {
  position: absolute;
  top: calc(-1 * var(--scroll-distance));
  left: 0;
  width: 0.01px;
}

.package-option {
  background-color: white;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
}

.package-option:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.package-option.pkg-featured {
  border: 3px solid rgb(32, 83, 143);
  transform: scale(1.05);
}

.package-option.pkg-featured:hover {
  transform: scale(1.05) translateY(-8px);
}

.popular-badge {
    position: absolute;
    top: 25px;
    right: -50px;
    background: linear-gradient(90deg, #22c55e, #38bdf8);
    color: white;
    padding: 0.4rem 3rem;
    font-weight: bold;
    font-size: 0.85rem;
    transform: rotate(45deg);
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}


@media (max-width: 1200px) {
  .popular-badge {
    position: absolute;
    top: 18px;
    right: -55px;
    background: linear-gradient(90deg, #22c55e, #38bdf8);
    color: white;
    padding: 0.4rem 3rem;
    font-weight: bold;
    font-size: 0.6rem;
    transform: rotate(45deg);
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  }
  .premium {
    padding-top: 2.5rem !important;
  }
}


@media (max-width: 992px) {
  .popular-badge {
    position: absolute;
    top: 20px;
    right: -50px;
    background: linear-gradient(90deg, #22c55e, #38bdf8);
    color: white;
    padding: 0.4rem 3rem;
    font-weight: bold;
    font-size: 0.5rem;
    transform: rotate(45deg);
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  }
  .premium {
    padding-top: 2rem !important;
  }
}

@media (max-width: 767px) {
  .popular-badge {
    position: absolute;
    top: 30px;
    right: -60px;
    background: linear-gradient(90deg, #22c55e, #38bdf8);
    color: white;
    padding: 0.8rem 4rem;
    font-weight: bold;
    font-size: 1rem;
    transform: rotate(45deg);
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  }
  .premium {
    padding-top: 4rem !important;
  }
}


@media (max-width: 494px) {
  .popular-badge {
    position: absolute;
    top: 18px;
    right: -64px;
    background: linear-gradient(90deg, #22c55e, #38bdf8);
    color: white;
    padding: 0.8rem 4rem;
    font-weight: bold;
    font-size: 0.8rem;
    transform: rotate(45deg);
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  }
  .premium {
    padding-top: 4rem !important;
  }
}



@media (max-width: 385px) {
  .popular-badge {
    position: absolute;
    top: 22px;
    right: -66px;
    background: linear-gradient(90deg, #22c55e, #38bdf8);
    color: white;
    padding: 0.8rem 4rem;
    font-weight: bold;
    font-size: 0.7rem;
    transform: rotate(45deg);
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  }
  .premium {
    padding-top: 4rem !important;
  }
}

@media (max-width: 353px) {
  .popular-badge {
    position: absolute;
    top: 12px;
    right: -68px;
    background: linear-gradient(90deg, #22c55e, #38bdf8);
    color: white;
    padding: 0.8rem 4rem;
    font-weight: bold;
    font-size: 0.7rem;
    transform: rotate(45deg);
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  }
  .premium {
    padding-top: 4rem !important;
  }
}

@media (max-width: 335px) {
  .popular-badge {
    position: absolute;
    top: 24px;
    right: -72px;
    background: linear-gradient(90deg, #22c55e, #38bdf8);
    color: white;
    padding: 0.8rem 4rem;
    font-weight: bold;
    font-size: 1rem;
    transform: rotate(45deg);
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  }
  .premium {
    padding-top: 4rem !important;
  }
}

@media (max-width: 312px) {
  .popular-badge {
    position: static;
    background: linear-gradient(90deg, #22c55e, #38bdf8);
    color: white;
    padding: 0.4rem 0;
    font-weight: bold;
    font-size: 0.67rem;
    transform: none;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    width: 100%;
    margin: auto;
    text-align: center;
  }
  .premium {
    padding-top: 1rem !important;
  }
}



.package-header {
  padding: 2.5rem 1.5rem;
  text-align: center;
  color: white;
}

.package-header.standard { background: linear-gradient(135deg, #22c55e, #16a34a); }
.package-header.premium  { background: linear-gradient(135deg, rgb(98, 166, 245), rgb(32, 83, 143)); }
.package-header.deluxe   { background: linear-gradient(135deg, #f59e0b, #d97706); }

.package-header h3 {
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 1rem;
  font-family: "DM Sans", sans-serif;
}

.package-price      { display: flex; flex-direction: column; gap: 0.25rem; }
.price-label        { font-size: 0.9rem; opacity: 0.9; }
.price-amount       { font-size: 2.5rem; font-weight: bold; }

.package-body {
  padding: 2rem 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.package-description { color: #666; font-size: 1rem; text-align: center; margin-bottom: 1.5rem; font-style: italic; }

.package-features {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
  flex-grow: 1;
}

.package-features li {
  color: #333;
  font-size: 1rem;
  margin-bottom: 0.75rem;
  padding-left: 1.75rem;
  position: relative;
}

.package-features li i {
  color: #22c55e;
  font-size: 1.2rem;
  position: relative;
  left: 0;
  top: 0.7rem;
}

.package-btn {
  display: block;
  background: linear-gradient(135deg, rgb(98, 166, 245), rgb(32, 83, 143));
  color: white;
  text-align: center;
  padding: 0.9rem 1.5rem;
  border-radius: 0.5rem;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  margin-top: auto;
}

.package-btn:hover {
  background: linear-gradient(135deg, rgb(32, 83, 143), rgb(98, 166, 245));
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  color: white;
}

/* ================================================================
   TRUST ITEMS (residential)
================================================================ */
.trust-item { 
  text-align: center; 
  padding: 1.5rem; 
  border: 0.1rem solid #22c55e;
  height: -webkit-fill-available;
  min-height: 225px;
}
.trust-item i  { font-size: 3.5rem; color: #22c55e; margin-bottom: 1rem; display: block; }
.trust-item h4 { color: rgb(32, 83, 143); font-size: 1.2rem; font-weight: bold; margin-bottom: 0.5rem; }
.trust-item p  { color: #666; font-size: 0.95rem; margin: 0; }

/* ================================================================
   FAQ (residential)
================================================================ */

#faq {
  position: relative;
}

#scroll-faq-div {
  position: absolute;
  top: calc(-1 * var(--scroll-distance));
  left: 0;
  width: 0.01px;
}


.faq-grid { display: grid; gap: 1.5rem; margin-top: 2rem; }

.faq-grid .accordion {
  --bs-accordion-border-color: rgba(98, 166, 245, 0.2);
  --bs-accordion-border-width: 1px;
  --bs-accordion-border-radius: 1rem;
  --bs-accordion-inner-border-radius: calc(1rem - 1px);
  --bs-accordion-btn-padding-x: 1.25rem;
  --bs-accordion-btn-padding-y: 1.25rem;
  --bs-accordion-btn-focus-border-color: rgba(98, 166, 245, 0.35);
  --bs-accordion-btn-focus-box-shadow: 0 0 0 0.2rem rgba(98, 166, 245, 0.15);
  --bs-accordion-active-bg: #fff;
  --bs-accordion-active-color: rgb(32, 83, 143);
  --bs-accordion-btn-bg: #fff;
  --bs-accordion-body-padding-x: 1.25rem;
  --bs-accordion-body-padding-y: 1rem;
}

.faq-grid .accordion-item {
  border-radius: 1rem;
  overflow: hidden;
  margin-bottom: 1rem;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}

.faq-grid .accordion-item:last-child {
  margin-bottom: 0;
}

.faq-grid .accordion-button {
  gap: 1rem;
  align-items: center;
  font-weight: 600;
  color: rgb(32, 83, 143);
  font-size: 1.05rem;
  line-height: 1.4;
}

.faq-grid .accordion-button:not(.collapsed) {
  box-shadow: inset 0 -1px 0 rgba(98, 166, 245, 0.15);
}

.faq-grid .accordion-button::after {
  flex-shrink: 0;
  margin-left: auto;
}

.faq-question {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  width: 100%;
}

.faq-question i {
  font-size: 1.75rem;
  color: rgb(98, 166, 245);
  flex-shrink: 0;
}

.faq-question span {
  text-align: left;
}

.faq-grid .accordion-body {
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
  color: #475569;
  line-height: 1.7;
  padding-top: 1rem;
}

.faq-grid .accordion-body p {
  margin: 0;
}

.faq-item {
  background-color: white;
  padding: 1.75rem;
  border-radius: 0.75rem;
  border-left: 4px solid rgb(98, 166, 245);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.faq-item:hover {
  box-shadow: 0 6px 16px rgba(98, 166, 245, 0.15);
  transform: translateX(5px);
}

.faq-item h4 {
  color: rgb(32, 83, 143);
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.faq-item h4 i { color: rgb(98, 166, 245); font-size: 1.5rem; flex-shrink: 0; }
.faq-item p    { color: #555; font-size: 1rem; line-height: 1.7; margin: 0; }

/* ================================================================
   CTA CARDS
================================================================ */
.cta-card {
  background: linear-gradient(135deg, rgb(32, 83, 143), rgb(98, 166, 245));
  padding: 3rem 2rem;
  border-radius: 1rem;
  text-align: center;
  color: white;
}

.cta-card h2 {
  font-size: 2.2rem;
  font-weight: bold;
  margin-bottom: 1rem;
  font-family: "DM Sans", sans-serif;
}

.cta-card p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.cta-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-cta-primary,
.btn-cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border-radius: 0.5rem;
  font-size: 1.1rem;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid white;
}

.btn-cta-primary {
  background-color: white;
  color: rgb(32, 83, 143);
}

.btn-cta-primary:hover {
  background-color: #22c55e;
  color: white;
  border-color: #22c55e;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.btn-cta-secondary {
  background-color: transparent;
  color: white;
}

.btn-cta-secondary:hover {
  background-color: white;
  color: rgb(32, 83, 143);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* ================================================================
   CONTACT SECTION
================================================================ */

#contact {
  position: relative;
  background: linear-gradient(135deg, #1e7be5, #1563c7);
}

#scroll-contact-div {
  position: absolute;
  top: calc(-1 * var(--scroll-distance));
  left: 0;
  width: 0.01px;
}

#contact-container {
  background-color: white;
  padding: 3rem 1rem;
  border-top: 0.5rem solid rgb(32, 83, 143);
  margin-top: 3rem;
}

.contact-heading {
  color: rgb(32, 83, 143);
  font-family: "DM Sans", sans-serif;
  position: relative;
  display: inline-block;
  margin: 0 auto;
}

.contact-heading::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #22c55e, #38bdf8);
  border-radius: 999px;
  margin: 0.5rem auto 0;
}

.contact-content {
  background-color: rgba(98, 166, 245, 0.1);
  padding: 2rem;
  border-radius: 1rem;
  border: 2px solid rgba(98, 166, 245, 0.3);
}

.contact-content p { font-size: 1.1rem; color: #333; }

.contact-info { display: flex; flex-direction: column; gap: 1.5rem; margin-top: 2rem; }

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  background-color: white;
  border-radius: 0.5rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.contact-item:hover i { transform: translateY(-0.25rem); }
.contact-item i { font-size: 2rem; color: rgb(98, 166, 245); min-width: 2rem; transition: transform 0.2s ease; }
.contact-item h3 { font-size: 1.2rem; font-weight: bold; color: rgb(32, 83, 143); margin-bottom: 0.25rem; }
.contact-item p  { margin: 0; font-size: 1rem; color: rgb(32, 83, 143); }
.contact-item a  { color: rgb(32, 83, 143); text-decoration: none; font-weight: bold; font-size: 1.1rem; }
.contact-item a:hover { text-decoration: underline; }

.contact-item:has(#telephone-footer:hover) .bi.bi-telephone-fill {
  animation: shake 0.5s infinite ease-in-out;
}

@keyframes shake {
  0%   { transform: translateX(0) translateY(-0.25rem); }
  25%  { transform: translateX(-2px) translateY(-0.25rem); }
  50%  { transform: translateX(2px) translateY(-0.25rem); }
  75%  { transform: translateX(-2px) translateY(-0.25rem); }
  100% { transform: translateX(0) translateY(-0.25rem); }
}

.contact-item:has(#locations-anchor:hover) .bi.bi-geo-alt-fill {
  color: red;
  transition: color 0.3s ease;
  transform: scale(1.05);
}

#location-div:has(#location-header:hover) #location-icon {
  filter: hue-rotate(131deg) contrast(5);
  transition: color 0.3s ease;
  transform: scale(1.05);
}

.social-links {
  padding-top: 1.5rem;
  border-top: 2px solid rgba(98, 166, 245, 0.3);
}

.social-links h3 { font-size: 1.2rem; font-weight: bold; color: rgb(32, 83, 143); }

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  /*width: clamp(3rem, 8vw, 5rem);
  height: clamp(3rem, 8vw, 5rem);*/
  background-color: rgb(98, 166, 245);
  border-radius: 50%;
  margin: 0 clamp(0.25rem, 1vw, 0.5rem);
  transition: all 0.3s ease;
  padding: clamp(0.5rem, 3vw, 0.75rem);
  flex-shrink: 0;
}

.social-icon i { 
  font-size: 1rem; color: white; 
  /*increasing this font-size uncenters the icon vertical AND horizontally for some reason*/
}

@media (max-width: 767px)  {
  .bi::before, .bi::after { 
  font-size: clamp(1rem, 10vw, 2rem); 
  }
}


.social-icon:hover {
  background-color: rgb(32, 83, 143);
  transform: translateY(-3px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* ================================================================
   FOOTER
================================================================ */
#footer {
  background-color: rgb(31, 83, 143);
  color: white;
  padding: 1.5rem 0;
}

.footer-text { margin: 0; font-size: 1rem; }
.footer-nap { margin: 0 0 0.75rem; font-size: 0.95rem; color: rgba(255, 255, 255, 0.9); }

#site-footer {
  background: linear-gradient(180deg, #0e3f86 0%, #082a5b 100%);
  color: #fff;
  border-top: 4px solid rgba(255, 255, 255, 0.16);
}

#site-footer .footer-inner {
  padding: 2.25rem 1.25rem 1.5rem;
}

#site-footer .footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

#site-footer .footer-company-name {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.7rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0;
}

#site-footer .footer-tagline {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1rem;
}

#site-footer .footer-nap {
  margin-top: 0.5rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
}

#site-footer .footer-contact-item {
  display: block;
  width: fit-content;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  margin: 0.1rem 0;
  line-height: 1.45;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

#site-footer .footer-contact-item:hover {
  opacity: 0.88;
  transform: translateX(2px);
}

#site-footer .footer-social {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.9rem;
}

#site-footer .social-icon {
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition: transform 0.2s ease, background-color 0.2s ease;
}

#site-footer .social-icon:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

#site-footer .social-icon i {
  font-size: 1.35rem;
}

#site-footer .footer-bottom {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

#site-footer .footer-copy {
  margin: 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.92rem;
}

@media (max-width: 767px) {
  #site-footer .footer-inner {
    padding: 2rem 1rem 1.25rem;
  }

  #site-footer .footer-social {
    justify-content: flex-start;
    margin-top: 0.75rem;
  }

  #site-footer .footer-contact-item {
    width: 100%;
  }
}

/* ================================================================
   RESPONSIVE
================================================================ */

@media (min-width: 768px) {
  .bi::before, .bi::after { 
  font-size: clamp(1rem, 10vw, 2rem); 
}
}


@media (max-width: 992px) {
  .package-option.pkg-featured { transform: scale(1); }
  .package-option.pkg-featured:hover { transform: translateY(-8px); }
}

@media (max-width: 768px) {
  .content-card  { padding: 1.5rem; }
  .section-title { 
    font-size: 1.6rem;
    text-align: center;
   }

  .service-feature { flex-direction: column; text-align: center; }
  .service-feature .feature-icon { margin: 0 auto 1rem; }

  .cta-card { padding: 2rem 1.5rem; }
  .cta-card h2 { font-size: 1.6rem; }

  .cta-buttons { flex-direction: column; gap: 1rem; }

  .btn-cta-primary,
  .btn-cta-secondary { width: 100%; justify-content: center; }

  #contact-container { padding: 2rem 1rem; }
  .contact-content   { padding: 1.5rem; }

  .contact-item { flex-direction: column; text-align: center; align-items: center; }
  .contact-item i { margin-bottom: 0.5rem; }

  #telephone-contact-item {
    flex-direction: column-reverse !important;
    text-align: center !important;
    align-items: center !important;
  }

  

  #about-us-img { display: none; }
}

@media (max-width: 576px) {
  .package-option,
  .trust-item,
  .home-benefit-card { margin-bottom: 1.5rem; }
}


/* ================================================================
   PRINT
================================================================ */
@media print {
  body    { background: white; }
  header, nav, footer { display: none; }
  .content-card { box-shadow: none; border: 1px solid #ddd; }
}

.top-bar {
   background: rgba(247, 247, 247, 1);
    font-size: 14px;
    color: #6c757d;
    padding: 10px 0px;
}

.top-bar i {
       margin-right: 6px;
    color: #000;
    font-size: 16px;
}

.top-social a {
    color: #6c757d;
    margin-left: 15px;
    font-size: 14px;
    transition: .3s;
}

.top-social a:hover {
    color: #5a6cff;
}

.brand-name {
    font-weight: 600;
    font-size: 20px;
    color: #2d3748;
}

.navbar-nav .nav-link {
    font-weight: 500;
    margin: 0 10px;
    color: #2d3748;
}

.navbar-nav .nav-link.active {
    color: #5a6cff;
}

.btn-outline-primary {
    border-radius: 6px;
    font-weight: 500;
}

.hero-section {
    position: relative;
    background: url('/imgs/homebackground.jpg') center center/cover no-repeat;
    min-height: 750px;
    display: flex;
    align-items: center;
    overflow: hidden;
     font-family: Roboto;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        90deg,
        rgba(28, 31, 87, 0.95) 0%,
        rgba(28, 31, 87, 0.85) 40%,
        rgba(28, 31, 87, 0.2) 100%
    );
    z-index: 1;
   
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-subtitle {
    font-size: 30px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 600;
   
}

.hero-title {
    font-size: 56px;
    font-weight: 300;
    line-height: 1.2;
    margin: 20px 0;
}

.hero-title span {
    font-weight: 600;
}

.hero-text {
    font-size: 16px;
    opacity: .8;
    margin-bottom: 25px;
}

.hero-btn {
    padding: 14px 28px;
    font-weight: 600;
    border-radius: 6px;
}

.booking-card {
    background: #fff;
    padding: 35px;
    border-radius: 10px;
    margin-top: 80px;
}

.booking-card h4 {
    text-align: center;
    margin-bottom: 20px;
    font-weight: 600;
}

.hero-bottom-shape {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 120px;
    background: #fff;
    border-top-left-radius: 50% 100%;
    border-top-right-radius: 50% 100%;
    z-index: 2;
}

.row__shape {
    height: 150px;
    width: 100%;
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    z-index: 2;
    transition: all ease 1.5s;
    -webkit-transition: all ease 1.5s;
    -moz-transition: all ease 1.5s;
}

.shape__svg {
    position: absolute;
    width: 100%;
    height: 100%;
    bottom: 0;
    left: 0;
    fill: #fff;
}

/* Top Header */

.top-header {
    background: #001a4d;
    color: #fff;
    padding: 10px 0;
    font-size: 14px;
    font-family: 'Roboto';
}

.top-contact span {
    margin-right: 15px;
}

.top-contact i {
    color: #2ea3ff;
    margin-right: 6px;
}

.divider {
    border-left: 1px solid rgba(255,255,255,.3);
    margin: 0 15px;
}

.top-social a {
    color: #fff;
    margin-left: 15px;
    transition: .3s;
}

.top-social a:hover {
    color: #2ea3ff;
}


/* Main Nav */

.main-nav-wrapper {
    background: #016cec;
    position: relative;
    padding: 10px 0;
}

.navbar-nav .nav-link {
    color: #fff !important;
    font-weight: 500;
    margin: 0 12px;
}

.navbar-nav .nav-link:hover {
    opacity: .8;
}


/* Floating Logo */

.logo-box {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  margin-right: 1rem;
}

.logo-box img {
  display: block;
  width: clamp(170px, 17vw, 230px);
  height: auto;
  max-height: 68px;
  object-fit: contain;
}


/* Search */

.nav-search {
    position: relative;
}

.nav-search input {
    background: transparent;
    border: 1px solid rgba(255,255,255,.4);
    border-radius: 30px;
    padding: 8px 40px 8px 15px;
    color: #fff;
}

.nav-search input::placeholder {
    color: #fff;
}

.nav-search button {
    position: absolute;
    right: 5px;
    top: 4px;
    background: transparent;
    border: none;
    color: #fff;
}


/* Responsive */




@media (max-width: 991px) {
    .hero-title {
        font-size: 38px;
    }

     .hero-subtitle {
       font-size: 20px;
    }

    .main-nav-wrapper {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 10000;
        width: 100%;
    }

    body {
        padding-top: var(--mobile-header-height, 0px);
    }

    :root {
        --scroll-distance: var(--mobile-header-height, 0px);
    }

    .booking-card {
        margin-top: 40px;
    }
}

#about,
#contact,
#faq,
#services {
    scroll-margin-top: calc(var(--mobile-header-height, 0px) + 1rem);
}

/* Mobile Menu Button */

.mobile-menu-btn {
    background: none;
    border: none;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 2px;
    background: #fff;
    display: block;
}


/* Slide Menu */

.mobile-slide-menu {
    position: fixed;
    top: var(--mobile-header-height, 0px);
    left: -320px;
    width: 320px;
    height: calc(100% - var(--mobile-header-height, 0px));
    background: #fff;
    z-index: 9999;
    transition: .3s ease;
    padding: 20px;
    overflow-y: auto;
}

.mobile-slide-menu.active {
    left: 0;
}


/* Header */

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.mobile-menu-header img {
    height: auto;
    width: min(170px, 55vw);
    max-height: 52px;
    object-fit: contain;
}

.mobile-menu-header button {
    background: none;
    border: none;
    font-size: 28px;
}


/* Nav */

.mobile-nav {
    list-style: none;
    padding: 0;
}

.mobile-nav li {
    border-bottom: 1px solid #eee;
}

.mobile-nav a {
    display: block;
    padding: 15px 0;
    color: #333;
    font-weight: 500;
    text-decoration: none;
}


/* Contact */

.mobile-contact {
    margin-top: 20px;
}

.mobile-contact p {
    margin-bottom: 10px;
}


/* Overlay */

.mobile-overlay {
    position: fixed;
    background: rgba(0,0,0,.5);
    top: var(--mobile-header-height, 0px);
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9998;
    display: none;
}

.mobile-overlay.active {
    display: block;
}


/* Hide on Desktop */

@media(min-width:992px) {
    .mobile-menu-btn {
        display: none;
    }

   
}

.about-section {
  font-family: 'Roboto';
}

.about-subtitle {
    color: #1c7be5;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
}

.about-title {
    font-size: 36px;
    font-weight: 600;
    margin: 15px 0;
}

.about-content p {
    color: #666;
    line-height: 1.7;
}

.about-features {
    margin-top: 20px;
}

.about-features div {
    margin-bottom: 8px;
    font-weight: 500;
}

.services-section {
    background: #f3f4f8;
    font-family: 'Roboto';
}

.services-header h2 {
    font-weight: 600;
    color: #1e3a8a;
    margin-bottom: 10px;
    text-align: center;
}

.services-header p {
    color: #6b7280;
    max-width: 650px;
    text-align: center;
    margin: auto;
}

.service-card {
    display: flex;
    gap: 20px;
    padding: 25px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    transition: .3s;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,.05);
}

.service-icon {
  
    height: 60px;
    background: #1e7be5;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    max-width: 150px;
    padding: 20px;
}

.service-content h4 {
    font-weight: 600;
    margin-bottom: 8px;
}

.service-content {
    flex: 1;
    min-width: 0;
}

.service-content p {
    color: #6b7280;
    margin: 0;
}

.service-media {
    margin-top: 16px;
}

.service-media img {
    width: 90%;
    display: block;
    border-radius: 14px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 8px 20px rgba(30, 58, 138, 0.08);
    object-fit: cover;
    aspect-ratio: 16 / 9;
}

.why-section {
    background: linear-gradient(135deg, #1e7be5, #1563c7);
    color: #fff;
    font-family: 'Roboto';
}

.section-header h2 {
    font-weight: 600;
    color: #fff;
    margin-bottom: 15px;
}

.section-header p {
    max-width: 700px;
    margin: auto;
    color: rgba(255,255,255,.85);
}

.why-card {
    background: #fff;
    padding: 35px 25px;
    border-radius: 12px;
    text-align: center;
    border: none;
    transition: .3s ease;
    height: 100%;
}

.why-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0,0,0,.15);
}

.why-icon {
   width: 70px;
    height: 70px;
    margin: auto;
    margin-bottom: 20px;
    border-radius: 50%;
    background: #000;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    opacity: .8;
}

.why-card h5 {
    font-weight: 600;
    margin-bottom: 10px;
    color: #1e3a8a;
}

.why-card p {
    color: #6b7280;
    margin: 0;
}

.process-section {
   
    background-image: url(/imgs/section-bg16.jpg);
    background-position: center center;
    background-size: cover;
}

.section-header h2 {
    font-weight: 600;
    
}

.section-header p {
    max-width: 650px;
    margin: auto;
  
}

.process-card {
    text-align: center;
    padding: 10px 20px;
}

.process-icon {
    width: 90px;
    height: 90px;
    margin: auto;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #1e7be5, #1563c7);
    color: #fff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    transform: rotate(-5deg);
    transition: .3s;
}

.process-card:hover .process-icon {
    transform: rotate(0deg) scale(1.05);
}

.process-card h4 {
    font-weight: 600;
    margin-bottom: 10px;
}

.process-card p {
    color: #6b7280;
}

.get_quote {
    font-family: 'Roboto';
    font-weight: 600;
    background: #fff;
    border: 1px solid #ccc;
    font-size: .94rem;
    text-transform: capitalize;
}

.top-social .fab {
    font-weight: 400;
    font-size: 1rem;
}

.top-social .fa-instagram {
    font-size: 1.1rem;
    position: relative;
    top: 1px;
}
