/*
Theme Name: quranicbridge
Theme URI: https://quranicbridge.com
Author: Powered By egy4server
Author URI: https://wordpress.org/
Description: quranicbridge Company is a modernized take on an ever-popular WordPress layout — the horizontal masthead with an optional right sidebar that works perfectly for blogs and websites. It has custom color options with beautiful default color schemes, a harmonious fluid grid using a mobile-first approach, and impeccable polish in every detail. Twenty Sixteen will make your WordPress look beautiful everywhere.
*/

/* Theme Color Palette */
:root {
  --qb-navy: #102044;
  --qb-gold: #C9A84C;
  --qb-off-white: #FAF8F5;
  --qb-warm-beige: #EDE6DA;
  --qb-ivory: #FFFDF8;
  --qb-white: #ffffff;
  --qb-dark-navy: #0a1835;

  /* Legacy aliases */
  --qb-primary: var(--qb-navy);
  --qb-dark-blue: var(--qb-dark-navy);
  --qb-light-blue: #6db3d6;

  --qb-font-heading: 'Cormorant Garamond', Georgia, serif;
  --qb-font-body: 'Poppins', 'Readex Pro', sans-serif;
}

body {
  font-family: var(--qb-font-body);
  color: var(--qb-navy);
}

header {
  margin-top: 0 !important;
  padding-top: 0 !important;
}


/* Base styles for Owl Carousel navigation arrows */
.owl-carousel {
    position: relative; /* Ensure the carousel is the reference for absolute positioning */
    overflow: hidden; /* Prevent overflow */
}

.owl-carousel .owl-nav button {
    background-color: rgba(0, 0, 0, 0.5) !important;
    color: white !important;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    transition: background-color 0.3s ease;
    z-index: 10; /* Ensure arrows are above the carousel items */
}

.owl-carousel .owl-nav button:hover {
    background-color: rgba(0, 0, 0, 0.8) !important;
}

.owl-carousel .owl-nav button.owl-prev {
    left: 10px; /* Position the left arrow inside the carousel */
}

.owl-carousel .owl-nav button.owl-next {
    right: 10px; /* Position the right arrow inside the carousel */
}

/* Responsive adjustments for smaller screens */
@media (max-width: 600px) {
    .owl-carousel .owl-nav button {
        width: 30px; /* Smaller arrows for mobile */
        height: 30px;
        font-size: 14px; /* Smaller icon size */
    }

    .owl-carousel .owl-nav button.owl-prev {
        left: 5px; /* Move arrows closer to the edge but still inside the carousel */
    }

    .owl-carousel .owl-nav button.owl-next {
        right: 5px; /* Move arrows closer to the edge but still inside the carousel */
    }
}
/* End owl carousel arrows */



  body {
        font-family: 'Readex Pro', sans-serif;
  }

  .social-icons {
    position: fixed;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    z-index: 2;
    background: var(--qb-white);
    padding: 5px;
    border: 1px solid var(--qb-light-blue);
    border-radius: 5px;
  }
  
  .social-icons a {
    display: block;
    margin: auto;
  }


/* Container for floating contacts */
.contact-floating {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 9999;
}

/* Shared styles for icons */
.contact-icon {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--qb-white);
  text-decoration: none;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  position: relative;
  transition: all 0.3s ease;
}

/* Specific colors */
.phone-icon {
  background: var(--qb-light-blue);
}

.whatsapp-icon {
  background: #25d366;
}

/* Hover effects */
.contact-icon:hover {
  transform: scale(1.1) rotate(8deg);
  box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}

/* Tooltip */
.contact-icon .tooltip {
  position: absolute;
  right: 65px;
  background: #222;
  color: var(--qb-white);
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 14px;
  opacity: 0;
  white-space: nowrap;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  transform: translateX(10px);
}

.contact-icon:hover .tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* Responsive: smaller icons on mobile */
@media (max-width: 576px) {
  .contact-icon {
    width: 45px;
    height: 45px;
    font-size: 20px;
  }
  .contact-icon .tooltip {
    font-size: 12px;
    right: 55px;
  }
}



/* carousel */
.custom-bg-dark {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('images/banner-bg.webp');
    background-size: cover; /* Cover the entire container */
    background-position: center; /* Center the background image */
    color: var(--qb-white); /* White text color */
}

.carousel-item {
  position: relative;
}


.carousel-item::before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
/* carousel */

/* image post responsive */


.wp-block-image img{
  max-width: 100%;
  height: auto;
  display: block;
  margin: auto;
}
/* end image post responsive */

/* home page posts pagination */

/* end of home page posts pagination */

/* navbar */
.navbar {
  background-color: var(--qb-primary) !important;
}
.navbar a {
  color: var(--qb-white) !important;
}
.ltr{
direction: ltr !important;
}

.rtl{
  direction: rtl !important;
  }

/* end navbar */


/* Packages  */

 .pricing {
      margin-top: 50px;
    }
    .pricing .card {
      border: none;
      border-radius: 15px;
      transition: all 0.3s;
      box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
    }
    .pricing .card:hover {
      transform: translateY(-10px);
    }
    .pricing .card-header {
      background-color: #f9f9f9;
      border-bottom: none;
      padding: 20px;
      border-top-left-radius: 15px;
      border-top-right-radius: 15px;
    }
    .pricing .card-body {
      padding: 40px;
    }
    .pricing .price {
      font-size: 25px;
      font-weight: bold;
      color: var(--qb-light-blue);
    }

