

:root {
  
  --brand-navy: #263476;
  --brand-navy-deep: #16204c;
  --brand-red: #ed1c24;
  --brand-red-glow: rgba(237, 28, 36, 0.35);
  --brand-blue-glow: rgba(38, 52, 118, 0.45);
  --brand-cyan-glow: rgba(56, 189, 248, 0.2);

  --bg-core: #080c1d;
  --bg-gradient-start: #0a0f28;
  --bg-gradient-end: #050814;
  --text-primary: #ffffff;
  --text-secondary: #cbd5e1;
  --text-muted: #8492a6;
  --text-dim: #64748b;

  --glass-surface: rgba(18, 24, 52, 0.72);
  --glass-border: rgba(255, 255, 255, 0.09);
  --glass-highlight: rgba(255, 255, 255, 0.18);
  --glass-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.7), 0 0 40px rgba(38, 52, 118, 0.25);

  --font-arabic: 'Cairo', 'Tajawal', system-ui, -apple-system, sans-serif;
  --font-numbers: 'Outfit', 'Cairo', system-ui, sans-serif;

  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  min-height: 100%;
  background-color: var(--bg-core);
}

body {
  font-family: var(--font-arabic);
  background-color: var(--bg-core);
  background-image: 
    radial-gradient(ellipse at top center, #182352 0%, #0a0f29 45%, var(--bg-core) 100%);
  background-attachment: fixed;
  background-size: cover;
  background-repeat: no-repeat;
  color: var(--text-primary);
  min-height: 100vh;
  min-height: 100dvh;
  line-height: 1.6;
  position: relative;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.bg-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.6;
  animation: pulseGlow 10s ease-in-out infinite alternate;
}

.bg-glow-blue {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(38, 52, 118, 0.6) 0%, rgba(38, 52, 118, 0) 70%);
  top: -150px;
  right: -100px;
}

.bg-glow-red {
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(237, 28, 36, 0.32) 0%, rgba(237, 28, 36, 0) 70%);
  bottom: 50px;
  left: -150px;
  animation-delay: -5s;
}

.bg-glow-violet {
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.25) 0%, rgba(99, 102, 241, 0) 70%);
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation-duration: 14s;
}

.bg-grid-pattern {
  position: fixed;
  inset: 0;
  background-image: 
    radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 36px 36px;
  pointer-events: none;
  z-index: 0;
  opacity: 0.55;
  mask-image: radial-gradient(circle at center, black 40%, transparent 80%);
  -webkit-mask-image: radial-gradient(circle at center, black 40%, transparent 80%);
}

#particles-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  opacity: 0.75;
}

.page-wrapper {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  min-height: 100dvh;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 1rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.top-bar {
  width: 100%;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 0.25rem 0.5rem 0.75rem;
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.top-shop-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, rgba(237, 28, 36, 0.18) 0%, rgba(38, 52, 118, 0.25) 100%);
  border: 1px solid rgba(237, 28, 36, 0.4);
  color: #ffffff;
  text-decoration: none;
  padding: 0.42rem 1rem;
  border-radius: 9999px;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 15px rgba(237, 28, 36, 0.2);
  transition: var(--transition-smooth);
}

.top-shop-btn:hover {
  background: linear-gradient(135deg, rgba(237, 28, 36, 0.35) 0%, rgba(38, 52, 118, 0.4) 100%);
  border-color: #ff4757;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(237, 28, 36, 0.4);
  color: #ffffff;
}

.top-shop-btn .icon {
  width: 16px;
  height: 16px;
  stroke: #ff6b72;
}

.lang-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #f1f5f9;
  padding: 0.42rem 0.9rem;
  border-radius: 9999px;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: var(--transition-smooth);
}

.lang-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.28);
  color: #ffffff;
  transform: translateY(-1px);
}

.lang-toggle-btn .icon {
  width: 16px;
  height: 16px;
  stroke: currentColor;
}

.main-card-container {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0.25rem 0;
}

