/* Hero Section - Using picsum.photos for working background image */
:root {
  --primary-gold: #c9a227;
  --primary-dark: #051838;
  --bg-cream: #d4c89a;
  --white: #ffffff;
  --text-dark: #333333;
}

.top-menu {
  background: #fcfcfc;
}

.hero-section {
  position: relative;
  min-height: 500px;
  background: url("../images/banner/webinar-desktop.webp") center / cover no-repeat;
  padding: 30px 0;
}

/* .hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(26, 39, 68, 0.9) 0%,
    rgba(26, 39, 68, 0.7) 40%,
    rgba(26, 39, 68, 0.3) 70%,
    transparent 100%
  );
} */

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
}

/* .hero-content::before {
  content: "";
  position: absolute;
  top: -35px;
  bottom: -35px;
  right: 0;
  left: calc(-50vw + 50%);
  width: calc(100% + 50vw - 50%);
  background: linear-gradient(to right,
      rgba(0, 0, 0, 0.9) 0%,
      rgba(0, 0, 0, 0.7) 40%,
      rgba(0, 0, 0, 0.3) 70%,
      transparent 100%);
  z-index: -1;
} */

.event-info {
  font-size: 0.9rem;
  opacity: 0.9;
}

.event-info i {
  color: var(--white);
}

.hero-title {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 20px;
  line-height: 1.2;
  animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
  font-size: 1rem;
  opacity: 0.9;
  max-width: 400px;
  line-height: 1.6;
}

.dt {
  font-size: 1.5rem;
  font-weight: bold;
}

/* Registration Card */
.registration-card {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 2;
  animation: slideInRight 1s ease-out;
}

.card-header-custom {
  padding: 20px 20px 15px 20px;
  text-align: center;
  position: relative;
}

.card-header-custom h3 {
  margin: 0;
  font-size: 1.3rem;
}

.text-underline {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: #00a2e1;
  border-radius: 2px;
}

.card-body-custom {
  padding: 25px;
}

.form-label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-dark);
}

.form-check-label {
  font-size: 0.8rem;
  color: #666;
  line-height: 1.4;
}

/* .form-control,
.form-select {
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 6px 12px;
  font-size: 0.9rem;
  transition: all 0.3s ease;
} */
.form-control,
.form-select {
  width: 100%;
  padding: 8px 15px;
  color: #111 !important;
  outline: none;
  font-weight: 600;
  border-radius: 10px;
  border: 1px solid #111;
  font-size: 18px;
}

#phone {
  padding-left: 65px !important;
}

.form-control::placeholder {
  color: #000 !important;
  opacity: 1;
  font-family: "Open Sans", sans-serif;
}

.form-control::-webkit-input-placeholder {
  color: #000 !important;
  font-family: "Open Sans", sans-serif;
}

.form-control::-moz-placeholder {
  color: #000 !important;
  font-family: "Open Sans", sans-serif;
  opacity: 1;
}

.form-control:-ms-input-placeholder {
  color: #000 !important;
  font-family: "Open Sans", sans-serif;
}

input.form-control::placeholder {
  color: red;
}

/* .form-control:focus,
.form-select:focus {
  border-color: var(--primary-gold);
  box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.2);
} */

.form-control.is-invalid:focus,
.was-validated .form-control:invalid:focus,
.form-control.is-valid:focus,
.was-validated .form-control:valid:focus {
  border-color: none;
  box-shadow: none;
}

.form-control.is-invalid,
.form-select.is-invalid {
  border-color: #dc3545;
}

.invalid-feedback {
  font-size: 0.8rem;
}

.iti__flag-container {
  font-size: 0.9rem;
  padding: 0 3px;
}

.btn-book {
  background-color: var(--primary-dark);
  border: none;
  padding: 9px 24px;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  font-size: 15px;
}

.btn-book:hover,
.btn-book:active,
.btn-book:focus {
  background-color: #2a3a5c;
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(26, 39, 68, 0.4);
}

.limited-seats {
  font-size: 0.8rem;
  color: #666;
}

/* Session Section */
.session-section {
  padding: 80px 0;
}

.session-card {
  background: var(--white);
  border-radius: 8px;
  padding: 50px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.section-title {
  color: var(--primary-dark);
  font-size: 1.8rem;
  position: relative;
}

.session-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 4.5rem;
  row-gap: 1.3rem;
  padding-left: 1.5rem;
}

.session-list li {
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 10px;
  font-family: "Open Sans", sans-serif;
}

.session-list li::marker {
  color: var(--primary-gold);
}


.session-item p {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.6;
  padding-left: 20px;
}

/* Host Section */
.host-section {
  background-color: #F5F8F8;
  padding: 80px 0;
}

.host-image-wrapper {
  width: 150px;
  height: 150px;
  margin: 0 auto;
  border-radius: 50%;
  overflow: hidden;
  border: 5px solid #00A2E19C;
  animation: pulse 2s infinite;
}