/* End Packages */


/* pagination */
.pagination {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.pagination ul {
  display: inline-block;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pagination li {
  display: inline-block;
  margin: 0;
}

.pagination .page-link {
  display: inline-block;
  padding: 10px 20px;
  color: var(--qb-dark-blue);
  text-decoration: none;
  background-color: var(--qb-white);
  border: 1px solid var(--qb-light-blue);
  border-radius: 5px;
  transition: all 0.3s ease;
}

.pagination .page-link:hover {
  background-color: var(--qb-primary);
  color: var(--qb-white);
  border-color: var(--qb-primary);
}

.pagination .page-item.active .page-link {
  background-color: var(--qb-primary);
  color: var(--qb-white);
  border-color: var(--qb-primary);
}

/* end pagination */


@media (max-width: 767px) {
.counter {
  margin-top: 50px;
}
}




/* cards */

/* end cards */

/* location */

.map-container {
  position: relative;
  overflow: hidden;
  padding-top: 56.25%; /* 16:9 aspect ratio */
}
.map-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
@media (max-width: 767px) {
  /* Adjust map size for small screens */
  .map-container {
    padding-top: 75%; /* 4:3 aspect ratio */
  }
}


/* end location */

/*  embdaded video */
.embed-responsive {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
}

.embed-responsive::before {
  content: "";
  display: block;
  padding-top: 56.25%; /* 16:9 aspect ratio (h/w * 100) */
}

.embed-responsive iframe,
.embed-responsive embed,
.embed-responsive object,
.embed-responsive video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* about us */

 /* CSS styles */
 .section-title {
  font-size: 24px;
  font-weight: bold;
}

.section-item {
  margin-bottom: 10px;
  font-size: 18px;
}

.icon {
  margin-right: 10px;
}
/* end about us */

/* contact us */

.wpcf7 {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

/* Style form elements */
.wpcf7-form {
  max-width: 400px;
  padding: 20px;
  background-color: #f5f5f5;
  border: 1px solid #ccc;
  border-radius: 4px;
  direction: rtl;

}

form.wpcf7-form.sent {
    margin-top: 50px;
}

.wpcf7-form p {
  margin-bottom: 20px;
}

.wpcf7-form label {
  font-weight: bold;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.wpcf7-form input[type="submit"] {
  width: 100%;
  padding: 10px;
  background-color: var(--qb-primary);
  border: none;
  color: var(--qb-white);
  cursor: pointer;
}

.wpcf7-form input[type="submit"]:hover {
  background-color: var(--qb-dark-blue);
}

.wpcf7-response-output {
  margin-top: 20px;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  background-color: #f9f9f9;
}
/* end contact us  */


/* location */

.map-container {
  position: relative;
  overflow: hidden;
  padding-top: 56.25%; /* 16:9 aspect ratio */
}
.map-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
@media (max-width: 767px) {
  /* Adjust map size for small screens */
  .map-container {
    padding-top: 75%; /* 4:3 aspect ratio */
  }
}


/* end location */

/* styles.css */

/* Service container styles */
.service {
  text-align: center;
  padding: 20px;
  background-color: #f8f9fa;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease; /* Added for smooth transition */
}

/* Icon wrapper styles */
.icon-wrapper {
  margin-bottom: 20px; /* Increased margin for better spacing */
}

/* Icon styles */
.service .icon-wrapper i {
  color: var(--qb-primary);
  font-size: 3rem; /* Increased icon size for better visibility */
  transition: all 0.3s ease; /* Added for smooth transition */
}

/* Title styles */
.service h3 {
  font-size: 24px;
  margin-bottom: 10px;
}

/* Paragraph styles */
.service p {
  font-size: 18px;
}

/* Hover effect */
.service:hover {
  transform: translateY(-5px); /* Move the service box up slightly on hover */
}

/* Color change */
.service:hover .icon-wrapper i {
  color: var(--qb-light-blue);
}


/* social icons style */

/* Container for floating contacts */
.contact-floating {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 9999;
}

/* Shared styles for icons */
.contact-icon {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--qb-white);
  text-decoration: none;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  position: relative;
  transition: all 0.3s ease;
}

/* Specific colors */
.phone-icon {
  background: var(--qb-light-blue);
}

.whatsapp-icon {
  background: #25d366;
}

/* Hover effects */
.contact-icon:hover {
  transform: scale(1.1) rotate(8deg);
  box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}

/* Tooltip */
.contact-icon .tooltip {
  position: absolute;
  right: 65px;
  background: #222;
  color: var(--qb-white);
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 14px;
  opacity: 0;
  white-space: nowrap;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  transform: translateX(10px);
}

.contact-icon:hover .tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* Responsive: smaller icons on mobile */
@media (max-width: 576px) {
  .contact-icon {
    width: 45px;
    height: 45px;
    font-size: 20px;
  }
  .contact-icon .tooltip {
    font-size: 12px;
    right: 55px;
  }
}

/* end social icons style  */

/* =========================================================
   Quranic Bridge Academy — Design System
   ========================================================= */

.qb-topbar {
  background: var(--qb-dark-navy);
  color: var(--qb-white);
  font-size: 13px;
  padding: 8px 0;
  text-align: center;
}

.qb-topbar span {
  opacity: 0.95;
}

.qb-section {
  padding: 80px 20px;
}

.qb-section--off-white { background: var(--qb-off-white); }
.qb-section--beige { background: var(--qb-warm-beige); }
.qb-section--ivory { background: var(--qb-ivory); }
.qb-section--navy { background: var(--qb-navy); color: var(--qb-white); }

.qb-container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
}

.qb-heading {
  font-family: var(--qb-font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--qb-navy);
}

.qb-section--navy .qb-heading,
.qb-section--navy .qb-lead {
  color: var(--qb-white);
}

.qb-heading--xl {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  margin-bottom: 18px;
}

.qb-heading--lg {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  margin-bottom: 16px;
}

.qb-heading--md {
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  margin-bottom: 12px;
}

.qb-lead {
  font-size: clamp(1rem, 2vw, 1.15rem);
  line-height: 1.8;
  color: rgba(13, 70, 95, 0.85);
  margin-bottom: 0;
}

.qb-section--navy .qb-lead {
  color: rgba(255, 255, 255, 0.9);
}

.qb-text-center { text-align: center; }
.qb-text-gold { color: var(--qb-gold); }

.qb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid transparent;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.qb-btn--primary {
  background: var(--qb-gold);
  color: var(--qb-navy);
  border-color: var(--qb-gold);
}

.qb-btn--primary:hover {
  background: #b8943f;
  border-color: #b8943f;
  color: var(--qb-navy);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201, 168, 76, 0.35);
}

.qb-btn--secondary {
  background: var(--qb-white);
  color: var(--qb-navy);
  border-color: var(--qb-navy);
}

.qb-btn--secondary:hover {
  background: var(--qb-off-white);
  transform: translateY(-2px);
}

.qb-btn--outline-light {
  background: transparent;
  color: var(--qb-white);
  border-color: var(--qb-white);
}

.qb-btn--outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--qb-white);
}

