/* ===== RESET & BASE STYLES ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Root Variables */
:root {
  /* Colors */
  --primary-dark: #00195e;
  --primary-medium: #004cb7;
  --primary-light: #31abfd;
  --success-color: #4caf50;
  --warning-color: #ff9800;
  --error-color: #ff4757;
  --text-dark: #333;
  --text-medium: #666;
  --text-light: #888;
  --bg-white: #ffffff;
  --bg-light: #f8f9fa;

  /* Fonts */
  /* Fonts - Unified IBM Plex Sans Arabic for both languages */
  --font-primary: "IBM Plex Sans Arabic", sans-serif;
  --font-arabic: "IBM Plex Sans Arabic", sans-serif;
  --font-english: "IBM Plex Sans Arabic", sans-serif;

  /* Spacing */
  --spacing-xs: 4px;
  --spacing-sm: 8px;
  --spacing-md: 16px;
  --spacing-lg: 24px;
  --spacing-xl: 32px;
  --spacing-2xl: 48px;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-medium: 0.3s ease;
  --transition-slow: 0.4s ease;
}

/* ===== FONT OPTIMIZATION - UNIFIED IBM PLEX SANS ARABIC ===== */
/* Force IBM Plex Sans Arabic everywhere EXCEPT icons */

/* Apply to all elements except Font Awesome icons */
*:not([class*="fa-"]):not(i):not(.fab):not(.fas):not(.far):not(.fal):not(.fad),
*:not([class*="fa-"])::before,
*:not([class*="fa-"])::after {
  font-family: "IBM Plex Sans Arabic", -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif !important;
}

/* Specific elements that need the font */
html,
body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
span,
div,
input,
button:not([class*="fa"]),
select,
textarea {
  font-family: "IBM Plex Sans Arabic", -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Override any inherited fonts for specific classes */
.nav-item,
.header-cta,
.cart-btn,
.lang-toggle,
.mobile-nav-item,
.action-card,
.action-title,
.contact-details,
.form-input,
.form-select,
.form-textarea,
.submit-btn,
.modal-content,
.footer-section {
  font-family: "IBM Plex Sans Arabic", sans-serif !important;
}

/* Body Base Styles */
body {
  font-family: "IBM Plex Sans Arabic", sans-serif !important;
  line-height: 1.6;
  color: var(--text-dark);
  overflow-x: hidden;
  background: linear-gradient(
    135deg,
    var(--primary-dark) 0%,
    var(--primary-medium) 50%,
    var(--primary-light) 100%
  ) !important;
  background-attachment: fixed !important;
  min-height: 100vh;
  position: relative;
  transition: all var(--transition-medium);
}

/* PROTECT Font Awesome icons - CRITICAL */
i,
.fa,
.fas,
.far,
.fal,
.fab,
.fad,
[class^="fa-"],
[class*=" fa-"],
.contact-icon i {
  font-family: "Font Awesome 6 Free", "Font Awesome 6 Brands", "FontAwesome" !important;
  font-weight: 900 !important;
  font-style: normal !important;
}

/* Body Base Styles */
body {
  line-height: 1.6;
  color: var(--text-dark);
  overflow-x: hidden;
  background: linear-gradient(
    135deg,
    var(--primary-dark) 0%,
    var(--primary-medium) 50%,
    var(--primary-light) 100%
  ) !important;
  background-attachment: fixed !important;
  min-height: 100vh;
  position: relative;
  transition: all var(--transition-medium);
}

/* Arabic Direction */
html[dir="rtl"] body {
  font-family: var(--font-arabic);
}

/* ===== SCROLLBAR STYLES ===== */
::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: rgba(0, 25, 94, 0.1);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(
    180deg,
    var(--primary-light),
    var(--primary-medium),
    var(--primary-dark)
  );
  border-radius: 6px;
  border: 2px solid rgba(255, 255, 255, 0.1);
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(
    180deg,
    var(--primary-light),
    var(--primary-dark),
    var(--primary-medium)
  );
  box-shadow: 0 0 10px rgba(49, 171, 253, 0.5);
}

