/*!
Theme Name: UiCore Pro Child
Theme URI: https://uicore.co
Description: One framework for all your website needs.
Author: UiCore
Author URI: https://uicore.co
Template: uicore-pro
Version: 1.0.0
Text Domain: uicore-pro
*/

 /* Add your custom style here */
.ltr-spec{
direction:ltr;
}


.scholarship-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 1024px) {
  .scholarship-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.special-badge-top {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #f4c430;
  color: #222;
  padding: 5px 12px;
  border-radius: 12px;
  font-weight: bold;
  font-size: 0.9rem;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 5px;
}
@media (max-width: 640px) {
  .scholarship-grid {
    grid-template-columns: 1fr;
  }
}

.scholarship-card {
  position: relative;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(0,0,0,0.1);
  transition: transform .3s ease;
}
.scholarship-card:hover {
  transform: translateY(-8px);
}

.scholarship-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.15;
}

.scholarship-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
  z-index: 2;
  position: relative;
}

.university-logo {
  max-height: 40px;
  object-fit: contain;
}

.flag-icon {
  width: 28px;
  height: auto;
}

.scholarship-body {
  padding: 15px;
  z-index: 2;
  position: relative;
}

.scholarship-title {
  font-size: 1.1rem;
  font-weight: bold;
  margin-bottom: 6px;
  color: #222;
}

.scholarship-type {
  font-size: .95rem;
  color: #666;
  margin-bottom: 12px;
}

.scholarship-prices {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 8px;
}
.original-price {
  text-decoration: line-through;
  color: #aaa;
  font-size: 0.9rem;
}
.scholarship-price {
  font-size: 1.2rem;
  font-weight: bold;
  color: #e63946;
}

.discount {
  background: #e63946;
  color: #fff;
  padding: 5px 10px;
  border-radius: 12px;
  font-size: 0.85rem;
  display: inline-block;
  margin-bottom: 6px;
}

.saving {
  font-size: 0.85rem;
  color: #2a9d8f;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
}

.info-icon {
  font-size: 1.3em;
  margin-right: 5px;
  cursor: pointer;
}

.seats {
  font-size: 0.85rem;
  color: #264653;
  font-weight: 500;
}

.contact-button {
  display: inline-block;
  margin-top: 10px;
  padding: 8px 16px;
  background-color: #e63946;
  color: #fff;
  border-radius: 12px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
  text-align: center;
}

.contact-button:hover {
  background-color: #d62828;
}

@media (max-width: 640px) {
  .contact-button {
    width: 100%;
  }
}
.scholarship-card {
  position: relative;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(0,0,0,0.1);
  transition: transform .3s ease;
}
.scholarship-card:hover {
  transform: translateY(-8px);
}

.special-card {
  border: 3px solid #f4c430; /* ذهبي */
  box-shadow: 0 8px 20px rgba(244, 196, 48, 0.4);
  position: relative;
  overflow: hidden;
}

/* Ribbon */
.special-ribbon {
  position: absolute;
  top: 15px;
  left: -45px;
  width: 160px;
  background: #f4c430;
  color: #222;
  text-align: center;
  line-height: 28px;
  font-weight: bold;
  font-size: 0.9rem;
  transform: rotate(-45deg);
  box-shadow: 0 3px 6px rgba(0,0,0,0.2);
  z-index: 10;
}

   .scholarship-search {
      margin-bottom: 20px;
      display: flex;
      gap: 10px;
      flex-wrap: wrap;
    }
    .scholarship-search select,
    .scholarship-search input,
    .scholarship-search button {
      padding: 10px;
      border-radius: 10px;
      border: 1px solid #ddd;
      font-size: 0.95rem;
    }
    .scholarship-search button {
      background: #f4c430;
      border: none;
      cursor: pointer;
      transition: background 0.3s;
    }
    .scholarship-search button:hover {
      background: #e0b820;
    }
    .loading {
      text-align: center;
      padding: 20px;
      font-weight: bold;
      animation: pulse 1.5s infinite;
    }
    @keyframes pulse {
      0% { opacity: 0.5; }
      50% { opacity: 1; }
      100% { opacity: 0.5; }
    }
    .no-results {
      text-align: center;
      color: #888;
      padding: 20px;
      font-size: 1.1rem;
    }

.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    overflow: visible;
    transition: transform 0.3s ease;
}

.whatsapp-float img {
    width: 35px;
    height: 35px;
    z-index: 2;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

/* Waves */
.whatsapp-float .wave {
    position: absolute;
    width: 60px;
    height: 60px;
    background-color: rgba(37, 211, 102, 0.4);
    border-radius: 50%;
    animation: wave 1.5s infinite;
    top: 0;
    left: 0;
    z-index: 1;
}

.whatsapp-float .wave:nth-child(2) {
    animation-delay: 0.5s;
}

@keyframes wave {
    0% {
        transform: scale(0.6);
        opacity: 0.7;
    }
    50% {
        transform: scale(1.3);
        opacity: 0.3;
    }
    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

/* Responsive للجوال */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 15px;
        right: 15px;
    }
    .whatsapp-float img {
        width: 28px;
        height: 28px;
    }
    .whatsapp-float .wave {
        width: 50px;
        height: 50px;
    }
}

