/* ============================================
   Tech4Impact UI Enhancements
   ============================================ */

/* ===== PREMIUM TRACK SELECTION CARDS ===== */

/* Hide default radio button */
.track-radio-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

/* Track Card Base Styling */
.track-card {
  position: relative;
  display: block;
  min-height: 220px;
  padding: 35px 30px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 2px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  text-align: center;
}

/* Gradient Background for Ideas Track */
.track-card-ideas {
  background: linear-gradient(
    135deg,
    rgba(102, 126, 234, 0.15) 0%,
    rgba(118, 75, 162, 0.15) 100%
  );
  border-color: rgba(102, 126, 234, 0.3);
}

/* Gradient Background for Initiatives Track */
.track-card-initiatives {
  background: linear-gradient(
    135deg,
    rgba(240, 147, 251, 0.15) 0%,
    rgba(245, 87, 108, 0.15) 100%
  );
  border-color: rgba(245, 87, 108, 0.3);
}

/* Track Icon */
.track-card-icon {
  font-size: 64px;
  margin-bottom: 20px;
  transition: transform 0.3s ease;
  line-height: 1;
}

/* Track Content */
.track-card-content {
  margin-bottom: 0;
}

.track-card-title {
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 12px;
  transition: color 0.3s ease;
}

.track-card-desc {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0;
  line-height: 1.6;
  transition: color 0.3s ease;
}

/* Checkmark (Hidden by default) */
.track-card-check {
  position: absolute;
  top: 20px;
  left: 20px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0);
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.track-card-check i {
  font-size: 18px;
  color: #ffffff;
}

/* Hover State */
.track-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.track-card-ideas:hover {
  background: linear-gradient(
    135deg,
    rgba(102, 126, 234, 0.25) 0%,
    rgba(118, 75, 162, 0.25) 100%
  );
  border-color: rgba(102, 126, 234, 0.6);
}

.track-card-initiatives:hover {
  background: linear-gradient(
    135deg,
    rgba(240, 147, 251, 0.25) 0%,
    rgba(245, 87, 108, 0.25) 100%
  );
  border-color: rgba(245, 87, 108, 0.6);
}

.track-card:hover .track-card-icon {
  transform: scale(1.1) rotate(5deg);
}

/* Selected State */
.track-radio-input:checked + .track-card-ideas {
  background: linear-gradient(
    135deg,
    rgba(102, 126, 234, 0.3) 0%,
    rgba(118, 75, 162, 0.3) 100%
  );
  border-color: #667eea;
  border-width: 3px;
  box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.2),
    0 20px 60px rgba(102, 126, 234, 0.3);
  transform: scale(1.02);
}

.track-radio-input:checked + .track-card-initiatives {
  background: linear-gradient(
    135deg,
    rgba(240, 147, 251, 0.3) 0%,
    rgba(245, 87, 108, 0.3) 100%
  );
  border-color: #f5576c;
  border-width: 3px;
  box-shadow: 0 0 0 4px rgba(245, 87, 108, 0.2),
    0 20px 60px rgba(245, 87, 108, 0.3);
  transform: scale(1.02);
}

.track-radio-input:checked + .track-card .track-card-check {
  opacity: 1;
  transform: scale(1);
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.track-radio-input:checked + .track-card-initiatives .track-card-check {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.track-radio-input:checked + .track-card .track-card-title {
  color: #ffffff;
}

.track-radio-input:checked + .track-card .track-card-desc {
  color: rgba(255, 255, 255, 0.9);
}

/* Animation on card selection */
@keyframes cardPulse {
  0%,
  100% {
    transform: scale(1.02);
  }
  50% {
    transform: scale(1.05);
  }
}

.track-radio-input:checked + .track-card {
  animation: cardPulse 0.6s ease;
}

/* Responsive Adjustments */
@media (max-width: 767px) {
  .track-card {
    min-height: 180px;
    padding: 25px 20px;
  }

  .track-card-icon {
    font-size: 52px;
    margin-bottom: 15px;
  }

  .track-card-title {
    font-size: 20px;
    margin-bottom: 8px;
  }

  .track-card-desc {
    font-size: 14px;
  }

  .track-card-check {
    width: 28px;
    height: 28px;
    top: 15px;
    left: 15px;
  }

  .track-card-check i {
    font-size: 16px;
  }
}

/* ===== ENHANCED DROPDOWN STYLING ===== */

/* Base Select Styling - Clean Without Icons */
select.form-control {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-color: rgba(194, 160, 64, 0.15);
  padding: 18px 24px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.4px;
  color: #ffffff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  border: 3px solid rgba(194, 160, 64, 0.6);
  border-radius: 12px;
  transition: all 0.3s ease;
  cursor: pointer;
  min-height: 60px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

select.form-control:hover {
  background-color: rgba(194, 160, 64, 0.25);
  border-color: rgba(194, 160, 64, 0.8);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(194, 160, 64, 0.3);
}

select.form-control:focus {
  background-color: rgba(194, 160, 64, 0.2);
  border-color: #c2a040;
  box-shadow: 0 0 0 4px rgba(194, 160, 64, 0.25), 0 8px 24px rgba(0, 0, 0, 0.3);
  outline: none;
}

/* Options Styling */
select.form-control option {
  background-color: #203030;
  color: #ffffff;
  padding: 16px 24px;
  font-weight: 600;
  font-size: 16px;
}

select.form-control option:hover {
  background-color: rgba(194, 160, 64, 0.4);
}

select.form-control option:checked {
  background-color: #c2a040;
  color: #000000;
  font-weight: 700;
}

select.form-control option:first-child {
  color: rgba(255, 255, 255, 0.7);
}

/* Mobile */
@media (max-width: 767px) {
  select.form-control {
    font-size: 16px;
    padding: 16px 20px;
    min-height: 56px;
  }
}

/* ===== ENHANCED RADIO BUTTONS ===== */

/* Custom Radio Button Container */
.form-check-input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 24px;
  height: 24px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.05);
  cursor: pointer;
  position: relative;
  transition: all 0.3s ease;
  margin-left: 12px;
  vertical-align: middle;
}

.form-check-input[type="radio"]:hover {
  border-color: rgba(194, 160, 64, 0.6);
  background-color: rgba(255, 255, 255, 0.08);
  transform: scale(1.1);
}

.form-check-input[type="radio"]:checked {
  border-color: #c2a040;
  background-color: #c2a040;
  box-shadow: 0 0 0 4px rgba(194, 160, 64, 0.2);
}

.form-check-input[type="radio"]:checked::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #ffffff;
  animation: radioCheck 0.3s ease;
}

