/**
* B2 dev - Couleurs du logo
* Logo : fond gris très foncé, "B" et "dev" gris clair lumineux, "2" gris plus foncé
*/

:root {
  --b2-bg: #0f0f0f;
  --b2-bg-card: #181818;
  --b2-bg-elevated: #222;
  --b2-text: #d4d4d4;
  --b2-text-muted: #6e6e6e;
  --b2-accent: #6e6e6e;
  --b2-border: #2c2c2c;
}

/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
body {
  font-family: "Inter", "Montserrat", sans-serif;
  color: var(--b2-text);
  background-color: var(--b2-bg);
}

a {
  text-decoration: none;
  color: var(--b2-accent);
}

a:hover {
  color: var(--b2-text);
  text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Montserrat", sans-serif;
  color: var(--b2-text);
}

/* Cartes B2 dev (News, Team, etc.) */
.card-b2 {
  background: var(--b2-bg-card) !important;
  border: 1px solid var(--b2-border) !important;
  color: var(--b2-text) !important;
}

.card-b2 .card-header,
.card-b2 .card-footer {
  background: var(--b2-bg) !important;
  border-color: var(--b2-border) !important;
  color: var(--b2-text-muted) !important;
}

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

.card-b2 .card-body div {
  color: inherit;
}

.card-b2 .img-thumbnail {
  background: var(--b2-bg);
  border-color: var(--b2-border);
}

/* Formulaires dans le thème B2 */
#main .form-control {
  background-color: var(--b2-bg);
  border-color: var(--b2-border);
  color: var(--b2-text);
}

#main .form-control::placeholder {
  color: var(--b2-text-muted);
}

#main .form-control:focus {
  background-color: var(--b2-bg-card);
  border-color: var(--b2-text-muted);
  color: var(--b2-text);
}

/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
.back-to-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 996;
  background: var(--b2-accent);
  width: 40px;
  height: 40px;
  border-radius: 4px;
  transition: all 0.4s;
}

.back-to-top i {
  font-size: 28px;
  color: var(--b2-text);
  line-height: 0;
}

.back-to-top:hover {
  background: var(--b2-text-muted);
  color: var(--b2-bg);
}

.back-to-top.active {
  visibility: visible;
  opacity: 1;
}

/*--------------------------------------------------------------
# Disable AOS delay on mobile
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#header {
  height: 72px;
  min-height: 72px;
  transition: all 0.5s;
  z-index: 997;
  background: var(--b2-bg);
  box-shadow: 0 1px 0 var(--b2-border);
}

#header .logo {
  display: flex;
  align-items: center;
}

#header .logo img,
#header .header-logo {
  padding: 0;
  margin: 0;
  max-height: 52px;
  height: auto;
  width: auto;
  display: block;
}

@media (max-width: 992px) {
  #header {
    height: 72px;
    min-height: 72px;
  }
  #header .logo img,
  #header .header-logo {
    max-height: 44px;
  }
}

.scrolled-offset {
  margin-top: 72px;
}

@media (max-width: 992px) {
  .scrolled-offset {
    margin-top: 72px;
  }
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/**
* Desktop Navigation 
*/
.navbar {
  padding: 0;
}

.navbar ul {
  margin: 0;
  padding: 0;
  display: flex;
  list-style: none;
  align-items: center;
}

.navbar li {
  position: relative;
}

.navbar a, .navbar a:focus {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0 10px 30px;
  font-size: 15px;
  color: var(--b2-text);
  text-transform: uppercase;
  white-space: nowrap;
  transition: 0.3s;
}

.navbar a i, .navbar a:focus i {
  font-size: 12px;
  line-height: 0;
  margin-left: 5px;
}

.navbar a:hover, .navbar .active, .navbar .active:focus, .navbar li:hover > a {
  color: var(--b2-text-muted);
}



.navbar .dropdown ul {
  display: block;
  position: absolute;
  left: 14px;
  top: calc(100% + 30px);
  margin: 0;
  padding: 10px 0;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  background: var(--b2-bg-card);
  border: 1px solid var(--b2-border);
  box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.5);
  transition: 0.3s;
}

.navbar .dropdown ul li {
  min-width: 200px;
}

.navbar .dropdown ul a {
  padding: 10px 20px;
  font-size: 15px;
  text-transform: none;
  font-weight: 600;
}

.navbar .dropdown ul a i {
  font-size: 12px;
}

.navbar .dropdown ul a:hover, .navbar .dropdown ul .active:hover, .navbar .dropdown ul li:hover > a {
  color: var(--b2-accent);
}

.navbar .dropdown:hover > ul {
  opacity: 1;
  top: 100%;
  visibility: visible;
}

