/* Default font for the entire frontend */
:root {
  --font-family-base: 'Noto Kufi Arabic', sans-serif;
}

body {
  font-family: var(--font-family-base);
}

.coming-soon-container {
min-height: 100vh;
display: flex;
align-items: center;
justify-content: center;
background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
font-family: var(--font-family-base);
position: relative;
overflow: hidden;
}

.content {
text-align: center;
color: white;
z-index: 2;
padding: 2rem;
}

.title {
font-size: 4rem;
font-weight: bold;
margin-bottom: 1rem;
animation: fadeInDown 1s ease-out;
}

.subtitle {
font-size: 1.5rem;
margin-bottom: 2rem;
opacity: 0.9;
animation: fadeInUp 1s ease-out 0.5s both;
}

.animated-circle {
position: absolute;
border-radius: 50%;
background: rgba(255, 255, 255, 0.1);
animation: float 8s infinite ease-in-out;
}

.circle-1 {
width: 300px;
height: 300px;
top: -150px;
left: -150px;
animation-delay: 0s;
}

.circle-2 {
width: 200px;
height: 200px;
top: 50%;
right: -100px;
animation-delay: 2s;
}

.circle-3 {
width: 150px;
height: 150px;
bottom: -75px;
left: 10%;
animation-delay: 4s;
}

@keyframes float {
0%,
100% {
    transform: translateY(0) rotate(0deg);
}

50% {
    transform: translateY(-20px) rotate(10deg);
}
}

@keyframes fadeInDown {
from {
    opacity: 0;
    transform: translateY(-30px);
}

to {
    opacity: 1;
    transform: translateY(0);
}
}

@keyframes fadeInUp {
from {
    opacity: 0;
    transform: translateY(30px);
}

to {
    opacity: 1;
    transform: translateY(0);
}
}

.progress-bar {
width: 200px;
height: 4px;
background: rgba(255, 255, 255, 0.1);
border-radius: 4px;
margin: 2rem auto;
position: relative;
overflow: hidden;
}

.progress-bar::after {
content: '';
position: absolute;
top: 0;
left: 0;
height: 100%;
width: 50%;
background: white;
animation: progress 2s ease-in-out infinite;
}

@keyframes progress {
0% {
    left: -50%;
}

100% {
    left: 100%;
}
}

img.coming-soon-logo {
background: #ffffff;
padding: 16px;
border-radius: 16px;
margin-bottom: 2rem;
}


/* Enhanced Navigation Styles */
.nav-wrapper {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  transform: translateY(0);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 500;
}

.nav-wrapper.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.nav-wrapper.hidden {
  transform: translateY(-100%);
}

/* Logo Animations */
.logo-shape {
  fill: var(--primary-color);
  transform-origin: center;
  animation: logoSpin 4s linear infinite;
}

.logo-inner {
  transform-origin: center;
  animation: logoInnerPulse 2s ease-in-out infinite;
}

