/*------------------------------------------------------------------
[Table of contents]

1. Import libraries
2. Custom properties
3. General Styles
4. Typography
5. Navs and Tabs
6. Breadcrumb
7. Buttons
8. Utilities
9. Sections
10.Boxes and Cards
11.Accordion
12.Form
13.Responsive Layouts

-------------------------------------------------------------------*/

/* ---------------------------- */
/* Import libraries             */
/* ---------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Public+Sans:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Libre+Franklin:ital,wght@0,100..900;1,100..900&display=swap');
@import url('vendor/bootstrap.min.css');

/* ---------------------------- */
/* Custom properties            */
/* ---------------------------- */
:root {
  --primary-color:#D4AF37;
  --secondary-color:#1E1E1E;
  --text-color:#FFFFFF;
  --text-color-2:#AAAAAA;
  --accent-color:#111111;
  --accent-color-2:#444444;
  --font-1:"Public Sans", sans-serif;
  --font-2:"Libre Franklin", sans-serif;
}

/* ---------------------------- */
/* General Styles               */
/* ---------------------------- */
body {
  font-family: var(--font-1);
  color: var(--text-color);
  background-color: var(--accent-color);
}

.bg-primary-color {
  background-color: var(--primary-color) !important;
}

.bg-secondary-color {
  background-color: var(--secondary-color) !important;
}

.bg-accent-color {
  background-color: var(--accent-color) !important;
}

.bg-accent-color-2 {
  background-color: var(--accent-color-2) !important;
}

.text-primary-color {
  color: var(--primary-color) !important;
}

.text-color {
  color: var(--text-color) !important;
}

.text-color-2 {
  color: var(--text-color-2) !important;
}

.font-1 {
  font-family: var(--font-1);
}

.font-2 {
  font-family: var(--font-2);
}

.section {
  padding: 6em 2em 6em 2em;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

.b-container {
  max-width: 1240px;
  margin-right: auto;
  margin-left: auto;
}

img {
  object-fit: cover;
}

.heading {
  font-family: var(--font-2);
  font-weight: 600;
}

/* ---------------------------- */
/* Typography                   */
/* ---------------------------- */
h1 {
  font-size: 72px;
}

h2 {
  font-size: 48px;
}

h3 {
  font-size: 36px;
}

h4 {
  font-size: 25px;
}

h5 {
  font-size: 22px;
}

h6 {
  font-size: 20px;
}

p, a {
  font-size: 18px;
}

/* ---------------------------- */
/* Navs and Tabs                */
/* ---------------------------- */
.nav-link {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-color);
  font-family: var(--font-2);
}

.nav-link:hover,
.nav-link:focus {
  color: var(--primary-color) !important;
}

.nav-link.active {
  color: var(--primary-color) !important;
}

.nav-link.dropdown-toggle:hover,
.nav-link.dropdown-toggle:focus,
.nav-link.dropdown-toggle.show {
  color: var(--primary-color) !important;
}

.dropdown-menu {
  background-color: var(--secondary-color);
  border: none;
  border-radius: 15px;
  padding: 15px 0;
  width: 220px;
}

.dropdown-item {
  color: var(--text-color);
  font-size: 18px;
  font-weight: 600;
  font-family: var(--font-2);
  margin: 15px 0;
}

.dropdown-item:hover,
.dropdown-item:focus {
  color: var(--primary-color) !important;
  background-color: transparent;
}

.dropdown-item.active {
  color: var(--primary-color) !important;
  background-color: transparent;
}

.nav-pills .nav-link {
  padding: 10px 0;
  font-size: 22px;
  font-weight: bolder;
  text-align: end;
}

.nav-pills .nav-link.active {
  background-color: transparent;
  color: var(--text-color);
}

/* ---------------------------- */
/* Breadcrumb                   */
/* ---------------------------- */
.breadcrumb {
  font-size: 18px;
}

.breadcrumb .breadcrumb-item>a {
  color: var(--primary-color);
  text-decoration: none;
}