.navbar .dropdown .dropdown ul {
  top: 0;
  left: calc(100% - 30px);
  visibility: hidden;
}

.navbar .dropdown .dropdown:hover > ul {
  opacity: 1;
  top: 0;
  left: 100%;
  visibility: visible;
}

@media (max-width: 1366px) {
  .navbar .dropdown .dropdown ul {
    left: -90%;
  }
  .navbar .dropdown .dropdown:hover > ul {
    left: -100%;
  }
}

/* Dropdown langue (Bootstrap) dans le header */
#header .dropdown-menu {
  background: var(--b2-bg-card);
  border: 1px solid var(--b2-border);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  padding: 0.25rem 0;
}
#header .dropdown-item {
  color: var(--b2-text);
  padding: 0.5rem 1rem;
  font-weight: 500;
}
#header .dropdown-item:hover {
  background: var(--b2-bg-elevated);
  color: var(--b2-text);
}
#header .dropdown-item.active {
  background: var(--b2-bg-elevated);
  color: var(--b2-text);
}

/**
* Mobile Navigation 
*/
.mobile-nav-toggle {
  color: var(--b2-text);
  font-size: 28px;
  cursor: pointer;
  display: none;
  line-height: 0;
  transition: 0.5s;
}

.mobile-nav-toggle.bi-x {
  color: var(--b2-text);
}

@media (max-width: 991px) {
  .mobile-nav-toggle {
    display: block;
  }
  .navbar ul {
    display: none;
  }
}

.navbar-mobile {
  position: fixed;
  overflow: hidden;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.9);
  transition: 0.3s;
  z-index: 999;
}

.navbar-mobile .mobile-nav-toggle {
  position: absolute;
  top: 15px;
  right: 15px;
}

.navbar-mobile ul {
  display: block;
  position: absolute;
  top: 55px;
  right: 15px;
  bottom: 15px;
  left: 15px;
  padding: 10px 0;
  background-color: var(--b2-bg-card);
  overflow-y: auto;
  transition: 0.3s;
}

.navbar-mobile a {
  padding: 10px 20px;
  font-size: 15px;
  color: var(--b2-text);
}

.navbar-mobile a:hover, .navbar-mobile .active, .navbar-mobile li:hover > a {
  color: var(--b2-text-muted);
}

.navbar-mobile .getstarted {
  margin: 15px;
}

.navbar-mobile .dropdown ul {
  position: static;
  display: none;
  margin: 10px 20px;
  padding: 10px 0;
  z-index: 99;
  opacity: 1;
  visibility: visible;
  background: var(--b2-bg-elevated);
  box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.3);
}

.navbar-mobile .dropdown ul li {
  min-width: 200px;
}

.navbar-mobile .dropdown ul a {
  padding: 10px 20px;
}

.navbar-mobile .dropdown ul a i {
  font-size: 12px;
}

.navbar-mobile .dropdown ul a:hover, .navbar-mobile .dropdown ul .active:hover, .navbar-mobile .dropdown ul li:hover > a {
  color: var(--b2-accent);
}

.navbar-mobile .dropdown > .dropdown-active {
  display: block;
}

/* Dropdown langue en mobile : menu intégré au déroulant */
.navbar-mobile .dropdown .dropdown-menu {
  position: static;
  float: none;
  display: none;
  margin: 0 20px 10px;
  padding: 0.5rem 0;
  background: var(--b2-bg-elevated);
  border: 1px solid var(--b2-border);
  box-shadow: none;
}
.navbar-mobile .dropdown > .dropdown-menu.dropdown-active {
  display: block;
}
.navbar-mobile .dropdown .dropdown-item {
  padding: 10px 20px;
  color: var(--b2-text);
}
.navbar-mobile .dropdown .dropdown-item:hover,
.navbar-mobile .dropdown .dropdown-item.active {
  background: var(--b2-bg);
  color: var(--b2-text);
}

/*--------------------------------------------------------------
# Section Logo / Marque B2Dev
--------------------------------------------------------------*/
.brand-section {
  padding: 48px 0;
  background-color: var(--b2-bg);
  border-bottom: 1px solid var(--b2-border);
}

.brand-logo-link {
  display: inline-block;
}

.brand-logo {
  max-height: 220px;
  width: auto;
  height: auto;
  display: block;
  margin: 0 auto;
}

.brand-title {
  font-family: "Montserrat", sans-serif;
  font-size: 2rem;
  font-weight: 600;
  color: var(--b2-text);
  margin: 16px 0 8px 0;
  letter-spacing: 0.02em;
}