.glass-card {
  width: 100%;
  max-width: 860px;
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 26px;
  padding: 1.9rem 2.2rem;
  box-shadow: 
    0 25px 70px -10px rgba(0, 0, 0, 0.45),
    0 10px 30px rgba(0, 0, 0, 0.15),
    0 0 50px rgba(38, 52, 118, 0.2);
  position: relative;
  overflow: hidden;
  text-align: center;
  transform: none !important;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, #263476 0%, #ed1c24 50%, #263476 100%);
}

.glass-card::after {
  display: none;
}

.logo-wrapper {
  position: relative;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 1.1rem;
}

.logo-aura {
  position: absolute;
  width: 120%;
  height: 140%;
  background: radial-gradient(ellipse at center, rgba(38, 52, 118, 0.08) 0%, rgba(237, 28, 36, 0.06) 50%, transparent 75%);
  filter: blur(20px);
  z-index: 0;
}

.logo-pedestal {
  position: relative;
  z-index: 1;
  background: #ffffff;
  padding: 0.75rem 2.2rem;
  border-radius: 18px;
  border: 1px solid #eef2f6;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.logo-pedestal:hover {
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.08);
}

.brand-logo {
  display: block;
  max-width: 100%;
  width: 275px;
  height: auto;
  object-fit: contain;
}

.hero-content {
  margin-bottom: 1rem;
}

.main-heading {
  margin-bottom: 0;
  font-size: 2.1rem;
  font-weight: 900;
  line-height: 1.3;
  color: #0f172a;
}

.heading-gradient {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 55%, #263476 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
}

.contact-section {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 1.2rem 1.4rem;
  margin-top: 0.6rem;
  text-align: right;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

html[dir="ltr"] .contact-section {
  text-align: left;
}

.contact-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 0.4rem;
}

.contact-title {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 1.2rem;
  font-weight: 800;
  color: #0f172a;
}

.working-hours-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(237, 28, 36, 0.08);
  border: 1px solid rgba(237, 28, 36, 0.22);
  color: #ed1c24;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.3rem 0.85rem;
  border-radius: 9999px;
  box-shadow: 0 2px 8px rgba(237, 28, 36, 0.06);
}

.hours-icon {
  width: 15px;
  height: 15px;
  stroke: #ed1c24;
}

.contact-subtext {
  font-size: 0.88rem;
  color: #64748b;
  margin-bottom: 0.85rem;
  line-height: 1.5;
  font-weight: 500;
}

.contact-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
}

.contact-card-btn {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  padding: 0.75rem 0.85rem;
  border-radius: 15px;
  text-decoration: none;
  color: #0f172a;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  transition: var(--transition-smooth);
}

.contact-card-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition-smooth);
  background: rgba(237, 28, 36, 0.08);
  border: 1px solid rgba(237, 28, 36, 0.2);
  color: #ed1c24;
}

.contact-card-icon svg {
  width: 20px;
  height: 20px;
}

.contact-card-details {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
  overflow: hidden;
}

html[dir="rtl"] .contact-card-details {
  align-items: flex-start;
}

.contact-card-label {
  font-size: 0.74rem;
  color: #64748b;
  font-weight: 600;
}

.contact-card-value {
  font-family: var(--font-numbers);
  font-size: clamp(0.8rem, 1.05vw, 0.94rem);
  font-weight: 800;
  letter-spacing: 0.2px;
  color: #0f172a;
  white-space: nowrap;
}

.contact-card-btn:hover {
  background: #ffffff;
  border-color: #ed1c24;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(237, 28, 36, 0.16);
}

.contact-card-btn:hover .contact-card-value {
  color: #ed1c24;
}

.contact-card-btn:hover .contact-card-icon {
  background: #ed1c24;
  border-color: #ed1c24;
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(237, 28, 36, 0.35);
}

