* {
  margin: 0;
  padding: 0;
  outline: none;
  text-decoration: none;
  list-style: none;
  box-sizing: border-box;
}

.clearfix:after {
  content: " ";
  visibility: hidden;
  display: block;
  height: 0;
  clear: both;
}

body {
  font-family: poppins, arial, sans-serif;
  background-color: whitesmoke;
}

.modal {
  width: 96%;
  max-width: 1000px;
  height: 550px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 3px;
  overflow: hidden;
  background-color: white;
  box-shadow: 5px 5px 30px rgba(0, 0, 0, .3);
}

.modal .modal-product {
  width: 40%;
  height: 100%;
  float: left;
  position: relative;
}

.modal .modal-product .product {
  width: 100%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
}

.modal .modal-product .product .product-slideshow {
  max-width: 350px;
  margin: 0 auto;
  position: relative;
}

.modal .modal-product .product .product-name {
  color: #111;
  font-size: 1.7rem;
  font-weight: 300;
  line-height: 2rem;
  text-align: center;
  margin-top: -22px;
}

.modal .modal-product .product .product-code-name {
  font-size: .8rem;
  font-weight: 300;
  text-align: center;
  margin: 8px auto 5px;
}

.modal .modal-product .product .product-price {
  font-size: 1.5rem;
  font-weight: 300;
  letter-spacing: .18rem;
  text-align: center;
}

.modal .modal-product .round-shape {
  width: 125%;
  height: 150%;
  position: absolute;
  top: 50%;
  left: 38%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background-color: #033f98;
  box-shadow: 0 0 25px rgba(0, 0, 0, .3);
  z-index: 1;
}

.modal .modal-info {
  width: 60%;
  height: 100%;
  float: right;
  position: relative;
}

.modal .modal-info .info {
  width: 90%;
  height: 85%;
  position: absolute;
  top: 50%;
  left: 5%;
  transform: translate(0%, -50%);
}

.modal .modal-info .info h2 {
  font-size: 2.25rem;
  margin-left: 1rem;
  margin-bottom: 10px;
}

/* Modern Marquee Animation - FIXED (moved outside media query) */
.marquee-container {
  width: 90%;
  margin: 10px 0 10px 1rem;
  overflow: hidden;
  background: rgba(10, 4, 135, 0.1);
  padding: 8px;
  border-radius: 5px;
}

.marquee-text {
  display: inline-block;
  white-space: nowrap;
  animation: marquee 10s linear infinite;
  color: #0a0487;
  font-weight: 600;
  font-size: 0.9rem;
}

@keyframes marquee {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(-100%);
  }
}

/* Hover pause for marquee */
.marquee-container:hover .marquee-text {
  animation-play-state: paused;
}

.modal .modal-info .info form .form-list {
  margin-top: 1.5rem;
  margin-left: 3.5rem;
}

.modal .modal-info .info form .form-list .form-list-row {
  margin: 1rem 0;
}

.modal .modal-info .info form .form-list .form-list-row label {
  font-size: 1rem;
}

.modal .modal-info .info form .form-list .form-list-row input {
  width: 70%;
  font-size: 1rem;
  padding: .4rem 0;
  border: none;
  display: inline-block;
  border-bottom: solid 2px #999;
  background-color: transparent;
  transition: all .3s ease;
}

.modal .modal-info .info form .form-list .form-list-row input:focus {
  border-color: #cdb196;
}

.modal .modal-info .info form .form-list .form-list-row .user .fa-user {
  color: #999;
  font-size: 1rem;
}

.modal .modal-info .info form .form-list .form-list-row .user input {
  position: relative;
  left: -16px;
  padding-left: 30px;
}

.modal .modal-info .info form .form-list .form-list-row .number .fa-credit-card {
  color: #999;
  font-size: 1rem;
}

.modal .modal-info .info form .form-list .form-list-row .number input {
  position: relative;
  left: -20px;
  padding-left: 30px;
}

.modal .modal-info .info form .form-list .form-list-row .date {
  float: left;
}

.modal .modal-info .info form .form-list .form-list-row .date input {
  width: 60px;
  text-align: center;
}

.modal .modal-info .info form .form-list .form-list-row .date .year {
  margin-left: 1.5rem;
}

.modal .modal-info .info form .form-list .form-list-row .cvc {
  float: left;
  margin-left: 6rem;
  text-align: center;
}

.modal .modal-info .info form .form-list .form-list-row .cvc .fa-question-circle {
  color: dodgerblue;
  display: inline-block;
  position: relative;
  left: .75rem;
}

.modal .modal-info .info form .form-list .form-list-row .cvc input {
  width: 70px;
  text-align: center;
}

.modal .modal-info .info form .form-list .form-list-row .checkbox {
  margin-top: 2rem;
}

.modal .modal-info .info form .form-list .form-list-row .checkbox input {
  width: auto;
}

.modal .modal-info .info form .form-list .form-list-row .checkbox span {
  font-size: .8rem;
}

.modal .modal-info .info form button {
  color: white;
  font-size: 1rem;
  margin-left: 1rem;
  padding: 1rem 2.5rem;
  position: absolute;
  bottom: 0;
  border: none;
  border-radius: 3px;
  background-color: #0a0487;
  box-shadow: 0 0 20px rgba(0, 0, 0, .25);
  transition: all .3s ease;
}

.modal .modal-info .info form button:hover {
  background-color: #01431b;
}

/* Tabs */
.payment-tabs {
  display: flex;
  margin: 20px 0 20px 1rem;
  gap: 10px;
  width: 90%;
}

.payment-tabs button {
  flex: 1;
  padding: 10px;
  border: none;
  background: #eee;
  cursor: pointer;
  border-radius: 5px;
  transition: 0.3s;
}

.payment-tabs button.active {
  background: #0a0487;
  color: white;
}

/* Tab Content */
.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

/* Select styling */
select {
  width: 70%;
  padding: 8px;
  border: none;
  border-bottom: 2px solid #999;
  background: transparent;
}

.company-logo {
  text-align: center;
  z-index: 2;
  position: relative;
}

/* Animated Logo Styles */
.logo-image {
  max-width: 150px;
  height: auto;
  margin-bottom: 15px;
  background-color: white;
  border-radius: 10px;
  padding: 10px;
  animation: float 3s ease-in-out infinite, gentlePulse 2s ease-in-out infinite;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Floating Animation */
@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-8px);
  }
  100% {
    transform: translateY(0px);
  }
}

/* Gentle Pulse Animation */
@keyframes gentlePulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
  }
}

/* Hover effect */
.logo-image:hover {
  transform: scale(1.08);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  animation-play-state: paused;
  transition: all 0.3s ease;
}

/* Responsive Design */
@media (max-width: 768px) {
  .modal {
    height: auto;
    min-height: 600px;
  }
  
  .modal .modal-product {
    width: 100%;
    height: 250px;
    float: none;
  }
  
  .modal .modal-info {
    width: 100%;
    float: none;
    height: auto;
    min-height: 400px;
  }
  
  .modal .modal-info .info {
    position: relative;
    transform: none;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    height: auto;
  }
  
  .form-list {
    margin-left: 0 !important;
  }
  
  button {
    position: relative !important;
    margin-top: 20px;
    margin-bottom: 20px;
  }
}