.brand-tagline {
  font-size: 1rem;
  color: var(--b2-text-muted);
  margin: 0;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 768px) {
  .brand-section {
    padding: 32px 0;
  }
  .brand-logo {
    max-height: 140px;
  }
  .brand-title {
    font-size: 1.5rem;
  }
}

/*--------------------------------------------------------------
# Section Notre jeu (game showcase)
--------------------------------------------------------------*/
.game-showcase {
  padding: 60px 0;
}

.game-showcase .game-visual {
  border: 1px solid var(--b2-border);
  background: var(--b2-bg-card);
}

.game-showcase h3 {
  color: var(--b2-text);
  font-weight: 600;
}

.game-showcase p {
  color: var(--b2-text-muted);
}

.btn-play-roblox {
  display: inline-block;
  padding: 12px 28px;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--b2-bg) !important;
  background: var(--b2-text-muted);
  border: 2px solid var(--b2-text-muted);
  border-radius: 4px;
  transition: 0.3s;
}

.btn-play-roblox:hover {
  background: var(--b2-text);
  border-color: var(--b2-text);
  color: var(--b2-bg) !important;
}

/* Carte jeu en vedette (home) - responsive */
.featured-game-card .card-body {
  overflow: hidden;
}
.featured-game-card__icon {
  width: 48px;
  height: 48px;
  object-fit: cover;
}
@media (min-width: 768px) {
  .featured-game-card__icon {
    width: 64px;
    height: 64px;
  }
}
.featured-game-card .btn-play-roblox {
  min-width: 0;
  width: 100%;
}

/* Section News - cartes responsive (avatar + contenu) */
.news-item-row {
  flex-wrap: wrap;
}
.news-item-avatar__img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 50%;
  display: inline-block;
}
@media (min-width: 768px) {
  .news-item-avatar__img {
    width: 100px;
    height: 100px;
  }
}
.news-card-body {
  overflow-wrap: break-word;
  word-wrap: break-word;
  min-width: 0;
}
.news-card-body > div {
  max-width: 100%;
  overflow-x: hidden;
}
.news-card-body table,
.news-card-body img {
  max-width: 100%;
  height: auto;
}

/*--------------------------------------------------------------
# Main & Sections - B2 dev
--------------------------------------------------------------*/
#main {
  background-color: var(--b2-bg);
}

section {
  padding: 60px 0;
  overflow: hidden;
  background-color: var(--b2-bg);
}

.section-bg {
  background-color: var(--b2-bg-card);
}

.section-title {
  text-align: center;
  padding-bottom: 40px;
}

.section-title h2 {
  font-size: 32px;
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 15px;
  padding-bottom: 0;
  color: var(--b2-text);
  letter-spacing: 0.05em;
}

.section-title p {
  margin-bottom: 0;
  color: var(--b2-text-muted);
}

/*--------------------------------------------------------------
# About Us
--------------------------------------------------------------*/
.about {
  background-color: var(--b2-bg);
}

.about .content h3,
.about .content p,
.about .content ul li {
  color: var(--b2-text);
}

.about .content .fst-italic {
  color: var(--b2-text-muted);
}

.about .image {
  padding: 20px;
  box-shadow: 0px 2px 25px rgba(0, 0, 0, 0.4);
  border-radius: 4px;
  background: var(--b2-bg-card);
}

.about .content h3 {
  font-weight: 600;
  font-size: 26px;
}

.about .content ul {
  list-style: none;
  padding: 0;
}

.about .content ul li {
  padding-bottom: 10px;
  display: flex;
  align-items: flex-start;
}

.about .content ul i {
  font-size: 24px;
  padding: 2px 6px 0 0;
  color: var(--b2-accent);
}

