@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@200..1000&display=swap');

* {
  box-sizing: border-box;
}

:root {
  --iq-bg: #f5f7fb;
  --iq-bg-alt: #ffffff;
  --iq-surface: #ffffff;
  --iq-surface-alt: #f9fafb;
  --iq-primary: #2563eb;
  --iq-primary-soft: rgba(37, 99, 235, 0.08);
  --iq-accent: #103d67;
  --iq-border-subtle: rgba(203, 213, 225, 0.9);
  --iq-radius-lg: 20px;
  --iq-radius-md: 12px;
  --iq-radius-sm: 10px;
  --iq-radius-pill: 999px;
  --iq-shadow-soft: 0 18px 40px rgba(15, 23, 42, 0.08);
  --iq-text-main: #111827;
  --iq-text-muted: #6b7280;
}

body {
  font-family: "Cairo", system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, 'Noto Sans', sans-serif;
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top, #e0f2fe 0, #f5f7fb 40%, #f9fafb 100%);
  color: var(--iq-text-main);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(226, 232, 240, 0.95);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.title_section {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px;
  flex-wrap: wrap;
  gap: 10px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px
}

.brand img {
  height: 40px
}

.brand .title {
  font-weight: 700;
  letter-spacing: .2px;
  color: #103d67
}

nav ul {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

.nav-guest-buttons{
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.nav-guest-buttons .btn-login{
  border: 1px solid #32608c;
  color: #ffffff;
  padding: 6px 16px;
  border-radius: var(--iq-radius-pill);
  background: #32608c;
  font-weight: 500;
  transition: background 0.2s, color 0.2s;
}

.nav-guest-buttons .btn-login:hover{
  border: 1px solid #32608c;
  color: #32608c;
  background: #ffffff;
}

.nav-guest-buttons .btn-signup{
  border: 1px solid #32608c;
  color: #32608c;
  padding: 6px 16px;
  border-radius: var(--iq-radius-pill);
  background: white;
  font-weight: 500;
  transition: background 0.2s, color 0.2s;
}

.nav-guest-buttons .btn-signup:hover{
  border: 1px solid #32608c;
  color: #ffffff;
  background: #32608c;
}


.lang {
  font-size: 14px;
  border: 1px solid #ddd;
  padding: 6px 10px;
  border-radius: 8px
}

.language-switcher {
  display: flex;
  gap: 8px
}

.language-switcher .lang-link {
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid #e8e8ee;
  background: #fff;
  color: #111;
  font-weight: 500;
  transition: all .2s
}

.language-switcher .lang-link:hover {
  background: #f7f5ff;
  border-color: #a7c9e8
}

.language-switcher .lang-link.active {
  background: #103d67;
  color: #fff;
  border-color: #103d67
}

.hero {
  position: relative;
  height: 600px;
  min-height: 500px;
  color: #ffffff;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-slideshow {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  animation: heroSlideshowAnimation 24s infinite;
}

.hero-slide-1 {
  background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('/assets/img/hero-1.jpg');
  animation-delay: 0s;
}

.hero-slide-2 {
  background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('/assets/img/hero-2.jpg');
  animation-delay: 6s;
}

.hero-slide-3 {
  background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('/assets/img/hero-3.jpg');
  animation-delay: 12s;
}

.hero-slide-4 {
  background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('/assets/img/hero-4.jpg');
  animation-delay: 18s;
}

@keyframes heroSlideshowAnimation {
  0% {
    opacity: 0;
    transform: scale(1.05);
  }

  5% {
    opacity: 1;
    transform: scale(1);
  }

  25% {
    opacity: 1;
    transform: scale(1);
  }

  30% {
    opacity: 0;
    transform: scale(1.05);
  }

  100% {
    opacity: 0;
  }
}

.hero-container {
  position: relative;
  z-index: 1;
  width: 100%;
}

.hero-flag {
  position: absolute;
  bottom: 0px;
  right: 0px;
  width: 40%;
  height: auto;
  z-index: 2;
  pointer-events: none;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 48px;
  line-height: 1.2;
  margin: 0 0 20px;
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero p {
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.9);
  font-size: 18px;
  max-width: 600px;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
}

.cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

button {
  font-family: "Cairo"
}

.btn2 {
  font-size: 18px;
  padding: 6px 16px;
  border-radius: var(--iq-radius-pill);
  border: 1px solid rgba(148, 163, 184, 0.4);
  color: var(--iq-text-main);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-weight: 600;
  backdrop-filter: blur(14px);
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.btn2:hover {
  border-color: rgba(219, 234, 254, 0.95);
  transform: translateY(-1px);
}

.btn1 {
  font-size: 14px;
  padding: 6px 18px;
  border-radius: var(--iq-radius-pill);
  border: none;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #f9fafb;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.btn1:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(101, 101, 101, 0.75);
  filter: brightness(1.05);
}

.btn {
  padding: 11px 20px;
  border-radius: var(--iq-radius-pill);
  border: none;
  background: #32608c;
  border: 1px solid #32608c;
  color: #f9fafb;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: .5s;
}

.btn:hover {
  transform: translateY(-1px);
  background: white;
  color: #32608c;
  border: 1px solid #32608c;
}

.btn.alt {
  background: #ffffff;
  color: #111827;
  border: 1px solid rgba(209, 213, 219, 1);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.06);
}

.btn.alt:hover {
  background: #f9fafb;
}

.grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px
}

.card {
  grid-column: span 4;
  background:
    radial-gradient(circle at top left, rgba(37, 99, 235, 0.06), transparent 55%),
    radial-gradient(circle at bottom right, rgba(219, 169, 85, 0.06), transparent 55%),
    #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: var(--iq-radius-sm);
  overflow: hidden;
  box-shadow: var(--iq-shadow-soft);
  margin-bottom: 10px;
  backdrop-filter: blur(8px);
}

.card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  background: #ddd
}

.card .pad {
  padding: 22px;
}

.pad_spans {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.card .pad h2,
.card .pad h3 {
  margin: 0;
}

.card .pad h2 {
  font-size: 30px;
}

.card .pad p {
  margin-top: 0px;
}

.statistics_grid span {
  padding: 0px 15px;
  border: 1px solid #103d67;
  border-radius: 100px;
}

.badge {
  display: inline-block;
  background: rgba(239, 246, 255, 0.95);
  border: 1px solid rgba(219, 234, 254, 1);
  color: #1f2937;
  padding: 5px 9px;
  border-radius: var(--iq-radius-pill);
  font-size: 11px;
  letter-spacing: 0.01em;
}

.bg-success {
  background: #e6ffed;
  border: 1px solid #a6f4c5;
  color: #046c4e;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 12px;
}

.bg-danger {
  background: #fff1f1;
  border: 1px solid #ffd4d4;
  color: #c1121f;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 12px;
}

.price {
  font-weight: 700;
  margin-top: 2px;
  color: #1f2937;
}

meta,
footer {
  color: #666
}

.section {
  padding: 32px 0 36px;
  position: relative;
  z-index: 1;
}

.section--muted {
  background:
    radial-gradient(circle at top, rgba(219, 234, 254, 0.8), rgba(249, 250, 251, 1));
}

.section-heading {
  max-width: 720px;
  margin-bottom: 26px;
}

.section-kicker {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 11px;
  color: var(--iq-text-muted);
  margin-bottom: 6px;
}

.section-subtitle {
  color: var(--iq-text-muted);
  font-size: 14px;
  max-width: 540px;
}

h2 {
  font-size: 22px;
  margin: 0 0 12px;
  color: #000000;
}

.form {
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: var(--iq-radius-lg);
  padding: 18px 18px 20px;
  box-shadow: var(--iq-shadow-soft);
  backdrop-filter: blur(8px);
}

.form label {
  display: block;
  font-weight: 600;
  margin: 10px 0 6px
}

.form input,
.form select,
.form textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid rgba(209, 213, 219, 1);
  border-radius: var(--iq-radius-md);
  background: #f9fafb;
  color: var(--iq-text-main);
  font-family: "Cairo";
}

.form .row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px
}