@keyframes radioCheck {
  0% {
    transform: translate(-50%, -50%) scale(0);
  }
  50% {
    transform: translate(-50%, -50%) scale(1.2);
  }
  100% {
    transform: translate(-50%, -50%) scale(1);
  }
}

/* Radio Label Styling */
.form-check-label {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  user-select: none;
  margin-right: 8px;
  transition: color 0.3s ease;
}

.form-check-input:checked + .form-check-label {
  color: #ffffff;
  font-weight: 600;
}

/* Radio Group Container Enhancement */
.row.g-2 {
  gap: 12px !important;
}

.row.g-2 .col-auto {
  display: inline-flex;
  align-items: center;
  padding: 12px 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.row.g-2 .col-auto:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(194, 160, 64, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.row.g-2 .col-auto:has(.form-check-input:checked) {
  background: rgba(194, 160, 64, 0.15);
  border-color: #c2a040;
  box-shadow: 0 4px 16px rgba(194, 160, 64, 0.2);
}

/* Attendance Radio Buttons (Special Styling) */
input[name="attendance"] {
  margin-left: 10px;
}

/* Mobile Adjustments */
@media (max-width: 767px) {
  .form-check-input[type="radio"] {
    width: 22px;
    height: 22px;
  }

  .form-check-label {
    font-size: 15px;
  }

  .row.g-2 .col-auto {
    padding: 10px 16px;
  }
}

/* ===== INPUT FIELDS WITH ICONS ===== */

/* Input with icon container */
.input-with-icon {
  position: relative;
  display: flex;
  align-items: center;
}

/* Icon styling */
.input-icon {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  color: #c2a040;
  opacity: 0.8;
  pointer-events: none;
  transition: all 0.3s ease;
  z-index: 2;
}

/* Input field with icon */
.input-with-icon .form-control {
  padding-right: 50px;
  padding-left: 24px;
  background-color: rgba(194, 160, 64, 0.15);
  border: 3px solid rgba(194, 160, 64, 0.6);
  border-radius: 12px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.3px;
  color: #ffffff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  min-height: 60px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.input-with-icon .form-control::placeholder {
  color: rgba(255, 255, 255, 0.65);
  font-weight: 500;
}

/* Hover state */
.input-with-icon .form-control:hover {
  background-color: rgba(194, 160, 64, 0.25);
  border-color: rgba(194, 160, 64, 0.8);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(194, 160, 64, 0.3);
}

.input-with-icon .form-control:hover + .input-icon,
.input-with-icon:hover .input-icon {
  color: rgba(194, 160, 64, 0.8);
  transform: translateY(-50%) scale(1.1);
}

/* Focus state */
.input-with-icon .form-control:focus {
  background-color: rgba(194, 160, 64, 0.2);
  border-color: #c2a040;
  box-shadow: 0 0 0 4px rgba(194, 160, 64, 0.25), 0 8px 24px rgba(0, 0, 0, 0.3);
  outline: none;
}

.input-with-icon .form-control:focus ~ .input-icon {
  color: #c2a040;
  transform: translateY(-50%) scale(1.15);
}

/* Valid state (from previous validation) */
.input-with-icon .form-control.is-valid {
  border-color: #28a745 !important;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%2328a745' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: left calc(0.375em + 0.1875rem) center;
  background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
  padding-left: 2.5rem;
}

.input-with-icon .form-control.is-valid ~ .input-icon {
  color: #28a745;
}

/* Invalid state */
.input-with-icon .form-control.is-invalid {
  border-color: #dc3545 !important;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: left calc(0.375em + 0.1875rem) center;
  background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
  padding-left: 2.5rem;
  animation: shake 0.3s;
}

.input-with-icon .form-control.is-invalid ~ .input-icon {
  color: #dc3545;
}

/* Specific icon styling */
.input-icon.fa-mobile {
  font-size: 22px;
}

.input-icon.fa-calendar {
  font-size: 17px;
}

/* Number input adjustments */
input[type="number"].form-control {
  -moz-appearance: textfield;
}

input[type="number"].form-control::-webkit-inner-spin-button,
input[type="number"].form-control::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Textarea styling (for consistency) */
textarea.form-control {
  background-color: rgba(194, 160, 64, 0.15);
  border: 3px solid rgba(194, 160, 64, 0.6);
  border-radius: 12px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.3px;
  color: #ffffff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  padding: 18px 24px;
  transition: all 0.3s ease;
  resize: vertical;
  min-height: 120px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

textarea.form-control::placeholder {
  color: rgba(255, 255, 255, 0.65);
  font-weight: 500;
}

textarea.form-control:hover {
  background-color: rgba(194, 160, 64, 0.25);
  border-color: rgba(194, 160, 64, 0.8);
  box-shadow: 0 8px 20px rgba(194, 160, 64, 0.3);
}

textarea.form-control:focus {
  background-color: rgba(194, 160, 64, 0.2);
  border-color: #c2a040;
  box-shadow: 0 0 0 4px rgba(194, 160, 64, 0.25), 0 8px 24px rgba(0, 0, 0, 0.3);
  outline: none;
}

/* Mobile Adjustments for Icons */
@media (max-width: 767px) {
  .input-with-icon .form-control {
    font-size: 16px; /* Prevent zoom on iOS */
    min-height: 52px;
    padding-right: 48px;
    padding-left: 16px;
  }

  .input-icon {
    right: 16px;
    font-size: 16px;
  }

  .input-icon.fa-mobile {
    font-size: 20px;
  }

  .input-icon.fa-calendar {
    font-size: 15px;
  }

  textarea.form-control {
    font-size: 16px;
    min-height: 100px;
    padding: 14px 16px;
  }
}

/* ===== FORM SPACING & POLISH ===== */

/* Form Section Headers */
#registration_form h4 {
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid rgba(194, 160, 64, 0.2);
  position: relative;
}

#registration_form h4::after {
  content: "";
  position: absolute;
  bottom: -2px;
  right: 0;
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, #c2a040 0%, transparent 100%);
}

/* Form Labels */
.form-label {
  font-size: 15px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 10px;
  display: block;
  letter-spacing: 0.3px;
}

/* Required indicator */
.form-label .text-danger {
  color: #ff6b6b !important;
  font-size: 16px;
  margin-right: 4px;
}

/* Dividers */
#registration_form hr.border-white-op-2 {
  margin: 32px 0;
  opacity: 0.15;
  border-color: rgba(194, 160, 64, 0.2);
}

