/*
  Apex Gas & Heating — shared stylesheet for the English and Persian pages.
  Direction / Persian-font overrides live in rtl.css.
  Base layout adapted from the free "Plumbers" HTML template by TemplatesJungle.com
  (free for personal and commercial use); design, structure and content rewritten for this client.
*/

/*------------------------------------*\
    Table of contents
\*------------------------------------*/
/*
  1. Variables & resets
  2. Typography & layout helpers
  3. Buttons & badges
  4. Content elements (forms, dropdown, accordion, swiper)
  5. Header & navigation
  6. Hero / slider
  7. Trust bar & stats
  8. Sections: about, services, process, gallery, testimonials, faq, CTA
  9. Footer
  10. Language switch & WhatsApp buttons
  11. Motion & scroll reveal
  12. Back to top
  13. Responsive tweaks
*/

/*--------------------------------------------------------------
1. VARIABLES & RESETS
--------------------------------------------------------------*/
:root {
  --primary-color: #1E5FBF;
  --primary-dark: #154A98;
  --primary-tint: #E8F0FB;
  --accent-color: #FFC800;
  --whatsapp-color: #25D366;
  --secondary-color: #0D1B2E;
  --black-color: #1C2530;
  --light-black-color: #43505F;
  --dark-color: #29323C;
  --body-color: #5B6773;
  --gray-color: #777F81;
  --light-color: #fdfdfd;

  --bs-gray-100: #F5F7FA;
  --bs-gray-300: #DEE3E9;
  --bs-light-rgb: rgba(255, 255, 255, 1);
  --bs-dark-rgb: 28, 37, 48;
  --bs-primary-rgb: 30, 95, 191;

  --heading-font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Roboto, Arial, sans-serif;
  --body-font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Roboto, Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  box-sizing: border-box;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  overflow-x: hidden;
  background-color: var(--bs-gray-100);
  font-family: var(--body-font);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 0.2px;
  color: var(--body-color);
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
  transition: 0.3s ease-in-out;
}

a:hover {
  color: var(--primary-color);
}

img {
  max-width: 100%;
}

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

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

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

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

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

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

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

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

.bg-gray {
  background-color: var(--bs-gray-100) !important;
}

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

/*--------------------------------------------------------------
2. TYPOGRAPHY & LAYOUT HELPERS
--------------------------------------------------------------*/
.padding-small {
  padding-top: 5em;
  padding-bottom: 5em;
}

.padding-medium {
  padding-top: 7em;
  padding-bottom: 7em;
}

.padding-large {
  padding-top: 10em;
  padding-bottom: 10em;
}

@media (max-width: 999px) {

  .padding-medium,
  .padding-large {
    padding-top: 4.5em;
    padding-bottom: 4.5em;
  }
}

.margin-small {
  margin-top: 3em;
  margin-bottom: 3em;
}

.margin-medium {
  margin-top: 6em;
  margin-bottom: 6em;
}

h1, h2, h3, h4, h5 {
  color: var(--black-color);
  font-family: var(--heading-font);
  font-weight: 700;
}

h6 {
  color: var(--light-black-color);
  font-family: var(--body-font);
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--primary-color);
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 22px;
  height: 3px;
  border-radius: 3px;
  background: var(--accent-color);
}

.container-xxl {
  max-width: 1750px;
}

.section-heading {
  max-width: 720px;
}

section > .container > .section-heading.mx-auto,
.text-center .section-heading {
  margin-left: auto;
  margin-right: auto;
}

/* section title underline accent, added centred beneath any .display-6 heading */
.section-heading h2::after,
.section-heading h3::after {
  content: "";
  display: block;
  width: 64px;
  height: 4px;
  border-radius: 4px;
  background: var(--accent-color);
  margin-top: 18px;
}

.text-center .section-heading h2::after,
.text-center .section-heading h3::after {
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 200px) {
  .animate {
    animation-duration: .3s;
    animation-fill-mode: both;
  }
}