.form .hint {
  font-size: 12px;
  color: #666;
  margin-top: 6px
}

.how-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.how-card {
  background: #ffffff;
  border-radius: var(--iq-radius-lg);
  border: 1px solid rgba(226, 232, 240, 0.95);
  padding: 18px 18px 16px;
  box-shadow: var(--iq-shadow-soft);
}

.how-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  font-size: 13px;
  color: #1d4ed8;
  margin-bottom: 8px;
}

.how-card h3 {
  margin: 0 0 6px;
  font-size: 16px;
}

.how-card p {
  margin: 0 0 4px;
  font-size: 13px;
  color: var(--iq-text-muted);
}

footer {
  border-top: 1px solid #1f2937;
  background: #020617;
  margin-top: 28px
}

footer .foot {
  padding: 18px 0;
  font-size: 14px
}

.table {
  width: 100%;
  border-collapse: collapse
}

.table th,
.table td {
  padding: 10px;
  border-bottom: 1px solid #eee;
  text-align: left
}

.hero .sub {
  font-size: 14px;
  color: #666
}

.rtl {
  direction: rtl;
  text-align: right
}

[dir="rtl"] nav ul {
  flex-direction: row
}

[dir="rtl"] .brand {
  flex-direction: row-reverse
}

[dir="rtl"] .cta {
  direction: rtl
}