.about .content p:last-child {
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Services
--------------------------------------------------------------*/
.services {
  background-color: var(--b2-bg);
}

.services .icon-box h4 {
  font-size: 20px;
  font-weight: 700;
  margin: 5px 0 10px 60px;
  color: var(--b2-text);
}

.services .icon-box i {
  font-size: 48px;
  float: left;
  color: var(--b2-accent);
}

.services .icon-box p {
  font-size: 15px;
  color: var(--b2-text-muted);
  margin-left: 60px;
}

.services .image {
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  min-height: 400px;
}

/*--------------------------------------------------------------
# Featured
--------------------------------------------------------------*/
.featured {
  padding: 40px 0 0 0;
  background: black;
}

.featured .nav-tabs {
  border: 0;
}

.featured .nav-link {
  border: 0;
  padding: 20px;
  color: var(--b2-text);
  transition: 0.3s;
}

.featured .nav-link h4 {
  font-size: 18px;
  font-weight: 600;
  transition: 0.3s;
}

.featured .nav-link:hover h4 {
  color: var(--b2-accent);
}

.featured .nav-link p {
  font-size: 14px;
  margin-bottom: 0;
}

.featured .nav-link.active {
  box-shadow: 0px 0 25px rgba(0, 0, 0, 0.3);
  background: var(--b2-bg-card);
  border-radius: 4px;
}

.featured .nav-link.active h4 {
  color: var(--b2-text);
}

.featured .tab-pane.active {
  -webkit-animation: slide-down 0.5s ease-out;
  animation: slide-down 0.5s ease-out;
}

@-webkit-keyframes slide-down {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes slide-down {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

/*--------------------------------------------------------------
# Why Us
--------------------------------------------------------------*/
.why-us {
  background: var(--b2-bg-card);
  padding: 0;
}

.why-us .content {
  padding: 60px 100px 0 100px;
}

.why-us .content h3 {
  font-weight: 400;
  font-size: 34px;
  color: var(--b2-text);
}

.why-us .content h4 {
  font-size: 20px;
  font-weight: 700;
  margin-top: 5px;
}

.why-us .content p {
  font-size: 15px;
  color: var(--b2-text-muted);
}

.why-us .video-box {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  min-height: 400px;
  position: relative;
}

.why-us .accordion-list {
  padding: 0 100px 60px 100px;
}

.why-us .accordion-list ul {
  padding: 0;
  list-style: none;
}

.why-us .accordion-list li + li {
  margin-top: 15px;
}

.why-us .accordion-list li {
  padding: 20px;
  background: var(--b2-bg);
  border: 1px solid var(--b2-border);
  border-radius: 4px;
}

.why-us .accordion-list a {
  display: block;
  position: relative;
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
  padding-right: 30px;
  outline: none;
  cursor: pointer;
}

.why-us .accordion-list span {
  color: var(--b2-text-muted);
  font-weight: 600;
  font-size: 18px;
  padding-right: 10px;
}

.why-us .accordion-list i {
  font-size: 24px;
  position: absolute;
  right: 0;
  top: 0;
}

.why-us .accordion-list p {
  margin-bottom: 0;
  padding: 10px 0 0 0;
}

.why-us .accordion-list .icon-show {
  display: none;
}

.why-us .accordion-list a.collapsed {
  color: var(--b2-text-muted);
}

.why-us .accordion-list a.collapsed:hover {
  color: var(--b2-text);
}

.why-us .accordion-list a.collapsed .icon-show {
  display: inline-block;
}

.why-us .accordion-list a.collapsed .icon-close {
  display: none;
}

.why-us .accordion-list .collapse p {
  color: var(--b2-text-muted);
}

.why-us .play-btn {
  width: 94px;
  height: 94px;
  background: radial-gradient(var(--b2-text-muted) 50%, rgba(122, 122, 122, 0.4) 52%);
  border-radius: 50%;
  display: block;
  position: absolute;
  left: calc(50% - 47px);
  top: calc(50% - 47px);
  overflow: hidden;
}

.why-us .play-btn::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-40%) translateY(-50%);
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid var(--b2-text);
  z-index: 100;
  transition: all 400ms cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

.why-us .play-btn::before {
  content: '';
  position: absolute;
  width: 120px;
  height: 120px;
  -webkit-animation-delay: 0s;
  animation-delay: 0s;
  -webkit-animation: pulsate-btn 2s;
  animation: pulsate-btn 2s;
  -webkit-animation-direction: forwards;
  animation-direction: forwards;
  -webkit-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
  -webkit-animation-timing-function: steps;
  animation-timing-function: steps;
  opacity: 1;
  border-radius: 50%;
  border: 5px solid rgba(122, 122, 122, 0.7);
  top: -15%;
  left: -15%;
  background: transparent;
}

.why-us .play-btn:hover::after {
  border-left: 15px solid var(--b2-text);
  transform: scale(20);
}

.why-us .play-btn:hover::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-40%) translateY(-50%);
  width: 0;
  height: 0;
  border: none;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid var(--b2-text);
  z-index: 200;
  -webkit-animation: none;
  animation: none;
  border-radius: 0;
}

@media (max-width: 1024px) {
  .why-us .content, .why-us .accordion-list {
    padding-left: 0;
    padding-right: 0;
  }
}

@media (max-width: 992px) {
  .why-us .content {
    padding-top: 30px;
  }
  .why-us .accordion-list {
    padding-bottom: 30px;
  }
}

@-webkit-keyframes pulsate-btn {
  0% {
    transform: scale(0.6, 0.6);
    opacity: 1;
  }
  100% {
    transform: scale(1, 1);
    opacity: 0;
  }
}

@keyframes pulsate-btn {
  0% {
    transform: scale(0.6, 0.6);
    opacity: 1;
  }
  100% {
    transform: scale(1, 1);
    opacity: 0;
  }
}

