/* ============================================
   MODERN HOME PAGE STYLES
   ============================================ */

:root {
  --modern-primary: #ce1126;
  --modern-dark: #000000;
  --modern-light: #ffffff;
  --modern-gray: #64748b;
  --modern-gray-light: #f1f5f9;
  --modern-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  --modern-shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.15);
  --modern-radius: 20px;
  --modern-gradient: linear-gradient(135deg, #ce1126 0%, #000000 100%);
}

/* ============================================
   PREMIUM HERO SECTION
   ============================================ */

.hero-premium {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Hero Background */
.hero-background {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.7);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(206, 17, 38, 0.5) 0%,
    rgba(0, 0, 0, 0.6) 50%,
    rgba(206, 17, 38, 0.4) 100%
  );
}

/* Hero Content Center */
.hero-content-center {
  position: relative;
  z-index: 2;
  padding: 80px 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 3rem;
}

/* Hero Text Content */
.hero-text-content {
  text-align: center;
  margin-bottom: 3rem;
  max-width: 800px;
}

.hero-premium-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  color: transparent;
  background: linear-gradient(90deg, #ce1126, #ff6b6b, #667eea, #ce1126);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  text-shadow: 0 0 30px rgba(206, 17, 38, 0.5);
  animation: hero-title-shimmer 4s ease-in-out infinite, text-float 3s ease-in-out infinite;
  letter-spacing: 2px;
}

@keyframes hero-title-shimmer {
  0%, 100% { background-position: 0% center; }
  50% { background-position: 200% center; }
}

@keyframes text-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes hero-title-fade {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-premium-subtitle {
  font-size: 1.125rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 0;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  animation: hero-subtitle-fade 1s ease-out 0.2s backwards;
}

@keyframes hero-subtitle-fade {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hero Buttons */
.hero-buttons-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: hero-buttons-fade 1s ease-out 0.4s backwards;
}

@keyframes hero-buttons-fade {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.btn-hero {
  display: inline-flex;
  align-items: center;
  padding: 16px 32px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
}

.btn-hero::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn-hero:hover::before {
  width: 300px;
  height: 300px;
}

.btn-hero span {
  position: relative;
  z-index: 1;
}

.btn-hero i {
  position: relative;
  z-index: 1;
  transition: transform 0.3s;
}

.btn-hero:hover i {
  transform: translateX(-4px);
}

.btn-hero-primary {
  background: linear-gradient(135deg, #ce1126 0%, #000000 100%);
  color: white;
  border: 2px solid transparent;
}

.btn-hero-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(206, 17, 38, 0.4);
  color: white;
}

.btn-hero-white {
  background: white;
  color: var(--modern-dark);
  border: 2px solid white;
}

.btn-hero-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.95);
  color: var(--modern-dark);
}

/* Search Box */
.hero-search-box {
  background: white;
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  max-width: 900px;
  width: 100%;
  animation: search-box-fade 1s ease-out 0.6s backwards;
}

@keyframes search-box-fade {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.search-box-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--modern-dark);
  margin-bottom: 2rem;
  text-align: center;
}

.search-form {
  width: 100%;
}

.search-inputs-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: #f8f9fa;
  border-radius: 15px;
  margin-bottom: 1rem;
}

.search-input-group {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.5rem;
}

.search-icon {
  font-size: 1.5rem;
  color: var(--modern-primary);
  flex-shrink: 0;
}

.input-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.input-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--modern-gray);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0;
}

.search-select {
  width: 100%;
  border: none;
  background: transparent;
  font-size: 1rem;
  font-weight: 600;
  color: var(--modern-dark);
  outline: none;
  cursor: pointer;
  padding: 0;
}

.search-select option {
  padding: 10px;
}

.search-divider {
  width: 2px;
  height: 40px;
  background: #dee2e6;
  flex-shrink: 0;
}

.search-btn-wrapper {
  flex-shrink: 0;
}

.btn-search {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 16px 32px;
  background: linear-gradient(135deg, #ce1126 0%, #000000 100%);
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(206, 17, 38, 0.3);
  white-space: nowrap;
}

.btn-search:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(206, 17, 38, 0.4);
}

.btn-search i {
  font-size: 1.25rem;
}

.advanced-search-link {
  text-align: center;
  margin-top: 1rem;
}