[dir="rtl"] .pad_spans {
  justify-content: flex-end
}

[dir="rtl"] .grid {
  grid-template-columns: repeat(12, 1fr)
}

[dir="rtl"] .kv {
  text-align: right
}

[dir="rtl"] .table th,
[dir="rtl"] .table td {
  text-align: right
}

.small {
  font-size: 13px;
  color: #555
}

.notice {
  background: #fff7e6;
  border: 1px solid #ffe4a8;
  padding: 10px;
  border-radius: 10px;
  font-size: 14px
}

.tag {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid #e8e8ee;
  font-size: 12px;
  margin-right: 6px
}

.kv {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 8px
}

.kv div {
  padding: 6px 0;
  border-bottom: 1px dashed #eee
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid #e8e8ee;
  background: #fff
}

.status.dot::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #b58b00;
  display: inline-block
}

label.required::after {
  content: " *";
  color: #103d67
}

pre {
  white-space: pre-wrap
}


@media (max-width: 700px) {

  .hero-content {
    text-align: center;
  }

  .cta {
    justify-content: center;
  }

  .card {
    grid-column: span 12 !important;
  }

  .cnt_details {
    flex-direction: column;
  }

  .hero {
    height: 500px;
    padding: 40px 0;
  }

  .hero h1 {
    font-size: 32px;
  }

  .hero p {
    font-size: 16px;
  }

  .hero-flag {
    width: 50%;
    bottom: 0px;
    right: 0px;
  }

  .how-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}


/* ===== FOOTER STYLES ===== */
.footer {
  background: #0f3d66;
  color: #ecf0f1;
  margin-top: auto;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  padding: 3rem 0 2rem;
}

.footer-section {
  display: flex;
  flex-direction: column;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.footer-logo .logo {
  width: 120px;
  border-radius: 8px;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: #103d67;
}

.footer-description {
  line-height: 1.6;
  margin-bottom: 1.5rem;
  color: #bdc3c7;
  font-size: 0.9rem;
  max-width: 400px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
}

.contact-item i {
  color: #ffffff;
  width: 16px;
  text-align: center;
}

.footer-title {
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  position: relative;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 40px;
  height: 2px;
  background: #103d67;
  border-radius: 2px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links li a {
  color: #bdc3c7;
  text-decoration: none;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-links li a::before {
  content: '▸';
  color: #103d67;
  font-size: 0.8rem;
  transition: transform 0.3s ease;
}

.footer-links li a:hover {
  color: #ffffff;
  transform: translateX(5px);
}

.footer-links li a:hover::before {
  transform: translateX(3px);
}

/* Footer Bottom */
.footer-bottom {
  border-top: 1px solid #4c5681;
  padding: 1.5rem 0;
  margin-top: 1rem;
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  color: #bdc3c7;
  font-size: 0.9rem;
  margin: 0;
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
}

.footer-legal a {
  color: #bdc3c7;
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.3s ease;
}

.footer-legal a:hover {
  color: #ffffff;
}

/* Responsive Design */
@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .footer-logo {
    justify-content: center;
  }

  .footer-description {
    margin-left: auto;
    margin-right: auto;
  }

  .footer-title::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .contact-info {
    align-items: center;
  }

  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-legal {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .footer-legal {
    flex-direction: column;
    gap: 0.5rem;
  }

  .footer-links li a:hover {
    transform: none;
  }

  .contact-item {
    justify-content: center;
  }
}

.section--cta {
  padding: 60px 0;
  background: #fff;
}

.cta-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  background: var(--iq-bg-alt);
  border-radius: var(--iq-radius-lg);
  overflow: hidden;
  box-shadow: var(--iq-shadow-soft);
  border: 1px solid var(--iq-border-subtle);
}

.cta-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s ease;
}

.cta-box:hover .cta-image img {
  transform: scale(1.05);
}

.cta-text {
  padding: 40px;
  animation: fadeInUp 1s ease forwards;
}

.cta-text h2 {
  font-size: 32px;
  margin-bottom: 16px;
  color: var(--iq-accent);
}

.cta-text p {
  font-size: 18px;
  color: var(--iq-text-muted);
  margin-bottom: 24px;
  line-height: 1.6;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .cta-box {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .cta-image {
    height: 250px;
  }

  .cta-text {
    padding: 30px 20px;
    text-align: center;
  }

  .cta-text h2 {
    font-size: 24px;
  }
}