.qb-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  background-color: var(--qb-navy);
  padding: 60px 20px;
  overflow: hidden;
}

.qb-hero__bg {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: var(--qb-navy);
  background-image: var(--qb-hero-image, none);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.qb-hero__overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  background: var(--qb-navy);
  opacity: 0.68;
}

.qb-hero__arabesque {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  color: rgba(255, 255, 255, 0.22);
  overflow: hidden;
}

.qb-hero__arabesque-svg {
  width: 100%;
  height: 100%;
  display: block;
}

.qb-hero > .qb-container {
  position: relative;
  z-index: 3;
}

.qb-hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
  max-width: 640px;
}

.qb-hero__content .qb-heading {
  color: var(--qb-white);
}

.qb-hero__content .qb-lead {
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 32px;
}

.qb-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.qb-hero__media {
  width: 100%;
}

.qb-hero__image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
  object-fit: cover;
}

.qb-media-placeholder {
  width: 100%;
  min-height: 360px;
  border-radius: 16px;
  border: 2px dashed rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
  text-align: center;
  padding: 24px;
}

.qb-section--off-white .qb-media-placeholder,
.qb-section--beige .qb-media-placeholder,
.qb-section--ivory .qb-media-placeholder {
  border-color: rgba(13, 70, 95, 0.2);
  background: rgba(13, 70, 95, 0.04);
  color: rgba(13, 70, 95, 0.45);
  min-height: 280px;
}