.breadcrumb-item + .breadcrumb-item::before {
  color: var(--text-color) !important;
}

.breadcrumb-item a:hover,
.breadcrumb-item.active {
  color: var(--text-color) !important;
}

/* ---------------------------- */
/* Buttons                      */
/* ---------------------------- */
.btn-cta-primary {
  background-color: var(--primary-color);
  color: var(--secondary-color);
  border: 1px solid var(--primary-color);
  padding: 13px 30px;
  font-size: 18px;
  border-radius: 30px;
  font-weight: 600;
  font-family: var(--font-2);
  transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease, border 0.3s ease;
}

.btn-cta-primary:hover {
  background-color: var(--secondary-color) !important;
  color: var(--text-color);
  border: #FFFFFF 1px solid;
  transform: scale(1.05);
}

.btn-cta-secondary {
  background-color: var(--secondary-color);
  color: var(--text-color);
  border: none;
  padding: 13px 30px;
  font-size: 18px;
  border: #FFFFFF 1px solid;
  border-radius: 30px;
  font-weight: 600;
  font-family: var(--font-2);
  transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease, border 0.3s ease;
}

.btn-cta-secondary:hover {
  background-color: var(--primary-color) !important;
  color: var(--accent-color);
  border: 1px solid var(--primary-color);
  transform: scale(1.05);
}

/* ---------------------------- */
/* Utilities                    */
/* ---------------------------- */
.bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(17, 17, 17, 0.5);
  z-index: 1;
  pointer-events: none;
  inset: 0;
}

.img-wrapper {
  width: 100%;
  max-width: 1000px;
}

.img-ratio-321 {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
}