/*--------------------------------------------------------------
# Portfolio
--------------------------------------------------------------*/
.portfolio .portfolio-item {
  margin-bottom: 30px;
}

.portfolio #portfolio-flters {
  padding: 0;
  margin: 0 auto 25px auto;
  list-style: none;
  text-align: center;
}

.portfolio #portfolio-flters li {
  cursor: pointer;
  display: inline-block;
  padding: 10px 18px 12px 18px;
  font-size: 14px;
  font-weight: 400;
  line-height: 1;
  text-transform: uppercase;
  color: var(--b2-text-muted);
  transition: all 0.3s ease-in-out;
  margin: 0 4px 10px 4px;
  background: var(--b2-bg-card);
  border: 1px solid var(--b2-border);
  border-radius: 4px;
}

.portfolio #portfolio-flters li:hover, .portfolio #portfolio-flters li.filter-active {
  background: var(--b2-text-muted);
  color: var(--b2-bg);
  border-color: var(--b2-text-muted);
}

.portfolio #portfolio-flters li:last-child {
  margin-right: 0;
}

.portfolio .portfolio-wrap {
  transition: 0.3s;
  position: relative;
  overflow: hidden;
  z-index: 1;
  background: rgba(0, 0, 0, 0.6);
}

.portfolio .portfolio-wrap::before {
  content: "";
  background: rgba(21, 21, 21, 0.6);
  position: absolute;
  left: 30px;
  right: 30px;
  top: 30px;
  bottom: 30px;
  transition: all ease-in-out 0.3s;
  z-index: 2;
  opacity: 0;
}

.portfolio .portfolio-wrap .portfolio-info {
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  text-align: center;
  z-index: 3;
  transition: all ease-in-out 0.3s;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.portfolio .portfolio-wrap .portfolio-info::before {
  display: block;
  content: "";
  width: 48px;
  height: 48px;
  position: absolute;
  top: 35px;
  left: 35px;
  border-top: 3px solid var(--b2-text);
  border-left: 3px solid var(--b2-text);
  transition: all 0.5s ease 0s;
  z-index: 9994;
}

.portfolio .portfolio-wrap .portfolio-info::after {
  display: block;
  content: "";
  width: 48px;
  height: 48px;
  position: absolute;
  bottom: 35px;
  right: 35px;
  border-bottom: 3px solid var(--b2-text);
  border-right: 3px solid var(--b2-text);
  transition: all 0.5s ease 0s;
  z-index: 9994;
}

.portfolio .portfolio-wrap .portfolio-info h4 {
  font-size: 20px;
  color: var(--b2-text);
  font-weight: 600;
}

.portfolio .portfolio-wrap .portfolio-info p {
  color: var(--b2-text);
  font-size: 14px;
  text-transform: uppercase;
  padding: 0;
  margin: 0;
}

.portfolio .portfolio-wrap .portfolio-links {
  text-align: center;
  z-index: 4;
}

.portfolio .portfolio-wrap .portfolio-links a {
  color: var(--b2-text);
  margin: 0 2px;
  font-size: 28px;
  display: inline-block;
  transition: 0.3s;
}

.portfolio .portfolio-wrap .portfolio-links a:hover {
  color: var(--b2-text-muted);
}

.portfolio .portfolio-wrap:hover::before {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 1;
}

.portfolio .portfolio-wrap:hover .portfolio-info {
  opacity: 1;
}

.portfolio .portfolio-wrap:hover .portfolio-info::before {
  top: 15px;
  left: 15px;
}

.portfolio .portfolio-wrap:hover .portfolio-info::after {
  bottom: 15px;
  right: 15px;
}

/*--------------------------------------------------------------
# Portfolio Details
--------------------------------------------------------------*/
.portfolio-details {
  padding-top: 40px;
}

.portfolio-details .portfolio-details-slider img {
  width: 100%;
}

.portfolio-details .portfolio-details-slider .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.portfolio-details .portfolio-details-slider .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: var(--b2-bg-card);
  opacity: 1;
  border: 1px solid var(--b2-text-muted);
}

.portfolio-details .portfolio-details-slider .swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--b2-text-muted);
}

.portfolio-details .portfolio-info {
  padding: 30px;
  box-shadow: 0px 0 30px rgba(21, 21, 21, 0.08);
}

.portfolio-details .portfolio-info h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--b2-border);
}

.portfolio-details .portfolio-info ul {
  list-style: none;
  padding: 0;
  font-size: 15px;
}

.portfolio-details .portfolio-info ul li + li {
  margin-top: 10px;
}

.portfolio-details .portfolio-description {
  padding-top: 30px;
}

