/**
 * Enjoy Holiday Hub - Custom About Section Stylesheet
 * Brand colors: Navy #14213D, Red #E72E2E, Text #172033, Muted #64748B, Border #E2E8F0, BG #FFFFFF
 */

.about-section-custom {
  position: relative;
  background-color: #ffffff;
  padding: 85px 0 70px;
  overflow: hidden;
}

/* Background decorative ambient accents */
.about-ambient-glow {
  position: absolute;
  top: 10%;
  left: -150px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(231, 46, 46, 0.05) 0%, rgba(20, 33, 61, 0.02) 65%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}

/* ========================================= */
/* LEFT SIDE: TRAVEL VISUAL COMPOSITION      */
/* ========================================= */
.about-visual-container {
  position: relative;
  width: 100%;
  max-width: 540px;
  margin: 0 auto;
  padding: 20px 20px 40px;
}

/* Main primary travel image */
.about-main-img-box {
  position: relative;
  width: 86%;
  height: 480px;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(20, 33, 61, 0.15);
  border: 4px solid #ffffff;
  z-index: 1;
}

.about-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.about-main-img-box:hover .about-main-img {
  transform: scale(1.05);
}

/* Secondary overlapping accent photo */
.about-accent-img-box {
  position: absolute;
  right: 5px;
  bottom: 0px;
  width: 52%;
  height: 220px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(20, 33, 61, 0.18);
  border: 4px solid #ffffff;
  z-index: 2;
  transition: transform 0.4s ease;
}

.about-accent-img-box:hover {
  transform: translateY(-5px);
}

.about-accent-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.about-accent-img-box:hover .about-accent-img {
  transform: scale(1.08);
}

/* Floating Information Cards */
.about-float-card {
  position: absolute;
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 16px;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 14px 34px rgba(20, 33, 61, 0.13);
  z-index: 3;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-float-card:hover {
  box-shadow: 0 18px 42px rgba(20, 33, 61, 0.2);
}

/* CARD 1: Explore the World (Top Right) */
.about-float-card-1 {
  top: 30px;
  right: -15px;
  animation: floatCard1 4.5s ease-in-out infinite alternate;
}

/* CARD 2: Worldwide Destinations (Bottom Left) */
.about-float-card-2 {
  bottom: 40px;
  left: -20px;
  animation: floatCard2 5s ease-in-out infinite alternate;
}

/* CARD 3: Complete Travel Solutions (Bottom Center/Left) */
.about-float-card-3 {
  bottom: -22px;
  left: 22%;
  animation: floatCard3 4.2s ease-in-out infinite alternate;
}

@keyframes floatCard1 {
  0% { transform: translateY(0px) rotate(0deg); }
  100% { transform: translateY(-10px) rotate(0.8deg); }
}

@keyframes floatCard2 {
  0% { transform: translateY(0px) rotate(0deg); }
  100% { transform: translateY(8px) rotate(-0.8deg); }
}

@keyframes floatCard3 {
  0% { transform: translateY(0px); }
  100% { transform: translateY(-8px); }
}

/* Float Card Internal Elements */
.about-float-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.icon-red {
  background: rgba(231, 46, 46, 0.12);
  color: #e72e2e;
}

.icon-blue {
  background: rgba(20, 33, 61, 0.1);
  color: #14213d;
}

.icon-gold {
  background: rgba(245, 158, 11, 0.12);
  color: #d97706;
}

.about-float-info {
  display: flex;
  flex-direction: column;
}

.about-float-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: #14213d;
  line-height: 1.25;
  margin: 0;
  white-space: nowrap;
}

.about-float-sub {
  font-size: 0.74rem;
  color: #64748b;
  margin: 0;
  white-space: nowrap;
}

/* Decorative travel badge */
.about-exp-badge {
  position: absolute;
  top: 15px;
  left: 5px;
  background: rgba(20, 33, 61, 0.92);
  color: #ffffff;
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 2;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.about-exp-badge i {
  color: #e72e2e;
}

/* ========================================= */
/* RIGHT SIDE: CONTENT & 4 FEATURE POINTS    */
/* ========================================= */
.about-content-wrapper {
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

.about-pill-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(231, 46, 46, 0.08);
  color: #e72e2e;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 14px;
  border: 1px solid rgba(231, 46, 46, 0.2);
  width: fit-content;
}

.about-main-title {
  font-size: 2.35rem;
  font-weight: 800;
  color: #14213d;
  line-height: 1.25;
  letter-spacing: -0.5px;
  margin-bottom: 18px;
}

.highlight-travel-better {
  color: #e72e2e;
  position: relative;
  display: inline-block;
}

.highlight-travel-better::after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 0;
  width: 100%;
  height: 6px;
  background: rgba(231, 46, 46, 0.2);
  border-radius: 4px;
  z-index: -1;
}

.about-lead-desc {
  font-size: 1.05rem;
  color: #475569;
  line-height: 1.7;
  margin-bottom: 12px;
}