/* Submit Button Enhancement */
.btn-main {
  position: relative;
  padding: 18px 48px;
  font-size: 18px;
  font-weight: 700;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  background: linear-gradient(135deg, #c2a040 0%, #b08f35 100%);
  border: 2px solid #c2a040;
  box-shadow: 0 8px 24px rgba(194, 160, 64, 0.3);
}

.btn-main:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(194, 160, 64, 0.4);
  background: linear-gradient(135deg, #d4b350 0%, #c2a040 100%);
  border-color: #d4b350;
}

.btn-main:active {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(194, 160, 64, 0.3);
}

.btn-main::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s ease;
}

.btn-main:hover::before {
  left: 100%;
}

/* Form Container Enhancement */
.bg-dark-2.rounded-1.p-60 {
  background: linear-gradient(
    135deg,
    rgba(26, 26, 26, 0.95) 0%,
    rgba(20, 20, 20, 0.98) 100%
  );
  backdrop-filter: blur(10px);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Form Row Spacing */
#registration_form .row.g-4 {
  row-gap: 28px;
}

/* Checkbox Styling */
input[type="checkbox"] {
  width: 22px;
  height: 22px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 6px;
  background-color: rgba(255, 255, 255, 0.05);
  cursor: pointer;
  transition: all 0.3s ease;
  vertical-align: middle;
  margin-left: 8px;
}

input[type="checkbox"]:hover {
  border-color: rgba(194, 160, 64, 0.6);
  background-color: rgba(255, 255, 255, 0.08);
  transform: scale(1.05);
}

input[type="checkbox"]:checked {
  border-color: #c2a040;
  background-color: #c2a040;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='%23ffffff' d='M13.854 3.646a.5.5 0 0 1 0 .708l-7 7a.5.5 0 0 1-.708 0l-3.5-3.5a.5.5 0 1 1 .708-.708L6.5 10.293l6.646-6.647a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e");
  background-size: 14px;
  background-position: center;
  background-repeat: no-repeat;
}

/* Loading State (for submit button) */
.btn-main:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
}

.btn-main:disabled:hover {
  box-shadow: 0 8px 24px rgba(194, 160, 64, 0.3);
}

/* Smooth scroll behavior */
html {
  scroll-behavior: smooth;
}

/* Focus visible for accessibility */
*:focus-visible {
  outline: 2px solid #c2a040;
  outline-offset: 4px;
}

/* Mobile Adjustments */
@media (max-width: 767px) {
  #registration_form h4 {
    font-size: 20px;
    margin-bottom: 20px;
  }

  .form-label {
    font-size: 14px;
  }

  #registration_form hr.border-white-op-2 {
    margin: 24px 0;
  }

  .btn-main {
    padding: 16px 36px;
    font-size: 17px;
  }

  .bg-dark-2.rounded-1.p-60 {
    padding: 30px !important;
  }

  #registration_form .row.g-4 {
    row-gap: 20px;
  }

  input[type="checkbox"] {
    width: 20px;
    height: 20px;
  }
}