/* ===== BACKGROUND & DECORATIVE ELEMENTS ===== */
.bg-animation {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.floating-shape {
  position: absolute;
  opacity: 0.15;
  animation: float 6s ease-in-out infinite;
}

.shape-1 {
  top: 20%;
  left: 10%;
  width: 100px;
  height: 100px;
  background: linear-gradient(
    135deg,
    rgba(49, 171, 253, 0.15),
    rgba(0, 25, 94, 0.15)
  );
  border-radius: 50%;
  animation-delay: 0s;
}

.shape-2 {
  top: 60%;
  right: 15%;
  width: 80px;
  height: 80px;
  background: linear-gradient(
    135deg,
    rgba(0, 76, 183, 0.15),
    rgba(49, 171, 253, 0.15)
  );
  border-radius: 20px;
  animation-delay: 2s;
}

.shape-3 {
  bottom: 20%;
  left: 20%;
  width: 120px;
  height: 60px;
  background: linear-gradient(
    135deg,
    rgba(0, 25, 94, 0.15),
    rgba(0, 76, 183, 0.15)
  );
  border-radius: 30px;
  animation-delay: 4s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(10deg);
  }
}

/* Side Strips */
.side-strip {
  position: fixed;
  top: 0;
  width: 12px;
  height: 100vh;
  z-index: 999;
  background: linear-gradient(
    180deg,
    var(--primary-dark) 0%,
    var(--primary-medium) 50%,
    var(--primary-light) 100%
  );
  animation: stripPulse 3s ease-in-out infinite alternate;
}

.side-strip.left {
  left: 0;
  border-radius: 0 20px 20px 0;
}

.side-strip.right {
  right: 0;
  border-radius: 20px 0 0 20px;
}

@keyframes stripPulse {
  0% {
    box-shadow: inset 0 0 20px rgba(49, 171, 253, 0.3),
      0 0 15px rgba(0, 25, 94, 0.5);
  }
  100% {
    box-shadow: inset 0 0 30px rgba(49, 171, 253, 0.6),
      0 0 25px rgba(0, 76, 183, 0.7);
  }
}

.bottom-strip {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 10px;
  background: linear-gradient(
    90deg,
    var(--primary-dark) 0%,
    var(--primary-medium) 25%,
    var(--primary-light) 50%,
    var(--primary-medium) 75%,
    var(--primary-dark) 100%
  );
  z-index: 999;
  box-shadow: 0 -2px 20px rgba(49, 171, 253, 0.4),
    0 -4px 10px rgba(0, 76, 183, 0.3);
}

/* ===== HEADER STYLES ===== */
header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 25, 94, 0.1);
  transition: all var(--transition-medium);
  border-bottom: 4px solid transparent;
  background-clip: padding-box;
}

header::before {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--primary-dark) 0%,
    var(--primary-medium) 25%,
    var(--primary-light) 50%,
    var(--primary-medium) 75%,
    var(--primary-dark) 100%
  );
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: transform var(--transition-medium);
}

.logo img {
  height: 150px;
  width: auto;
}

.logo:hover {
  transform: scale(1.05);
}

/* Navigation */
.nav-menu {
  display: flex;
  gap: 30px;
  align-items: center;
  flex-direction: row;
}

/* RTL Navigation */
html[dir="rtl"] .nav-menu {
  direction: rtl;
}

.nav-item {
  text-decoration: none;
  color: var(--text-medium);
  font-size: 16px;
  font-weight: bold;
  padding: 12px 20px;
  border-radius: 12px;
  transition: all var(--transition-medium);
  position: relative;
}

.nav-item:hover,
.nav-item.active {
  color: var(--primary-dark);
  background: rgba(0, 25, 94, 0.1);
  transform: translateY(-2px);
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

.header-cta {
  background: linear-gradient(
    135deg,
    var(--primary-dark),
    var(--primary-medium)
  );
  color: white;
  padding: 12px 24px;
  border: none;
  border-radius: 25px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-medium);
  box-shadow: 0 4px 15px rgba(0, 25, 94, 0.3);
  order: 1;
}

.header-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(0, 25, 94, 0.4);
}