.host-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.host-title {
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.host-description {
  font-size: 0.95rem;
  line-height: 1.8;
  max-width: 700px;
}

.justify-self-center {
  justify-self: center;
}

#requestacallback,
.whatsapp-sticky {
  display: none;
}

/* Success Modal */
.success-icon {
  font-size: 4rem;
  color: #28a745;
}

.fail-icon {
  font-size: 4rem;
  color: #dc3545;
}

.modal-content {
  border-radius: 12px;
  border: none;
}

.hide {
  display: none;
}

#valid-msg {
  color: #00c900;
}

#error-msg {
  color: #dc3545;
  font-size: 0.8rem;
  margin-top: .25rem;
  border-color: #dc3545;
}

footer {
  display: none;
}

/* body { font-family: Arial; padding:30px; } */
/* label { font-weight:600; display:block; margin-bottom:6px; }
input, select, button { width:100%; padding:10px; margin-bottom:15px; } */
.inline {
  display: flex;
  gap: 10px;
}

.inline>div {
  flex: 1;
}

.readonly {
  background: #f2f2f2;
}

.error {
  color: #b00020;
  font-size: 13px;
}

.ok {
  color: #0b6b0b;
  font-size: 13px;
}

.iti__country-list {
  display: none !important;
}

.phone-wrapper {
  display: flex;
}

.iti {
  width: 100%;
}

.country-code {
  width: 70px;
  border-right: 0;
  padding: 0 10px 0 15px;
  border-radius: 10px 0 0 10px;
  background-color: #e9ecef;
}

.mobile-input {
  /* border-left: 0; */
  border-radius: 0 10px 10px 0;
}


.iti__flag-container {
  display: none !important;
}
.banner-form{
      width: 480px;
    justify-self: right;
}
/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(201, 162, 39, 0.4);
  }

  50% {
    transform: scale(1.02);
    box-shadow: 0 0 20px 5px rgba(201, 162, 39, 0.2);
  }
}

/* Responsive Styles */
@media only screen and (min-device-width: 768px) and (max-device-width: 1121px) {
.hero-section{
    background-size: contain;
    background-position: top center;
}
}
@media only screen and (min-device-width: 555px) and (max-device-width: 767px) {
.registration-card{
           margin-top: 20px;
    position: absolute;
    top: 490px;
    left: 0;
    right: 0;
}
}
@media only screen and (min-device-width: 380px) and (max-device-width: 545px) {
  .registration-card {
    top: 260px;
  }
}
@media (max-width: 991px) {
  .hero-section {
    padding: 40px 0;
  }

  .hero-content {
    text-align: center;
    margin-bottom: 40px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    max-width: 100%;
    margin: 0 auto;
  }

  .hero-overlay {
    background: linear-gradient(to bottom, rgba(26, 39, 68, 0.85) 0%, rgba(26, 39, 68, 0.7) 100%);
  }

  

  .hero-content::before {
    bottom: -23px;
  }
}

@media (max-width: 767px) {
  .hero-title {
    font-size: 1.6rem;
  }

  .hero-section {
    background: url(../images/banner/webinar-mobile.webp) top center / cover no-repeat;
    position: relative;
    background-size: contain;
    background-position: top center;
    aspect-ratio: 9 / 20;
  }
  .banner-form{
    width: 100%;
  }
  

  .session-section,
  .host-section,
  .hero-section {
    padding: 40px 20px;
  }

  .session-card {
    padding: 30px 20px;
  }

  .section-title {
    font-size: 1.4rem;
  }

  .session-list {
    grid-template-columns: 1fr;
    row-gap: 1rem;
  }

  .session-item {
    text-align: center;
  }

  .session-item p {
    padding-left: 0;
  }

  .host-title {
    font-size: 1.4rem;
  }
}

@media (max-width: 576px) {
  .card-body-custom {
    padding: 20px 15px;
  }

  .btn-book {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
}

@media (min-width: 576px) {
  .modal-dialog {
    max-width: 500px;
    margin: 1.75rem auto;
  }
}
@media (max-width: 379px) {
  .registration-card{
        top: 218px;
  }
  .card-header-custom h3{
        font-size: 0.8rem;
  }
  .form-control, .form-select {
        font-size: 12px;
  }
  .form-check-label {
    font-size: 0.6rem;
  }
}
/* Smooth scroll behavior */
html {
  scroll-behavior: smooth;
}

/* Form validation styles */
.was-validated .form-control:valid,
.form-control.is-valid {
  border-color: #28a745;
  background-image: none;
}

.shake {
  animation: shake 0.5s ease-in-out;
}

@keyframes shake {

  0%,
  100% {
    transform: translateX(0);
  }

  20%,
  60% {
    transform: translateX(-5px);
  }

  40%,
  80% {
    transform: translateX(5px);
  }
}