/* ===== Sponsors Section ===== */
.sponsor-card {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 16px;
  padding: 40px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 255, 255, 0.05);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sponsor-card img {
  max-height: 140px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  filter: brightness(0) invert(1) opacity(0.85);
  transition: all 0.4s ease;
}

.sponsor-card:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--color-primary);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.sponsor-card:hover img {
  filter: none;
  transform: scale(1.05);
}

.sponsor-card.main-partner {
  background: linear-gradient(
    135deg,
    rgba(194, 160, 64, 0.1) 0%,
    rgba(52, 180, 157, 0.05) 100%
  );
  border: 2px solid var(--color-primary);
  padding: 50px;
}

.sponsor-card.main-partner img {
  max-height: 180px;
  filter: none;
}

.sponsor-card.main-partner:hover {
  box-shadow: 0 16px 50px rgba(194, 160, 64, 0.3);
  transform: translateY(-12px);
}

/* Section Title for Sponsor Categories */
#section-sponsors h4 {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 30px;
}

/* ===== Typography Enhancements ===== */
h1 {
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.2;
  font-weight: 700;
}

h2 {
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.3;
  font-weight: 700;
}

h3 {
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.4;
  font-weight: 600;
}

h4 {
  font-size: clamp(20px, 2.5vw, 28px);
  line-height: 1.4;
  font-weight: 600;
}

body,
p {
  font-size: 18px;
  line-height: 1.7;
}

.lead {
  font-size: 20px;
  line-height: 1.6;
}

/* ===== Spacing System ===== */
.pt-80 {
  padding-top: 80px;
}

.pb-80 {
  padding-bottom: 80px;
}

section {
  padding-top: 100px;
  padding-bottom: 100px;
}

@media (max-width: 991px) {
  section {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .pt-80 {
    padding-top: 60px;
  }

  .pb-80 {
    padding-bottom: 60px;
  }
}

/* ===== Card Enhancements ===== */
.de-card,
.pricing-s1,
.speaker-card,
.timeline-item {
  border-radius: 16px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.de-card:hover,
.pricing-s1:hover,
.speaker-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.25);
}

/* Mobile Card Optimizations */
@media (max-width: 767px) {
  .de-card,
  .pricing-s1,
  .speaker-card {
    margin-bottom: 20px;
    padding: 20px !important;
  }

  .de-card h3,
  .pricing-s1 h3,
  .speaker-card h3 {
    font-size: 20px !important;
  }

  .de-card p,
  .pricing-s1 p,
  .speaker-card p {
    font-size: 14px !important;
  }

  .de-card ul li,
  .pricing-s1 ul li,
  .speaker-card ul li {
    font-size: 14px !important;
    padding: 8px 0;
  }

  .de-card:hover,
  .pricing-s1:hover,
  .speaker-card:hover {
    transform: translateY(-4px);
  }

  /* Timeline for mobile */
  .timeline-item {
    padding: 15px !important;
  }

  .timeline-item h4 {
    font-size: 18px !important;
  }

  .timeline-item p {
    font-size: 14px !important;
  }

  /* Icons in cards */
  .de-card i,
  .speaker-card i {
    font-size: 40px !important;
  }

  /* Pricing/Prizes cards specific */
  .pricing-s1 .price {
    font-size: 32px !important;
  }

  .pricing-s1 .plan-name {
    font-size: 18px !important;
  }
}

/* ===== Button Enhancements ===== */
.btn-main {
  min-height: 38px;
  padding: 8px 24px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 6px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  letter-spacing: 0.3px;
  border: 2px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  cursor: pointer;
  line-height: 1.4;
  vertical-align: middle;
}

.btn-main:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(52, 180, 157, 0.5);
}

.btn-main:active {
  transform: translateY(0);
}

.btn-main.btn-line {
  background: transparent !important;
  border: 2px solid #34b49d !important;
  color: #34b49d !important;
}

.btn-main.btn-line:hover {
  background: #34b49d !important;
  color: #fff !important;
  box-shadow: 0 8px 24px rgba(52, 180, 157, 0.5);
}

/* ===== Icon Enhancements ===== */
.fa,
.fas,
.far,
.fab {
  display: inline-block;
  vertical-align: middle;
}

i.id-color {
  color: var(--color-primary);
}

/* ===== Performance Optimizations ===== */
.wow {
  visibility: hidden;
}

.wow.animated {
  visibility: visible;
}

/* Reduce animation intensity */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ===== Mobile Optimizations ===== */
@media (max-width: 767px) {
  h1 {
    font-size: 32px;
  }

  h2 {
    font-size: 28px;
  }

  h3 {
    font-size: 24px;
  }

  body,
  p {
    font-size: 16px;
  }

  .lead {
    font-size: 18px;
  }

  .btn-main {
    min-height: 38px;
    padding: 8px 20px;
    font-size: 15px;
    width: 100%;
    max-width: 300px;
    margin: 10px auto !important;
    line-height: 1.4;
  }

  .sponsor-card {
    padding: 30px 20px;
  }

  .sponsor-card img {
    max-height: 110px;
  }

  .sponsor-card.main-partner {
    padding: 40px 20px;
  }

  .sponsor-card.main-partner img {
    max-height: 140px;
  }
}

/* ===== Accessibility Improvements ===== */
a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

/* Skip to content link */
.skip-to-content {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--color-primary);
  color: #fff;
  padding: 8px 16px;
  text-decoration: none;
  z-index: 100;
}