.cart-btn {
  background: linear-gradient(
    135deg,
    var(--primary-light),
    var(--primary-medium)
  );
  color: white;
  padding: 12px 16px;
  border: none;
  border-radius: 25px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-medium);
  box-shadow: 0 4px 15px rgba(49, 171, 253, 0.3);
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  order: 2;
}

.cart-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(49, 171, 253, 0.4);
}

.cart-icon {
  font-size: 18px;
  color: white;
}

.cart-count {
  background: white;
  color: var(--primary-medium);
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: bold;
  min-width: 24px;
}

.lang-toggle {
  background: linear-gradient(
    135deg,
    var(--primary-light),
    var(--primary-medium)
  );
  color: white;
  border: none;
  padding: 10px 14px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-medium);
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 3px 12px rgba(49, 171, 253, 0.3);
  min-width: 65px;
  justify-content: center;
  order: 3;
}

.lang-toggle:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(49, 171, 253, 0.4);
}

.lang-toggle i {
  font-size: 12px;
}

#currentLang {
  font-weight: 700;
  font-size: 12px;
}

/* Mobile Menu */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
}

.mobile-menu-toggle span {
  width: 25px;
  height: 3px;
  background: var(--primary-dark);
  border-radius: 2px;
  transition: all var(--transition-medium);
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

.mobile-nav {
  display: none;
  position: fixed;
  top: 80px;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  z-index: 999;
  padding: 20px;
  box-shadow: 0 4px 20px rgba(0, 25, 94, 0.1);
}

.mobile-nav.active {
  display: block;
}

.mobile-nav-item {
  display: block;
  padding: 15px 20px;
  color: var(--text-medium);
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  border-bottom: 1px solid rgba(0, 25, 94, 0.1);
  transition: all var(--transition-medium);
  border: none;
  background: none;
  text-align: left;
  width: 100%;
}

html[dir="rtl"] .mobile-nav-item {
  text-align: right;
}

.mobile-nav-item:hover,
.mobile-nav-item.active {
  color: var(--primary-dark);
  background: rgba(0, 25, 94, 0.05);
}

.mobile-cta {
  background: linear-gradient(
    135deg,
    var(--primary-dark),
    var(--primary-medium)
  ) !important;
  color: white !important;
  border-radius: 10px !important;
  margin-top: 10px !important;
}

/* ===== MAIN CONTENT ===== */
.main-content {
  padding-top: 100px;
  min-height: 100vh;
  max-width: 1400px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* ===== PAGE HEADER ===== */
.page-header {
  text-align: center;
  margin-bottom: 60px;
  padding: 60px 30px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.1),
    rgba(255, 255, 255, 0.05)
  );
  backdrop-filter: blur(20px);
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  animation: slideInUp 1s ease-out;
}

.page-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  opacity: 0.9;
  max-width: 800px;
  margin: 0 auto;
}

/* ===== SECTION STYLES ===== */
.section-title {
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: white;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* ===== QUICK ACTIONS ===== */
.quick-actions {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.1),
    rgba(255, 255, 255, 0.05)
  );
  backdrop-filter: blur(20px);
  border-radius: 30px;
  padding: 60px 30px;
  margin-bottom: 60px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  animation: slideInUp 1s ease-out 0.2s both;
}

.actions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.action-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 25px;
  padding: 40px 30px;
  text-align: center;
  transition: all var(--transition-slow);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 25, 94, 0.12);
  min-height: 350px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.action-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(49, 171, 253, 0.1),
    transparent
  );
  transition: left 0.5s ease;
}

.action-card:hover::before {
  left: 100%;
}

.action-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 25, 94, 0.2);
}

.action-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(
    135deg,
    var(--primary-dark),
    var(--primary-light)
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  font-size: 2rem;
  color: white;
  transition: all var(--transition-medium);
}

.action-card:hover .action-icon {
  transform: scale(1.1) rotate(5deg);
}

.action-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 20px;
}

.action-description {
  color: rgba(0, 0, 0, 0.7);
  font-size: 1rem;
  margin-bottom: 30px;
  line-height: 1.6;
}

.action-btn {
  background: linear-gradient(
    135deg,
    var(--primary-light),
    var(--primary-medium)
  );
  color: white;
  padding: 15px 30px;
  border: none;
  border-radius: 25px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-medium);
  font-family: inherit;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(49, 171, 253, 0.3);
}