@keyframes slide {
  0% { transform: translateY(1rem); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}

.slide {
  animation-name: slide;
}

/*--------------------------------------------------------------
3. BUTTONS & BADGES
--------------------------------------------------------------*/
.btn {
  --bs-btn-padding-x: 1.9rem;
  --bs-btn-padding-y: .95rem;
  --bs-btn-font-size: 1rem;
  --bs-btn-font-weight: 600;
  border-radius: 60px;
  letter-spacing: .02rem;
  transition: all .3s ease-in-out, transform .25s ease-in-out, box-shadow .25s ease-in-out;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(15, 40, 90, .18);
}

.btn:active {
  transform: translateY(-1px);
}

.btn-primary {
  box-shadow: 0 6px 16px rgba(30, 95, 191, .28);
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--primary-color);
  --bs-btn-border-color: var(--primary-color);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--primary-dark);
  --bs-btn-hover-border-color: var(--primary-dark);
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: var(--primary-dark);
  --bs-btn-active-border-color: var(--primary-dark);
  --bs-btn-disabled-bg: var(--primary-color);
  --bs-btn-disabled-border-color: var(--primary-color);
}

.btn-secondary {
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--secondary-color);
  --bs-btn-border-color: var(--secondary-color);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #142b52;
  --bs-btn-hover-border-color: #142b52;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #142b52;
  --bs-btn-active-border-color: #142b52;
}

.btn-light {
  --bs-btn-color: #1C2530;
  --bs-btn-bg: #fff;
  --bs-btn-border-color: #fff;
  --bs-btn-hover-color: #1C2530;
  --bs-btn-hover-bg: #ebebeb;
  --bs-btn-hover-border-color: #ebebeb;
}

.btn-outline-light {
  --bs-btn-color: #fff;
  --bs-btn-border-color: rgba(255,255,255,.55);
  --bs-btn-hover-color: #1C2530;
  --bs-btn-hover-bg: #fff;
  --bs-btn-hover-border-color: #fff;
}

.btn-whatsapp {
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--whatsapp-color);
  --bs-btn-border-color: var(--whatsapp-color);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #1ea952;
  --bs-btn-hover-border-color: #1ea952;
  box-shadow: 0 6px 16px rgba(37, 211, 102, .3);
}

.btn-sm-pill {
  --bs-btn-padding-x: 1.1rem;
  --bs-btn-padding-y: .5rem;
  --bs-btn-font-size: .85rem;
  border-radius: 60px;
}

.badge-soft {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .45rem .9rem;
  border-radius: 60px;
  background: var(--primary-tint);
  color: var(--primary-color);
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .3px;
  text-transform: uppercase;
}

/*--------------------------------------------------------------
4. CONTENT ELEMENTS
--------------------------------------------------------------*/
.dropdown-item {
  color: var(--dark-color);
}

.dropdown-item.active,
.dropdown-item:hover,
.dropdown-item:active {
  color: var(--dark-color);
  background-color: var(--bs-gray-300);
}

.accordion {
  --bs-accordion-btn-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='26' viewBox='0 0 512 512'%3E%3Cpath fill='none' stroke='%231E5FBF' stroke-linecap='round' stroke-linejoin='round' stroke-width='48' d='M112 184l144 144 144-144'/%3E%3C/svg%3E");
  --bs-accordion-btn-active-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='26' viewBox='0 0 512 512'%3E%3Cpath fill='none' stroke='%231E5FBF' stroke-linecap='round' stroke-linejoin='round' stroke-width='48' d='M112 184l144 144 144-144'/%3E%3C/svg%3E");
  --bs-accordion-border-radius: 14px;
}

.accordion-item {
  box-shadow: 0 4px 18px rgba(20, 30, 60, .06);
  border: none;
  border-radius: 14px !important;
  overflow: hidden;
}

.accordion-button {
  font-weight: 600;
}

.accordion-button:focus {
  box-shadow: none;
}

.accordion-button:not(.collapsed) {
  background-color: var(--primary-tint);
  box-shadow: none;
  color: var(--primary-dark);
}

.form-check-input:checked {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  box-shadow: none;
}

.form-check-input:focus {
  border-color: var(--primary-color);
  outline: 0;
  box-shadow: none;
}

.form-control,
.form-select {
  box-shadow: none;
  border: 1px solid var(--bs-gray-300);
}

.form-control:focus,
.form-select:focus {
  border-color: var(--primary-color);
  outline: 0;
  box-shadow: 0 0 0 .2rem rgba(30, 95, 191, .15);
}

svg.light-color { color: var(--light-color); }
svg.dark-color { color: var(--dark-color); }
svg.primary-color { color: var(--primary-color); }

/* Swiper
------------------------------------------------------------- */
.swiper-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet,
.swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet {
  margin: 0 8px;
}

.slider-pagination .swiper-pagination-bullet {
  width: 13px;
  height: 13px;
  background: #FFFFFF;
  opacity: .55;
}

.slider-pagination .swiper-pagination-bullet-active {
  background: var(--accent-color);
  opacity: 1;
}