.logo-pulse {
  position: absolute;
  inset: -4px;
  border: 2px solid var(--primary-color);
  border-radius: 16px;
  opacity: 0;
  animation: logoPulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes logoInnerPulse {

  0%,
  100% {
      transform: scale(1);
  }

  50% {
      transform: scale(0.95);
  }
}

@keyframes logoPulse {
  0% {
      transform: scale(1);
      opacity: 0.5;
  }

  100% {
      transform: scale(1.5);
      opacity: 0;
  }
}

/* Enhanced Menu Items */
.nav-link {
  position: relative;
  padding: 0.5rem 1rem;
  color: var(--text-dark);
  font-weight: 500;
  transition: all 0.3s ease;
  overflow: hidden;
}

.nav-link::before {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.nav-link:hover {
  transform: translateY(-2px);
}

.nav-link:hover span {
  transform: translateY(-100%);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transform: translateX(-50%);
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Menu Toggle Button */
.menu-toggle-btn {
  width: 40px;
  height: 40px;
  position: relative;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 50%;
  background: transparent;
  transition: background 0.3s ease;
}

.menu-toggle-btn:hover {
  background: rgba(0, 0, 0, 0.05);
}

.menu-icon {
  width: 24px;
  height: 20px;
  position: relative;
}

.menu-icon .line {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--text-dark);
  transition: all 0.3s ease;
}

.line-1 {
  top: 0;
}

.line-2 {
  top: 50%;
  transform: translateY(-50%);
}

.line-3 {
  bottom: 0;
}

.menu-toggle-btn.active .line-1 {
  transform: translateY(9px) rotate(45deg);
}

.menu-toggle-btn.active .line-2 {
  opacity: 0;
  transform: translateX(-100%);
}

.menu-toggle-btn.active .line-3 {
  transform: translateY(-9px) rotate(-45deg);
}

/* Mobile Menu Enhancements */
.mobile-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  clip-path: circle(0% at top left);
  transition: clip-path 0.5s ease-in-out;
  /* background: rgb(241 250 245 / 96%); */
  backdrop-filter: blur(30px);
}

.mobile-menu.active {
  clip-path: circle(150% at top left);
}

.mobile-menu-container {
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.3s ease;
}

.mobile-menu.active .mobile-menu-container {
  opacity: 1;
  transform: translateY(0);
}

.mobile-nav-links a {
  opacity: 0;
  transform: translateX(20px);
  transition: all 0.3s ease;
}

.mobile-menu.active .mobile-nav-links a {
  opacity: 1;
  transform: translateX(0);
}

.mobile-menu.active .mobile-nav-links a:nth-child(1) {
  transition-delay: 0.5s;
}

.mobile-menu.active .mobile-nav-links a:nth-child(2) {
  transition-delay: 0.2s;
}

.mobile-menu.active .mobile-nav-links a:nth-child(3) {
  transition-delay: 0.3s;
}

.mobile-menu.active .mobile-nav-links a:nth-child(4) {
  transition-delay: 0.4s;
}

.mobile-menu.active .mobile-nav-links a:nth-child(5) {
  transition-delay: 0.5s;
}

/* Mobile Nav Links */
.mobile-nav-link {
  position: relative;
  display: block;
  padding: 0.75rem 1rem;
  color: var(--text-dark);
  font-weight: 500;
  border-radius: 10px;
  transition: all 0.3s ease;
  overflow: hidden;
}

.mobile-nav-link::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--primary-color);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
  z-index: -1;
}

.mobile-nav-link:hover::before,
.mobile-nav-link.active::before {
  transform: scaleX(1);
  transform-origin: left;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  color: white;
}

/* Adjust hero section padding for fixed nav */
.hero-section {
  padding-top: 160px;
}

*{
  direction: rtl;
}

span.play-icon i {
  color: #fff;
  line-height: 2.5rem;
}

.shape-blob-1 {
  position: absolute;
  top: -15%;
  right: -10%;
  width: 50%;
  height: 60%;
  background: linear-gradient(135deg, #a8e6cf 0%, #dcedc1 100%);
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  animation: blobAnimation 15s ease-in-out infinite;
}

.shape-blob-2 {
  position: absolute;
  bottom: 10px;
  left: -10%;
  width: 40%;
  height: 60%;
  background: linear-gradient(135deg, #dcedc1 0%, #a8e6cf 100%);
  border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%;
  animation: blobAnimation 15s ease-in-out infinite reverse;
}

@keyframes blobAnimation {
  0% {
      border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  }

  50% {
      border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%;
  }

  100% {
      border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  }
}

.rounded-blob {
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
}

.play-btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: 0.5rem;
  transition: all 0.3s ease;
  border: 1px solid #ddd;
  border-radius: 30px;
  padding-left: 16px;
  background: #fff;
}

.play-btn span {font-size: clamp(14px, 2vw, 16px);}
.play-icon {
  width: 2.5rem;
  height: 2.5rem;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
  border-radius: 50%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 2.5;
}

.play-icon::before {
  content: '';
  width: 0;
  height: 0;
  display: none;
  border-style: solid;
  border-width: 8px 0 8px 12px;
  border-color: transparent transparent transparent white;
  margin-left: 2px;
}





.main-btn {
  padding: 14px 30px;
  font-size: clamp(14px, 2vw, 16px);
  background: linear-gradient(45deg, var(--primary-color), var(--primary-dark));
  color: #fff;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  position: relative;
  z-index: 1;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 0 10px rgb(78 247 170 / 50%), 0 0 40px rgb(83 145 52 / 30%);
  display: inline-block;
  line-height: normal;
  /* line-height: 1rem; */
  /* height: auto; */
}

.main-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgb(87 166 45 / 55%), 0 0 80px rgb(86 171 110 / 40%);
  color: #fff;
}