.action-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s ease;
}

.action-btn:hover::before {
  left: 100%;
}

.action-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(49, 171, 253, 0.5);
}

.action-btn.secondary {
  background: rgba(255, 255, 255, 0.1);
  color: var(--primary-dark);
  border: 2px solid var(--primary-dark);
  backdrop-filter: blur(10px);
}

.action-btn.secondary:hover {
  background: var(--primary-dark);
  color: white;
}

/* ===== CONTACT CONTENT ===== */
.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}

/* Contact Info */
.contact-info {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.1),
    rgba(255, 255, 255, 0.05)
  );
  backdrop-filter: blur(20px);
  border-radius: 25px;
  padding: 40px 30px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  animation: slideInUp 1s ease-out 0.4s both;
}

.contact-methods {
  margin-bottom: 40px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: all var(--transition-medium);
}

.contact-item:last-child {
  border-bottom: none;
}

.contact-item:hover {
  transform: translateX(-5px);
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  padding: 20px;
  margin: 0 -20px;
}

html[dir="rtl"] .contact-item:hover {
  transform: translateX(5px);
}

.contact-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(
    135deg,
    var(--primary-light),
    var(--primary-medium)
  );
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
  transition: all var(--transition-medium);
  box-shadow: 0 4px 15px rgba(49, 171, 253, 0.3);
}

.contact-item:hover .contact-icon {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(49, 171, 253, 0.5);
}

.contact-details h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: white;
  margin-bottom: 8px;
}

.contact-details p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
  line-height: 1.5;
}

.contact-details a {
  color: var(--primary-light);
  text-decoration: none;
  font-weight: 500;
  transition: color var(--transition-medium);
}

.contact-details a:hover {
  color: white;
  text-decoration: underline;
}

/* Social Media */
.social-media {
  margin-top: 40px;
}

.social-media h3 {
  font-size: 1.4rem;
  font-weight: 600;
  color: white;
  margin-bottom: 20px;
}

.social-links {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.social-link {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.8);
  font-size: 20px;
  transition: all var(--transition-medium);
  backdrop-filter: blur(10px);
}

.social-link:hover {
  background: linear-gradient(
    135deg,
    var(--primary-light),
    var(--primary-medium)
  );
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(49, 171, 253, 0.4);
}

/* ===== CONTACT FORM ===== */
.contact-form {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 25px;
  padding: 40px 30px;
  box-shadow: 0 15px 40px rgba(0, 25, 94, 0.12);
  position: relative;
  overflow: hidden;
  animation: slideInUp 1s ease-out 0.6s both;
}

.contact-form::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(49, 171, 253, 0.05),
    transparent
  );
  transition: left 0.5s ease;
}

.contact-form:hover::before {
  left: 100%;
}

.form-group {
  margin-bottom: 25px;
}

.form-label {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 10px;
}

html[dir="rtl"] .form-label {
  text-align: right;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 15px 18px;
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  font-size: 16px;
  font-family: inherit;
  transition: all var(--transition-medium);
  background: white;
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--primary-dark);
  box-shadow: 0 0 0 3px rgba(0, 25, 94, 0.1);
  transform: translateY(-2px);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: #999;
}

.required {
  color: var(--error-color);
}

.submit-btn {
  width: 100%;
  background: linear-gradient(
    135deg,
    var(--primary-dark),
    var(--primary-medium)
  );
  color: white;
  padding: 18px 24px;
  border: none;
  border-radius: 25px;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-medium);
  font-family: inherit;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 25, 94, 0.3);
}

.submit-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s ease;
}

.submit-btn:hover::before {
  left: 100%;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(0, 25, 94, 0.4);
}

.submit-btn:disabled {
  background: #ccc;
  cursor: not-allowed;
  transform: none;
}

.loading-spinner {
  display: none;
  margin: 0 auto;
}

