:root {
  --primary-color: #0f172a;
  --primary-light: #334155;
  --accent-color: #f59e0b;
  --accent-hover: #d97706;
  --bg-color: #f8fafc;
  --card-bg: #ffffff;
  --text-color: #1e293b;
  --text-light: #64748b;
  --border-color: #e2e8f0;
  --success-color: #10b981;
  --danger-color: #ef4444;
  --radius: 0.5rem;
  --shadow:
    0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

body {
  font-family:
    "Inter",
    system-ui,
    -apple-system,
    sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--bg-color);
  margin: 0;
  padding: 0;
}
video {
    max-height: 37vh;
}

.container {
  max-width: 1200px;
  margin: 40px auto;
  padding: 20px;
  background: var(--card-bg);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  min-height: 600px;
}

.split-layout {
  padding: 0;
  /* Remove padding for split layout */
  overflow: hidden;
  /* For rounded corners with image */
  display: flex;
  flex-direction: row;
  position: relative;
  background-size: 400% 400%;
  animation: gradientShift 15s ease infinite;
}

.split-layout::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 0;
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

.form-section {
  flex: 0 0 50%;
  max-width: 50%;
  padding: 40px;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
}

.carousel-section {
  flex: 0 0 50%;
  max-width: 50%;
  background-color: #eee;
}

/* Close button general styling */
.close-video-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  background: #fff;
  color: #000;
  border: none;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

@media (max-width: 767px) {
  .container {
    margin: 0;
    border-radius: 0;
    min-height: 100vh;
  }
  .split-layout {
    flex-direction: column-reverse;
    height: auto;
  }
  .form-section {
    flex: 1 1 auto;
    max-width: 100%;
    padding: 20px;
    vertical-align: middle;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
  }
  .carousel-section {
    display: flex;
    position: relative;
    width: 100%;
    height: auto;
    background-color: #fff;
    align-items: center;
    justify-content: center;
  }


  .carousel-section video {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
  }
  .close-video-btn {
    display: flex;
    top: 10px;
    right: 10px;
    width: 35px;
    height: 35px;
    font-size: 22px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  }
  .brand-text {
    font-size: 11px !important;
    white-space: nowrap;
    margin-bottom: 25px !important;
  }
  .logo {
    max-width: 160px !important;
  }
}

@media (min-width: 768px) {
  .carousel-section {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: #fff;
    position: relative;
  }

  .carousel-section video {
    width: 100%;
    height: auto;
    max-height: 100%;
    object-fit: contain;
  }
  .brand-text{font-size: 9px !important;}
}

.logo {
  max-width: 200px;
  margin-bottom: 20px;
  display: block;
}

.brand-text {
  font-size: 15px;
  margin-bottom: 20px;
}

h1,
h2,
h3 {
  color: var(--primary-color);
  margin-top: 0;
}

h1 {
  font-size: 1.8rem;
  font-weight: 700;
  text-align: left;
  margin-bottom: 1.5rem;
}

/* Form Styles */
.form-group {
  margin-bottom: 1.25rem;
}

label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--primary-light);
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
select,
textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: inherit;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
  box-sizing: border-box;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.1);
}

button {
  display: inline-block;
  width: 100%;
  padding: 0.875rem;
  background-color: var(--primary-color);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition:
    background-color 0.2s,
    transform 0.1s;
}

button:hover {
  background-color: var(--primary-light);
}

/* Multi-step Styles */
.step {
  display: none;
}

.step.active {
  display: block;
  animation: fadeIn 0.5s;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.step-actions {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
  gap: 20px;
}

.btn-prev {
  background-color: #94a3b8;
  width: auto;
  padding: 0.875rem 2rem;
}

.btn-next {
  background-color: var(--accent-color);
  width: auto;
  padding: 0.875rem 2rem;
}

.btn-next:hover {
  background-color: var(--accent-hover);
}

/* Owl Carousel Customization */
.owl-carousel .item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 600px;
}

/* Language Switcher */
.language-switcher {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  margin-bottom: 1rem;
}

.language-switcher a {
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  color: var(--text-light);
}

.language-switcher a.active {
  color: var(--primary-color);
  font-weight: 700;
}

.owl-dots {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-direction: row;
  text-align: center;
}

/* Service Options Grid */
.service-options-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 0.5rem;
}

.service-option-card {
  border: 2px solid var(--border-color);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.2s ease;
  background: #fff;
  position: relative;
}

.service-option-card:hover {
  border-color: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.service-option-card.active {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 2px var(--accent-color);
}

.service-option-card img {
  width: 100%;
  object-fit: cover;
  display: block;
}

.service-option-card .card-title {
  padding: 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  text-align: center;
  color: var(--text-color);
  background: #fff;
}

.service-option-card.active .card-title {
  color: var(--accent-color);
  background: #fffbf0;
}

/* Image Upload Styles */
.image-upload-area {
  border: 2px dashed var(--border-color);
  border-radius: var(--radius);
  padding: 1rem;
  transition: all 0.3s ease;
  min-height: 120px;
}

.image-upload-area.dragover {
  border-color: var(--accent-color);
  background: rgba(245, 158, 11, 0.05);
}

.upload-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 1rem;
  color: var(--text-light);
  transition: all 0.2s ease;
}

.upload-placeholder:hover {
  color: var(--accent-color);
}

.plus-icon {
  width: 50px;
  height: 50px;
  border: 2px dashed var(--border-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 300;
  color: var(--text-light);
  margin-bottom: 0.5rem;
  transition: all 0.2s ease;
}

.upload-placeholder:hover .plus-icon {
  border-color: var(--accent-color);
  color: var(--accent-color);
}

.image-preview-container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.image-preview-item {
  position: relative;
  width: 80px;
  height: 80px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.image-preview-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.remove-image {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 20px;
  height: 20px;
  padding: 0;
  background: rgba(239, 68, 68, 0.9);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.remove-image:hover {
  background: #dc2626;
}

/* Privacy Checkbox Styles */
.privacy-checkbox {
  margin-top: 1rem;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  font-weight: normal;
}

.checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  flex-shrink: 0;
  cursor: pointer;
  accent-color: var(--accent-color);
}

.checkbox-text {
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--text-light);
}

.checkbox-text a {
  color: var(--accent-color);
  text-decoration: underline;
}

.checkbox-text a:hover {
  color: var(--accent-hover);
}
