/* ============================================================
   ExpoBeton RDC - Design Improvements & Layout Fixes
   Addresses: spacing consistency, readability, visual cohesion
   ============================================================ */

/* ----- Header Register Button ----- */
.header-register-btn {
  padding: 8px 20px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 4px !important;
  white-space: nowrap;
}

.header-register-btn .icon {
  margin-right: 6px;
  font-size: 12px;
}

@media (max-width: 1199px) {
  .header-register-btn {
    display: none !important;
  }
}

/* ----- Global Section Spacing ----- */
section {
  position: relative;
}

/* ----- Edition 12 Banner Section (before Comment Participer) ----- */
.edition12-banner-section {
  margin: 50px 0 40px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.edition12-banner-bg {
  position: relative;
  width: 100%;
  height: 280px;
  overflow: hidden;
}

.edition12-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.edition12-banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(0, 0, 40, 0.75) 0%, rgba(0, 0, 40, 0.4) 60%, transparent 100%);
}

.edition12-banner-content {
  position: absolute;
  top: 50%;
  left: 40px;
  transform: translateY(-50%);
  max-width: 650px;
  z-index: 2;
}

.edition12-banner-title {
  font-size: clamp(24px, 4vw, 42px);
  font-weight: 900;
  color: #ffffff;
  line-height: 1.15;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: -0.5px;
}

.edition12-banner-subtitle {
  font-size: clamp(13px, 1.8vw, 17px);
  color: #fdbd1b;
  font-weight: 600;
  line-height: 1.5;
  margin: 0;
}

@media (max-width: 767px) {
  .edition12-banner-bg {
    height: 200px;
  }
  .edition12-banner-content {
    left: 20px;
    right: 20px;
    max-width: none;
  }
}

/* ----- About Section Improvements ----- */
.about-section {
  padding: 80px 0 60px;
}

.brochure-text-section {
  margin-top: 40px;
  margin-bottom: 40px;
}

.brochure-text-content {
  columns: 1;
  max-width: 960px;
  margin: 0 auto;
}

.brochure-text-content p {
  font-size: 15px;
  line-height: 1.8;
  color: #444;
  margin-bottom: 18px;
  text-align: justify;
  hyphens: auto;
}

.brochure-text-content p:first-child {
  font-size: 16px;
  font-weight: 500;
  color: #222;
  border-left: 4px solid #c22439;
  padding-left: 16px;
}

/* About Section Divider Title */
.about-section-divider {
  text-align: center;
  margin: 50px 0 30px;
  padding: 0 15px;
}

.about-section-divider .divider-title {
  font-size: 28px;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 12px;
}

.about-section-divider .divider-line {
  display: flex;
  justify-content: center;
}

.about-section-divider .divider-line span {
  display: block;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #c22439, #fdbd1b);
  border-radius: 2px;
}

/* About Highlights - Better Grid */
.about-highlights {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 30px;
}

.about-highlights .highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 24px;
  background: #f8f9fc;
  border-radius: 12px;
  border: 1px solid #eef0f5;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.about-highlights .highlight-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  border-color: #c22439;
}

.about-highlights .highlight-number {
  font-size: 22px;
  font-weight: 800;
  color: #c22439;
  min-width: 40px;
  line-height: 1.2;
}

.about-highlights .highlight-text h5 {
  font-size: 16px;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 6px;
}

.about-highlights .highlight-text p {
  font-size: 14px;
  line-height: 1.6;
  color: #555;
  margin-bottom: 0;
}

/* ----- Features/Objectives Section ----- */
.features-section {
  padding: 80px 0 !important;
}

.features-section .sec-title {
  margin-bottom: 40px;
}