.spinner {
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top: 2px solid white;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.contact-success {
  background: linear-gradient(135deg, var(--success-color), #45a049);
  color: white;
  padding: 20px;
  border-radius: 15px;
  text-align: center;
  margin: 20px 0;
  display: none;
  box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
  animation: slideInDown 0.5s ease-out;
}

.contact-success h3 {
  margin-bottom: 10px;
}

@keyframes slideInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== OFFICE HOURS ===== */
.office-hours {
  background: linear-gradient(
    135deg,
    var(--primary-light),
    var(--primary-medium)
  );
  color: white;
  border-radius: 30px;
  padding: 60px 30px;
  text-align: center;
  margin-bottom: 60px;
  position: relative;
  overflow: hidden;
  animation: slideInUp 1s ease-out 0.8s both;
}

.office-hours::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.1) 0%,
    transparent 70%
  );
  animation: rotate 20s linear infinite;
}

@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.hours-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 800px;
  margin: 0 auto 30px;
  position: relative;
  z-index: 2;
}

.hours-item {
  background: rgba(255, 255, 255, 0.1);
  padding: 25px 20px;
  border-radius: 20px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all var(--transition-medium);
}

.hours-item:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.15);
}

.hours-day {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.hours-time {
  font-size: 1rem;
  opacity: 0.9;
}

.office-note {
  margin-top: 20px;
  opacity: 0.9;
  position: relative;
  z-index: 2;
  font-style: italic;
}

/* ===== MODAL STYLES ===== */
.modal-overlay,
.cart-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2500;
  backdrop-filter: blur(10px);
  padding: 20px;
}

.modal-overlay.active,
.cart-modal-overlay.active {
  display: flex;
}

.modal-content,
.cart-modal-content {
  background: white;
  border-radius: 20px;
  width: 100%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
  transform: scale(0.7);
  opacity: 0;
  transition: all var(--transition-medium);
}

.cart-modal-content {
  max-width: 700px;
}

.modal-overlay.active .modal-content,
.cart-modal-overlay.active .cart-modal-content {
  transform: scale(1);
  opacity: 1;
}

.modal-header,
.cart-modal-header {
  background: linear-gradient(
    135deg,
    var(--primary-dark),
    var(--primary-medium)
  );
  color: white;
  padding: 30px;
  border-radius: 20px 20px 0 0;
  text-align: center;
  position: relative;
}

.modal-close,
.cart-modal-close {
  position: absolute;
  top: 15px;
  left: 15px;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-fast);
}

html[dir="rtl"] .modal-close,
html[dir="rtl"] .cart-modal-close {
  left: auto;
  right: 15px;
}

.modal-close:hover,
.cart-modal-close:hover {
  background: rgba(255, 255, 255, 0.3);
}

.modal-title,
.cart-modal-title {
  font-size: clamp(1.5rem, 3vw, 24px);
  font-weight: 700;
  margin-bottom: 10px;
}

.modal-subtitle,
.cart-modal-subtitle {
  font-size: clamp(0.9rem, 2vw, 16px);
  opacity: 0.9;
}

.modal-body,
.cart-modal-body {
  padding: 30px 20px;
}

/* Service Info */
.service-info {
  background: var(--bg-light);
  padding: 20px;
  border-radius: 15px;
  margin: 10px 0 20px;
  text-align: center;
}

.service-info h3 {
  color: var(--primary-dark);
  margin-bottom: 10px;
}

.service-info p {
  color: var(--text-medium);
}

/* Form Actions */
.form-actions {
  display: flex;
  gap: 12px;
  margin-top: 32px;
}

.btn-primary {
  flex: 2;
  background: linear-gradient(
    135deg,
    var(--primary-dark),
    var(--primary-medium)
  );
  color: white;
  padding: 12px 24px;
  border: none;
  border-radius: 24px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-medium);
  font-family: inherit;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(0, 25, 94, 0.3);
}

.btn-secondary {
  flex: 1;
  background: transparent;
  color: var(--text-medium);
  padding: 12px 24px;
  border: 1px solid rgba(140, 140, 140, 0.3);
  border-radius: 24px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-medium);
  font-family: inherit;
}

.btn-secondary:hover {
  background: var(--bg-light);
  border-color: rgba(140, 140, 140, 0.5);
}

/* Cart Styles */
.cart-empty {
  text-align: center;
  padding: 40px 20px;
  color: var(--text-medium);
}