.about-secondary-desc {
  font-size: 0.95rem;
  color: #64748b;
  line-height: 1.65;
  margin-bottom: 28px;
}

/* Feature 2x2 Grid */
.about-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 30px;
}

.about-feature-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 18px;
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  display: flex;
  flex-direction: column;
}

.about-feature-card:hover {
  background: #ffffff;
  border-color: #cbd5e1;
  box-shadow: 0 10px 25px rgba(20, 33, 61, 0.08);
  transform: translateY(-4px);
}

.about-feature-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(231, 46, 46, 0.1);
  color: #e72e2e;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  margin-bottom: 12px;
  transition: all 0.25s ease;
}

.about-feature-card:hover .about-feature-icon {
  background: #e72e2e;
  color: #ffffff;
  transform: scale(1.08);
}

.about-feature-title {
  font-size: 0.98rem;
  font-weight: 700;
  color: #14213d;
  margin-bottom: 6px;
}

.about-feature-text {
  font-size: 0.82rem;
  color: #64748b;
  line-height: 1.55;
  margin: 0;
}

/* CTA and Trust Area */
.about-action-strip {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.about-story-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #e72e2e;
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 13px 30px;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(231, 46, 46, 0.32);
  transition: all 0.25s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.about-story-btn:hover {
  background: #14213d;
  color: #ffffff;
  box-shadow: 0 10px 26px rgba(20, 33, 61, 0.25);
  transform: translateY(-2px);
}

.about-story-btn i {
  transition: transform 0.2s ease;
}

.about-story-btn:hover i {
  transform: translateX(4px);
}

.about-trust-rating {
  display: flex;
  align-items: center;
  gap: 10px;
}

.about-rating-stars {
  color: #f59e0b;
  font-size: 0.9rem;
}

.about-trust-text {
  display: flex;
  flex-direction: column;
}

.about-trust-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: #14213d;
  line-height: 1.2;
}

.about-trust-sub {
  font-size: 0.75rem;
  color: #64748b;
}

/* ========================================= */
/* DYNAMIC STATISTICS STRIP                  */
/* ========================================= */
.about-stats-container {
  margin-top: 60px;
  position: relative;
  z-index: 1;
}

.about-stats-strip {
  background: linear-gradient(135deg, #14213d 0%, #1e293b 100%);
  border-radius: 22px;
  padding: 34px 40px;
  box-shadow: 0 16px 40px rgba(20, 33, 61, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

/* Subtle background accent in stat strip */
.about-stats-strip::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(231, 46, 46, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.about-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.about-stat-card {
  display: flex;
  align-items: center;
  gap: 16px;
}

.about-stat-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  color: #e72e2e;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: transform 0.25s ease;
}

.about-stat-card:hover .about-stat-icon-wrap {
  transform: scale(1.1);
  background: rgba(231, 46, 46, 0.2);
}

.about-stat-info {
  display: flex;
  flex-direction: column;
}

.about-stat-number {
  font-size: 1.85rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.1;
  margin-bottom: 2px;
  letter-spacing: -0.5px;
}

.about-stat-label {
  font-size: 0.92rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.25;
}

.about-stat-desc {
  font-size: 0.74rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.3;
}

/* ========================================= */
/* RESPONSIVE DESIGN                         */
/* ========================================= */
@media (max-width: 1200px) {
  .about-content-wrapper {
    padding-left: 10px;
  }
  .about-main-title {
    font-size: 2.1rem;
  }
  .about-stats-grid {
    gap: 20px;
  }
  .about-stat-number {
    font-size: 1.6rem;
  }
}

@media (max-width: 991px) {
  .about-section-custom {
    padding: 65px 0 55px;
  }
  .about-visual-container {
    max-width: 480px;
    margin-bottom: 45px;
    padding-bottom: 25px;
  }
  .about-main-img-box {
    height: 400px;
  }
  .about-accent-img-box {
    height: 180px;
  }
  .about-content-wrapper {
    padding-left: 0;
  }
  .about-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .about-section-custom {
    padding: 50px 0 45px;
  }
  .about-visual-container {
    padding: 10px 10px 30px;
  }
  .about-main-img-box {
    width: 100%;
    height: 320px;
  }
  .about-accent-img-box {
    display: none; /* Hide secondary image on small mobile to prevent clutter */
  }
  .about-float-card-1 {
    top: 15px;
    right: 5px;
  }
  .about-float-card-2 {
    bottom: 15px;
    left: 5px;
  }
  .about-float-card-3 {
    display: none; /* Keep top 2 cards for clean mobile view */
  }
  .about-main-title {
    font-size: 1.7rem;
  }
  .about-features-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .about-action-strip {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }
  .about-story-btn {
    width: 100%;
    justify-content: center;
  }
  .about-trust-rating {
    justify-content: center;
  }
  .about-stats-strip {
    padding: 24px 20px;
  }
  .about-stats-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}