.footer-area {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
  padding: 1.1rem 0 0.4rem;
  background: transparent;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.social-icon {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(237, 28, 36, 0.08);
  border: 1px solid rgba(237, 28, 36, 0.22);
  border-radius: 50%;
  color: #ff6b72;
  transition: var(--transition-smooth);
}

.social-icon svg {
  width: 18px;
  height: 18px;
}

.social-icon:hover {
  background: #ed1c24;
  border-color: #ed1c24;
  color: #ffffff;
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 6px 20px rgba(237, 28, 36, 0.45);
}

.copyright-text {
  font-size: 0.85rem;
  color: #64748b;
  text-align: center;
  font-weight: 500;
}

@keyframes pulseGlow {
  0% { transform: scale(1) translate(0, 0); opacity: 0.5; }
  50% { transform: scale(1.15) translate(20px, -20px); opacity: 0.75; }
  100% { transform: scale(0.95) translate(-15px, 15px); opacity: 0.55; }
}

@keyframes beaconPulse {
  0% { transform: scale(0.8); opacity: 0.8; }
  100% { transform: scale(2.4); opacity: 0; }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes blinkColon {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

@keyframes progressStripes {
  0% { background-position: 0 0; }
  100% { background-position: 24px 0; }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 992px) {
  .page-wrapper {
    padding: 1.25rem 1rem 1.75rem;
  }

  .glass-card {
    max-width: 92%;
    padding: 2.5rem 1.8rem;
  }

  .main-heading {
    font-size: 2.15rem;
  }

  .brand-logo {
    width: 280px;
  }

  .logo-pedestal {
    padding: 1rem 2.2rem;
  }

  .contact-cards-grid {
    gap: 0.75rem;
  }
}

@media (max-width: 860px) {
  .page-wrapper {
    padding: 1rem 0.85rem 1.5rem;
  }

  .glass-card {
    max-width: 100%;
    padding: 2.2rem 1.4rem;
    border-radius: 24px;
  }

  .main-heading {
    font-size: 1.95rem;
  }

  .brand-logo {
    width: 250px;
  }

  .logo-pedestal {
    padding: 0.9rem 1.9rem;
    border-radius: 20px;
  }

  .contact-cards-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .contact-section {
    padding: 1.35rem 1.25rem;
  }
}

@media (max-width: 640px) {
  .page-wrapper {
    padding: 0.85rem 0.65rem 1.4rem;
  }

  .top-bar {
    padding: 0.25rem 0.25rem 1rem;
  }

  .top-actions {
    gap: 0.5rem;
  }

  .top-shop-btn,
  .lang-toggle-btn {
    padding: 0.38rem 0.8rem;
    font-size: 0.8rem;
  }

  .glass-card {
    padding: 1.85rem 1.1rem;
    border-radius: 20px;
  }

  .logo-wrapper {
    margin-bottom: 1.5rem;
  }

  .logo-pedestal {
    padding: 0.8rem 1.6rem;
    border-radius: 18px;
  }

  .brand-logo {
    width: 220px;
  }

  .main-heading {
    font-size: 1.65rem;
    line-height: 1.35;
  }

  .contact-section {
    padding: 1.2rem 1rem;
    border-radius: 16px;
    margin-top: 0.85rem;
  }

  .contact-header {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
  }

  .contact-title {
    font-size: 1.15rem;
  }

  .working-hours-badge {
    font-size: 0.76rem;
    padding: 0.26rem 0.68rem;
  }

  .contact-subtext {
    font-size: 0.85rem;
    margin-bottom: 0.85rem;
  }

  .contact-card-btn {
    padding: 0.75rem 0.85rem;
    border-radius: 14px;
    gap: 0.75rem;
  }

  .contact-card-icon {
    width: 38px;
    height: 38px;
    min-width: 38px;
    border-radius: 10px;
  }

  .contact-card-icon svg {
    width: 18px;
    height: 18px;
  }

  .footer-area {
    padding: 1.2rem 0 0.4rem;
    gap: 0.85rem;
  }

  .social-icon {
    width: 36px;
    height: 36px;
  }

  .social-icon svg {
    width: 16px;
    height: 16px;
  }

  .copyright-text {
    font-size: 0.78rem;
    line-height: 1.5;
  }
}

@media (max-width: 480px) {
  .page-wrapper {
    padding: 0.65rem 0.5rem 1.25rem;
  }

  .top-bar {
    padding: 0.2rem 0.1rem 0.85rem;
  }

  .glass-card {
    padding: 1.6rem 0.85rem;
    border-radius: 18px;
  }

  .logo-wrapper {
    margin-bottom: 1.25rem;
  }

  .logo-pedestal {
    padding: 0.7rem 1.35rem;
    border-radius: 16px;
  }

  .brand-logo {
    width: 195px;
  }

  .main-heading {
    font-size: 1.45rem;
  }

  .contact-section {
    padding: 1.1rem 0.8rem;
    border-radius: 15px;
  }

  .contact-title {
    font-size: 1.08rem;
  }

  .working-hours-badge {
    font-size: 0.74rem;
    padding: 0.24rem 0.6rem;
  }

  .contact-card-btn {
    padding: 0.7rem 0.8rem;
  }

  .contact-card-label {
    font-size: 0.72rem;
  }

  .copyright-text {
    font-size: 0.74rem;
  }
}

@media (max-width: 360px) {
  .page-wrapper {
    padding: 0.5rem 0.4rem 1rem;
  }

  .top-actions {
    width: 100%;
    justify-content: space-between;
    gap: 0.35rem;
  }

  .top-shop-btn,
  .lang-toggle-btn {
    padding: 0.32rem 0.6rem;
    font-size: 0.74rem;
    gap: 0.35rem;
  }

  .glass-card {
    padding: 1.35rem 0.65rem;
    border-radius: 16px;
  }

  .logo-pedestal {
    padding: 0.6rem 1rem;
    border-radius: 14px;
  }

  .brand-logo {
    width: 170px;
  }

  .main-heading {
    font-size: 1.26rem;
  }

  .contact-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
  }

  .contact-section {
    padding: 0.95rem 0.65rem;
    border-radius: 13px;
  }

  .contact-card-btn {
    padding: 0.6rem 0.65rem;
    gap: 0.65rem;
  }

  .contact-card-icon {
    width: 34px;
    height: 34px;
    min-width: 34px;
    border-radius: 9px;
  }

  .contact-card-icon svg {
    width: 16px;
    height: 16px;
  }

  .contact-card-value {
    font-size: 0.84rem;
  }

  .copyright-text {
    font-size: 0.7rem;
  }
}

@media (max-height: 600px) and (orientation: landscape) {
  .page-wrapper {
    padding: 0.6rem 0.6rem 1rem;
  }

  .top-bar {
    padding: 0 0 0.5rem;
  }

  .main-card-container {
    margin: 0.4rem 0;
  }

  .glass-card {
    padding: 1.4rem 1.2rem;
  }

  .logo-wrapper {
    margin-bottom: 0.8rem;
  }

  .logo-pedestal {
    padding: 0.5rem 1.2rem;
  }

  .brand-logo {
    width: 175px;
  }

  .main-heading {
    font-size: 1.35rem;
    margin-bottom: 0.3rem;
  }

  .contact-section {
    padding: 0.9rem;
    margin-top: 0.6rem;
  }

  .contact-subtext {
    font-size: 0.8rem;
    margin-bottom: 0.6rem;
  }

  .contact-cards-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
  }

  .contact-card-btn {
    padding: 0.5rem 0.6rem;
    gap: 0.5rem;
  }

  .contact-card-icon {
    width: 32px;
    height: 32px;
    min-width: 32px;
  }

  .contact-card-icon svg {
    width: 15px;
    height: 15px;
  }

  .contact-card-value {
    font-size: 0.82rem;
  }

  .footer-area {
    padding: 0.6rem 0 0.2rem;
    gap: 0.4rem;
  }
}