.main-slider-button-next.swiper-button-disabled,
.main-slider-button-prev.swiper-button-disabled {
  opacity: .35;
  cursor: auto;
  pointer-events: none;
}

/* hero video slide
------------------------------------------------------------- */
.slider-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  pointer-events: none;
}

.slider-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(13,27,46,.78) 10%, rgba(13,27,46,.42) 55%, rgba(13,27,46,.2) 100%);
  z-index: 1;
  pointer-events: none;
}

/*--------------------------------------------------------------
5. HEADER & NAVIGATION
--------------------------------------------------------------*/
.main-body {
  margin-top: -30px;
}

@media (max-width: 999px) {
  .main-body {
    margin-top: 0;
  }
}

#header {
  position: sticky;
  top: 0;
  z-index: 1030;
  padding-top: 8px;
  transition: padding .3s ease-in-out;
}

#header.is-stuck {
  padding-top: 0;
}

#header.is-stuck #primary-header {
  border-radius: 0 0 var(--bs-border-radius-lg) var(--bs-border-radius-lg) !important;
  box-shadow: 0 10px 30px rgba(12, 20, 40, .14) !important;
}

/* Utility / demo bar
------------------------------------------------------------- */
#header-top {
  background: var(--secondary-color);
  color: #fff;
}

#header-top .demo-flag {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .3rem .75rem;
  border-radius: 60px;
  background: rgba(255,255,255,.1);
  color: #cfe0ff;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
  white-space: nowrap;
}

#header-top .demo-flag svg {
  color: var(--accent-color);
}

#header-top a.top-link {
  color: #dce6f7;
  font-size: .92rem;
  font-weight: 500;
  white-space: nowrap;
}

#header-top a.top-link:hover {
  color: #fff;
}

.top-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .4rem .85rem;
  border-radius: 60px;
  background: rgba(37, 211, 102, .16);
  color: #eafff2;
  font-size: .85rem;
  font-weight: 600;
  border: 1px solid rgba(37, 211, 102, .35);
  transition: all .25s ease-in-out;
  white-space: nowrap;
}

.top-whatsapp:hover {
  background: var(--whatsapp-color);
  color: #fff;
  border-color: var(--whatsapp-color);
}

.top-whatsapp svg {
  color: #25D366;
  flex-shrink: 0;
}

.top-whatsapp:hover svg {
  color: #fff;
}

.lang-switch {
  display: inline-flex;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 60px;
  overflow: hidden;
}

.lang-switch a {
  padding: .4rem .8rem;
  font-size: .82rem;
  font-weight: 700;
  color: #cfe0ff;
}

.lang-switch a.is-active {
  background: var(--primary-color);
  color: #fff;
}

.lang-switch a:not(.is-active):hover {
  background: rgba(255,255,255,.1);
  color: #fff;
}

/* Brand logo
------------------------------------------------------------- */
.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  line-height: 1;
}

.brand-logo .brand-mark {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
}

.brand-logo .brand-word {
  font-family: var(--heading-font);
  font-weight: 800;
  font-size: 1.28rem;
  letter-spacing: -.02em;
  color: var(--black-color);
  white-space: nowrap;
}

.brand-logo .brand-word span {
  color: var(--primary-color);
}

.brand-logo.brand-logo-light .brand-word {
  color: #fff;
}

.brand-logo.brand-logo-light .brand-word span {
  color: var(--accent-color);
}

#header-top .brand-logo .brand-word {
  color: #fff;
  font-size: 1.1rem;
}

#header-top .brand-logo .brand-word span {
  color: var(--accent-color);
}

#header-top .brand-logo .brand-mark {
  width: 30px;
  height: 30px;
}

/* Nav
------------------------------------------------------------- */
li.nav-item {
  padding: 0 26px;
}

a.nav-link {
  font-weight: 600;
  color: var(--light-black-color);
}

a.nav-link:focus {
  color: var(--light-black-color);
}

a.nav-link.active,
a.nav-link:hover {
  color: var(--primary-color) !important;
  outline: none;
}

#primary-header .search-dropdown .dropdown-menu {
  width: 260px;
}

.nav-cta {
  padding: .55rem 1.4rem !important;
  border-radius: 60px;
  background: var(--primary-color);
  color: #fff !important;
  font-weight: 700 !important;
}

.nav-cta:hover {
  background: var(--primary-dark);
  color: #fff !important;
}

/*--------------------------------------------------------------
6. HERO / PAGE HEADER
--------------------------------------------------------------*/
.banner-topic,
.banner-title {
  text-shadow: 1px 2px 4px rgba(0, 0, 0, .55);
}

