/* HERO IMAGE SLIDER */
.hero {
  position: relative;
  overflow: hidden;
}

/* Swiper height */
.hero-swiper {
  width: 100%;
  height: 860px;
}

/* Image full cover */
.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Pagination DOT center bottom */
.hero .swiper-pagination {
  bottom: 20px !important;
  text-align: center;
}

/* DOT style */
.hero .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: rgba(255, 255, 255, 0.6);
  opacity: 1;
  transition: all 0.3s ease;
}

.hero .swiper-pagination-bullet-active {
  width: 28px;
  border-radius: 20px;
  background: #ffffff;
}

/* Mobile */
@media (max-width: 991.98px) {
  .hero-swiper {
    height: 360px;
  }
}

@media (max-width: 575.98px) {
  .hero-swiper {
    height: 280px;
  }
}

.background_color_1 {
  background-color: #ffffff !important;
}

/* ===== ACADEMY SECTION ===== */
.academy-section {
  background: #0d2c49; /* Darker blue to match UI */
  color: #fff;
  position: relative;
  overflow: hidden;
  padding: 100px 0 0 0 !important; /* Stand on floor effect */
}

/* Optional pattern overlay if an image exists, otherwise we use a subtle overlay */
.academy-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("../../assets/img/pattern-bg.png"); /* Placeholder for pattern */
  opacity: 0.1;
  pointer-events: none;
}

/* Title */
.academy-title {
  font-weight: 700;
  font-size: 28px;
}

.academy-divider {
  width: 60px;
  height: 3px;
  background: #fbbf24;
  margin-top: 10px;
}

/* Model image pointing */
.academy-model {
  width: 100%;
  max-width: 410px;
  height: 770px;
  object-fit: contain;
  object-position: bottom;
  display: block;
  margin-top: -50px; /* Slight overlap to look taller */
}

/* Card in 2x2 grid */
.academy-grid-wrapper {
  padding-bottom: 80px;
}

.academy-card {
  background: transparent;
  display: flex;
  flex-direction: column;
}

.academy-card h2 {
  font-weight: 700;
  color: #fbbf24;
  text-transform: none;
  text-align: center;
  margin: 0;
}

.title-top { margin-bottom: 15px; }
.title-bottom { margin-top: 15px; }

.academy-card-img {
  width: 100%;
  border-radius: 40px; 
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.academy-card-img img {
  width: 100%;
  display: block;
}

/* Hover effect */
.academy-card:hover .academy-card-img {
  transform: translateY(-10px);
}

/* Responsive */
@media (max-width: 991.98px) {
  .academy-section {
    padding: 60px 0 0 0 !important;
  }

  .academy-title {
    font-size: 24px;
    padding: 0 15px;
  }

  .academy-model {
    width: 80%;
    max-width: 320px;
    height: auto;
    margin: 0 auto;
    margin-top: 20px;
  }

  .academy-grid-wrapper {
    padding-bottom: 60px;
    padding-top: 30px;
  }

  .pe-lg-5 {
    padding-right: 15px !important;
    padding-left: 15px !important;
  }

  .academy-card h5 {
    font-size: 16px;
  }

  .academy-card-img {
    border-radius: 20px;
    border-width: 2px;
  }
}

/* ===== TESTIMONIAL NAVIGATION (CENTER TOP) ===== */
/* ===== TESTIMONIAL NAVIGATION (LEFT / RIGHT) ===== */

/* ===== SWIPER NAV WITH IMAGE ===== */
.testimonial-slider {
  position: relative;
}

/* Chung */
.testimonial-slider .swiper-button-prev,
.testimonial-slider .swiper-button-next {
  width: 48px;
  height: 48px;
  background-color: transparent;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  top: 50%;
  transform: translateY(-50%);
}

/* XÓA icon mặc định của Swiper */
.testimonial-slider .swiper-button-prev::after,
.testimonial-slider .swiper-button-next::after {
  display: none;
}

/* Prev */
.testimonial-slider .swiper-button-prev {
  left: -24px;
  background-image: url("../../assets/img/icons/arrow-left.png");
}

/* Next */
.testimonial-slider .swiper-button-next {
  right: -24px;
  background-image: url("assets/img/icons/arrow-right.png");
}

/* Mobile: ẩn */
@media (max-width: 767.98px) {
  .testimonial-slider .swiper-button-prev,
  .testimonial-slider .swiper-button-next {
    display: none;
  }
}

.testimonial-slider {
  position: relative;
  padding-top: 8px;
  /* tạo chút khoảng trống phía trên nếu cần */
}

/* ===== DOT ở giữa phía dưới ===== */
.testimonials .swiper-pagination {
  position: relative;
  margin-top: 30px;
  text-align: center;
}

.testimonials .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: #cbd5e1;
  opacity: 1;
  margin: 0 6px;
  transition: all 0.3s ease;
}