a:hover {
  text-decoration: none;
  color: var(--primary-dark);
}


.stat-item span {
  display: block;
}

i.fi {
  position: relative;
  top: 3px;
}

.first-section{
  padding-top: 110px;
}

span.rating-badge {
  border: 1px solid #eee;
  /* background: transparent; */
  padding: 6px 14px;
  border-radius: 30px;
  color: #444;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: .25rem;
  width: fit-content;
  background: #f9f9f99c;
}

span.rating-badge.good .circle {
  background: #8BC34A;
}

span.rating-badge  .circle {
  width: .75em;
  /* height: 1em; */
  display: inline-block;
  border-radius: 50%;
  aspect-ratio: 1;
}

@media (max-width: 576px) {

  .shape-blob-2 {
    height: 50%;
    /* aspect-ratio: 1; */
}
  body .menu-toggle-btn{
    display:flex;
  }
  body .first-section {
    /* padding-top: 80px; */
}
}



@media (max-width: 768px) {
  body .first-section {
    padding-top: 80px;
}
}

.alert:empty {
  display: none;
}


.info-badge {
  border: 1px dashed #ccc;
  /* width: 2.5rem; */
  /* height: 2.5rem; */
  font-size: 1rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  color: #333;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  /* width: 2rem; */
  /* height: 2rem; */
  border-radius: 1rem;
  font-size: 1rem;
  /* font-weight: bold; */
  transition: all 0.3s ease;
  border-radius: 4px;
  padding: 6px 12px;
}


.mobile-nav-btn {
  text-align: center;
}


img.logo-image {
  max-height: 32px;
}

.professor-card {
  background: #fff;
  padding: 16px;
  border-radius: 16px;
  border: 1px solid #eee;
}

.professor-card .rating-circle {
  padding: 6px;
  border-radius: 6px;
}

.university-logo {
  max-width: 30%;
}

.tab-btn.active {
  background: #1d8921;
  color: #fff;
}

.tab-btn {
  background: #f7f7f7;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: .5rem;
}
button.search-btn.main-btn {
  padding: 6px 14px;
  border-radius: 10px;
}
.form-control {
  border: 1px solid #ddd;
}

/* Warning Message Animation */
@keyframes pulse-slow {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.95;
        transform: scale(1.01);
    }
}

.animate-pulse-slow {
    animation: pulse-slow 3s ease-in-out infinite;
}

/* Decorative circles animation */
.bg-amber-100 {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-10px) rotate(5deg);
    }
}

/* Warning Message Styles */
.warning-message {
    background-color: #fffbeb;
    border: 2px solid #fcd34d;
    border-radius: 1rem;
    padding: 1.5rem;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
    animation: pulse-slow 3s ease-in-out infinite;
}