.qb-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.qb-card {
  background: var(--qb-white);
  border: 1px solid rgba(13, 70, 95, 0.1);
  border-radius: 14px;
  padding: 28px 24px;
  box-shadow: 0 8px 30px rgba(13, 70, 95, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.qb-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 40px rgba(13, 70, 95, 0.1);
}

.qb-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2px solid var(--qb-gold);
  color: var(--qb-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 18px;
}

.qb-learning-path .qb-card,
.qb-why-bridge .qb-card {
  text-align: center;
}

.qb-cards--centered .qb-card__icon {
  margin-left: auto;
  margin-right: auto;
}

.qb-card__title {
  font-family: var(--qb-font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--qb-navy);
  margin-bottom: 10px;
}

.qb-card__text {
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(13, 70, 95, 0.8);
  margin: 0;
}

.qb-teachers-slider {
  margin-top: 40px;
  padding: 0 8px;
}

.qb-teachers-slider.owl-carousel {
  display: block;
}

.qb-teachers-slider .item {
  padding: 4px;
}

.qb-teachers-slider .qb-teacher-card {
  height: auto;
  min-height: 380px;
  max-height: none;
  margin: 0 4px;
  padding: 18px 16px;
  overflow: visible;
  display: flex;
  flex-direction: column;
}

.qb-teachers-slider .qb-teacher-card .qb-card__title {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.qb-teachers-slider .qb-teacher-card .qb-card__text {
  font-size: 0.88rem;
  line-height: 1.45;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.qb-teachers-slider .qb-teacher-card .qb-teacher-card__bio {
  -webkit-line-clamp: 3;
  margin-bottom: 0;
  flex: 1;
}

.qb-teachers-slider .owl-nav button {
  background: var(--qb-white) !important;
  color: var(--qb-navy) !important;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  box-shadow: 0 6px 18px rgba(13, 70, 95, 0.12);
  border: 1px solid rgba(13, 70, 95, 0.1) !important;
}

.qb-teachers-slider .owl-nav button:hover {
  background: var(--qb-gold) !important;
  color: var(--qb-navy) !important;
}

.qb-teachers-slider .owl-dots .owl-dot span {
  background: rgba(13, 70, 95, 0.25);
}

.qb-teachers-slider .owl-dots .owl-dot.active span,
.qb-teachers-slider .owl-dots .owl-dot:hover span {
  background: var(--qb-gold);
}

.qb-teachers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.qb-teacher-card {
  background: var(--qb-white);
  border-radius: 14px;
  padding: 24px;
  text-align: center;
  border: 1px solid rgba(13, 70, 95, 0.08);
  box-shadow: 0 6px 24px rgba(13, 70, 95, 0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
}

.qb-teacher-card__btn {
  margin-top: auto;
  padding-top: 16px;
}

.qb-teacher-card__photo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin: 0 auto 16px;
  border: 2px dashed rgba(13, 70, 95, 0.2);
  background: var(--qb-off-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: rgba(13, 70, 95, 0.4);
}

.qb-teacher-card__photo--has-image {
  border: none;
  padding: 0;
  overflow: hidden;
}

.qb-teacher-card__img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 50%;
  display: block;
  margin: 0 auto;
}

.qb-teacher-profile__layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 36px;
  align-items: start;
}

.qb-teacher-profile__photo {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(16, 32, 68, 0.1);
}

.qb-teacher-profile__img {
  display: block;
  width: 100%;
  height: auto;
}

.qb-teacher-profile__meta {
  margin: 0 0 12px;
  color: rgba(16, 32, 68, 0.82);
  line-height: 1.7;
}

.qb-teacher-profile__content {
  margin-top: 20px;
  color: rgba(16, 32, 68, 0.82);
  line-height: 1.8;
}

.qb-teacher-profile__content p {
  margin: 0 0 14px;
}

.qb-teacher-profile__content p:last-child {
  margin-bottom: 0;
}

@media (max-width: 767px) {
  .qb-teacher-profile__layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .qb-teacher-profile__photo {
    max-width: 220px;
    margin: 0 auto;
  }
}

.qb-testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.qb-testimonials-slider {
  margin-top: 40px;
  padding: 0 52px 12px;
}

.qb-testimonials-slider.owl-carousel {
  display: block;
}

.qb-testimonials-slider .item {
  display: flex;
  width: 100%;
  padding: 4px;
}

.qb-testimonials-slider .owl-item {
  display: flex;
}

.qb-testimonials-slider .qb-testimonial {
  height: 100%;
  width: 100%;
  margin: 0 4px;
  display: flex;
  flex-direction: column;
}

.qb-testimonials-slider .qb-testimonial__header {
  flex-shrink: 0;
}

.qb-testimonials-slider .qb-testimonial__review {
  flex: 1;
  margin: 0;
}

.qb-testimonials-slider .owl-nav button {
  background: var(--qb-white) !important;
  color: var(--qb-navy) !important;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  box-shadow: 0 6px 18px rgba(13, 70, 95, 0.12);
  border: 1px solid rgba(13, 70, 95, 0.1) !important;
}

.qb-testimonials-slider .owl-nav button:hover {
  background: var(--qb-gold) !important;
  color: var(--qb-navy) !important;
}

.qb-testimonials-slider .owl-dots .owl-dot span {
  background: rgba(13, 70, 95, 0.25);
}

.qb-testimonials-slider .owl-dots .owl-dot.active span,
.qb-testimonials-slider .owl-dots .owl-dot:hover span {
  background: var(--qb-gold);
}

.qb-testimonial {
  background: var(--qb-white);
  border-radius: 14px;
  padding: 24px;
  border: 1px solid rgba(13, 70, 95, 0.08);
  box-shadow: 0 6px 24px rgba(13, 70, 95, 0.06);
}

.qb-testimonial__header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(13, 70, 95, 0.08);
}

.qb-testimonial__avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 22px;
}

.qb-testimonial__avatar--female {
  background: rgba(201, 168, 76, 0.18);
  color: var(--qb-navy);
}

.qb-testimonial__avatar--male {
  background: rgba(109, 179, 214, 0.25);
  color: var(--qb-navy);
}

.qb-testimonial__identity {
  flex: 1;
  min-width: 0;
}

.qb-testimonial__stars {
  color: var(--qb-gold);
  margin-bottom: 6px;
  letter-spacing: 2px;
  font-size: 0.95rem;
  line-height: 1;
}

.qb-testimonial__review {
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(13, 70, 95, 0.85);
  margin: 0;
}

.qb-testimonial__author {
  font-weight: 700;
  color: var(--qb-navy);
  margin: 0 0 4px;
  font-size: 1rem;
  line-height: 1.3;
}

.qb-testimonial__country {
  font-size: 0.88rem;
  color: rgba(13, 70, 95, 0.65);
  margin: 0;
}