.skip-to-content:focus {
  top: 0;
}

/* High contrast for better readability */
::selection {
  background: var(--color-primary);
  color: #fff;
}

/* ===== Loading States ===== */
@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

.loading-skeleton {
  animation: shimmer 2s infinite;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0.05) 0%,
    rgba(255, 255, 255, 0.1) 50%,
    rgba(255, 255, 255, 0.05) 100%
  );
  background-size: 1000px 100%;
}

/* ===== Smooth Scrolling ===== */
html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

/* ===== Golden Sphere Filter ===== */
.rotate-animation {
  filter: hue-rotate(-90deg) saturate(0.8) brightness(1.5) contrast(1.2);
  transition: filter 0.5s ease;
}

.rotate-animation:hover {
  filter: hue-rotate(-90deg) saturate(1) brightness(1.6) contrast(1.25);
}

/* ===== Takamul Logo Inline ===== */
.takamul-logo-inline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  vertical-align: middle;
  margin: 0 4px;
}

.takamul-inline-logo {
  height: 1.4em;
  width: auto;
  max-width: 100px;
  object-fit: contain;
  vertical-align: middle;
  filter: brightness(0) invert(1);
  opacity: 0.9;
  transition: opacity 0.3s ease;
}

.takamul-logo-inline:hover .takamul-inline-logo {
  opacity: 1;
}

/* ===== Header Partner Logos ===== */
.header-partner-logos {
  display: flex;
  align-items: center;
}

.header-partner-logo {
  height: 65px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.9;
  transition: all 0.3s ease;
}

.header-partner-logo.header-main-logo {
  height: 100px;
  max-width: 280px;
}

.header-partner-logo:hover {
  opacity: 1;
  transform: scale(1.05);
}

/* ===== Header Main Single Logo ===== */
.header-main-single-logo {
  transition: all 0.3s ease;
  opacity: 0.95;
  height: 110px;
  max-width: 400px;
}

.header-main-single-logo:hover {
  opacity: 1;
  transform: scale(1.02);
}

@media (max-width: 991px) {
  .header-partner-logo {
    height: 50px;
    max-width: 140px;
  }

  .header-partner-logo.header-main-logo {
    height: 75px;
    max-width: 200px;
  }

  .header-partner-logos {
    gap: 15px;
  }

  .header-main-single-logo {
    height: 85px !important;
    max-width: 320px !important;
  }
}

@media (max-width: 576px) {
  .header-partner-logo {
    height: 42px;
    max-width: 115px;
  }

  .header-partner-logo.header-main-logo {
    height: 60px;
    max-width: 170px;
  }

  .header-partner-logos {
    gap: 10px;
  }

  .header-main-single-logo {
    height: 70px !important;
    max-width: 260px !important;
  }

  #logo {
    padding: 10px 0;
  }

  header {
    padding: 10px 0 !important;
  }
}

/* ===== Footer Partner Logos ===== */
.footer-partner-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.footer-partner-logo {
  height: 85px;
  width: auto;
  max-width: 240px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.85;
  transition: all 0.3s ease;
}

.footer-partner-logo.footer-main-logo {
  height: 120px;
  max-width: 320px;
}

.footer-partner-logo:hover {
  opacity: 1;
  transform: scale(1.05);
}

@media (max-width: 767px) {
  .footer-partner-logo {
    height: 60px;
    max-width: 170px;
  }

  .footer-partner-logo.footer-main-logo {
    height: 85px;
    max-width: 250px;
  }

  .footer-partner-logos {
    gap: 25px;
  }

  /* Sponsors Section Mobile */
  .sponsor-card {
    padding: 20px !important;
    margin-bottom: 20px;
  }

  .sponsor-card h4 {
    font-size: 18px !important;
    margin-bottom: 15px;
  }

  .sponsor-card img {
    max-height: 75px !important;
    margin-bottom: 10px;
  }

  .sponsor-card.main-partner img {
    max-height: 100px !important;
  }

  #section-sponsors h2 {
    font-size: 26px !important;
  }

  #section-sponsors .lead {
    font-size: 15px !important;
  }

  .sponsors-grid {
    gap: 15px !important;
  }

  /* Additional Mobile Sections */
  section {
    padding: 40px 0 !important;
  }

  .container {
    padding-left: 15px;
    padding-right: 15px;
  }

  /* About Section */
  #section-about h2 {
    font-size: 26px !important;
  }

  #section-about p {
    font-size: 15px !important;
  }

  /* Why Attend Section */
  #section-why h2 {
    font-size: 26px !important;
  }

  /* Speakers/Tracks Section */
  #section-speakers h2 {
    font-size: 26px !important;
  }

  #section-speakers .col-lg-6 {
    margin-bottom: 30px;
  }

  /* Schedule Section */
  #section-schedule h2 {
    font-size: 26px !important;
  }

  .schedule-item {
    padding: 15px !important;
  }

  /* Tickets/Prizes Section */
  #section-tickets h2 {
    font-size: 26px !important;
  }

  /* Venue Section */
  #section-venue h2 {
    font-size: 26px !important;
  }

  #section-venue iframe {
    height: 300px !important;
  }

  /* Venue Images - Reduce height to half */
  #section-venue img {
    max-height: 300px !important;
    object-fit: cover;
    width: 100%;
  }

  /* Footer */
  footer {
    padding: 30px 0 !important;
  }

  footer .social-icons a {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }
}