.portfolio-details .portfolio-description h2 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 20px;
}

.portfolio-details .portfolio-description p {
  padding: 0;
}

/*--------------------------------------------------------------
# Testimonials
--------------------------------------------------------------*/
.testimonials {
  padding: 60px 0;
  background: var(--b2-bg-card);
  position: relative;
}

.testimonials::before {
  display: none;
}

.testimonials .quote-icon {
  text-align: center;
  margin-bottom: 30px;
}

.testimonials .quote-icon i {
  color: var(--b2-text-muted);
  font-size: 24px;
  padding: 18px;
  border-radius: 50px;
  border: 2px solid var(--b2-text-muted);
}

.testimonials .testimonial-item {
  text-align: center;
  color: var(--b2-text);
}

.testimonials .testimonial-item p {
  font-style: italic;
  margin: 0 auto 30px auto;
  font-size: 20px;
}

.testimonials .testimonial-item .testimonial-img {
  width: 100px;
  border-radius: 50%;
  border: 6px solid var(--b2-border);
  margin: 0 auto;
}

.testimonials .testimonial-item h3 {
  font-size: 20px;
  font-weight: bold;
  margin: 10px 0 5px 0;
  color: var(--b2-text);
}

.testimonials .testimonial-item h4 {
  font-size: 14px;
  color: var(--b2-text-muted);
  margin: 0 0 15px 0;
}

.testimonials .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.testimonials .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  opacity: 1;
  background-color: rgba(255, 255, 255, 0.4);
}

.testimonials .swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--b2-text-muted);
}

@media (min-width: 992px) {
  .testimonials .testimonial-item p {
    width: 80%;
  }
}

/*--------------------------------------------------------------
# Clients
--------------------------------------------------------------*/
.clients {
  background: var(--b2-bg);
  padding: 15px 0;
  text-align: center;
}

.clients img {
  width: 50%;
  filter: grayscale(100);
  transition: all 0.4s ease-in-out;
  display: inline-block;
  padding: 15px 0;
}

.clients img:hover {
  filter: none;
  transform: scale(1.2);
}

@media (max-width: 768px) {
  .clients img {
    width: 40%;
  }
}

@media (max-width: 575px) {
  .clients img {
    width: 50%;
  }
}

/*--------------------------------------------------------------
# Team
--------------------------------------------------------------*/
.team {
  background: var(--b2-bg);
  padding: 60px 0;
}

.team .member {
  margin-bottom: 20px;
  overflow: hidden;
}

.team .member .member-img {
  position: relative;
  overflow: hidden;
  border-radius: 5px;
}

.team .member .social {
  position: absolute;
  left: 0;
  bottom: -40px;
  right: 0;
  height: 40px;
  opacity: 0;
  transition: bottom ease-in-out 0.4s;
  background: rgba(26, 26, 26, 0.95);
  border-top: 1px solid var(--b2-border);
  display: flex;
  align-items: center;
  justify-content: center;
}

.team .member .social a {
  transition: color 0.3s;
  color: var(--b2-text-muted);
  margin: 0 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.team .member .social a i {
  line-height: 0;
}

.team .member .social a:hover {
  color: var(--b2-text);
}

.team .member .social i {
  font-size: 18px;
  margin: 0 2px;
}

.team .member .member-info h4 {
  font-weight: 700;
  margin: 15px 0 5px 0;
  font-size: 18px;
}

.team .member .member-info span {
  display: block;
  font-size: 13px;
  text-transform: uppercase;
  font-weight: 400;
  margin-bottom: 15px;
  color: var(--b2-text-muted);
}

.team .member .member-info p {
  font-style: italic;
  font-size: 14px;
  line-height: 26px;
  color: var(--b2-text-muted);
}

.team .member:hover .social {
  bottom: 0;
  opacity: 1;
  transition: bottom ease-in-out 0.4s;
}

/*--------------------------------------------------------------
# Pricing
--------------------------------------------------------------*/
.pricing .box {
  padding: 20px;
  background: var(--b2-bg-card);
  text-align: center;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--b2-border);
}

.pricing .box h3 {
  font-weight: 400;
  padding: 15px;
  margin-top: 15px;
  font-size: 18px;
  font-weight: 600;
  color: var(--b2-text);
}

.pricing .box h4 {
  font-size: 42px;
  color: var(--b2-text);
  font-weight: 700;
  font-family: "Montserrat", sans-serif;
  margin-bottom: 20px;
}

.pricing .box h4 sup {
  font-size: 20px;
  top: -15px;
  left: -3px;
}

.pricing .box h4 span {
  color: var(--b2-text-muted);
  font-size: 16px;
  font-weight: 300;
}

