@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap");

/* ===============================
   ROOT VARIABLES (DYNAMIC COLORS)
================================= */
:root {
  --primary-color: #8b0506;
  --secondary-color: #f5f5f5;
  --light-color: #ffffff;
  --dark-color: #000000;
  --overlay-color: rgba(0, 0, 0, 0.55);
}

/* ===============================
   GLOBAL RESET
================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

/* ===============================
   BODY
================================= */
body {
  background: var(--secondary-color);
  overflow-x: hidden;
}

.container {
  max-width: unset !important;
  max-width: 1320px !important;
}

.section_cover_wrapper {
  padding: 0 60px;
}

@media (max-width: 1024px) {
  .section_cover_wrapper {
    padding: 0 40px;
  }
}

@media (max-width: 767px) {
  .section_cover_wrapper {
    padding: 0 20px;
  }
}

/* ===============================
   Dynamic Fonts (Example)
================================= */

.hh1 {
  font-size: 52px;
  font-weight: 700;
  line-height: 1.2em;
  margin: 0;
}

.hh2 {
  font-size: 42px;
  font-weight: 600;
  line-height: 1.2em;
  margin: 0;
}

.hh3 {
  font-size: 34px;
  font-weight: 500;
  line-height: 1.4em;
  margin: 0;
}

.hh4 {
  font-size: 28px;
  font-weight: 500;
  line-height: 1.4em;
  margin: 0;
}

.hh4 {
  font-size: 24px;
  font-weight: 500;
  line-height: 1.4em;
  margin: 0;
}

.p1-text {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.6em;
  margin: 0;
}

@media (max-width: 1024px) {
  .hh1 {
    font-size: 42px;
  }
  .hh2 {
    font-size: 34px;
  }
  .hh3 {
    font-size: 28px;
  }
  .hh4 {
    font-size: 24px;
  }
  .hh5 {
    font-size: 20px;
  }
  .p1-text {
    font-size: 16px;
  }
}

@media (max-width: 767px) {
  .hh1 {
    font-size: 34px;
  }
  .hh2 {
    font-size: 28px;
  }
  .hh3 {
    font-size: 24px;
  }
  .hh4 {
    font-size: 18px;
  }
  .hh5 {
    font-size: 16px;
  }
}

/* ===============================
   Dynamic Buttons (Example)
================================= */

.btn {
  display: inline-block !important;
  background-color: var(--primary-color) !important;
  color: var(--light-color) !important;
  padding: 12px 30px !important;
  border-radius: 5px !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  transition:
    background-color 0.3s ease,
    color 0.3s ease;
}

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

/* ===============================
   Header Style CSS
================================= */

header.section_cover_wrapper {
  box-shadow: 0 5px 20px 2px #00000020;
}

nav.navbar.container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
}

.logo-wrapper {
  display: inline-flex;
}

.navbar-brand {
  all: unset !important;
}

.logo-wrapper img {
  width: 100%;
  height: auto;
  max-width: 240px;
  cursor: pointer;
}

ul.navbar-nav.ms-auto.align-items-center {
  gap: 10px;
}

.nav-link {
  color: var(--dark-color) !important;
  font-weight: 500 !important;
  border-radius: 5px;
  transition: all 0.3s ease !important;
  padding: 8px 10px !important;
}

.nav-link:hover,
.nav-link.active,
.dropdown-item:hover,
.dropdown-item:focus {
  background-color: var(--primary-color) !important;
  color: var(--light-color) !important;
}

.dropdown-item {
  color: var(--dark-color);
  border-radius: 5px !important;
  padding-top: 10px !important;
  padding-bottom: 10px !important;
}

.dropdown-submenu {
  position: relative;
}