.testimonials .swiper-pagination-bullet-active {
  width: 26px;
  border-radius: 20px;
  background: #0f3c66;
}

/* Mobile: ẩn nút, giữ DOT */
@media (max-width: 767.98px) {
  .testimonial-slider .swiper-button-prev,
  .testimonial-slider .swiper-button-next {
    display: none;
  }
}

/* ===== OUTSIDE SWIPER BUTTON ===== */
.custom-swiper-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  padding: 0;
  z-index: 10;
  cursor: pointer;
}

.custom-swiper-btn img {
  width: 48px;
  height: 48px;
  display: block;
}

/* Left */
.custom-prev {
  left: -60px;
  /* chỉnh theo layout */
}

/* Right */
.custom-next {
  right: -60px;
}

/* Hover */
.custom-swiper-btn:hover img {
  transform: scale(1.1);
  transition: 0.25s ease;
}

/* Mobile */
@media (max-width: 767.98px) {
  .custom-swiper-btn {
    display: none;
  }
}

/* ===== QUALITY EDUCATION SECTION ===== */
.quality-section {
  background-color: #f0f7ff; /* Whiter blue background as seen in UI */
  padding: 100px 0;
}

.quality-section h2 {
  font-weight: 700;
  font-size: 32px;
  color: #0d2c49;
  text-transform: uppercase;
}

/* Video Thumb */
.video-container {
  position: relative;
  width: 100%;
  max-width: 540px; /* Fixed width */
  height: 420px;    /* Fixed height */
  margin: 0 auto;
}

.video-accent {
  position: absolute;
  bottom: -40px;
  left: -40px;
  width: 400px;
  height: 400px;
  background-color: #fbbf24;
  clip-path: polygon(0% 0%, 0% 100%, 100% 100%); /* Right triangle at bottom-left */
  z-index: 1;
}

.video-thumb {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
  z-index: 2;
}

.video-thumb img {
  width: 100%;
  display: block;
}

.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 110px; /* Slightly larger outer ring */
  height: 110px;
  background: rgba(255, 255, 255, 0.3); /* Softer glass effect */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  text-decoration: none;
  transition: all 0.3s ease;
}

.play-btn::before {
  content: "";
  position: absolute;
  width: 75px; /* Proportional inner circle */
  height: 75px;
  background: #ffffff;
  border-radius: 50%;
  z-index: -1;
}

.play-btn i {
  color: #0d2c49;
  font-size: 36px;
  margin-left: 6px;
}

.play-btn:hover {
  transform: translate(-50%, -50%) scale(1.1);
}

/* Orbital Stats */
.orbital-wrapper {
  position: relative;
  width: 100%;
  max-width: 600px; /* Increased for 5/5 balance */
  height: 600px;
  margin: 0 auto;
}

.orbital-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120px;
  z-index: 5;
}

.orbital-stats-container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Dotted circles */
.orbit-line {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 1px dotted #cbd5e1;
  border-radius: 50%;
  z-index: 1;
}

.orbit-1 { width: 330px; height: 330px; }
.orbit-2 { width: 440px; height: 440px; }

/* Intricate Polygon Line (8-point star/octagon) */
.orbit-polygon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 480px;
  height: 480px;
  border: 1px solid #0d2c49; /* Darker line as seen in UI */
  /* This creates the indented octagon shape */
  clip-path: polygon(50% 0%, 65% 15%, 100% 50%, 85% 65%, 50% 100%, 35% 85%, 0% 50%, 15% 35%);
  z-index: 0;
  opacity: 0.8;
}

.stat-circle {
  position: absolute;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  color: #0d2c49; /* Darker text for some circles */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
  z-index: 10;
  transition: transform 0.3s ease;
}

.stat-circle h3 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 0;
}

.stat-circle p {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 0;
  line-height: 1.2;
}