.pricing .box ul {
  padding: 0;
  list-style: none;
  color: var(--b2-text-muted);
  text-align: center;
  line-height: 20px;
  font-size: 14px;
}

.pricing .box ul li {
  padding-bottom: 16px;
}

.pricing .box ul i {
  color: var(--b2-accent);
  font-size: 18px;
  padding-right: 4px;
}

.pricing .box ul .na {
  color: var(--b2-border);
  text-decoration: line-through;
}

.pricing .box .btn-wrap {
  padding: 15px;
  text-align: center;
}

.pricing .box .btn-buy {
  display: inline-block;
  padding: 10px 40px 12px 40px;
  border-radius: 5px;
  border: 2px solid var(--b2-text-muted);
  color: var(--b2-text-muted);
  font-size: 14px;
  font-weight: 600;
  font-family: "Montserrat", sans-serif;
  transition: 0.3s;
}

.pricing .box .btn-buy:hover {
  background: var(--b2-text-muted);
  color: var(--b2-bg);
}

.pricing .recommended {
  border-color: var(--b2-text-muted);
}

.pricing .recommended .btn-buy {
  background: var(--b2-text-muted);
  color: var(--b2-bg);
}

.pricing .recommended .btn-buy:hover {
  background: var(--b2-text);
  border-color: var(--b2-text);
  color: var(--b2-bg);
}

.pricing .recommended-badge {
  position: absolute;
  top: 5px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  font-size: 12px;
  padding: 4px 25px 6px 25px;
  background: var(--b2-bg-elevated);
  color: var(--b2-text-muted);
  border-radius: 50px;
  text-transform: uppercase;
  font-weight: 600;
}

/*--------------------------------------------------------------
# Frequently Asked Questions
--------------------------------------------------------------*/
.faq .faq-list {
  padding: 0;
  list-style: none;
}

.faq .faq-list li {
  border-bottom: 1px solid var(--b2-border);
  margin-bottom: 20px;
  padding-bottom: 20px;
}

.faq {
  background-color: var(--b2-bg);
}

.faq .faq-list a {
  display: block;
  position: relative;
  font-family: "Montserrat", sans-serif;
  font-size: 18px;
  line-height: 24px;
  font-weight: 400;
  padding-right: 25px;
  cursor: pointer;
  color: var(--b2-text);
}

.faq .faq-list .collapse p {
  color: var(--b2-text-muted);
}

.faq .faq-list i {
  font-size: 24px;
  position: absolute;
  right: 0;
  top: 0;
}

.faq .faq-list p {
  margin-bottom: 0;
  padding: 10px 0 0 0;
}

.faq .faq-list .icon-show {
  display: none;
}

.faq .faq-list a.collapsed {
  color: var(--b2-text-muted);
}

.faq .faq-list a.collapsed:hover {
  color: var(--b2-text);
}

.faq .faq-list a.collapsed .icon-show {
  display: inline-block;
}

.faq .faq-list a.collapsed .icon-close {
  display: none;
}

/*--------------------------------------------------------------
# Contact
--------------------------------------------------------------*/
.contact .info {
  width: 100%;
  height: 100%;
  background: var(--b2-bg-card);
  padding: 20px;
  border-radius: 5px;
  border: 1px solid var(--b2-border);
}

.contact .info i {
  font-size: 20px;
  color: var(--b2-text-muted);
  float: left;
  width: 44px;
  height: 44px;
  background: var(--b2-bg);
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50px;
  transition: all 0.3s ease-in-out;
}

.contact .info h4 {
  padding: 0 0 0 60px;
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 5px;
  color: var(--b2-text);
}

.contact .info p {
  padding: 0 0 0 60px;
  margin-bottom: 0;
  font-size: 14px;
  color: var(--b2-text-muted);
}

.contact .info .email, .contact .info .phone {
  margin-top: 40px;
}

.contact .info .email:hover i, .contact .info .address:hover i, .contact .info .phone:hover i {
  background: var(--b2-text-muted);
  color: var(--b2-bg);
}

.contact .php-email-form {
  width: 100%;
  background: var(--b2-bg-card);
  padding: 20px;
  border-radius: 5px;
  border: 1px solid var(--b2-border);
}

.contact .php-email-form .form-group {
  padding-bottom: 8px;
}

.contact .php-email-form .error-message {
  display: none;
  color: var(--b2-text);
  background: #ed3c0d;
  text-align: left;
  padding: 15px;
  font-weight: 600;
}

.contact .php-email-form .error-message br + br {
  margin-top: 25px;
}

.contact .php-email-form .sent-message {
  display: none;
  color: var(--b2-bg);
  background: var(--b2-text-muted);
  text-align: center;
  padding: 15px;
  font-weight: 600;
}