.advanced-search-link a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--modern-gray);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 600;
  transition: all 0.3s;
}

.advanced-search-link a:hover {
  color: var(--modern-primary);
  gap: 0.75rem;
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: white;
  animation: scroll-bounce 2s ease-in-out infinite;
}

@keyframes scroll-bounce {
  0%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(10px);
  }
}

.scroll-text {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.9;
}

.scroll-arrow {
  width: 30px;
  height: 30px;
  border: 2px solid white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.scroll-arrow i {
  animation: arrow-bounce 1s ease-in-out infinite;
}

@keyframes arrow-bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(3px);
  }
}

/* ============================================
   SECTION HEADERS
   ============================================ */

.section-header {
  margin-bottom: 3rem;
}

.section-badge {
  display: inline-block;
  padding: 6px 20px;
  background: rgba(206, 17, 38, 0.1);
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--modern-primary);
  margin-bottom: 1rem;
}

.section-badge-light {
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--modern-dark);
  margin-bottom: 1rem;
}

.section-description {
  font-size: 1.125rem;
  color: var(--modern-gray);
  max-width: 600px;
  margin: 0 auto;
}

/* ============================================
   MODERN UNIVERSITIES SECTION
   ============================================ */

.modern-universities {
  padding: 100px 0;
  background: var(--modern-gray-light);
  position: relative;
}

.universities-slider-wrapper {
  position: relative;
  padding: 2rem 0;
}

.universities-slider {
  display: flex;
  gap: 2rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 1rem 0;
}

.universities-slider::-webkit-scrollbar {
  display: none;
}

/* Slider Buttons */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: white;
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--modern-dark);
  transition: all 0.3s;
  z-index: 10;
}

.slider-btn:hover {
  background: var(--modern-primary);
  color: white;
  transform: translateY(-50%) scale(1.1);
}

.slider-prev {
  right: -25px;
}

.slider-next {
  left: -25px;
}

/* Slider Indicators */
.slider-indicators {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}

.slider-indicators .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #cbd5e1;
  cursor: pointer;
  transition: all 0.3s;
}

.slider-indicators .dot.active {
  background: var(--modern-primary);
  width: 30px;
  border-radius: 5px;
}

/* ============================================
   MODERN TESTIMONIALS SECTION
   ============================================ */

.modern-testimonials {
  padding: 100px 0;
  background: white;
}

.testimonials-modern-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.testimonial-modern-card {
  background: white;
  border-radius: var(--modern-radius);
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid #e2e8f0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.testimonial-modern-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--modern-gradient);
  transform: scaleX(0);
  transition: transform 0.3s;
}

.testimonial-modern-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.testimonial-modern-card:hover::before {
  transform: scaleX(1);
}

.testimonial-header-section {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.testimonial-avatar-section {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.avatar-circle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--modern-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
}

.author-details {
  flex: 1;
}

.author-name-modern {
  font-size: 1rem;
  font-weight: 700;
  color: var(--modern-dark);
  margin: 0 0 0.25rem 0;
}

.author-role {
  font-size: 0.875rem;
  color: var(--modern-gray);
  margin: 0;
}

.rating-stars {
  display: flex;
  gap: 0.25rem;
  color: #fbbf24;
  font-size: 1rem;
}

.testimonial-body-section {
  position: relative;
}

.quote-mark {
  position: absolute;
  top: -10px;
  left: -10px;
  font-size: 3rem;
  color: var(--modern-primary);
  opacity: 0.1;
  z-index: 0;
}

.testimonial-text {
  position: relative;
  z-index: 1;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: #64748b;
  margin: 0;
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 5rem 2rem;
}

.empty-icon {
  width: 100px;
  height: 100px;
  margin: 0 auto 2rem;
  background: var(--modern-gray-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--modern-gray);
}

.empty-state h4 {
  color: var(--modern-dark);
  margin-bottom: 0.5rem;
}

.empty-state p {
  color: var(--modern-gray);
}

/* ============================================
   MODERN STATISTICS SECTION
   ============================================ */

.modern-statistics {
  padding: 100px 0;
  background: var(--modern-gradient);
  position: relative;
  overflow: hidden;
}

.stats-bg-pattern {
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(circle at 20% 50%, rgba(255,255,255,0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(255,255,255,0.05) 0%, transparent 50%);
}

.stats-modern-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.stat-modern-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: var(--modern-radius);
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s;
}

.stat-modern-card:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-5px);
}