/* Updated Colors and explicit centering to match UI exactly */
.stat-top { 
  top: 0; 
  left: 50%; 
  transform: translateX(-50%); 
  background-color: #a3e635; 
}
.stat-bottom { 
  bottom: 0; 
  left: 50%; 
  transform: translateX(-50%); 
  background-color: #f97316; 
  color: #fff; 
}
.stat-left { 
  left: 0; 
  top: 50%; 
  transform: translateY(-50%); 
  background-color: #60a5fa; 
  color: #fff; 
}
.stat-right { 
  right: 0; 
  top: 50%; 
  transform: translateY(-50%); 
  background-color: #fbbf24; 
}

/* Update hover to maintain alignment */
.stat-top:hover { transform: translateX(-50%) scale(1.1); }
.stat-bottom:hover { transform: translateX(-50%) scale(1.1); }
.stat-left:hover { transform: translateY(-50%) scale(1.1); }
.stat-right:hover { transform: translateY(-50%) scale(1.1); }

/* Responsive adjustments */
@media (max-width: 991.98px) {
  .video-container {
    height: auto;
    max-width: 100%;
  }
  .orbital-wrapper {
    height: auto;
    max-width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 40px 0;
  }
  .orbital-center, .orbit-line {
    display: none;
  }
  .stat-circle {
    position: static;
    width: 150px;
    height: 150px;
    transform: none !important; /* Quan trọng: Reset transform để không bị lệch */
    margin: 5px; /* Thêm chút margin khi wrap */
  }
}

/* Thêm breakpoint nhỏ hơn cho mobile */
@media (max-width: 575.98px) {
  .quality-section h2 {
    font-size: 24px;
  }
  .stat-circle {
    width: 135px;
    height: 135px;
  }
  .stat-circle h3 {
    font-size: 26px;
  }
}

/* ===== LECTURER SECTION ===== */
.lecturer-section {
  background: #ffffff;
  padding: 80px 0;
}

.lecturer-section h2 {
  font-weight: 700;
  font-size: 32px;
  color: #0d2c49;
  text-transform: uppercase;
}

/* Title */
.section-title {
  font-weight: 700;
  font-size: 28px;
  color: #0f3c66;
}

.title-line,
.divider-gold {
  display: inline-block;
  width: 60px;
  height: 3px;
  background: #fbbf24;
  margin-top: 10px;
}

/* Card */
.lecturer-card {
  width: 100%;
  max-width: 370px;
  height: 544px;
  margin: 0 auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: all 0.3s ease;
}

.lecturer-card h4 {
  font-size: 22px;
  font-weight: 700;
  margin-top: 25px;
  color: #0d2c49;
  text-transform: uppercase;
}

.lecturer-card .role {
  font-size: 16px;
  color: #fbbf24;
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.4;
}

.lecturer-card .desc {
  font-size: 14px;
  color: #64748b;
  line-height: 1.6;
  text-align: center;
}

/* Avatar Wobbly Star Shape */
.avatar-wrap {
  width: 250px;
  height: 250px;
  margin: 0 auto;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #eef2ff;
  /* Wobbly star shape using clip-path */
  clip-path: polygon(50% 0%, 63% 10%, 78% 10%, 85% 23%, 98% 30%, 95% 45%, 100% 60%, 88% 75%, 88% 90%, 72% 95%, 55% 100%, 40% 95%, 22% 98%, 10% 85%, 2% 70%, 5% 50%, 0% 35%, 12% 20%, 15% 5%, 33% 5%);
  padding: 12px;
}

.avatar-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  clip-path: inherit;
}

/* Pagination */
.lecturer-section .swiper-pagination {
  margin-top: 30px;
}

.lecturer-section .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  background: #cbd5e1;
  opacity: 1;
}

.lecturer-section .swiper-pagination-bullet-active {
  width: 22px;
  border-radius: 10px;
  background: #0f3c66;
}

/* Outside nav */
.lecturer-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #ffffff;
  color: #0d2c49;
  border: none;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 20px;
}

.lecturer-nav:hover {
  background: #0d2c49;
  color: #ffffff;
}

.lecturer-prev {
  left: -20px;
}

.lecturer-next {
  right: -20px;
}

/* Mobile */
@media (max-width: 767.98px) {
  .lecturer-nav {
    display: none !important;
  }

  .section-title {
    font-size: 22px;
  }
}

/* ===== FEATURED COURSES ===== */
.featured-courses-section {
  background: #0f3c66;
  padding: 80px 0;
}

.featured-courses-section .container {
  max-width: 1290px !important;
}

.featured-courses-section h2 {
  font-weight: 700;
  font-size: 32px;
  text-transform: uppercase;
}