.qb-testimonial__empty {
  text-align: center;
  padding: 40px 20px;
  color: rgba(13, 70, 95, 0.6);
  font-style: italic;
}

.qb-testimonials-video {
  width: 100%;
  max-width: 860px;
  margin: 48px auto 0;
  border-radius: 18px;
  overflow: hidden;
  background: var(--qb-navy);
  border: 1px solid rgba(16, 32, 68, 0.08);
  box-shadow: 0 16px 48px rgba(16, 32, 68, 0.1);
}

.qb-testimonials-video__player {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(70vh, 640px);
  margin: 0 auto;
  background: #000;
}

@media (max-width: 767px) {
  .qb-testimonials-video {
    margin-top: 36px;
    border-radius: 14px;
  }

  .qb-testimonials-video__player {
    max-height: min(65vh, 520px);
  }
}

.qb-cta-box {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.qb-social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 24px;
}

.qb-social-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 8px;
  border: 1px solid rgba(13, 70, 95, 0.15);
  color: var(--qb-navy);
  text-decoration: none;
  background: var(--qb-white);
  transition: all 0.2s ease;
}

.qb-section--navy .qb-social-links a {
  border-color: rgba(255, 255, 255, 0.25);
  color: var(--qb-white);
  background: rgba(255, 255, 255, 0.08);
}

.qb-social-links a:hover {
  border-color: var(--qb-gold);
  color: var(--qb-gold);
}

.qb-page-hero {
  position: relative;
  background: var(--qb-navy);
  color: var(--qb-white);
  padding: 80px 20px 60px;
  text-align: center;
  overflow: hidden;
}

.qb-page-hero .qb-container {
  position: relative;
  z-index: 3;
}

.qb-page-hero--image .qb-hero__bg {
  background-position: center center;
  background-size: cover;
}

.qb-page-hero--image .qb-hero__overlay {
  opacity: 0.72;
}

.qb-page-hero.qb-hero--home {
  text-align: left;
  display: flex;
  align-items: center;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 80px 20px;
}

.qb-hero--home .qb-container {
  width: 100%;
}

.qb-hero--home .qb-hero__content {
  max-width: 640px;
}

.qb-hero--home .qb-heading,
.qb-hero--home .qb-lead {
  color: var(--qb-white);
}

.qb-page-hero.qb-hero--home .qb-hero__bg {
  background-image: none;
}

.qb-hero__bg-media {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center center;
}

.qb-hero--home .qb-hero__bg-media {
  object-position: 68% center;
}

.qb-page-hero--programs,
.qb-page-hero--contact,
.qb-page-hero--guide {
  min-height: clamp(420px, 55vh, 640px);
  padding: 100px 20px 80px;
  display: flex;
  align-items: center;
}

.qb-page-hero--programs .qb-hero__bg,
.qb-page-hero--contact .qb-hero__bg,
.qb-page-hero--guide .qb-hero__bg {
  background-image: none;
}

.qb-page-hero--programs .qb-hero__bg-media,
.qb-page-hero--contact .qb-hero__bg-media,
.qb-page-hero--guide .qb-hero__bg-media {
  object-position: center center;
}

.qb-page-hero--about {
  min-height: clamp(420px, 55vh, 640px);
  padding: 100px 20px 80px;
  display: flex;
  align-items: center;
}

.qb-page-hero--about .qb-hero__bg {
  background-image: none;
}

.qb-page-hero--about .qb-hero__bg-media {
  object-position: center center;
}

@media (min-width: 992px) {
  .qb-page-hero--programs,
  .qb-page-hero--contact,
  .qb-page-hero--guide {
    min-height: clamp(480px, 62vh, 720px);
    padding: 100px 20px 80px;
  }

  .qb-page-hero--about {
    min-height: clamp(480px, 62vh, 720px);
  }
}

@media (max-width: 991px) {
  .qb-hero {
    min-height: 85vh;
    min-height: 85dvh;
    padding: 80px 16px 48px;
  }

  .qb-page-hero.qb-hero--home {
    min-height: auto;
    height: auto;
    display: block;
    text-align: center;
    padding: 72px 16px 48px;
  }

  .qb-hero--home .qb-hero__content {
    max-width: none;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .qb-hero--home .qb-hero__actions {
    justify-content: center;
    align-items: center;
  }

  .qb-hero--home .qb-hero__bg-media {
    object-position: 82% 40%;
  }
}

@media (max-width: 767px) {
  .qb-page-hero--programs,
  .qb-page-hero--contact,
  .qb-page-hero--guide {
    min-height: clamp(320px, 42vh, 440px);
    padding: 80px 20px 60px;
  }

  .qb-page-hero--about {
    min-height: clamp(320px, 42vh, 440px);
    padding: 80px 20px 60px;
  }

  .qb-page-hero--about .qb-hero__bg-media {
    object-position: center 48%;
  }

  .qb-page-hero {
    padding: 72px 16px 48px;
  }
}

@media (max-width: 576px) {
  .qb-hero {
    min-height: 72vh;
    min-height: 72dvh;
    padding: 72px 16px 40px;
  }

  .qb-page-hero.qb-hero--home {
    padding: 72px 16px 48px;
  }

  .qb-hero--home .qb-hero__bg-media {
    object-position: 88% 36%;
  }
}

.qb-page-hero .qb-heading,
.qb-page-hero .qb-lead {
  color: var(--qb-white);
}

.qb-values {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 24px;
}

.qb-values span {
  background: var(--qb-white);
  border: 1px solid rgba(13, 70, 95, 0.12);
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  color: var(--qb-navy);
}

.qb-about-story__header {
  margin-bottom: 40px;
}

.qb-about-story__eyebrow {
  margin: 0 0 10px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--qb-gold);
}