.stat-icon-wrapper {
  margin-bottom: 1.5rem;
}

.stat-icon-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: white;
  backdrop-filter: blur(5px);
}

.stat-icon-danger {
  background: rgba(239, 68, 68, 0.2);
}

.stat-icon-warning {
  background: rgba(251, 191, 36, 0.2);
}

.stat-icon-success {
  background: rgba(34, 197, 94, 0.2);
}

.stat-info {
  color: white;
}

.stat-value {
  font-size: 3rem;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-title {
  font-size: 1rem;
  margin-bottom: 1rem;
  opacity: 0.9;
}

.stat-progress {
  height: 6px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 3px;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  background: white;
  border-radius: 3px;
  transition: width 1s ease-out;
  animation: progress-fill 1.5s ease-out;
}

@keyframes progress-fill {
  from {
    width: 0;
  }
}

/* ============================================
   MODERN FOOTER
   ============================================ */

.modern-footer {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  color: white;
  position: relative;
  padding-top: 0;
}

.footer-wave {
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.footer-wave svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 80px;
  fill: #1e293b;
}

.modern-footer .container {
  padding: 4rem 15px 2rem;
}

.footer-brand {
  margin-bottom: 2rem;
}

.footer-logo {
  max-width: 180px;
  height: auto;
  filter: brightness(0) invert(1);
}

.footer-description {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  transition: all 0.3s;
  font-size: 1.125rem;
}

.social-icon:hover {
  background: var(--modern-primary);
  transform: translateY(-3px);
  color: white;
}

.footer-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: white;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
}

.footer-links a:hover {
  color: white;
  padding-right: 0.5rem;
}

