

/* ========= Base ========= */
:root {
  --brand: #00a3ed;
  --brand-2: #078ecc;
  --text: #222;
  --muted: #666;
  --bg: #ffffff;
  --card: #ffffff;
  --border: #e7e7e7;
  --danger: #d32f2f;
  --container: 1200px;
  --gap: 16px;
  --radius: 14px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html,
body {
  height: 100%;
}
body {
  direction: rtl;
  background: var(--bg);
  color: var(--text);
}

a {
  color: inherit;
  text-decoration: none;
}
.font-Poppins {
  font-family: "Poppins", sans-serif !important;
}

/* Utilities */
.ltr {
  direction: ltr !important;
}
.rtl {
  direction: rtl !important;
}

/* Container */
.container {
  width: min(100%, var(--container));
  margin-inline: auto;
  padding-inline: 16px;
}

/* ========= Header / Nav ========= */
.header {
  position: sticky;
  top: 0;
  background: #fff;
  border-bottom: 1px solid var(--border);
  z-index: 100;
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
}
.brand img {
  height: 40px;
}

/* Desktop nav */
.nav {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav__links {
  display: flex;
  gap: 10px;
  align-items: center;
}
.nav__link {
  padding: 8px 10px;
  border-radius: 10px;
  transition: background 0.2s ease;
  font-weight: bold;
  font-size: 17px;
}
.nav__link:hover {
  background: #f6f6f6;
}

/* Language dropdown */
.lang {
  position: relative;
}
.lang__btn {
  background: #fff;
  border: none;
  padding: 6px 10px;
  cursor: pointer;
}
.lang__btn img {
  height: 16px;
  margin-inline-start: 6px;
}
.lang__menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 6px;
  min-width: 160px;
  display: none;
}
.lang__menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 8px;
}
.lang__menu a:hover {
  background: #f6f6f6;
}
.lang.open .lang__menu {
  display: block;
}

/* Hamburger (mobile) */
.hamburger {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: 12px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: #fff;
}
.hamburger span,
.hamburger span::before,
.hamburger span::after {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  background: #222;
  position: relative;
  transition: transform 0.25s ease;
}
.hamburger span::before {
  position: absolute;
  top: -6px;
}
.hamburger span::after {
  position: absolute;
  top: 6px;
}
.hamburger.active span {
  background: transparent;
}
.hamburger.active span::before {
  transform: translateY(6px) rotate(45deg);
}
.hamburger.active span::after {
  transform: translateY(-6px) rotate(-45deg);
}

/* Mobile panel */
.mobile-panel {
  position: fixed;
  inset-inline: 0;
  top: 64px;
  background: #fff;
  border-top: 1px solid var(--border);
  transform: translateY(-12px);
  opacity: 0;
  pointer-events: none;
  transition: all 0.2s ease;
  z-index: 99;
}
.mobile-panel.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
  height: 100%;
}
.mobile-panel__inner {
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mobile-link {
  padding: 12px 8px;
  border-radius: 10px;
}
.mobile-link:hover {
  background: #f6f6f6;
}
/* Responsive header controls */
@media (max-width: 992px) {
  .nav__links {
    display: none;
  }
  .hamburger {
    display: inline-flex;
  }
}

/* ========= Hero + Form ========= */
.hero {
  position: relative;
  min-height: 93.5vh;
  color: #fff;
  background: url("images/storage/all_media/Slider-1.webp") center / cover
    no-repeat;
  display: grid;
  align-items: center;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.35));
}
.hero__content {
  position: relative;
  z-index: 1;
  padding-block: 28px;
}
.hero__title {
  font-size: clamp(22px, 4vw, 44px);
  margin: 0 0 8px;
}
.hero__sub {
  margin: 0;
  opacity: 0.95;
  font-size: 1.1rem;
}

.hero-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

/* columns */
.hero-text {
  flex: 1 1 48%;
  /* optional width cap if you want the copy not too wide: */
  /* max-width: 680px; */
}

.hero-grid__form {
  flex: 1 1 48%;
  max-width: 560px;
  width: 100%;
}

/* mobile: single column, full width */
@media (max-width: 992px) {
  .hero-grid {
    flex-direction: column;
    gap: 16px;
  }
  .hero-text,
  .hero-grid__form {
    flex: 1 1 90%;
    max-width: 90%;
    width: 90%;
  }
}

/* Card / Form */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  color: #222;
  box-shadow: 0 10px 11px rgba(0, 0, 0, 0.08);
}
.card h2 {
  margin: 0 0 6px;
}
.card h4 {
  margin: 0 0 18px;
  color: var(--muted);
  font-weight: 400;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 768px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.label {
  font-weight: 500;
  margin-block: 5px;
}

input[type="text"],
input[type="tel"],
select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #bdbdbd;
  border-radius: 10px;
  background: #fff;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s ease;
}
input[type="text"]:focus,
input[type="tel"]:focus,
select:focus {
  border-color: var(--brand);
}