.qb-about-story__divider {
  width: 72px;
  height: 3px;
  margin: 18px auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--qb-gold), transparent);
}

.qb-about-story__card {
  max-width: 820px;
  margin: 0 auto;
  padding: 40px 36px;
  background: var(--qb-white);
  border: 1px solid rgba(16, 32, 68, 0.08);
  border-radius: 18px;
  box-shadow: 0 16px 48px rgba(16, 32, 68, 0.07);
  position: relative;
}

.qb-about-story__card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 36px;
  right: 36px;
  height: 3px;
  border-radius: 0 0 4px 4px;
  background: linear-gradient(90deg, var(--qb-gold), rgba(201, 168, 76, 0.35));
}

.qb-about-story__opening {
  margin: 0 0 28px;
  font-family: var(--qb-font-heading);
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-style: italic;
  line-height: 1.5;
  color: var(--qb-navy);
  text-align: center;
}

.qb-about-story__body p {
  margin: 0 0 18px;
  font-size: 1.05rem;
  line-height: 1.85;
  color: rgba(16, 32, 68, 0.82);
}

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

.qb-about-story__quote {
  margin: 32px 0 0;
  padding: 20px 24px;
  border-left: 4px solid var(--qb-gold);
  border-radius: 0 12px 12px 0;
  background: rgba(201, 168, 76, 0.1);
  font-family: var(--qb-font-heading);
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  font-weight: 600;
  font-style: italic;
  line-height: 1.6;
  color: var(--qb-navy);
}

@media (max-width: 767px) {
  .qb-about-story__card {
    padding: 32px 22px;
  }

  .qb-about-story__card::before {
    left: 22px;
    right: 22px;
  }
}

.qb-about-card {
  text-align: center;
}

.qb-about-card .qb-card__icon {
  margin-left: auto;
  margin-right: auto;
}

.qb-core-values {
  position: relative;
  overflow: hidden;
}

.qb-core-values::before,
.qb-core-values::after {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0.35;
}

.qb-core-values::before {
  top: -80px;
  left: -60px;
  background: radial-gradient(circle, rgba(201, 168, 76, 0.22) 0%, transparent 70%);
}

.qb-core-values::after {
  right: -70px;
  bottom: -90px;
  background: radial-gradient(circle, rgba(16, 32, 68, 0.1) 0%, transparent 70%);
}

.qb-core-values__header {
  position: relative;
  z-index: 1;
  margin-bottom: 44px;
}

.qb-core-values__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.qb-core-value {
  position: relative;
  text-align: center;
  padding: 34px 22px 28px;
  background: var(--qb-white);
  border: 1px solid rgba(16, 32, 68, 0.08);
  border-radius: 18px;
  box-shadow: 0 10px 32px rgba(16, 32, 68, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.qb-core-value::before {
  content: "";
  position: absolute;
  top: 0;
  left: 22px;
  right: 22px;
  height: 3px;
  border-radius: 0 0 6px 6px;
  background: linear-gradient(90deg, var(--qb-gold), rgba(201, 168, 76, 0.2));
  opacity: 0.85;
}

.qb-core-value:hover {
  transform: translateY(-6px);
  border-color: rgba(201, 168, 76, 0.35);
  box-shadow: 0 18px 40px rgba(16, 32, 68, 0.1);
}

.qb-core-value__icon-wrap {
  width: 68px;
  height: 68px;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(201, 168, 76, 0.18), rgba(16, 32, 68, 0.06));
  border: 2px solid rgba(201, 168, 76, 0.45);
  color: var(--qb-navy);
  font-size: 26px;
  box-shadow: inset 0 0 0 6px rgba(255, 255, 255, 0.75);
}

.qb-core-value__title {
  margin: 0;
  font-family: var(--qb-font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--qb-navy);
  line-height: 1.35;
}

@media (max-width: 991px) {
  .qb-core-values__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575px) {
  .qb-core-values__grid {
    grid-template-columns: 1fr;
  }
}

.qb-programs__header {
  margin-bottom: 44px;
}

.qb-programs__grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.qb-program-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  height: 100%;
}

.qb-program-card .qb-card__icon {
  margin-left: auto;
  margin-right: auto;
}

.qb-program-card .qb-card__text {
  flex: 1;
}

.qb-program-card__btn {
  margin-top: 20px;
}

.qb-program-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 20px;
  width: 100%;
}

.qb-program-category__back {
  margin: 0 0 16px;
}

.qb-program-category__back a {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
}

.qb-program-category__back a:hover {
  color: var(--qb-gold);
}

.qb-program-category__intro {
  margin-bottom: 36px;
  text-align: center;
}

.qb-program-category__intro p {
  margin: 0 0 14px;
  color: rgba(16, 32, 68, 0.82);
  line-height: 1.75;
}