.course-card {
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  width: 100%;
  max-width: 410px;
  height: 750px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.course-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.3);
}

.course-thumb {
  width: 100%;
  height: 340px;
  overflow: hidden;
  padding: 20px;
}

.course-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

.course-body {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.course-body h5 {
  font-size: 20px;
  font-weight: 700;
  color: #0f3c66;
  margin-bottom: 15px;
  text-transform: uppercase;
}

.course-body p {
  font-size: 15px;
  color: #4b5563;
  line-height: 1.6;
  margin-bottom: auto;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  line-clamp: 4;
  -webkit-box-orient: vertical;
}

.course-footer {
  padding: 0 25px 25px;
}

.course-footer .btn {
  border-radius: 25px;
  padding: 10px 0;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.btn-detail {
  border: 1px solid #0f3c66;
  color: #0f3c66;
  background: transparent;
}

.btn-detail:hover {
  background: #0f3c66;
  color: #fff;
}

/* ===== COURSE BENEFITS SECTION ===== */
.benefits-grid {
  max-width: 1170px;
  margin-left: auto;
  margin-right: auto;
}

.benefit-card {
  background-color: #ebf5ff; /* Light blue background */
  transition: all 0.3s ease;
  width: 390px;
  max-width: 100%;
  height: 468px !important;
  display: flex;
  flex-direction: column;
  border: none;
  border-radius: 25px !important;
  margin: 0 auto;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.benefit-card.border-end {
  border-right: 1px solid #ffffff !important;
}

.benefit-card.border-bottom {
  border-bottom: 1px solid #ffffff !important;
}

.benefit-card:hover {
  background-color: #e0f0ff; /* Slightly darker on hover */
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.02);
}

.benefit-number {
  width: 80px;
  height: 80px;
  background-color: #fbbf24; /* Yellow color */
  color: #0d2c49; /* Dark blue text */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 42px;
}

.benefit-card h5 {
  font-size: 24px;
  color: #0d2c49;
  line-height: 1.4;
}

.benefit-card p {
  line-height: 1.6;
  font-size: 0.95rem;
}

@media (max-width: 767.98px) {
  #course-benefits h2 {
    font-size: 20px;
  }
}

.btn-register {
  background: #fbbf24;
  border: 1px solid #fbbf24;
  color: #0d2c49;
}

.btn-register:hover {
  background: #f59e0b;
  border-color: #f59e0b;
  color: #0d2c49;
}

/* Custom Gutter for Course Cards */
.course-grid {
  --bs-gutter-x: 30px;
  --bs-gutter-y: 30px;
}

/* Responsive */
@media (max-width: 1199.98px) {
  .course-card {
    height: auto;
    min-height: 680px;
  }
}

@media (max-width: 767.98px) {
  .course-card {
    max-width: 100%;
    height: auto;
  }
}

/* ===== FOOTER SECTION ===== */
.footer {
  background: #11324d; /* Exact navy from image */
  color: #ffffff;
  padding: 60px 0 0px 0;
}
.footer-title {
  color: #fbbf24; /* Golden */
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 30px;
  text-transform: uppercase;
}

.footer-contact p {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px; /* Increased from 12px to 20px */
  font-size: 14px;
  color: #fff;
  line-height: 1.8; /* Added line-height for better spacing */
}

.footer-contact i {
  color: #fff; /* Icons are white in image */
  font-size: 16px;
  margin-top: 2px;
}

.social-links a {
  width: 44px; /* Slightly larger to match image proportion */
  height: 44px;
  background: #2b4964; /* Rounded square background from image */
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px; /* Rounded corners, not circle */
  color: #fbbf24; /* Golden icons from image */
  margin-right: 12px;
  text-decoration: none;
  font-size: 20px; /* Larger icons */
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links ul li {
  padding: 16px 0; /* Increased from 12px to 16px */
  border-bottom: 1px solid rgba(255, 255, 255, 0.1); /* Thin lines from image */
  display: flex;
  align-items: center;
  line-height: 1.6; /* Added line-height */
}

.footer-links ul li::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 4px;
  background: #fff;
  border-radius: 50%;
  margin-right: 12px;
}

.footer-links ul li a {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  line-height: 1.6; /* Added line-height */
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 40px;
  padding-top: 5px;
}

.footer-bottom p {
  margin-bottom: 0;
  font-size: 13px;
  color: #fff;
}

/* Responsive */
@media (max-width: 991.98px) {
  .footer {
    padding-top: 40px;
  }
  .footer-title {
    margin-bottom: 20px;
  }
}

/* ===== REGISTRATION SECTION ===== */
.registration {
  background-color: #f4f7fa;
}

.registration-title {
  color: #0f2c4a;
  font-weight: 800;
  font-size: 32px;
}

.registration-divider {
  width: 50px;
  height: 3px;
  background: #fbbf24;
  margin-top: 15px;
}

.registration-wrapper {
  background: #fff;
  height: 652px; /* Fixed height from UI design */
}

.registration-form-col {
  background: #0f2c4a;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.registration-form-col .form-header {
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.5px;
}

.registration-form-col .form-label {
  font-size: 13px;
  margin-bottom: 6px;
}

.registration-form-col .form-control,
.registration-form-col .form-select {
  background-color: #fff;
  border: none;
  border-radius: 25px; /* Stadium shaped inputs */
  padding: 12px 20px;
  font-size: 14px;
}

.registration-form-col .form-control::placeholder {
  color: #999;
}

.registration-form-col textarea.form-control {
  border-radius: 15px;
}

.registration-form-col .btn-warning {
  background-color: #fbbf24;
  border: none;
  border-radius: 25px;
  color: #0f2c4a;
  box-shadow: 0 4px 15px rgba(251, 191, 36, 0.3);
  transition: all 0.3s ease;
}

.registration-form-col .btn-warning:hover {
  background-color: #f5a623;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(251, 191, 36, 0.4);
}

.registration-img-col img {
  display: block;
}

/* Responsive */
@media (max-width: 991.98px) {
  .registration-title {
    font-size: 24px;
  }
  
  .registration-wrapper {
    margin: 0 10px;
    height: auto; /* Reset fixed height for mobile stacking */
  }
}

/* ===== FAQ SECTION ===== */
.faq {
  background: #0f2c4a;
}

.faq-title {
  color: #ffffff;
  font-weight: 800;
  font-size: 32px;
}

.faq-divider {
  width: 50px;
  height: 3px;
  background: #fbbf24;
  margin-top: 15px;
}
.faq-img-container img{
  height: 700px;
}
.faq-img-container {
  height: auto;
  overflow: hidden;
}

.faq .accordion-button {
  transition: all 0.3s ease;
}

.faq .accordion-button:not(.collapsed) {
  color: #fbbf24;
}

.faq .accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath fill-rule='evenodd' d='M8 2a.5.5 0 0 1 .5.5v5h5a.5.5 0 0 1 0 1h-5v5a.5.5 0 0 1-1 0v-5h-5a.5.5 0 0 1 0-1h5v-5A.5.5 0 0 1 8 2z'/%3e%3c/svg%3e");
  background-size: 1.2rem;
}

