/* ==========================================================================
   AHMAD ZAMMAR
   ========================================================================== */

/* --- Reset & Font Setup --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Delight', 'League Spartan', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: #ffffff;
  color: #000000;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* --- Layout Containers --- */
section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 5rem;
  padding-bottom: 5rem;
}

@media (min-width: 1024px) {
  section {
    height: 100vh;
    padding-top: 8rem;
    padding-bottom: 8rem;
  }
}

.container {
  width: 100%;
  margin-right: auto;
  margin-left: auto;
  padding-right: 1.5rem;
  padding-left: 1.5rem;
  z-index: 10;
}

@media (min-width: 640px)  { .container { max-width: 640px; } }
@media (min-width: 768px)  { .container { max-width: 768px; } }
@media (min-width: 1024px) { .container { max-width: 1024px; } }
@media (min-width: 1280px) { .container { max-width: 1280px; } }

/* --- Background Image & Overlays --- */
.bg-wrapper {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 1;
}

.bg-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.bg-overlay-dark {
  position: absolute;
  inset: 0;
  background-color: rgba(255, 255, 255, 0.5);
}

/* --- Main Glassmorphic Card --- */
.glass-card {
  position: relative;
  display: inline-block;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.75rem;
  overflow: hidden;
}

.grid-cols-2 {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
}

@media (min-width: 1024px) {
  .grid-cols-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.card-image-box {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 250px;
}

.card-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --- Content & Typography --- */
.content-box {
  text-align: center;
  padding: 1.25rem;
}

.content-max-w {
  max-width: 32rem;
  margin-left: auto;
  margin-right: auto;
}

.title {
  font-size: 1.875rem;
  line-height: 2.25rem;
  font-weight: 600;
  text-transform: uppercase;
}

.subtitle {
  color: #000000;
  margin-top: 2rem;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.6;
}

.subtitle2 {
  color: #000000;
  margin-top: 2.5rem;
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.6;
}

/* --- Form Styles --- */
.form-wrapper {
  margin-top: 2.5rem;
}

.form-glass-input {
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 0.375rem;
  max-width: 32rem;
  margin-left: auto;
  margin-right: auto;
}

.subscription-form {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: solid;
  border-radius: 0.375rem;
  border-color: #a0a0a0;
  background: transparent;
  margin-top: 1.75rem;
}

.subscription-form input[type="email"] {
  width: 100%;
  padding: 1rem;
  color: #000000;
  border: none;
  background: transparent;
  font-size: 0.875rem;
  outline: none;
}

.subscription-form input[type="email"]::placeholder {
  color: #a0a0a0s;
  opacity: 0.8;
}

.submit-btn {
  padding: 0.5rem 1.5rem;
  margin-right: 0.5rem;
  border: none;
  color: #ffffff;
  font-weight: 600;
  font-size: 0.875rem;
  border-radius: 0.375rem;
  backdrop-filter: blur(40px);
  background-color: #FF0800;
  cursor: pointer;
  transition: all 0.5s ease;
  white-space: nowrap;
}

.submit-btn:hover {
  background-color: #6A0D2F;
}

/* --- Action Buttons --- */
.action-buttons {
  display: flex;
  align-items: center;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  border-radius: 9999px;
  max-width: 20rem;
  margin: 2.5rem auto 0 auto;
}

.btn-half {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  width: 50%;
  border: 1px solid rgba(255, 255, 255, 0.6);
  color: #ffffff;
  font-weight: 600;
  font-size: 0.875rem;
  background: transparent;
  cursor: pointer;
  transition: all 0.5s ease;
}

.btn-left {
  border-top-left-radius: 0.375rem;
  border-bottom-left-radius: 0.375rem;
  border-right: none;
}

.btn-right {
  border-top-right-radius: 0.375rem;
  border-bottom-right-radius: 0.375rem;
}

.btn-half:hover {
  background-color: #2563eb;
  border-color: #2563eb;
}