.features-section .sec-title .sub-title {
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

/* ----- Registration Form Section ----- */
.registration-section-v12 {
  padding: 80px 0;
  background: linear-gradient(135deg, #112bb5 0%, #1a1a2e 100%);
  position: relative;
  overflow: hidden;
}

.registration-section-v12::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(194, 36, 57, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.registration-section-v12::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -5%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(253, 189, 27, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.registration-v12-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: start;
  position: relative;
  z-index: 1;
}

/* Left info panel */
.registration-v12-info {
  color: #ffffff;
  padding: 40px 0;
}

.reg-info-badge {
  display: inline-block;
  padding: 6px 16px;
  background: #c22439;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 0;
  margin-bottom: 20px;
}

.reg-info-title {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
  margin-bottom: 16px;
}

.reg-info-desc {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.7;
  margin-bottom: 30px;
}

.reg-info-details {
  margin-bottom: 30px;
}

.reg-detail-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.reg-detail-item i {
  color: #fdbd1b;
  font-size: 16px;
  width: 20px;
  text-align: center;
}

.reg-detail-item span {
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  font-weight: 500;
}

.reg-info-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.reg-feature {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
}

.reg-feature i {
  color: #4caf50;
  font-size: 14px;
}

/* Right form panel */
.registration-v12-form {
  background: #ffffff;
  border-radius: 0;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  overflow: hidden;
}

.reg-form-header {
  padding: 28px 30px 20px;
  background: linear-gradient(135deg, #f8f9fc 0%, #ffffff 100%);
  border-bottom: 1px solid #eef0f5;
  text-align: center;
}

.reg-form-header h3 {
  font-size: 20px;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 6px;
}

.reg-form-header p {
  font-size: 13px;
  color: #666;
  margin: 0;
}

.reg-form-body {
  padding: 20px 30px 30px;
}

.reg-form-body .card {
  border: none;
  box-shadow: none;
  padding: 0;
  margin: 0;
}

.reg-form-body #heading {
  display: none;
}

.reg-form-body .card > p {
  display: none;
}

/* Registration section responsive */
@media (max-width: 991px) {
  .registration-v12-wrapper {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .registration-v12-info {
    padding: 0;
    text-align: center;
  }
  
  .reg-info-features {
    grid-template-columns: 1fr;
    max-width: 300px;
    margin: 0 auto;
  }
  
  .reg-detail-item {
    justify-content: center;
  }
}

@media (max-width: 575px) {
  .registration-section-v12 {
    padding: 50px 0;
  }
  
  .reg-form-body {
    padding: 15px;
  }
  
  .reg-form-header {
    padding: 20px 15px;
  }
}

/* ----- Ambassador / Partners Section ----- */
.client-section#ambassadeurs {
  margin-top: 60px !important;
  padding: 80px 0;
}

.client-section#ambassadeurs .sec-title h3 {
  font-size: 28px;
  color: #1a1a2e;
}

.client-section#ambassadeurs .text {
  font-size: 15px;
  line-height: 1.7;
  color: #555;
}

.client-section#ambassadeurs .sponsors-column {
  margin-top: 0 !important;
}

/* ----- Speakers/Documentation Section ----- */
.speakers-section-three#documentation {
  margin-top: 0 !important;
  padding: 80px 0;
}

.speakers-section-three .sec-title-outer {
  margin-bottom: 40px;
}

.speakers-section-three .sec-title h3 {
  font-size: 28px;
}

/* Speaker Cards */
.speaker-block-three .inner-box {
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.speaker-block-three .inner-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

.speaker-block-three .content-box .name {
  font-size: 16px !important;
  font-weight: 600;
}

.speaker-block-three .content-box .designation {
  font-size: 13px;
  color: #888;
}

/* ----- Subscribe / Newsletter Section ----- */
.subscribe-section {
  padding: 60px 0;
}

.subscribe-section .outer-box {
  border-radius: 16px;
  overflow: hidden;
}

.subscribe-section .content-box {
  padding: 40px;
}

.subscribe-section .sub-title {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.subscribe-section .title {
  font-size: 24px;
  font-weight: 700;
}

/* ----- Footer Improvements ----- */
.main-footer .widgets-section {
  padding: 60px 0 30px;
}

.main-footer .widget-title {
  font-size: 18px;
  margin-bottom: 16px;
  font-weight: 700;
}

.main-footer .footer-bottom {
  padding: 16px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ----- Banner Improvements ----- */
.banner-section.modern-banner {
  min-height: 90vh;
}

.banner-section .content-box {
  max-width: 700px;
}

.banner-section .banner-title {
  font-size: clamp(28px, 5vw, 52px) !important;
  line-height: 1.15 !important;
  margin-bottom: 16px;
}

.banner-section .banner-title .title-line-1 {
  display: block;
  font-size: clamp(32px, 6vw, 60px);
  font-weight: 800;
  margin-bottom: 4px;
}

.banner-section .banner-title .title-line-2 {
  display: block;
  font-size: clamp(18px, 3vw, 28px);
  font-weight: 600;
  opacity: 0.95;
}

.banner-section .banner-subtitle {
  font-size: clamp(12px, 1.8vw, 16px) !important;
  line-height: 1.5;
  max-width: 650px;
  margin-bottom: 24px;
}

/* Countdown - fix overlap on smaller screens */
.time-counter.countdown-lateral {
  position: absolute;
  top: 50%;
  right: 40px;
  transform: translateY(-50%);
}

.time-countdown.enhanced-countdown {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.time-countdown .counter-column {
  width: 90px;
  height: 80px;
  border-radius: 10px;
  backdrop-filter: blur(10px);
}

.time-countdown .count {
  font-size: 28px;
}

.time-countdown .counter-column sub {
  font-size: 11px;
}

.time-countdown .separator {
  display: none;
}

/* Location CTA box */
.location-cta-box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  margin-top: 24px;
}

.location-info {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(0, 0, 0, 0.4);
  padding: 12px 20px;
  border-radius: 10px;
  backdrop-filter: blur(8px);
}

.location-icon {
  font-size: 24px;
  color: #fdbd1b;
}

.location-text {
  display: flex;
  flex-direction: column;
}

.location-label {
  font-size: 11px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.5px;
}

.location-name {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
}

.location-date {
  font-size: 13px;
  color: #fdbd1b;
  font-weight: 600;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ----- Buttons refinement ----- */
.btn-box {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.theme-btn.btn-style-one {
  border-radius: 8px;
  padding: 12px 28px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.3px;
  transition: all 0.3s ease;
}

.theme-btn.btn-style-one:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.theme-btn.bg-yellow {
  background: #fdbd1b !important;
  color: #1a1a2e !important;
}

.theme-btn.bg-yellow:hover {
  background: #e5a800 !important;
}

.theme-btn.btn-outline {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.5);
  color: #fff;
}

.theme-btn.btn-outline:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

/* ----- Section Titles Consistency ----- */
.sec-title {
  margin-bottom: 40px;
}

.sec-title .sub-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 10px;
  display: inline-block;
}

.sec-title h2,
.sec-title h3 {
  font-weight: 700;
  line-height: 1.25;
}

/* ----- Client/Partner blocks ----- */
.blocks-outer-box {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 16px;
  justify-content: center;
}

.client-block .inner-box {
  border-radius: 12px;
  padding: 16px;
  background: #fff;
  border: 1px solid #eef0f5;
  transition: all 0.3s ease;
}

.client-block .inner-box:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  border-color: #c22439;
}

/* ----- ExpoBeton Poster with Play Button (Screenshot 3 style) ----- */
.expobeton-poster-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.poster-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 0, 40, 0.2);
  max-width: 420px;
  width: 100%;
}