.qb-program-category__intro p:last-child {
  margin-bottom: 0;
}

.qb-program-category__list {
  display: grid;
  gap: 24px;
}

.qb-program-subprogram {
  text-align: left;
}

.qb-program-subprogram__icon {
  width: 52px;
  height: 52px;
  margin-bottom: 16px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(201, 168, 76, 0.14);
  color: var(--qb-gold);
  font-size: 1.25rem;
}

.qb-program-subprogram .qb-heading {
  margin-bottom: 12px;
}

.qb-program-subprogram p {
  margin: 0 0 16px;
  color: rgba(16, 32, 68, 0.82);
  line-height: 1.75;
}

.qb-program-subprogram__label {
  margin: 18px 0 10px;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--qb-gold);
}

.qb-program-subprogram__list {
  margin: 0;
  padding-left: 1.2rem;
  color: rgba(16, 32, 68, 0.82);
  line-height: 1.7;
}

.qb-program-subprogram__list li + li {
  margin-top: 6px;
}

.qb-packages__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

.qb-package-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  height: 100%;
  padding: 36px 28px;
}

.qb-package-card__icon {
  width: 56px;
  height: 56px;
  margin-bottom: 18px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(201, 168, 76, 0.14);
  color: var(--qb-gold);
  font-size: 1.35rem;
}

.qb-package-card .qb-card__title {
  margin-bottom: 22px;
}

.qb-package-card__plans {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
}

.qb-package-card__plan {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(16, 32, 68, 0.08);
}

.qb-package-card__plan:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.qb-package-card__cycle {
  color: rgba(16, 32, 68, 0.82);
  font-size: 0.95rem;
  text-align: left;
}

.qb-package-card__price {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--qb-navy);
  white-space: nowrap;
}

.qb-packages__notes {
  max-width: 720px;
  margin: 0 auto;
  padding: 32px 36px;
  background: var(--qb-white);
  border: 1px solid rgba(16, 32, 68, 0.08);
  border-radius: 18px;
  box-shadow: 0 12px 36px rgba(16, 32, 68, 0.06);
}

.qb-packages__notes .qb-heading {
  margin-bottom: 16px;
  text-align: center;
}

.qb-packages__notes ul {
  margin: 0;
  padding-left: 1.2rem;
  color: rgba(16, 32, 68, 0.82);
  line-height: 1.75;
}

.qb-packages__notes li + li {
  margin-top: 8px;
}

.qb-about-teachers__card {
  max-width: 900px;
}

.qb-about-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-top: 8px;
}

.qb-about-cta__actions .qb-btn {
  gap: 8px;
}

@media (max-width: 575px) {
  .qb-about-cta__actions {
    flex-direction: column;
    align-items: center;
  }

  .qb-about-cta__actions .qb-btn {
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }
}

.qb-form {
  max-width: 640px;
  margin: 0 auto;
}

.qb-form .form-label {
  font-weight: 600;
  color: var(--qb-navy);
}

.qb-form .form-control {
  border-radius: 8px;
  border: 1px solid rgba(13, 70, 95, 0.2);
  padding: 12px 14px;
}

.qb-form .form-control:focus {
  border-color: var(--qb-gold);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.2);
}

.qb-contact-page .qb-container {
  max-width: 1100px;
}

.qb-contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 32px;
  align-items: start;
}

.qb-contact-form-card,
.qb-contact-info-card {
  background: var(--qb-white);
  border: 1px solid rgba(16, 32, 68, 0.08);
  border-radius: 18px;
  box-shadow: 0 16px 48px rgba(16, 32, 68, 0.07);
  padding: 36px 32px;
}

.qb-contact-form-card__header {
  text-align: center;
  margin-bottom: 28px;
}

.qb-contact-form-card__header .qb-about-story__divider {
  margin-top: 14px;
}

.qb-contact-form {
  max-width: none;
  margin: 0;
}

.qb-required {
  color: #c0392b;
}

.qb-contact-alert {
  margin-bottom: 20px;
  padding: 14px 16px;
  border-radius: 10px;
  font-size: 0.95rem;
  line-height: 1.6;
}

.qb-contact-alert--success {
  background: rgba(39, 174, 96, 0.12);
  border: 1px solid rgba(39, 174, 96, 0.25);
  color: #1e6b3f;
}

.qb-contact-alert--error {
  background: rgba(192, 57, 43, 0.1);
  border: 1px solid rgba(192, 57, 43, 0.25);
  color: #922b21;
}

.qb-contact-sidebar {
  display: grid;
  gap: 24px;
}

.qb-contact-info-list {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: grid;
  gap: 18px;
}

.qb-contact-info-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.qb-contact-info-list__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(201, 168, 76, 0.14);
  color: var(--qb-navy);
  font-size: 1.1rem;
}

.qb-contact-info-list__label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--qb-gold);
  margin-bottom: 4px;
}

.qb-contact-info-list a {
  color: var(--qb-navy);
  text-decoration: none;
  font-weight: 500;
}

.qb-contact-info-list a:hover {
  color: var(--qb-gold);
}

.qb-contact-social {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.qb-contact-social a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(16, 32, 68, 0.1);
  color: var(--qb-navy);
  text-decoration: none;
  background: var(--qb-off-white);
  transition: all 0.2s ease;
}