.cart-empty-icon {
  font-size: 60px;
  margin-bottom: 20px;
  opacity: 0.5;
}

.cart-empty h3 {
  margin-bottom: 15px;
  color: var(--text-dark);
}

.cart-empty p {
  margin-bottom: 20px;
}

/* Success Message */
.success-message {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: linear-gradient(
    135deg,
    var(--primary-dark),
    var(--primary-medium)
  );
  color: white;
  padding: 20px 40px;
  border-radius: 15px;
  z-index: 3000;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 25, 94, 0.3);
}

.success-message h3 {
  margin-bottom: 10px;
}

/* ===== FOOTER STYLES ===== */
footer {
  background: linear-gradient(
    135deg,
    rgba(0, 25, 94, 0.98) 0%,
    rgba(0, 76, 183, 0.95) 50%,
    rgba(49, 171, 253, 0.92) 100%
  );
  backdrop-filter: blur(20px);
  color: white;
  padding: 80px 20px 40px;
  margin-top: 80px;
  position: relative;
  overflow: hidden;
  border-top: 4px solid rgba(255, 255, 255, 0.2);
}

footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.8) 0%,
    rgba(49, 171, 253, 0.9) 25%,
    rgba(255, 255, 255, 1) 50%,
    rgba(49, 171, 253, 0.9) 75%,
    rgba(255, 255, 255, 0.8) 100%
  );
  background-size: 200% 100%;
  animation: footerGradientFlow 4s linear infinite;
  box-shadow: 0 2px 15px rgba(255, 255, 255, 0.4);
}

@keyframes footerGradientFlow {
  0% {
    background-position: 0% 0%;
  }
  100% {
    background-position: 200% 0%;
  }
}

footer::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="40" r="1.5" fill="rgba(255,255,255,0.08)"/><circle cx="40" cy="80" r="1" fill="rgba(255,255,255,0.12)"/><circle cx="90" cy="10" r="0.8" fill="rgba(255,255,255,0.06)"/><circle cx="10" cy="90" r="1.2" fill="rgba(255,255,255,0.1)"/></svg>')
    repeat;
  opacity: 0.3;
  pointer-events: none;
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 40px;
  position: relative;
  z-index: 2;
}

.footer-section {
  transition: transform var(--transition-medium);
}

.footer-section:hover {
  transform: translateY(-5px);
}

.footer-logo {
  text-align: left;
  margin-bottom: 30px;
}

html[dir="rtl"] .footer-logo {
  text-align: right;
}

.footer-logo img {
  height: 140px;
  width: auto;
  filter: brightness(1.3) contrast(1.1);
  transition: transform var(--transition-medium);
}

.footer-logo img:hover {
  transform: scale(1.05);
}

.footer-section h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 25px;
  color: white;
  position: relative;
  padding-bottom: 15px;
}

.footer-section h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, white, rgba(255, 255, 255, 0.5));
  border-radius: 2px;
}

html[dir="rtl"] .footer-section h3::after {
  right: 0;
  left: auto;
}

.footer-section p {
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 15px;
  text-align: justify;
  font-size: 16px;
  font-weight: 400;
}