/* Venue Section Images - Desktop */
#section-venue img {
  max-height: 400px;
  object-fit: cover;
  width: 100%;
  border-radius: 8px;
}

@media (max-width: 991px) {
  #section-venue img {
    max-height: 350px !important;
  }
}

/* Extra Small Devices (< 375px) */
@media (max-width: 374px) {
  h1 {
    font-size: 28px !important;
  }

  h2 {
    font-size: 24px !important;
  }

  h3 {
    font-size: 20px !important;
  }

  .btn-main {
    font-size: 14px;
    padding: 7px 16px;
    min-height: 36px;
    line-height: 1.4;
  }

  #defaultCountdown .countdown-section {
    min-width: 55px;
    max-width: 65px;
    padding: 6px 4px;
  }

  #defaultCountdown .countdown-amount {
    font-size: 16px !important;
  }

  #defaultCountdown .countdown-period {
    font-size: 8px !important;
  }

  .header-partner-logo.header-main-logo {
    height: 60px !important;
    max-width: 150px !important;
  }

  .header-main-single-logo {
    height: 100px !important;
    max-width: 200px !important;
  }
}

/* ===== Countdown Timer Enhancements ===== */
#defaultCountdown {
  background: transparent !important;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
  direction: ltr;
}

#defaultCountdown .countdown-section {
  background: transparent !important;
  border: none !important;
  padding: 10px 15px;
  margin: 0;
  border-radius: 8px;
  position: relative;
  display: inline-block;
  text-align: center;
}

#defaultCountdown .countdown-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 8px;
  z-index: -1;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

#defaultCountdown .countdown-amount {
  color: #fff !important;
  font-size: 32px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  text-shadow: 0 2px 10px rgba(194, 160, 64, 0.5);
  display: block;
  margin-bottom: 5px;
}

#defaultCountdown .countdown-period {
  color: #c2a040 !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.9;
  display: block;
}

/* Mobile Countdown Container */
.countdown-container {
  padding: 40px;
}

/* Compact Countdown Container */
.countdown-container-compact {
  padding: 25px 30px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.countdown-container-compact h3 {
  font-size: 22px;
  margin-bottom: 5px;
}

.countdown-container-compact p,
.countdown-container-compact .small {
  font-size: 14px;
}

.countdown-container-compact .fs-40 {
  font-size: 40px;
}

/* Add padding to section-about to prevent overlap with countdown box */
#section-about {
  padding-top: 100px !important;
}

/* ===== FORM VALIDATION STYLES ===== */

/* Valid input state */
.form-control.is-valid {
  border-color: #28a745 !important;
  padding-right: 2.5rem;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%2328a745' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: left calc(0.375em + 0.1875rem) center;
  background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.form-control.is-valid:focus {
  border-color: #28a745 !important;
  box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
}

/* Invalid input state */
.form-control.is-invalid {
  border-color: #dc3545 !important;
  padding-right: 2.5rem;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: left calc(0.375em + 0.1875rem) center;
  background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
  animation: shake 0.3s;
}

.form-control.is-invalid:focus {
  border-color: #dc3545 !important;
  box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

/* Shake animation for errors */
@keyframes shake {
  0%,
  100% {
    transform: translateX(0);
  }
  10%,
  30%,
  50%,
  70%,
  90% {
    transform: translateX(-5px);
  }
  20%,
  40%,
  60%,
  80% {
    transform: translateX(5px);
  }
}

/* Error message styling */
.form-error {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.875em;
  color: #dc3545;
}

/* Form hints styling */
.form-text {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.875em;
  color: #6c757d;
}

/* Select dropdown enhancement */
select.form-control {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23ffffff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: left 0.75rem center;
  background-size: 16px 12px;
  padding-left: 2.5rem;
}

/* Focus states */
.form-control:focus {
  border-color: #c2a040;
  box-shadow: 0 0 0 0.2rem rgba(194, 160, 64, 0.25);
}

/* Required field indicator */
.text-danger {
  color: #dc3545 !important;
}

/* Input placeholder */
.form-control::placeholder {
  color: #6c757d;
  opacity: 0.7;
}

/* Responsive adjustments */
@media (max-width: 767px) {
  .form-control {
    font-size: 16px; /* Prevent zoom on iOS */
  }
}

/* Compact Container Responsive */
@media (max-width: 991px) {
  .countdown-container-compact {
    padding: 20px 15px !important;
    margin: 0 10px;
  }

  .countdown-container-compact .row {
    gap: 15px !important;
  }

  .countdown-container-compact h3 {
    font-size: 20px !important;
  }

  .countdown-container-compact .small {
    font-size: 13px !important;
  }

  .countdown-container-compact .fs-40 {
    font-size: 35px !important;
  }
}

@media (max-width: 991px) {
  .countdown-container {
    padding: 30px 20px !important;
  }

  .countdown-container .row {
    flex-direction: column;
    gap: 20px;
  }

  .countdown-container .col-lg-3,
  .countdown-container .col-lg-4 {
    text-align: center;
    width: 100%;
  }

  .countdown-container h2 {
    font-size: 24px !important;
  }

  .countdown-container h4 {
    font-size: 16px !important;
  }
}

@media (max-width: 767px) {
  .countdown-container-compact {
    padding: 15px 10px !important;
    margin: 0 5px !important;
  }

  .countdown-container-compact h3 {
    font-size: 18px !important;
  }

  .countdown-container-compact .small {
    font-size: 12px !important;
  }

  .countdown-container-compact .fs-40 {
    font-size: 30px !important;
  }

  .countdown-container-compact .row {
    gap: 10px !important;
  }

  .countdown-container {
    padding: 20px 15px !important;
    margin: 0 10px;
  }

  #defaultCountdown {
    display: flex !important;
    justify-content: center;
    flex-wrap: nowrap !important;
    gap: 5px;
    direction: ltr;
  }

  #defaultCountdown .countdown-amount {
    font-size: 18px !important;
  }

  #defaultCountdown .countdown-section {
    padding: 8px 6px;
    margin: 0;
    min-width: 60px;
    max-width: 70px;
    flex: 1;
  }

  #defaultCountdown .countdown-period {
    font-size: 9px !important;
    white-space: nowrap;
  }

  .countdown-container .d-flex {
    justify-content: center !important;
  }

  .countdown-container .fs-60 {
    font-size: 40px !important;
  }
}