.qb-contact-social a:hover {
  border-color: var(--qb-gold);
  color: var(--qb-gold);
  background: rgba(201, 168, 76, 0.08);
}

@media (max-width: 991px) {
  .qb-contact-grid {
    grid-template-columns: 1fr;
  }
}

.qb-free-trial-hero {
  position: relative;
  overflow: hidden;
  padding: 88px 0 72px;
  color: var(--qb-white);
}

.qb-free-trial-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.qb-free-trial-hero__bg-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.qb-free-trial-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(135deg, rgba(16, 32, 68, 0.88), rgba(16, 32, 68, 0.72));
}

.qb-free-trial-hero__inner {
  position: relative;
  z-index: 2;
}

.qb-free-trial-hero__layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
  gap: 28px;
}

.qb-free-trial-hero__header .qb-heading,
.qb-free-trial-hero__header .qb-lead {
  color: var(--qb-white);
}

.qb-free-trial-hero__header .qb-lead {
  margin: 16px auto 0;
  max-width: 560px;
}

.qb-free-trial-form-card {
  width: 100%;
  background: var(--qb-white);
  border-radius: 18px;
  padding: 36px 32px;
  border: 1px solid rgba(16, 32, 68, 0.08);
  box-shadow: 0 20px 60px rgba(16, 32, 68, 0.18);
  text-align: left;
}

.qb-free-trial-form-card .qb-heading {
  color: var(--qb-navy);
}

.qb-free-trial-form-card .qb-contact-form {
  max-width: none;
  margin: 0;
}

.qb-free-trial-recaptcha {
  display: flex;
  justify-content: center;
  overflow-x: auto;
}

@media (max-width: 991px) {
  .qb-free-trial-hero {
    padding: 72px 0 56px;
  }

  .qb-free-trial-hero__layout {
    gap: 24px;
  }

  .qb-free-trial-form-card {
    padding: 28px 22px;
  }
}

.qb-faq-item {
  background: var(--qb-white);
  border: 1px solid rgba(13, 70, 95, 0.1);
  border-radius: 10px;
  margin-bottom: 12px;
  overflow: hidden;
}

.qb-guide-faq__list {
  margin-top: 36px;
}

.qb-guide-commitment .qb-about-story__card {
  margin-top: 8px;
}

.qb-faq-item summary {
  padding: 16px 20px;
  font-weight: 600;
  cursor: pointer;
  color: var(--qb-navy);
  list-style: none;
}

.qb-faq-item summary::-webkit-details-marker { display: none; }

.qb-faq-item p {
  padding: 0 20px 16px;
  margin: 0;
  color: rgba(13, 70, 95, 0.8);
  line-height: 1.7;
}

.qb-back-top {
  position: fixed;
  bottom: 100px;
  right: 20px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--qb-navy);
  color: var(--qb-white);
  border: none;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9998;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  transition: background 0.2s ease;
}

.qb-back-top:hover {
  background: var(--qb-gold);
  color: var(--qb-navy);
}

.qb-back-top.is-visible {
  display: flex;
}

.qb-site-footer {
  background: var(--qb-navy);
  color: var(--qb-white);
  padding: 60px 20px 0;
}

.qb-site-footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  max-width: 1140px;
  margin: 0 auto 40px;
}

.qb-site-footer h5 {
  font-family: var(--qb-font-heading);
  color: var(--qb-gold);
  margin-bottom: 16px;
  font-size: 1.1rem;
}

.qb-site-footer a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
}

.qb-site-footer a:hover {
  color: var(--qb-gold);
}

.qb-site-footer__tagline {
  font-family: var(--qb-font-heading);
  font-size: 1.1rem;
  margin: 8px 0 0;
  opacity: 0.9;
}

.qb-site-footer__quote {
  font-size: 14px;
  opacity: 0.8;
  line-height: 1.7;
  margin-top: 12px;
}

.qb-site-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding: 20px;
  text-align: center;
  font-size: 14px;
  opacity: 0.85;
}

.qb-site-footer__credit {
  margin-top: 8px;
}

.qb-site-footer__credit a {
  display: inline;
  margin-bottom: 0;
  color: var(--qb-gold);
  text-decoration: none;
}

.qb-site-footer__credit a:hover {
  color: var(--qb-white);
}

@media (max-width: 767px) {
  .qb-testimonials-slider {
    padding: 0 40px 12px;
  }
}

@media (max-width: 991px) {
  .qb-hero__grid {
    grid-template-columns: 1fr;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  .qb-hero__content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .qb-hero__actions {
    justify-content: center;
    align-items: center;
  }

  .qb-learning-path .qb-card__icon,
  .qb-why-bridge .qb-card__icon {
    margin-left: auto;
    margin-right: auto;
  }

  .qb-section {
    padding: 60px 16px;
  }
}

@media (max-width: 576px) {
  .qb-hero__actions {
    flex-direction: column;
    width: 100%;
    align-items: center;
  }

  .qb-btn {
    width: 100%;
    max-width: 300px;
  }
}

/* WOW.js + Animate.css */
.wow {
  visibility: hidden;
}

.wow.animate__animated {
  visibility: visible;
}