.input-group {
  display: flex;
  align-items: stretch;
  gap: 0;
}
.input-pre {
  padding: 12px 12px;
  border: 1px solid #bdbdbd;
  border-radius: 10px 0 0 10px;
  background: #f7f7f7;
}
.input-pre + input {
  border-radius: 0 10px 10px 0;
  border-inline-start: 0;
}

.help-danger {
  color: var(--danger);
  font-size: 0.9rem;
  display: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  border-radius: 12px;
  padding: 12px 16px;
  cursor: pointer;
  font-weight: 600;
  font-size: 18px;
}
.btn-primary {
  background: var(--brand);
  color: #fff;
}
.btn-primary:hover {
  background: var(--brand-2);
}
.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* ========= Footer ========= */
footer {
  direction: rtl;
  background: var(--brand);
  color: #fff;
}
.footer {
  padding-top: 25px;
  padding-bottom: 25px;
  padding-inline: 0 !important;
}

.footer .grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 20px;
}

.footer-col {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
}
.footer .grid .footer-col:first-child {
  align-items: start;
  flex-direction: column;
}

.footer .social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.footer .social img {
  height: 24px;
}
.footer p {
  margin: 6px 0;
  text-align: center;
}
.footer a {
  color: #fff;
}
.logo-wrap {
  display: flex;
  align-items: center;
  justify-content: end;
}
.footer-logo {
  max-width: 170px;
  max-height: 60px;
}
@media (max-width: 992px) {
  .footer .grid {
    justify-content: center;
    grid-template-columns: 1fr;
  }
  .footer-col,
  .footer .grid .footer-col:first-child {
    align-items: center;
    justify-content: center;
  }
}
/* ========= Floating WhatsApp ========= */
.floating-container {
  position: fixed;
  bottom: 18px;
  right: 18px;
  z-index: 20;
}
.floating-container a {
  display: inline-flex;
  width: 62px;
  height: 62px;
  background: #25d366;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.15);
}
.floating-container img {
  width: 32px;
  height: 32px;
}

/* ========= Preloader ========= */
#preloader {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2147483647;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}
#preloader.fade-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.spinner {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 6px solid rgba(0, 0, 0, 0.06);
  border-top-color: var(--brand);
  animation: spin 1s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ========= Scrollbar (optional, used) ========= */
::-webkit-scrollbar {
  width: 5px;
  background: #fff;
}
::-webkit-scrollbar-thumb {
  background-color: var(--brand);
}
.error-icon {
  font-size: 72px;
  color: #dc3545; /* red */
  display: block;
  margin-bottom: 1rem;
}
.warning-icon {
  font-size: 72px;
  color: #ffc107; /* amber/yellow */
  display: block;
  margin-bottom: 1rem;
}

/* === Base Section === */
.our-app-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url("images/thank-you.png");
  background-size: cover;
  background-repeat: no-repeat;
  padding: 80px 20px;
  text-align: center;
}

/* === Container === */
.app-container {
  max-width: 1200px;
  width: 100%;
  overflow: hidden;
}

/* === Header === */
.app-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #001f3f; /* maastricht-blue */
  margin-bottom: 40px;
}

.app-title {
  font-size: 2.5rem;
  color: #001f3f;
  margin-bottom: 10px;
}

.app-subtitle {
  font-size: 1.25rem;
  color: #001f3f;
}

/* === App Store Buttons === */
.app-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 30px;
}

.store-button {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  width: 350px;
}

.store-button .icon {
  width: 100%;
  height: auto;
  display: block;
}

/* === Contact Section === */
.contact-section {
  margin-top: 60px;
}

.contact-text {
  font-size: 1.25rem;
  color: #001f3f;
  margin-bottom: 20px;
}

.contact-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

.contact-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: row;
  background-color: var(--brand);
  color: #fff;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  width: 350px;
  transition: background-color 0.3s ease;
  direction: ltr;
}

.contact-btn:hover {
  background-color: var(--brand-2);
}

.contact-btn .icon {
  width: 45px;
  height: 45px;
  margin-right: 10px;
}

.number {
  font-size: 1.1rem;
  color: #fff;
}

/* === Responsive === */
@media (max-width: 768px) {
  .app-title {
    font-size: 2rem;
  }

  .app-subtitle,
  .contact-text {
    font-size: 1.1rem;
  }

  .store-button,
  .contact-btn {
    width: 220px;
  }
}