.footer-section p strong {
  color: white;
  font-weight: 700;
  display: block;
  margin-top: 20px;
  font-size: 18px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.footer-services {
  list-style: none;
  padding: 0;
}

.footer-services li {
  padding: 12px 0;
  color: rgba(255, 255, 255, 0.9);
  position: relative;
  padding-left: 30px;
  font-size: 16px;
  transition: all var(--transition-medium);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-services li:last-child {
  border-bottom: none;
}

html[dir="rtl"] .footer-services li {
  padding-left: 0;
  padding-right: 30px;
  text-align: right;
}

.footer-services li::before {
  content: "→";
  color: white;
  font-weight: bold;
  position: absolute;
  left: 0;
  top: 12px;
  font-size: 18px;
  transition: transform var(--transition-medium);
}

html[dir="rtl"] .footer-services li::before {
  content: "←";
  left: auto;
  right: 0;
}

.footer-services li:hover {
  color: white;
  padding-left: 35px;
}

html[dir="rtl"] .footer-services li:hover {
  padding-left: 0;
  padding-right: 35px;
}

.footer-services li:hover::before {
  transform: translateX(5px);
}

html[dir="rtl"] .footer-services li:hover::before {
  transform: translateX(-5px);
}

.footer-services li a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: color var(--transition-medium);
  font-weight: 500;
}

.footer-services li a:hover {
  color: white;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.footer-section p i {
  color: white;
  margin-right: 12px;
  width: 25px;
  text-align: center;
  font-size: 18px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

html[dir="rtl"] .footer-section p i {
  margin-right: 0;
  margin-left: 12px;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 2px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.8);
  font-size: 16px;
  position: relative;
  z-index: 2;
}

.footer-bottom p {
  margin-bottom: 10px;
  font-weight: 500;
}

.novay-link {
  color: white;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  transition: all var(--transition-medium);
  position: relative;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
  display: inline-block;
}

.novay-link:hover {
  color: #ffffff;
  text-shadow: 0 0 15px rgba(255, 255, 255, 0.8);
  transform: scale(1.05);
}

.novay-link::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, white, rgba(255, 255, 255, 0.7));
  transition: width var(--transition-medium);
  border-radius: 2px;
}

.novay-link:hover::after {
  width: 100%;
}

/* ===== ANIMATIONS ===== */
@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== RESPONSIVE DESIGN ===== */

/* Large Desktop */
@media (min-width: 1200px) {
  .footer-content {
    grid-template-columns: 2.5fr 1fr 1fr;
    gap: 80px;
  }
}

/* Tablet */
@media (max-width: 1024px) {
  .header-content {
    padding: 0 15px;
  }

  .actions-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
  }

  .contact-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .footer-section:first-child {
    grid-column: 1 / -1;
  }
}

/* Mobile */
@media (max-width: 768px) {
  /* Header */
  .nav-menu {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .header-content {
    height: 70px;
    padding: 0 15px;
  }

  .header-cta {
    display: none;
  }

  .header-actions {
    gap: 8px;
  }

  .lang-toggle {
    padding: 8px 12px;
    font-size: 12px;
    min-width: 55px;
  }

  .lang-toggle i {
    font-size: 10px;
  }

  #currentLang {
    font-size: 11px;
  }

  .cart-btn {
    padding: 10px 14px;
    font-size: 14px;
  }

  .cart-count {
    width: 20px;
    height: 20px;
    font-size: 10px;
  }

  /* Main Content */
  .main-content {
    padding-top: 80px;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Page Header */
  .page-header {
    padding: 40px 20px;
    margin-bottom: 40px;
    border-radius: 20px;
  }

  /* Sections */
  .quick-actions,
  .contact-info,
  .office-hours {
    padding: 40px 20px;
    border-radius: 20px;
    margin-bottom: 40px;
  }

  .contact-form {
    padding: 30px 20px;
    border-radius: 20px;
  }

  .actions-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .action-card {
    padding: 30px 20px;
    min-height: 300px;
  }

  /* Contact Items */
  .contact-item {
    flex-direction: column;
    text-align: center;
    gap: 15px;
    padding: 25px 0;
  }

  .contact-item:hover {
    transform: none;
    margin: 0;
    padding: 25px 15px;
  }

  .contact-icon {
    width: 50px;
    height: 50px;
    font-size: 20px;
  }

  /* Hours Grid */
  .hours-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* Side Strips */
  .side-strip {
    width: 8px;
  }

  .bottom-strip {
    height: 8px;
  }

  /* Modals */
  .modal-overlay,
  .cart-modal-overlay {
    padding: 10px;
  }

  /* Footer */
  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }

  .footer-section:first-child {
    grid-column: auto;
  }

  .footer-logo {
    text-align: center;
  }

  .footer-section h3::after {
    left: 50%;
    transform: translateX(-50%);
  }

  html[dir="rtl"] .footer-section h3::after {
    right: 50%;
    left: 50%;
    transform: translateX(-50%);
  }

  .footer-services li {
    text-align: center;
    padding-left: 0;
  }

  html[dir="rtl"] .footer-services li {
    padding-right: 0;
    text-align: center;
  }

  .footer-services li::before {
    display: none;
  }

  .footer-services li:hover {
    padding-left: 0;
  }

  html[dir="rtl"] .footer-services li:hover {
    padding-right: 0;
  }

  .footer-section p {
    text-align: center;
  }

  .footer-section p i {
    margin-right: 8px;
    float: none;
  }

  html[dir="rtl"] .footer-section p i {
    margin-left: 8px;
    margin-right: 0;
    float: none;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .logo img {
    height: 120px;
  }

  .page-title {
    font-size: 2rem;
  }

  .page-subtitle {
    font-size: 1rem;
  }

  .action-card {
    padding: 25px 15px;
    min-height: 280px;
  }

  .action-icon {
    font-size: 1.5rem;
  }

  .contact-form .section-title {
    font-size: 1.5rem;
  }

  .form-input,
  .form-select,
  .form-textarea {
    padding: 12px 15px;
    font-size: 14px;
  }

  .submit-btn {
    padding: 15px 20px;
    font-size: 16px;
  }

  footer {
    padding: 60px 20px 30px;
  }

  .footer-section h3 {
    font-size: 20px;
  }

  .footer-section p {
    font-size: 14px;
  }
}

/* RTL Specific Adjustments */
html[dir="rtl"] .header-actions {
  flex-direction: row-reverse;
}

html[dir="rtl"] .form-input {
  text-align: right;
}

html[dir="rtl"] .footer-bottom {
  text-align: center;
  direction: rtl;
}

html[dir="rtl"] .footer-section {
  text-align: right;
}

@media (max-width: 768px) {
  html[dir="rtl"] .footer-section {
    text-align: center;
  }

  html[dir="rtl"] .footer-logo {
    text-align: center;
  }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .logo img,
  .footer-logo img {
    image-rendering: -webkit-optimize-contrast;
  }
}

/* Reduce Motion for Accessibility */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .floating-shape {
    animation: none;
  }

  .side-strip {
    animation: none;
  }
}