.dropdown-submenu > .submenu-toggle {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.dropdown-submenu > .submenu-toggle::after {
  content: "▸";
  font-size: 0.85rem;
  margin-left: 0.5rem;
}

.dropdown-submenu > .dropdown-menu {
  position: absolute;
  top: 0;
  left: 100%;
  margin-left: 0.1rem;
  border-radius: 0.5rem;
  min-width: 180px;
  display: none;
  z-index: 2000;
}

@media (max-width: 1024px) {
  .logo-wrapper img {
    max-width: 200px;
  }
}

@media (max-width: 767px) {
  .logo-wrapper img {
    max-width: 180px;
  }
}

@media (min-width: 992px) {
  .navbar-nav .dropdown:hover > .dropdown-menu {
    display: block;
  }

  .dropdown-submenu:hover > .dropdown-menu {
    display: block;
  }
}

.navbar-toggler {
  border: none !important;
  cursor: pointer;
  padding: 0px !important;
}

.navbar-toggler:focus {
  outline: none !important;
  box-shadow: none !important;
}

.navbar-toggler img {
  width: 40px;
  height: 40px;
}

.offcanvas .dropdown-menu {
  position: static;
  float: none;
  width: 100%;
  margin: 0;
  border: none;
  box-shadow: none;
}

.offcanvas .dropdown-submenu > .dropdown-menu {
  position: static;
  padding-left: 1rem;
}

.offcanvas .dropdown-submenu > .dropdown-menu.show {
  display: block;
}

.mobile-logo-wrapper img {
  width: 100%;
  height: auto;
  max-width: 180px;
  cursor: pointer;
}

.offcanvas-header .btn-close {
  opacity: 1 !important;
}

@media (max-width: 991px) {
  .dropdown-submenu > .submenu-toggle::after {
    transform: rotate(90deg);
  }
}

/* ===================================
   Branch Style CSS   
=================================== */

.page-hero-section {
  position: relative;
  width: 100%;
  height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.page-hero {
  padding: 60px 0 !important;
}

.hero__background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(60deg, #27e7ff, #00ca52);
  transform: skewY(3deg) translateY(-80px);
  transform-origin: top left;
  z-index: -1;
  overflow: hidden;
}

.hero__background::after {
  content: "";
  position: absolute;
  top: -400%;
  right: -400%;
  width: 800%;
  height: 800%;
  background: url("images/dark-mosaic.png");
  opacity: 0.3;
  animation: rotate 140s linear infinite;
  z-index: 11;
}

@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  justify-content: center;
  text-align: center;
}

.hero-content .hh1 {
  color: var(--primary-color);
}

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

.contact-wrapper {
  padding: 120px 0 !important;
  display: flex;
  gap: 60px;
}

.contact-content,
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 50%;
}

.branch-details,
.title_wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.icon-text-wrapper {
  display: flex;
  gap: 20px;
  align-items: start;
}

.icon-text-wrapper i {
  font-size: 24px;
  color: var(--primary-color);
  padding-top: 5px;
}

.icon-text-wrapper {
  display: flex;
  gap: 20px;
  align-items: start;
  border: 1px solid #12121220;
  border-radius: 10px;
  padding: 12px 20px;
  transition: box-shadow 0.3s ease;
}

.icon-text-wrapper:hover {
  box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}