.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer-contact i {
  font-size: 1.25rem;
  color: var(--modern-primary);
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.footer-bottom {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
}

/* ============================================
   DARK MODE SUPPORT
   ============================================ */

[data-theme="dark"] .modern-hero {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
}

[data-theme="dark"] .hero-main-title,
[data-theme="dark"] .section-title {
  color: white;
}

[data-theme="dark"] .hero-description,
[data-theme="dark"] .section-description {
  color: rgba(255, 255, 255, 0.7);
}

[data-theme="dark"] .btn-modern-outline {
  border-color: white;
  color: white;
}

[data-theme="dark"] .btn-modern-outline:hover {
  background: white;
  color: var(--modern-dark);
}

[data-theme="dark"] .modern-universities {
  background: #1e293b;
}

[data-theme="dark"] .modern-testimonials {
  background: #0f172a;
}

[data-theme="dark"] .testimonial-modern-card {
  background: #1e293b;
  border-color: #334155;
}

[data-theme="dark"] .author-name-modern {
  color: white;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 992px) {
  .hero-search-box {
    padding: 2rem;
  }
  
  .search-inputs-row {
    flex-direction: column;
    gap: 1rem;
  }
  
  .search-divider {
    width: 100%;
    height: 2px;
  }
  
  .search-btn-wrapper {
    width: 100%;
  }
  
  .btn-search {
    width: 100%;
    justify-content: center;
  }
  
  .slider-prev {
    right: -15px;
  }
  
  .slider-next {
    left: -15px;
  }
}

@media (max-width: 768px) {
  .hero-real-estate {
    min-height: auto;
  }
  
  .hero-content-wrapper {
    padding: 100px 0 140px;
  }
  
  .hero-big-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .hero-buttons-group {
    flex-direction: column;
    width: 100%;
  }
  
  .btn-hero {
    width: 100%;
    justify-content: center;
  }
  
  .hero-search-box {
    padding: 1.5rem;
  }
  
  .search-box-title {
    font-size: 1.25rem;
  }
  
  .scroll-indicator {
    bottom: 20px;
  }
  
  .modern-universities,
  .modern-testimonials,
  .modern-statistics {
    padding: 60px 0;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .testimonials-modern-grid {
    grid-template-columns: 1fr;
  }
  
  .stats-modern-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .stat-value {
    font-size: 2rem;
  }
  
  .slider-btn {
    width: 40px;
    height: 40px;
    font-size: 1.25rem;
  }
}

@media (max-width: 480px) {
  .stats-modern-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-big-title {
    font-size: 1.75rem;
  }
  
  .hero-text-content {
    margin-bottom: 2rem;
    padding: 1rem;
  }
  
  .search-input-group {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .search-icon {
    font-size: 1.25rem;
  }
  
  /* تحسينات للغة الفرنسية */
  .hero-premium-title {
    font-size: clamp(1.5rem, 5vw, 2.5rem) !important;
    line-height: 1.3 !important;
    word-spacing: 0.05em !important;
    letter-spacing: -0.01em !important;
    margin-bottom: 1rem !important;
  }
  
  .hero-premium-subtitle-large {
    font-size: clamp(1rem, 3.5vw, 1.5rem) !important;
    line-height: 1.5 !important;
    word-spacing: 0.1em !important;
    letter-spacing: 0 !important;
    min-height: 40px !important;
  }
  
  .registration-cards {
    gap: 1rem;
  }
  
  .reg-card {
    padding: 1.5rem 1rem;
  }
}

/* تحسينات للشاشات الصغيرة جداً */
@media (max-width: 360px) {
  .hero-premium-title {
    font-size: 1.3rem !important;
    line-height: 1.4 !important;
  }
  
  .hero-premium-subtitle-large {
    font-size: 0.95rem !important;
    line-height: 1.6 !important;
  }
  
  .hero-search-box {
    padding: 1rem;
  }
}

/* ============================================
   تحسينات الأداء للأجهزة المحمولة
   ============================================ */

/* تقليل الAnimations على Mobile */
@media (max-width: 992px) and (hover: none) {
  /* تقليل مدة الanimations */
  .device-mobile .hero-premium-title,
  .device-tablet .hero-premium-title {
    animation-duration: 0.6s !important;
    animation-iteration-count: 1 !important;
  }
  
  .device-mobile .hero-premium-subtitle,
  .device-tablet .hero-premium-subtitle {
    animation-duration: 0.5s !important;
  }
  
  .device-mobile .testimonial-modern-card,
  .device-tablet .testimonial-modern-card,
  .device-mobile .stat-premium-card,
  .device-tablet .stat-premium-card {
    transition-duration: 0.2s !important;
  }
  
  /* تعطيل infinite animations */
  .device-mobile .hero-premium-title,
  .device-tablet .hero-premium-title {
    animation: hero-title-fade 0.6s ease-out !important;
  }
  
  /* تقليل shadows */
  .device-mobile .hero-search-box,
  .device-tablet .hero-search-box {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
  }
  
  .device-mobile .testimonial-modern-card,
  .device-tablet .testimonial-modern-card {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05) !important;
  }
}

/* تحسينات للتابلت */
@media (min-width: 768px) and (max-width: 1024px) {
  .hero-premium-title {
    font-size: clamp(2rem, 5vw, 3.5rem) !important;
  }
  
  .hero-premium-subtitle-large {
    font-size: clamp(1.3rem, 3vw, 2rem) !important;
  }
  
  .device-tablet .hero-content-center {
    padding: 60px 0;
  }
}

/* Portrait orientation fixes */
@media (max-width: 768px) and (orientation: portrait) {
  .hero-premium {
    min-height: 80vh;
  }
  
  .hero-text-content {
    padding: 1.5rem 1rem;
  }
  
  .hero-premium-title {
    margin-bottom: 0.8rem !important;
  }
}

/* Landscape mobile fixes */
@media (max-width: 992px) and (max-height: 500px) and (orientation: landscape) {
  .hero-premium {
    min-height: 100vh;
  }
  
  .hero-content-center {
    padding: 40px 0;
    gap: 1.5rem;
  }
  
  .hero-text-content {
    margin-bottom: 1rem;
  }
  
  .registration-cards {
    flex-direction: row;
    gap: 1rem;
  }
  
  .reg-card {
    flex: 1;
    padding: 1.5rem 1rem;
  }
}

/* Performance mode optimizations */
.performance-minimal *,
.performance-reduced * {
  animation-duration: 0.3s !important;
  animation-iteration-count: 1 !important;
  transition-duration: 0.2s !important;
}

.performance-minimal .hero-premium-title,
.performance-minimal .hero-premium-subtitle-large {
  animation: none !important;
}