.poster-card .poster-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
}

.poster-play-btn {
  position: absolute;
  top: 50%;
  right: -20px;
  transform: translateY(-50%);
  z-index: 3;
  text-decoration: none;
}

.poster-play-btn .play-circle {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
  border: 3px dashed #1a3a7a;
  transition: all 0.3s ease;
}

.poster-play-btn:hover .play-circle {
  transform: scale(1.08);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.poster-play-btn .play-circle-inner {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #1a3a7a;
}

.poster-play-btn .play-circle-inner i {
  font-size: 22px;
  color: #1a3a7a;
  margin-left: 4px;
}

@media (max-width: 991px) {
  .poster-play-btn {
    right: 50%;
    transform: translate(50%, -50%);
  }
  .poster-card {
    max-width: 350px;
  }
  .poster-play-btn .play-circle {
    width: 80px;
    height: 80px;
  }
  .poster-play-btn .play-circle-inner {
    width: 56px;
    height: 56px;
  }
}

/* ----- About Banner Image Section ----- */
.about-banner-image-section {
  margin-bottom: 20px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.banner-image-container {
  position: relative;
}

.banner-image-container .main-banner-image {
  width: 100%;
  height: auto;
  display: block;
}

/* ----- About Image Wrapper (promo poster) ----- */
.about-image-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-image-wrapper .image-3 img {
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

/* ----- Outer Box Two (Content + Image side by side) ----- */
.about-section .outer-box.two {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  padding: 0;
  margin-bottom: 0;
}

.about-section .outer-box.two .image-box {
  flex: 0 0 40%;
  max-width: 40%;
}

.about-section .outer-box.two .content-box {
  flex: 1;
}

/* ----- Responsive ----- */
@media (max-width: 1199px) {
  .time-counter.countdown-lateral {
    position: relative;
    top: auto;
    right: auto;
    transform: none;
    margin-top: 20px;
  }

  .time-countdown.enhanced-countdown {
    flex-direction: row;
    justify-content: center;
  }

  .time-countdown .counter-column {
    width: 70px;
    height: 65px;
  }

  .time-countdown .count {
    font-size: 22px;
  }
}

@media (max-width: 991px) {
  .about-section .outer-box.two {
    flex-direction: column;
  }

  .about-section .outer-box.two .image-box {
    flex: 0 0 100%;
    max-width: 100%;
    margin-bottom: 30px;
  }

  .client-section#ambassadeurs .row {
    flex-direction: column;
  }

  .features-section {
    padding: 60px 0 !important;
  }

  .about-section {
    padding: 60px 0 40px;
  }

  .speakers-section-three#documentation {
    padding: 60px 0;
  }
}

@media (max-width: 767px) {
  .banner-section .content-box {
    padding: 0 15px;
  }

  .location-cta-box {
    flex-direction: column;
    align-items: flex-start;
  }

  .about-highlights .highlight-item {
    padding: 16px;
  }

  .about-highlights .highlight-number {
    font-size: 18px;
    min-width: 32px;
  }

  .clients-section-two .card h2#heading {
    font-size: 20px;
  }

  .about-section-divider .divider-title {
    font-size: 22px;
  }

  .time-countdown .counter-column {
    width: 60px;
    height: 55px;
  }

  .time-countdown .count {
    font-size: 18px;
  }

  .time-countdown .counter-column sub {
    font-size: 9px;
  }
}

@media (max-width: 575px) {
  .cta-buttons {
    flex-direction: column;
    width: 100%;
  }

  .cta-buttons .theme-btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
}