/* ===== COMPREHENSIVE MOBILE RESPONSIVE FIXES ===== */

/* Hero Section - Mobile Optimization */
@media (max-width: 767px) {
  /* Hero Section Height */
  #section-hero.mh-800 {
    min-height: 650px !important;
  }

  /* Hero Main Title */
  #section-hero h1.fs-120 {
    font-size: 42px !important;
    line-height: 1.1 !important;
    margin-bottom: 20px !important;
  }

  /* Hero Subtitle */
  #section-hero h3 {
    font-size: 18px !important;
    margin-bottom: 20px !important;
    line-height: 1.4 !important;
  }

  /* Takamul Logo Inline */
  .takamul-logo-inline {
    display: inline-flex;
    align-items: center;
    gap: 5px;
  }

  .takamul-inline-logo {
    height: 24px !important;
    width: auto !important;
  }

  /* Date & Location Container */
  #section-hero .d-block.d-md-flex {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    margin-bottom: 25px !important;
  }

  #section-hero .d-flex.justify-content-center.align-items-center {
    margin: 0 !important;
  }

  #section-hero .d-flex h4 {
    font-size: 16px !important;
    margin: 0 !important;
  }

  #section-hero .d-flex i {
    font-size: 18px !important;
    margin-left: 8px !important;
  }

  /* Hero Buttons */
  #section-hero .btn-main {
    display: block !important;
    width: 100% !important;
    max-width: 280px !important;
    margin: 8px auto !important;
    padding: 12px 20px !important;
    font-size: 15px !important;
  }

  /* Countdown Container - Better Mobile Layout */
  .countdown-container {
    padding: 15px 10px !important;
    margin: 0 5px !important;
    border-radius: 8px !important;
  }

  .countdown-container .row.g-4 {
    gap: 15px !important;
  }

  .countdown-container h2 {
    font-size: 20px !important;
    margin-bottom: 5px !important;
  }

  .countdown-container h4 {
    font-size: 14px !important;
  }

  /* Countdown Timer - Smaller */
  #defaultCountdown .countdown-section {
    min-width: 55px !important;
    max-width: 65px !important;
    padding: 6px 3px !important;
  }

  #defaultCountdown .countdown-amount {
    font-size: 16px !important;
  }

  #defaultCountdown .countdown-period {
    font-size: 8px !important;
  }

  /* Prize Section in Countdown */
  .countdown-container .fs-60 {
    font-size: 35px !important;
  }

  .countdown-container .ms-3 {
    margin-right: 10px !important;
    margin-left: 0 !important;
  }

  .countdown-container .ms-3 h4 {
    font-size: 13px !important;
    line-height: 1.3 !important;
  }
}

/* Header & Navigation - Mobile Fixes */
@media (max-width: 767px) {
  /* Header Container */
  header .container {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  /* Header Partner Logos */
  .header-partner-logos {
    gap: 8px !important;
  }

  .header-partner-logo.header-main-logo {
    height: 48px !important;
    max-width: 125px !important;
    object-fit: contain !important;
  }

  .header-main-single-logo {
    height: 65px !important;
    max-width: 240px !important;
  }

  /* Hide Desktop Register Button */
  header .de-flex-col .btn-main {
    display: none !important;
  }

  /* Menu Button Positioning */
  .menu_side_area {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  #menu-btn {
    position: relative !important;
    right: 0 !important;
    left: auto !important;
  }

  /* Mobile Menu Dropdown - RTL */
  #mainmenu {
    right: 0 !important;
    left: auto !important;
    width: 280px !important;
    padding: 20px 15px !important;
    text-align: right !important;
    display: block !important;
    flex-direction: column !important;
  }

  #mainmenu > li {
    display: block !important;
    width: 100% !important;
    float: none !important;
    margin: 0 !important;
  }

  #mainmenu li {
    text-align: right !important;
    display: block !important;
  }

  #mainmenu a.menu-item {
    text-align: right !important;
    padding: 12px 10px !important;
    font-size: 16px !important;
    display: block !important;
    width: 100% !important;
  }
}