.img-ratio-121 {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.img-ratio-113 {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.links-primary {
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
}

.links-primary:hover,
.links-primary.active {
  color: var(--primary-color) !important;
}

.bg-wrapper {
  position: relative;
}

.bg-grayscale {
  filter: grayscale(100%);
  transition: filter 0.5s ease;
  display: block;
  width: 100%;
  height: 350px;
  pointer-events: auto;
}

.bg-wrapper:hover .bg-grayscale  {
  filter: grayscale(0%);
}

/* ---------------------------- */
/* Sections                     */
/* ---------------------------- */
.hero {
  font-family: var(--font-2);
  min-height: 90vh;
  height: auto;
  display: flex;
  align-items: center;
  /* .section sets overflow:hidden — that clips the title/CTA on short viewports */
  overflow: visible;
  padding-top: 5rem;
  /* room for .feature cards that pull up with negative margin */
  padding-bottom: 11rem;
}

.hero .hero-content {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

.feature {
  margin-top: -125px;
  z-index: 2;
}

.warranty {
  padding: 15vh 0;
}

.info-lb-overlay {
  width: 75%;
  background-color: rgba(17, 17, 17, 0.92);
  left: 8%;
  bottom: 8%;
  border-radius: 24px;
}

.reviews {
  overflow: hidden;
}

/* ---------------------------- */
/* Boxes and Cards              */
/* ---------------------------- */
.logo-box {
  max-width: 240px;
}

.feature-box-wrapper {
  background: transparent;
}

.feature-box {
  padding: 20px;
  color: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  width: 285px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.feature-title {
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 15px;
  font-family: var(--font-2);
}

.feature-box:not(:last-child) {
  margin-bottom: 0;
}

.service-box {
  background-color: var(--secondary-color);
  width: 100%;
  border-radius: 25px;
  padding: 30px;
  z-index: 2;
  transition: all 0.3s ease;
}

.service-box.top-left {
  top: -75%;
  left: -10%;
}

.service-box.top-right {
  top: -75%;
  right: -10%;
}

.service-icon {
  top: 1px;
  left: 1px;
  background-color: var(--primary-color);
  width: 65px;
  height: 65px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0px 0 15px var(--accent-color);
}

.service-icon i {
  color: var(--accent-color);
  font-size: 50px;
  font-weight:900;
}

.step-number {
  background-color: var(--secondary-color);
  color: var(--text-color);
  font-weight: 700;
  font-size: 25px;
  width: 48px;
  height: 48px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.card {
  background-color: var(--secondary-color);
  color: var(--text-color);
  border: 0;
}

/* Equal-size cards in grid rows */
.row > [class*="col"] > .card.blogs,
.row > [class*="col"] > .card.group-card {
  width: 100%;
  height: 100%;
}

.blogs {
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.blogs-title {
  transition: color 0.3s ease;
  color: var(--text-color);
  text-decoration: none;
  display: block;
}

.blogs-title h5 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.6em;
  margin-bottom: 0;
}

.blogs:hover .blogs-title {
  color: var(--primary-color);
}

.blogs .overflow-hidden {
  aspect-ratio: 16 / 10;
  width: 100%;
  flex-shrink: 0;
}

.blogs .card-body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
}

.blogs .card-text {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1 1 auto;
  margin-bottom: 0 !important;
}

.blogs-cover {
  transition: transform 0.5s ease;
  transform-origin: center center;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.blogs:hover .blogs-cover {
  transform: scale(1.05) rotate(1deg);
}

.group-card {
  width: 100%;
}

.group-card .img-ratio-113 {
  width: 100%;
}

.social-box {
  display: flex;
  gap: 16px;
}

.social-box a {
  background-color: var(--secondary-color);
  color: var(--primary-color);
  align-content: center;
  text-align: center;
  padding: 7px 0;
  transition: all 0.3s ease-in-out;
}

.social-box a:hover {
  background-color: var(--primary-color);
  color: var(--accent-color);
}

.card-team-label {
  background-color: var(--accent-color);
  opacity: 85%;
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: 70%;
}

.card-service-label {
  background-color: rgba(17, 17, 17, 0.6);
  position: absolute;
  bottom: -24px;
  left: 50%;
  transform: translateX(-50%) translateY(0);
  width: 90%;
  max-height: 130px;
  overflow: hidden;
  transition: all 0.4s ease;
}

.card-service-label .card-text {
  color: var(--text-color-2);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.group-card:hover .card-service-label {
  transform: translateX(-50%) translateY(-25%);
  max-height: 400px;
}

.group-card:hover .card-service-label .card-text {
  opacity: 1;
}

.footer-logo-box {
  height: 60px;
}

/* ---------------------------- */
/* Accordion                    */
/* ---------------------------- */
.accordion .accordion-item {
  border: none;
  border-radius: 0;
  background-color: transparent;
  border-bottom: var(--accent-color-2) 2px solid;
}

.accordion .accordion-button {
  font-family: var(--font-2);
  padding: 15px 0px;
  font-size: 22px;
  font-weight: 600;
  background-color: transparent;
  color: var(--text-color);
  border: none;
  border-bottom: none !important;
  box-shadow: none !important;
}

.accordion .accordion-button::after {
  display: none;
}

.accordion .accordion-button.collapsed {
  color: var(--text-color-2);
  font-weight: 400;
  background-color: transparent;
}

.accordion .accordion-body {
  color: var(--text-color-2);
  padding: 10px 0px;
}

.accordion .accordion-body-2 {
  color: var(--text-color-2);
  padding: 10px 15px 10px 100px;
}

/* ---------------------------- */
/* Form                         */
/* ---------------------------- */
.form label {
  font-size: 18px;
  font-weight: 500;
}

.form input,
.form textarea {
  background-color: transparent;
  color: var(--text-color);
  border: solid 2px var(--accent-color-2);
  border-radius: 7px;
  outline: none;
  padding: 17px 30px;
}

.form input:focus,
.form textarea:focus {
    box-shadow: none;
    border: solid 2px var(--accent-color-2);
    background-color: transparent;
    color: var(--text-color);
}

.form input::placeholder,
.form textarea::placeholder {
    color: var(--text-color-2);
}

/* ---------------------------- */
/* Responsive Layouts           */
/* ---------------------------- */
@media only screen and (max-width: 1199.98px) {
  .section {
    padding: 5em 1.5em;
  }

  h1 {
    font-size: 64px;
  }

  h2 {
    font-size: 40px;
  }

  h3 {
    font-size: 32px;
  }

  h4 {
    font-size: 22px;
  }

  p,a {
    font-size: 18px;
  }

  .hero {
    min-height: 85vh;
    padding-top: 4rem;
    padding-bottom: 10rem;
  }

  .service-box.top-left {
    top: 0;
    left: 0;
  }

  .service-box.top-right {
    top: 0;
    right: 0;
  }

  .img-ratio-321 {
    position: relative;
    aspect-ratio: 21 / 9;
    overflow: hidden;
  }

  .img-ratio-121 {
    position: relative;
    aspect-ratio: 21 / 9;
    overflow: hidden;
  }

  .info-lb-overlay {
    width: 90%;
    left: 5%;
    bottom: 15%;
  }

  .footer-logo-box {
    height: 120px;
    width: 100%;
    display: flex;
    justify-content: center;
  }
}

@media only screen and (max-width: 991.98px) {
  .section {
    padding: 4em 1em;
  }

  .hero {
    min-height: auto;
    padding-top: 4rem;
    padding-bottom: 10rem;
  }

  h1 {
    font-size: 56px;
  }

  h2 {
    font-size: 36px;
  }

  h3 {
    font-size: 28px;
  }

  p,a {
    font-size: 16px;
  }

  .dropdown-menu {
    width: 100%;
    border-radius: 0;
    padding: 5px;
  }

  .dropdown-item {
    margin: 10px 0;
  }
}

@media only screen and (max-width: 768.98px) {
  .section {
    padding: 3em 1em;
  }

  h1 {
    font-size: 48px;
  }

  h2 {
    font-size: 32px;
  }

  h3 {
    font-size: 24px;
  }

  h4 {
    font-size: 20px;
  }

  h5 {
    font-size: 18px;
  }

  h6 {
    font-size: 16px;
  }

  p,a {
    font-size: 14px;
  }

  .hero {
    min-height: auto;
    padding-top: 3.5rem;
    padding-bottom: 4rem;
  }

  .feature {
    margin-top: 0;
    z-index: 2;
  }

  .nav-pills .nav-link {
    text-align: center;
  }

  .footer-logo-box {
    height: 100px;
  }

}

@media only screen and (max-width: 576.98px) {
  .section {
    padding: 2em 1em;
  }

  h1 {
    font-size: 40px;
  }

  h2 {
    font-size: 28px;
  }

  h3 {
    font-size: 22px;
  }

  h4 {
    font-size: 18px;
  }

  h5 {
    font-size: 16px;
  }

  h6 {
    font-size: 14px;
  }

  p, a {
    font-size: 12px;
  }

  .hero {
    min-height: auto;
    padding-top: 3rem;
    padding-bottom: 3.5rem;
  }

  .service-icon {
    width: 55px;
    height: 55px;
  }

  .info-lb-overlay {
    bottom: 27.5%;
    bottom: 10%;
  }

  .img-ratio-321 {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
  }

  .img-ratio-113 {
    position: relative;
    aspect-ratio: 3 / 2;
    overflow: hidden;
  }

  .card-team-label {
    background-color: var(--accent-color);
    opacity: 85%;
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
  }

  .footer-logo-box {
    height: 80px;
  }
}

/* Short laptop / browser chrome viewports — keep layout from clipping, keep large type */
@media only screen and (max-height: 820px) and (min-width: 769px) {
  .hero {
    min-height: auto;
    padding-top: 3.5rem;
    padding-bottom: 9.5rem;
  }

  .hero .btn {
    margin-top: 0.75rem !important;
  }
}

/* Hero title: original large size on big screens, steps down by breakpoint */
.hero h1 {
  font-size: 72px;
  line-height: 1.15;
}

@media only screen and (max-width: 1199.98px) {
  .hero h1 {
    font-size: 64px;
  }
}

@media only screen and (max-width: 991.98px) {
  .hero h1 {
    font-size: 56px;
  }
}

@media only screen and (max-width: 768.98px) {
  .hero h1 {
    font-size: 48px;
  }
}

@media only screen and (max-width: 576.98px) {
  .hero h1 {
    font-size: 40px;
  }
}

/* Review avatars — original size, centered with gold ring */
.review-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--primary-color);
  box-shadow: 0 0 0 1px rgba(212, 175, 55, 0.35);
  background: #1e1e1e;
  box-sizing: content-box;
}
.review-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  border-radius: 50%;
}

/* Two-column services dropdown */
@media (min-width: 992px) {
  .dropdown-menu-services {
    display: none;
    flex-wrap: wrap;
    min-width: 420px;
    padding: .5rem 0;
  }
  .dropdown-menu-services.show {
    display: flex;
  }
  .dropdown-menu-services .dropdown-col {
    flex: 0 0 50%;
    list-style: none;
    display: flex;
    flex-direction: column;
  }
  .dropdown-menu-services .dropdown-item {
    white-space: nowrap;
    padding: .35rem 1.25rem;
    font-size: .875rem;
  }
}

/* ---- Footer ChannelPro + floating contact (enzyme1-style) ---- */
.footer-bottom__legal {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 14px;
}

.footer-bottom__channel {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

.footer-bottom__channel-img {
  display: block;
  height: 26px;
  width: auto;
}

.whatsapp-float {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  z-index: 999;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #25d366;
  color: #fff;
  text-decoration: none;
  font-size: 1.85rem;
  line-height: 1;
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.45), 0 4px 12px rgba(0, 0, 0, 0.25);
  border: 2px solid rgba(255, 255, 255, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.whatsapp-float:hover {
  transform: scale(1.06);
  color: #fff;
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.5), 0 6px 14px rgba(0, 0, 0, 0.28);
}

.mobile-contact-bar {
  display: none;
}

@media only screen and (max-width: 767px) {
  .whatsapp-float {
    display: none;
  }

  .mobile-contact-bar {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: max(12px, env(safe-area-inset-bottom));
    z-index: 1000;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 8px;
    background: rgba(17, 17, 17, 0.92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 18px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
  }

  .mobile-contact-btn {
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 14px;
    text-decoration: none;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.02em;
    line-height: 1;
    color: #fff !important;
    transition: transform 0.15s ease, filter 0.15s ease;
    -webkit-tap-highlight-color: transparent;
  }

  .mobile-contact-btn:active {
    transform: scale(0.98);
  }

  .mobile-contact-btn--call {
    background: var(--primary-color);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.35);
  }

  .mobile-contact-btn--whatsapp {
    background: #1fad52;
    box-shadow: 0 4px 12px rgba(31, 173, 82, 0.32);
  }

  .mobile-contact-btn i,
  .mobile-contact-btn span {
    font-size: 1.1rem;
    line-height: 1;
    color: #fff !important;
  }

  .mobile-contact-btn span {
    font-size: 14px;
  }

  body {
    padding-bottom: calc(80px + env(safe-area-inset-bottom));
  }

  .footer-bottom__legal {
    gap: 10px 12px;
  }
}

/* Sharp blog hero images */
.blog-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  image-rendering: auto;
}

/* Inner page title banners (services, blogs, about, etc.) */
@media only screen and (max-width: 991.98px) {
  main > section.section.position-relative[style*="min-height: 40vh"] {
    min-height: 0 !important;
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
  }

  main > section.section.position-relative[style*="min-height: 40vh"] .gap-4 {
    gap: 0.5rem !important;
  }

  main > section.section.position-relative[style*="min-height: 40vh"] h1 {
    font-size: clamp(1.5rem, 5vw, 2.25rem);
    line-height: 1.2;
    margin-bottom: 0;
  }
}

@media only screen and (max-width: 575.98px) {
  main > section.section.position-relative[style*="min-height: 40vh"] {
    padding-top: 1.75rem;
    padding-bottom: 1.75rem;
  }
}