/* Print Styles */
@media print {
  .side-strip,
  .bottom-strip,
  .bg-animation,
  header,
  .modal-overlay,
  .cart-modal-overlay {
    display: none !important;
  }

  body {
    background: white !important;
    color: black !important;
  }

  .quick-actions,
  .contact-info,
  .contact-form,
  .office-hours {
    background: white !important;
    border: 1px solid #ccc !important;
  }
}

/* iOS Device Specific */
@supports (-webkit-appearance: none) {
  body {
    background: linear-gradient(
      135deg,
      var(--primary-dark) 0%,
      var(--primary-medium) 50%,
      var(--primary-light) 100%
    ) !important;
    background-attachment: scroll !important;
  }
}

@supports (-webkit-touch-callout: none) {
  body {
    background-attachment: scroll !important;
  }
}

@media (max-width: 1024px) {
  body {
    background: linear-gradient(
      135deg,
      var(--primary-dark) 0%,
      var(--primary-medium) 50%,
      var(--primary-light) 100%
    ) !important;
    background-size: 100% 100% !important;
    background-repeat: no-repeat !important;
  }
}

/* Performance Optimizations */
.action-card,
.contact-item,
.submit-btn,
.header-cta,
.cart-btn,
.lang-toggle {
  will-change: transform;
  transform: translateZ(0);
  backface-visibility: hidden;
}

/* Accessibility Improvements */
*:focus {
  outline: 2px solid var(--primary-light);
  outline-offset: 2px;
}

button:focus,
.btn-primary:focus,
.btn-secondary:focus {
  outline: 3px solid var(--primary-light);
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
  :root {
    --primary-dark: #000;
    --primary-medium: #333;
    --primary-light: #666;
    --text-dark: #000;
    --text-medium: #333;
    --text-light: #666;
  }

  .action-card,
  .contact-form,
  .modal-content {
    border: 2px solid #000;
  }
}

/* Reduced Transparency for Accessibility */
@media (prefers-reduced-transparency: reduce) {
  header,
  .quick-actions,
  .contact-info,
  .office-hours,
  footer {
    backdrop-filter: none;
  }

  header {
    background: rgb(255, 255, 255);
  }

  footer {
    background: rgb(0, 25, 94);
  }
}