/* Container & Spacing - Mobile */
@media (max-width: 767px) {
  /* Container Padding */
  .container {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  /* Section Padding */
  section {
    padding: 35px 0 !important;
  }

  /* Add top padding to about section to prevent overlap */
  #section-about {
    padding-top: 80px !important;
  }

  /* Section with no-top/no-bottom */
  section.no-top {
    padding-top: 0 !important;
  }

  section.no-bottom {
    padding-bottom: 0 !important;
  }

  /* Absolute Positioned Content in Hero */
  #section-hero .abs.abs-centered {
    width: 90% !important;
    padding: 0 10px !important;
  }
}

/* Typography - Mobile Adjustments */
@media (max-width: 767px) {
  /* General Headings */
  h1 {
    font-size: 32px !important;
  }

  h2 {
    font-size: 26px !important;
  }

  h3 {
    font-size: 20px !important;
  }

  h4 {
    font-size: 16px !important;
  }

  /* Subtitle */
  .subtitle {
    font-size: 14px !important;
    margin-bottom: 15px !important;
  }

  /* Button Text */
  .btn-main span {
    font-size: 15px !important;
  }
}

/* Extra Small Devices (< 375px) - Enhanced */
@media (max-width: 374px) {
  /* Hero Title Even Smaller */
  #section-hero h1.fs-120 {
    font-size: 36px !important;
  }

  #section-hero h3 {
    font-size: 16px !important;
  }

  /* Header Logos Smaller */
  .header-partner-logo.header-main-logo {
    height: 42px !important;
    max-width: 115px !important;
  }

  .header-main-single-logo {
    height: 58px !important;
    max-width: 200px !important;
  }

  /* Countdown Ultra Compact */
  #defaultCountdown .countdown-section {
    min-width: 50px !important;
    max-width: 60px !important;
    padding: 5px 2px !important;
  }

  #defaultCountdown .countdown-amount {
    font-size: 14px !important;
  }

  #defaultCountdown .countdown-period {
    font-size: 7px !important;
  }

  /* Buttons Full Width */
  #section-hero .btn-main {
    max-width: 100% !important;
    padding: 10px 15px !important;
    font-size: 14px !important;
  }

  /* Countdown Container Ultra Compact */
  .countdown-container {
    padding: 12px 8px !important;
    margin: 0 3px !important;
  }

  .countdown-container h2 {
    font-size: 18px !important;
  }

  .countdown-container h4 {
    font-size: 12px !important;
  }

  .countdown-container .fs-60 {
    font-size: 30px !important;
  }
}

/* Landscape Mobile Phones */
@media (max-width: 767px) and (orientation: landscape) {
  #section-hero.mh-800 {
    min-height: 500px !important;
  }

  #section-hero h1.fs-120 {
    font-size: 36px !important;
  }

  #section-hero .btn-main {
    padding: 10px 20px !important;
    margin: 5px auto !important;
  }

  .countdown-container {
    padding: 12px 10px !important;
  }
}

/* Tablets (768px - 991px) - Minor Adjustments */
@media (min-width: 768px) and (max-width: 991px) {
  #section-hero h1.fs-120 {
    font-size: 64px !important;
  }

  #section-hero h3 {
    font-size: 22px !important;
  }

  .header-partner-logo.header-main-logo {
    height: 65px !important;
    max-width: 170px !important;
  }

  .header-main-single-logo {
    height: 75px !important;
    max-width: 280px !important;
  }

  .countdown-container {
    padding: 25px 15px !important;
  }

  #defaultCountdown .countdown-section {
    min-width: 70px !important;
    max-width: 80px !important;
  }
}

/* ===== RESPONSIVE VIDEO WRAPPER ===== */

/* Video Wrapper - 16:9 Aspect Ratio */
.video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 ratio */
  height: 0;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.2);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: inherit;
}

/* Hover Effect */
.video-wrapper:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 50px rgba(1, 254, 132, 0.2) !important;
}

/* Mobile Adjustments for Video */
@media (max-width: 767px) {
  .video-wrapper {
    padding-bottom: 56.25%; /* Keep 16:9 ratio on mobile */
    margin-bottom: 20px;
  }
  
  .video-wrapper:hover {
    transform: translateY(-2px);
  }
}

/* Tablet Adjustments */
@media (min-width: 768px) and (max-width: 991px) {
  .video-wrapper {
    padding-bottom: 56.25%;
  }
}

/* ===== HEADER MENU AND BUTTON ALIGNMENT ===== */

/* Desktop: Natural RTL order (Right to Left) and center button vertically */
@media (min-width: 992px) {
  /* Ensure menu items display in natural RTL order (first item on right) */
  header #mainmenu {
    display: flex !important;
    flex-direction: row !important;
    direction: rtl !important;
  }
  
  header .header-col-mid #mainmenu {
    display: flex !important;
    flex-direction: row !important;
    direction: rtl !important;
  }
  
  /* Center register button vertically */
  header .de-flex-col.order-2.order-md-4 {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  
  header .de-flex-col.order-2.order-md-4 .btn-main {
    margin: 0 !important;
    width: auto !important;
  }
}

/* Mobile: Keep original order (no changes) */
@media (max-width: 991px) {
  header #mainmenu {
    flex-direction: column !important;
  }
}

/* ===== FIX PAGE HEIGHT - REMOVE EXTRA SPACE BELOW FOOTER ===== */
html {
  height: 100%;
}

body {
  min-height: 100%;
  height: auto;
  display: flex;
  flex-direction: column;
}

#wrapper {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
}

footer {
  margin-top: auto;
  flex-shrink: 0;
}