.swiper-slide-active .banner-topic,
.swiper-slide-active .banner-title,
.swiper-slide-active .hero-cta {
  animation: banner-rise .9s cubic-bezier(.22,1,.36,1) both;
}

.swiper-slide-active .banner-title { animation-delay: .12s; }
.swiper-slide-active .hero-cta { animation-delay: .26s; }

@keyframes banner-rise {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: none; }
}

.page-header {
  position: relative;
  height: 46vh;
  min-height: 320px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.page-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(13,27,46,.85) 10%, rgba(13,27,46,.55) 60%, rgba(13,27,46,.3) 100%);
}

.page-header .container {
  position: relative;
  z-index: 1;
}

.page-header .breadcrumb-trail {
  color: #cfe0ff;
  font-weight: 600;
  font-size: .95rem;
}

.page-header .breadcrumb-trail a:hover {
  color: #fff;
}

/*--------------------------------------------------------------
7. TRUST BAR & STATS
--------------------------------------------------------------*/
.trust-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.trust-item .trust-icon {
  flex-shrink: 0;
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: var(--primary-tint);
  color: var(--primary-color);
}

.stat-card {
  text-align: center;
  padding: 2rem 1rem;
}

.stat-card .stat-number {
  font-family: var(--heading-font);
  font-weight: 800;
  font-size: 2.6rem;
  color: var(--primary-color);
  line-height: 1;
}

.stat-card .stat-label {
  margin-top: .6rem;
  color: var(--light-black-color);
  font-weight: 600;
}

/*--------------------------------------------------------------
8. SECTIONS
--------------------------------------------------------------*/
/* Feature / promo image block
------------------------------------------------------------- */
.imageblock {
  overflow: hidden;
  border-radius: var(--bs-border-radius-lg);
  box-shadow: 0 18px 50px rgba(12, 20, 40, .14);
}

.imageblock img {
  width: 100%;
  transition: transform .8s ease-in-out;
}

.imageblock:hover img {
  transform: scale(1.05);
}

/* Services
------------------------------------------------------------- */
.service-post {
  cursor: default;
  border: 1px solid #e7eaf0;
  background-color: #fff !important;
  box-shadow: 0 2px 10px rgba(12, 20, 40, .04);
  transition: all .4s ease-in-out;
  height: 100%;
}

.service-post .service-icon {
  width: 64px;
  height: 64px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: var(--primary-tint);
  color: var(--primary-color);
  transition: transform .4s ease-in-out, background .4s ease-in-out;
}

.service-post:hover {
  border-color: var(--primary-color);
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(12, 20, 40, .1);
}

.service-post:hover .service-icon {
  transform: scale(1.1) rotate(-6deg);
  background: var(--primary-color);
  color: #fff;
}

/* Process steps
------------------------------------------------------------- */
.process-step {
  position: relative;
  text-align: center;
  padding: 0 1rem;
}

.process-step .process-number {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--secondary-color);
  color: #fff;
  font-family: var(--heading-font);
  font-weight: 800;
  font-size: 1.3rem;
}

/* Gallery / latest work
------------------------------------------------------------- */
.project-content {
  overflow: hidden;
  border-radius: var(--bs-border-radius);
  position: relative;
  background: #000;
}

.project-content .project-img {
  transition: all .5s ease-in-out;
  width: 100%;
}

.project-content:hover .project-img {
  opacity: .35;
  transform: scale(1.08);
}

.project-description {
  opacity: 0;
  transform: translateY(14px);
  transition: all .5s ease-in-out;
}

.project-content:hover .project-description {
  opacity: 1;
  transform: none;
}

/* Testimonials
------------------------------------------------------------- */
.review {
  border-radius: 16px;
  height: 100%;
  transition: transform .35s ease-in-out, box-shadow .35s ease-in-out;
}

.review:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 38px rgba(12, 20, 40, .1) !important;
}

.review blockquote {
  color: var(--dark-color);
}

.review .author-text .name {
  color: var(--black-color);
}

.review .author-text .role {
  color: var(--gray-color);
  font-size: .85rem;
}

/* About page
------------------------------------------------------------- */
.value-card {
  height: 100%;
  padding: 2rem;
  border-radius: 16px;
  background: #fff;
  border: 1px solid #e7eaf0;
  transition: transform .3s ease-in-out, box-shadow .3s ease-in-out;
}

.value-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 34px rgba(12, 20, 40, .08);
}