.faq .accordion-button:not(.collapsed)::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fbbf24'%3e%3cpath fill-rule='evenodd' d='M2 8a.5.5 0 0 1 .5-.5h11a.5.5 0 0 1 0 1h-11A.5.5 0 0 1 2 8z'/%3e%3c/svg%3e");
}

.faq .accordion-body {
  font-size: 14px;
  line-height: 1.7;
}

/* Responsive */
@media (max-width: 991.98px) {
  .faq-title {
    font-size: 24px;
  }
}

/* ===== GALLERY SECTION ===== */
.gallery-section {
  padding: 80px 0;
  background: #fff;
}

.gallery-grid img {
  border: 4px solid #fbbf24;
  border-radius: 12px;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.3s ease;
}

.gallery-img-tall {
  height: 450px !important;
}

.gallery-img-standard {
  height: 300px !important;
}

.gallery-img-small {
  height: 180px !important;
}

.gallery-grid img:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(251, 191, 36, 0.3);
}

.gallery-title {
  color: #0d2c49;
  font-weight: 800;
  font-size: 36px;
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials-section {
  background-color: #f4f8fb;
  padding: 80px 0;
  position: relative;
}

.testimonial-card {
  border: none;
  border-radius: 20px;
  background: #ffffff;
  padding: 130px 35px 45px;
  box-shadow: 0 10px 40px rgba(15, 44, 74, 0.05);
  height: 100%;
  margin-top: 0;
  position: relative;
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 50px rgba(15, 44, 74, 0.1);
}

.testimonial-img-wrapper {
  position: absolute;
  top: 30px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 100px;
  border-radius: 50%;
  padding: 0;
  overflow: hidden;
  background: #fff;
  z-index: 5;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.testimonial-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-icon {
  color: #94b9ff;
  font-size: 65px;
  line-height: 1;
  font-family: "Playfair Display", serif;
  opacity: 1;
  margin-bottom: 5px;
  user-select: none;
  font-weight: 700;
}

.testimonial-content {
  font-size: 15px;
  color: #475569;
  line-height: 1.8;
  margin-bottom: 25px;
}

.testimonial-name {
  color: #1e293b;
  font-weight: 700;
  font-size: 17px;
  margin-bottom: 0;
}

.testimonial-nav-btn {
  width: 45px;
  height: 45px;
  background: #cbd5e1;
  color: #ffffff !important;
  border-radius: 50%;
  display: flex !important;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  position: absolute;
  top: 55%;
  transform: translateY(-50%);
  z-index: 10;
  border: none;
}

.testimonial-nav-btn:hover {
  background: #94a3b8;
}

.testimonial-prev {
  left: -60px;
}

.testimonial-next {
  right: -60px;
}

.testimonials-swiper {
  position: relative;
  padding: 20px 0 60px;
}

.testimonials-swiper .swiper-pagination-bullet {
  background: #cbd5e1;
  opacity: 1;
}

.testimonials-swiper .swiper-pagination-bullet-active {
  background: #0f2c4a;
  width: 25px;
  border-radius: 10px;
}

@media (max-width: 1400px) {
  .testimonial-prev { left: -25px; }
  .testimonial-next { right: -25px; }
}

@media (max-width: 991px) {
  .testimonial-nav-btn { display: none !important; }
}

/* ===== PARTNERS SECTION ===== */
.partners {
  background: #ffffff;
}

.partners-title {
  color: #0f2c4a;
  font-weight: 800;
  font-size: 32px;
}

.divider-gold {
  width: 50px;
  height: 3px;
  background: #fbbf24;
}

.clients-swiper {
  padding-bottom: 50px;
  height: 450px; /* Fixed height required for Swiper grid rows */
}

.clients-swiper .swiper-slide {
  height: calc((100% - 30px) / 2) !important; /* 30px is spaceBetween total */
  display: flex !important;
}

.partners .swiper-pagination-bullet {
  background: #cbd5e1;
  opacity: 1;
}

.partners .swiper-pagination-bullet-active {
  background: #0f2c4a;
  width: 25px;
  border-radius: 10px;
}

/* Adjust height for mobile */
@media (max-width: 767.98px) {
  .clients-swiper {
    height: 350px;
  }
}

/* ===== HEADER REFINEMENT ===== */
.header {
  padding: 8px 0;
  border-bottom: 1px solid #f1f5f9;
  background-color: #fff !important;
}

.header .container {
  max-width: 1280px;
  margin: 0 auto;
}

.header .navbar-nav {
  gap: 15px;
}

.header .navbar-nav .nav-link {
  color: #1e293b !important; /* Slate 800 */
  font-weight: 600;
  font-size: 15px;
  padding: 8px 15px !important;
  transition: all 0.3s ease;
}

.header .navbar-nav .nav-link:hover,
.header .navbar-nav .nav-link.active {
  color: #fbbf24 !important; /* Match gold/yellow highlight if exists, or just primary blue */
}

.header-search .search-toggle {
  color: #334155 !important;
  font-size: 1.2rem;
  transition: color 0.3s ease;
  padding: 0 10px;
}

.btn-hotline {
  background: linear-gradient(135deg, #ffca28 0%, #ffa000 100%);
  border: none;
  color: #000 !important;
  border-radius: 50px;
  padding: 10px 30px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.2px;
  box-shadow: 0 4px 12px rgba(255, 160, 0, 0.2);
  transition: all 0.3s ease;
  white-space: nowrap;
}

.btn-login {
  border: 1px solid #cbd5e1 !important;
  background: transparent;
  color: #475569 !important; /* Slate 600 */
  border-radius: 8px;
  padding: 6px 22px;
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.btn-login i {
  font-size: 18px;
}

@media (max-width: 991.98px) {
  .header .navbar-nav {
    padding: 20px 0;
    gap: 0;
  }
  .btn-hotline, .btn-login {
    margin: 10px 0;
    width: 100%;
    justify-content: center;
  }
}

/* Responsive for Benefit Cards */
@media (max-width: 1199.98px) {
  .benefit-card {
    width: 100%;
    max-width: 390px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 991.98px) {
  .benefit-card {
    height: auto !important;
    min-height: 420px;
  }
}