.warning-message-content {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.warning-icon {
    flex-shrink: 0;
}

.warning-icon i {
    font-size: 1.5rem;
    color: #f59e0b;
}

.warning-text {
    flex: 1;
}

.warning-title {
    font-size: 1.125rem;
    font-weight: bold;
    color: #92400e;
    margin-bottom: 0.5rem;
}

.warning-description {
    color: #b45309;
}

.warning-blob {
    position: absolute;
    width: 8rem;
    height: 8rem;
    background-color: #fee1c7;
    border-radius: 50%;
    opacity: 0.3;
    animation: float 6s ease-in-out infinite;
    z-index: 1;
}

.warning-blob-1 {
    right: -2.5rem;
    bottom: -2.5rem;
}

.warning-blob-2 {
    left: -2.5rem;
    top: -2.5rem;
}

.form-control {
  border: 1px solid #ddd;
}

/* Social Share Popup Styles */
.share-popup {
    position: fixed;
    bottom: -100%;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    width: 90%;
    max-width: 500px;
    z-index: 1000;
    text-align: center;
    transition: bottom 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.share-popup.show {
    bottom: 20px;
}

.share-popup-content {
    position: relative;
}

.share-popup-text {
    color: #374151;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.share-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.share-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    color: white;
    transition: transform 0.2s;
    text-decoration: none;
}

.share-button:hover {
    transform: translateY(-3px);
}

.share-button.whatsapp {
    background: #25D366;
}

.share-button.telegram {
    background: #0088cc;
}

.share-button.snapchat {
    background: #FFFC00;
    color: #000;
}

.share-button.twitter {
    background: #1DA1F2;
}

.close-popup {
    position: absolute;
    top: -10px;
    left: -10px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #f3f4f6;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.close-popup:hover {
    background: #e5e7eb;
}

.share-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.share-popup-overlay.show {
    opacity: 1;
    visibility: visible;
}

/* Warning Popup Styles */
.warning-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.7);
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    width: 90%;
    max-width: 600px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.warning-popup.show {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
    visibility: visible;
}

.warning-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.warning-popup-overlay.show {
    opacity: 1;
    visibility: visible;
}

.warning-popup .close-popup {
    position: absolute;
    top: -10px;
    left: -10px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #f3f4f6;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.warning-popup .close-popup:hover {
    background: #e5e7eb;
}

.warning-popup-content {
    display: flex;
    gap: 1.5rem;
  min-height: 180px;
}

.warning-popup .warning-icon {
    flex-shrink: 0;
}

.warning-popup .warning-icon i {
    font-size: 2rem;
    color: #f59e0b;
}

.warning-popup .warning-text {
    flex: 1;
}

.warning-popup .warning-title {
    font-size: 1.25rem;
    font-weight: bold;
    color: #92400e;
    margin-bottom: 0.75rem;
}

.warning-popup .warning-description {
    color: #b45309;
    line-height: 1.6;
}

/* Typing Animation */
.typing-text::after,
.typing-text-2::after {
    content: '|';
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}


/* Search Dialog Styles */
.search-dialog {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(0);
    transition: background-color 0.3s ease, backdrop-filter 0.3s ease;
}

.search-dialog.active {
    display: flex;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

.search-dialog-content {
    background: white;
    padding: 2.5rem;
    border-radius: 1.5rem;
    width: 90%;
    max-width: 600px;
    position: relative;
    opacity: 0;
    transform: scale(0.9) translateY(-20px);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.search-dialog.active .search-dialog-content {
    opacity: 1;
    transform: scale(1) translateY(0);
}

.close-dialog {
    position: absolute;
    top: 1.25rem;
    left: 1.25rem;
    cursor: pointer;
    font-size: 1.5rem;
    color: #666;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
    background: rgba(0, 0, 0, 0.05);
}

.close-dialog:hover {
    background: rgba(0, 0, 0, 0.1);
    color: var(--primary-dark);
    transform: rotate(90deg);
}

.search-input-group {
    display: flex;
    gap: 1rem;
    margin: 1.5rem 0;
}

.search-input {
    flex: 1;
    padding: 1rem 1.25rem;
    border: 2px solid #eee;
    border-radius: 1rem;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.search-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(var(--primary-rgb), 0.1);
    background: white;
}

.search-btn {
    padding: 1rem 2rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(var(--primary-rgb), 0.2);
}

.search-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(var(--primary-rgb), 0.3);
}

.search-btn:active {
    transform: translateY(0);
}

.search-btn i {
    font-size: 1.2rem;
}

.search-dialog h2 {
    background: linear-gradient(45deg, var(--primary-color), var(--primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive adjustments */
@media (max-width: 640px) {
    .search-dialog-content {
        padding: 2rem;
        margin: 1rem;
    }

    .search-input-group {
        flex-direction: column;
    }

    .search-btn {
        width: 100%;
        justify-content: center;
    }
}