.contact .php-email-form .loading {
  display: none;
  background: var(--b2-bg-card);
  text-align: center;
  padding: 15px;
}

.contact .php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid var(--b2-text-muted);
  border-top-color: var(--b2-border);
  -webkit-animation: animate-loading 1s linear infinite;
  animation: animate-loading 1s linear infinite;
}

.contact .php-email-form input, .contact .php-email-form textarea {
  border-radius: 4px;
  box-shadow: none;
  font-size: 14px;
  background: var(--b2-bg);
  border: 1px solid var(--b2-border);
  color: var(--b2-text);
}

.contact .php-email-form input::placeholder,
.contact .php-email-form textarea::placeholder {
  color: var(--b2-text-muted);
}

.contact .php-email-form input {
  height: 44px;
}

.contact .php-email-form textarea {
  padding: 10px 12px;
}

.contact .php-email-form button[type="submit"] {
  background: var(--b2-text-muted);
  border: 0;
  padding: 10px 24px;
  color: var(--b2-bg);
  transition: 0.4s;
  border-radius: 4px;
  font-weight: 600;
}

.contact .php-email-form button[type="submit"]:hover {
  background: var(--b2-text);
  color: var(--b2-bg);
}

@-webkit-keyframes animate-loading {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes animate-loading {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Breadcrumbs
--------------------------------------------------------------*/
.breadcrumbs {
  padding: 40px 0;
}

.breadcrumbs h2 {
  font-size: 26px;
  font-weight: 300;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 15px;
}

.breadcrumbs ol li + li {
  padding-left: 10px;
}

.breadcrumbs ol li + li::before {
  display: inline-block;
  padding-right: 10px;
  color: #2f2f2f;
  content: "/";
}

@media (max-width: 768px) {
  .breadcrumbs .d-flex {
    display: block !important;
  }
  .breadcrumbs ol {
    display: block;
  }
  .breadcrumbs ol li {
    display: inline-block;
  }
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
#footer {
  background: var(--b2-bg-card);
  color: var(--b2-text);
  font-size: 14px;
  position: relative;
  border-top: 1px solid var(--b2-border);
}

#footer::before {
  display: none;
}

#footer .footer-top {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 80px 0;
}

#footer .footer-top .footer-logo img {
  height: 80px;
}

#footer .footer-top h3 {
  font-size: 36px;
  font-weight: 700;
  color: var(--b2-text);
  position: relative;
  font-family: "Montserrat", sans-serif;
  padding: 30px 0 0 0;
  margin-bottom: 0;
  letter-spacing: 0.02em;
}

#footer .footer-top p {
  font-size: 15px;
  font-style: italic;
  margin: 30px 0 0 0;
  padding: 0;
  color: var(--b2-text-muted);
}

#footer .footer-top .footer-newsletter {
  text-align: center;
  font-size: 15px;
  margin-top: 30px;
}

#footer .footer-top .footer-newsletter form {
  background: var(--b2-bg-card);
  padding: 6px 10px;
  position: relative;
  border-radius: 50px;
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
  text-align: left;
}

#footer .footer-top .footer-newsletter form input[type="email"] {
  border: 0;
  padding: 4px 8px;
  width: calc(100% - 100px);
}

#footer .footer-top .footer-newsletter form input[type="submit"] {
  position: absolute;
  top: 0;
  right: -1px;
  bottom: 0;
  border: 0;
  background: none;
  font-size: 16px;
  padding: 0 20px;
  background: var(--b2-text-muted);
  color: var(--b2-bg);
  transition: 0.3s;
  border-radius: 50px;
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.2);
}

#footer .footer-top .footer-newsletter form input[type="submit"]:hover {
  background: var(--b2-text);
}

#footer .footer-top .social-links {
  margin-top: 30px;
}

#footer .footer-top .social-links a {
  font-size: 18px;
  display: inline-block;
  background: var(--b2-bg-elevated);
  color: var(--b2-text-muted);
  line-height: 1;
  padding: 8px 0;
  margin-right: 4px;
  border-radius: 50%;
  text-align: center;
  width: 36px;
  height: 36px;
  transition: 0.3s;
  border: 1px solid var(--b2-border);
}

#footer .footer-top .social-links a:hover {
  background: var(--b2-text-muted);
  color: var(--b2-bg);
  text-decoration: none;
}

#footer .footer-bottom {
  border-top: 1px solid var(--b2-border);
  z-index: 2;
  position: relative;
  padding-top: 40px;
  padding-bottom: 40px;
}

#footer .copyright {
  text-align: center;
}

#footer .credits {
  text-align: center;
  font-size: 13px;
  padding-top: 5px;
}