.value-card .value-icon {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: var(--primary-tint);
  color: var(--primary-color);
  margin-bottom: 1rem;
}

/* Contact page
------------------------------------------------------------- */
.contact-info-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.5rem;
  border-radius: 16px;
  background: #fff;
  border: 1px solid #e7eaf0;
  height: 100%;
  transition: transform .3s ease-in-out, box-shadow .3s ease-in-out;
}

.contact-info-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(12, 20, 40, .08);
}

.contact-info-card .contact-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: var(--primary-tint);
  color: var(--primary-color);
}

.contact-form-card {
  background: #fff;
  border-radius: 20px;
  padding: 2.2rem;
  box-shadow: 0 18px 50px rgba(12, 20, 40, .08);
}

/* Final CTA
------------------------------------------------------------- */
.cta-banner {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(120deg, var(--secondary-color) 0%, var(--primary-dark) 100%);
  color: #fff;
  padding: 3.5rem 2.5rem;
}

.cta-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 85% 20%, rgba(245,166,35,.35), transparent 55%);
  pointer-events: none;
}

.cta-banner .container-inner {
  position: relative;
  z-index: 1;
}

/*--------------------------------------------------------------
9. FOOTER
--------------------------------------------------------------*/
#footer {
  background: var(--secondary-color);
  color: #b9c6dc;
}

#footer .footer-menu p {
  color: #9fb0c9;
}

#footer .widget-title {
  color: #fff;
}

#footer .menu-list a {
  color: #b9c6dc;
}

#footer .menu-list a:hover {
  color: var(--accent-color);
}

#footer .contact-line {
  display: flex;
  align-items: center;
  gap: .5rem;
  color: #b9c6dc;
}

#footer .contact-line svg {
  color: var(--accent-color);
  flex-shrink: 0;
}

#footer .contact-line a:hover {
  color: #fff;
}

#footer .social-links a {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  color: #dce6f7;
  transition: all .25s ease-in-out;
}

#footer .social-links a:hover {
  background: var(--primary-color);
  color: #fff;
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08) !important;
  color: #8fa1bc;
}

.footer-bottom a {
  color: #cfe0ff;
}

.footer-bottom a:hover {
  color: #fff;
}

/*--------------------------------------------------------------
10. LANGUAGE SWITCH (footer variant) & WHATSAPP FAB
------------------------------------------------------------- */
.whatsapp-fab-group {
  position: fixed;
  bottom: 24px;
  z-index: 1040;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

body[dir="ltr"] .whatsapp-fab-group,
:not([dir="rtl"]) .whatsapp-fab-group {
  left: 24px;
}

[dir="rtl"] .whatsapp-fab-group {
  right: 24px;
  left: auto;
}

.whatsapp-fab {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--whatsapp-color);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px rgba(37, 211, 102, .38);
  transition: transform .25s ease-in-out, box-shadow .25s ease-in-out;
}

.whatsapp-fab:hover {
  transform: translateY(-4px) scale(1.05);
  color: #fff;
  box-shadow: 0 14px 30px rgba(37, 211, 102, .45);
}

.whatsapp-fab span.flag {
  font-size: 1.15rem;
}

/*--------------------------------------------------------------
11. MOTION & SCROLL REVEAL
--------------------------------------------------------------*/
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s ease-out, transform .7s ease-out;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal.is-visible {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .swiper-slide-active .banner-topic,
  .swiper-slide-active .banner-title,
  .swiper-slide-active .hero-cta {
    animation: none;
  }
  .btn:hover, .service-post:hover, .review:hover, .whatsapp-fab:hover {
    transform: none;
  }
}

/*--------------------------------------------------------------
12. BACK TO TOP
--------------------------------------------------------------*/
.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1040;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: var(--primary-color);
  color: #fff;
  box-shadow: 0 8px 22px rgba(12, 12, 12, .22);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: opacity .3s ease-in-out, transform .3s ease-in-out, visibility .3s;
}

[dir="rtl"] .back-to-top {
  right: auto;
  left: 24px;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.back-to-top:hover {
  transform: translateY(-4px);
}

/*--------------------------------------------------------------
13. RESPONSIVE
--------------------------------------------------------------*/
@media (max-width: 991px) {
  li.nav-item {
    padding: 0;
  }

  .brand-logo .brand-word {
    font-size: 1.12rem;
  }
}

@media (max-width: 575px) {
  .page-header {
    height: 34vh;
    min-height: 240px;
  }

  .cta-banner {
    padding: 2.4rem 1.5rem;
  }
}