.icon-text-wrapper .info a {
  color: var(--dark-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.icon-text-wrapper .info a:hover {
  color: var(--primary-color);
}

.icon-text-wrapper .info iframe {
  border: none;
  border-radius: 10px;
}

form.branch-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
  padding: 40px;
  border-radius: 10px;
  border: 1px solid #12121210;
  position: sticky;
  top: 80px;
}

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

.about-us-section {
  background-color: var(--primary-color);
}

.about-us-wrapper {
  padding: 120px 0 !important;
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.about-us-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: var(--light-color);
}

.about-us-image img {
  width: 100%;
  border-radius: 10px;
  box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}

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

.main-happy-client-wrapper {
  padding: 120px 0 !important;
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.happy-client {
  display: flex;
  gap: 60px;
}

.happy-client-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 50%;
  align-items: start;
  position: sticky;
  top: 80px;
  align-self: flex-start;
}

.happy-client-video {
  display: flex;
  flex-direction: column;
  width: 50%;
  gap: 20px;
}

.video-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.image-wrapper {
  border-radius: 10px;
  box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
  padding-bottom: 20px !important;
}

.swiper {
  width: 100%;
  height: 100%;
}

.swiper-slide {
  text-align: center;
  font-size: 18px;
  display: flex !important;
  flex-direction: column;
  gap: 40px;
  justify-content: center;
  align-items: center;
}

.swiper-slide img {
  display: block;
  width: 100%;
  height: 320px;
  border-radius: 10px;
  object-fit: cover;
  object-position: center;
}

.swiper-horizontal > .swiper-pagination-bullets,
.swiper-pagination-bullets.swiper-pagination-horizontal,
.swiper-pagination-custom,
.swiper-pagination-fraction {
  bottom: var(--swiper-pagination-bottom, 60px) !important;
}

.swiper-pagination-bullet-active {
  background-color: var(--primary-color) !important;
}

/* ===============================
   VIDEO PLAYER STYLES
================================= */

.video {
  position: relative;
  width: 100%;
  cursor: pointer;
  overflow: hidden;
  border-radius: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.video img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

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

.video-play-btn {
  position: absolute;
  background-color: var(--primary-color);
  color: var(--light-color);
  border: none;
  padding: 12px 24px;
  border-radius: 5px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 10;
}

.video-play-btn:hover {
  background-color: #a00607;
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(139, 5, 6, 0.4);
}

.video-play-btn:active {
  transform: scale(0.95);
}

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

.main-footer-wrapper {
  padding: 80px 0 !important;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-top: 1px solid #12121220;
}

.footer-content {
  display: flex;
  gap: 60px;
}

.footer-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 25%;
  width: 100%;
}

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

.footer-icon-group {
  display: flex;
  gap: 10px;
}

.footer-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.footer-icon i {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
  padding: 10px;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 20px;
  transition: all 0.3s ease;
}

.footer-icon i:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(139, 5, 6, 0.4);
}

.footer-wrapper .hh4 {
  color: var(--primary-color);
}

.footer-wrapper .icon-with-text-wrapper {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-wrapper .icon-txt {
    display: flex;
    gap: 10px;
}

.footer-wrapper .icon-txt i {
    color: var(--primary-color);
    font-size: 16px;
    padding-top: 8px;
}

.footer-wrapper .icon-txt a {
    color: var(--dark-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.copyright-section {
  background-color: var(--primary-color);
}

.copyright-section .container{
  text-align: center;
  color: var(--light-color);
  padding: 10px 0 !important;
}



/* ---------------------------------------media quary --------------------------------------- */


@media (max-width: 1024px) {
  .contact-wrapper, .about-us-wrapper, .main-happy-client-wrapper {
    padding: 80px 0 !important;
    gap: 40px;
  }

  .happy-client, .footer-content {
    gap: 40px;
  }

  .swiper-slide img {
    height: 260px;
  }

  .footer-content {
    flex-wrap: wrap;
  }

  .footer-wrapper:first-child {
    max-width: 100%;
  }

  .footer-wrapper {
    max-width: calc(33.33% - 27px);
  }
}

@media (max-width: 767px) {
  .page-hero-section {
    height: 500px;
  }

  .about-us-wrapper, .main-happy-client-wrapper {
    padding: 60px 0 !important;
    gap: 30px;
    flex-direction: column;
  }

  .contact-wrapper {
    padding: 0 0 60px !important;
    gap: 30px;
    flex-direction: column;
  }

  .contact-content, .contact-form, .happy-client-video {
    width: 100%;
  }

  .happy-client, .footer-content {
    gap: 30px;
  }

  .happy-client {
    flex-direction: column;
  }

  .happy-client-content {
    width: 100%;
    position: static;
  }

  .swiper-slide img {
    height: 240px;
  }

  .footer-wrapper {
    max-width: 100%;
  }

  .main-footer-wrapper {
    padding: 60px 0 !important;
  }
}