/* Custom Styles */
:root {
  --primary-color: #007bff;
  --secondary-color: #0056b3;
  --text-dark: #333;
  --text-light: #666;
  --bg-light: #f8f9fa;
}

@theme {
  --color-primary: #007bff;
  --color-secondary: #0056b3;
}

html,
body {
  font-family: "Cairo", sans-serif !important;
  overflow-x: hidden;

  opacity: 1 !important;
  transition: none !important;
}

body[dir="ltr"] {
  font-family: "Poppins", sans-serif !important;
}

.img-video {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.language-switcher a {
  background-color: #ffc30c;
  color: #fff !important;
  padding: 8px 15px !important;
  border-radius: 4px;
  font-size: 12px !important;
  font-weight: 600;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  min-width: 60px;
  text-align: center;
}
button {
  cursor: pointer !important;
}
/* Navbar Styles */
nav {
  background-color: white;
}
.nav-link {
  position: relative;
}
.nav-link::after {
  content: "";
  position: absolute;
  bottom: -4px;
  right: 0;
  width: 0;
  height: 2px;
  background: #007bff;
  transition: width 0.3s ease;
}
.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
  color: #0056b3 !important;
  font-weight: 900;
}
.dropdown-menu {
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
}
.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.active {
  color: #0056b3 !important;
  font-weight: 700;
}

/* Hero Slider */
.hero-slide {
  height: 90vh;
  background-size: cover;
  background-position: center;
  position: relative;
}

.hero-overlay {
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.8) 0%,
    rgba(0, 0, 0, 0.4) 100%
  );
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.hero-content {
  animation: fadeInUp 1s ease;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* About Section */
.gradient-bg {
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--secondary-color) 100%
  );
}
.hover-scale {
  transition: transform 0.3s ease;
}
.hover-scale:hover {
  transform: translateY(-5px);
}
.service-item {
  transition: all 0.3s ease;
}
.service-item:hover {
  background: linear-gradient(
    135deg,
    rgba(102, 126, 234, 0.1) 0%,
    rgba(118, 75, 162, 0.1) 100%
  );
}

/* Statistics */
.stat-circle {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--secondary-color) 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  font-weight: bold;
  box-shadow: 0 10px 30px rgba(0, 123, 255, 0.3);
  transition: transform 0.3s ease;
}

.stat-circle:hover {
  transform: scale(1.1);
}

/* Blog Cards */
.blog-card {
  transition: all 0.3s ease;
  overflow: hidden;
}

.blog-card:hover {
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.blog-card:hover img {
  transform: scale(1.1);
}

.blog-card img {
  transition: transform 0.5s ease;
}

/* Testimonials */
.testimonial-card {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

/* Team Cards */
.team-card {
  transition: all 0.3s ease;
}

.team-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 123, 255, 0.2);
}

.team-card img {
  transition: transform 0.3s ease;
}

.team-card:hover img {
  transform: scale(1.05);
}

/* Animations */
.fade-in {
  animation: fadeIn 0.8s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.slide-in-left {
  animation: slideInLeft 0.8s ease;
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Buttons */
.btn-primary {
  background: var(--primary-color);
  color: white;
  padding: 12px 30px;
  border-radius: 50px;
  transition: all 0.3s ease;

  font-weight: 600;
}

.btn-primary:hover {
  background: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 123, 255, 0.3);
}

.btn-outline {
  border: 2px solid white;
  color: white;
  padding: 12px 30px;
  border-radius: 50px;
  transition: all 0.3s ease;
  display: inline-block;
  font-weight: 600;
}

.btn-outline:hover {
  background: white;
  color: var(--primary-color);
}

/* Dropdown Menu */
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  background: white;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  min-width: 260px;
  padding: 10px 0;
  z-index: 1000;
  animation: fadeIn 0.3s ease;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-item {
  padding: 10px 20px;
  display: block;
  color: var(--text-dark);
  transition: all 0.2s ease;
}

.dropdown-item:hover {
  background: var(--bg-light);
  color: var(--primary-color);
  padding-right: 30px;
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 400px;
  height: 100vh;
  background: white;
  box-shadow: -5px 0 20px rgba(0, 0, 0, 0.2);
  transition: right 0.3s ease;
  z-index: 9999;
  overflow-y: auto;
}

.mobile-menu.active {
  right: 0;
}

.mobile-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9998;
}

.mobile-overlay.active {
  display: block;
}

.bg-primary {
  background: var(--primary-color);
}

.text-primary {
  color: var(--primary-color);
}

.btn-primary-service {
  background: var(--primary-color);
  transition: all 0.3s ease;
}

.btn-primary-service:hover {
  background: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 123, 255, 0.3);
}

.btn-outline-service {
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  transition: all 0.3s ease;
}

.btn-outline-service:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-2px);
}

.service-image {
  height: 280px;
  object-fit: cover;
  transition: transform 0.5s ease !important;
}

.service-card:hover .service-image {
  transform: scale(1.05);
}

.card-shadow {
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.card-shadow:hover {
  box-shadow: 0 20px 60px rgba(0, 123, 255, 0.15);
  transform: translateY(-5px);
}

.floating {
  animation: floating 3s ease-in-out infinite;
}

@keyframes floating {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.service-card {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.6s ease forwards;
}

.service-card:nth-child(1) {
  animation-delay: 0.1s;
}
.service-card:nth-child(2) {
  animation-delay: 0.2s;
}
.service-card:nth-child(3) {
  animation-delay: 0.3s;
}
.service-card:nth-child(4) {
  animation-delay: 0.4s;
}
.service-card:nth-child(5) {
  animation-delay: 0.5s;
}
.service-card:nth-child(6) {
  animation-delay: 0.6s;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.gradient-primary {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
}

.hover-primary:hover {
  background-color: var(--primary-color);
}

.contact-card {
  transition: all 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 60px rgba(0, 123, 255, 0.15);
}

.info-box {
  background: linear-gradient(
    135deg,
    rgba(0, 123, 255, 0.05) 0%,
    rgba(0, 123, 255, 0.1) 100%
  );
  border-right: 4px solid var(--primary-color);
  padding: 1.5rem;
  border-radius: 15px;
  transition: all 0.3s ease;
}

.info-box:hover {
  background: linear-gradient(
    135deg,
    rgba(0, 123, 255, 0.1) 0%,
    rgba(0, 123, 255, 0.15) 100%
  );
  transform: translateX(-5px);
}

/* المقالات */
.category-item {
  transition: all 0.3s ease;
  cursor: pointer;
}

.category-item:hover {
  background: rgba(0, 123, 255, 0.05);
  padding-right: 1.5rem;
}

.category-item.active {
  background: linear-gradient(
    90deg,
    rgba(0, 123, 255, 0.1) 0%,
    transparent 100%
  );
  border-right: 4px solid var(--primary-color);
  padding-right: 1.5rem;
  font-weight: bold;
  color: var(--primary-color);
}

.article-card {
  transition: all 0.3s ease;
  opacity: 0;
  animation: fadeIn 0.5s ease forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

.article-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0, 123, 255, 0.15);
}

.article-image {
  height: 220px;
  object-fit: cover;
  transition: transform 0.5s ease !important;
}

.article-card:hover .article-image {
  transform: scale(1.1);
}

.btn-primary {
  background: var(--primary-color);
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
}

.search-input {
  transition: all 0.3s ease;
}

.search-input:focus {
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.sidebar {
  position: sticky;
  top: 7rem;
  max-height: calc(100vh - 4rem);
  overflow-y: auto;
}

.sidebar::-webkit-scrollbar {
  width: 6px;
}

.sidebar::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.sidebar::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 10px;
}

.floating {
  animation: floating 3s ease-in-out infinite;
}

@keyframes floating {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.no-results {
  display: none;
}

.no-results.show {
  display: block;
}

.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pagination-btn {
  transition: all 0.3s ease;
}

.pagination-btn:hover:not(:disabled) {
  transform: scale(1.05);
}

.pagination-btn.active {
  background: var(--primary-color);
  color: white;
}

.pagination-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* service details */

.floating {
  animation: floating 3s ease-in-out infinite;
}

@keyframes floating {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
}

.feature-card {
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 60px rgba(0, 123, 255, 0.2);
}

.btn-primary {
  background: var(--primary-color);
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: var(--secondary-color);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 123, 255, 0.4);
}

.service-image {
  transition: transform 0.5s ease;
}

.service-image:hover {
  transform: scale(1.05);
}

.step-number {
  width: 60px;
  height: 60px;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  color: white;
  position: relative;
}

.step-card {
  transition: all 0.3s ease;
}

.step-card:hover {
  background: linear-gradient(
    135deg,
    rgba(0, 123, 255, 0.05) 0%,
    rgba(0, 123, 255, 0.1) 100%
  );
  transform: translateX(-10px);
}

.pulse {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

.clients-section {
  background: linear-gradient(to bottom right, #2563eb, #1e40af);
}

.client-card {
  transition: all 0.3s ease;
}

.client-card:hover {
  transform: translateY(-10px);
}

.swiper {
  width: 100%;
  padding: 30px 0;
}

.swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Custom navigation buttons */
.swiper-button-next,
.swiper-button-prev {
  background: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.swiper-button-next:after,
.swiper-button-prev:after {
  font-size: 20px;
  font-weight: bold;
  color: #2563eb;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  background: #2563eb;
}

.swiper-button-next:hover:after,
.swiper-button-prev:hover:after {
  color: white;
}

/* Custom pagination */
.swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background: white;
  opacity: 0.5;
}

.swiper-pagination-bullet-active {
  opacity: 1;
  background: white;
}

/* Popup overlay */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.popup-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Popup content */
.popup-content {
  background: white;
  border-radius: 30px;
  max-width: 800px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: scale(0.8);
  transition: transform 0.3s ease;
}

.popup-overlay.active .popup-content {
  transform: scale(1);
  animation: popupBounce 0.6s ease;
}

@keyframes popupBounce {
  0% {
    transform: scale(0.5);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

/* Close button */
.close-btn {
  position: absolute;
  top: 20px;
  left: 20px;
  width: 40px;
  height: 40px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.close-btn:hover {
  background: #ef4444;
  color: white;
  transform: rotate(90deg);
}

/* Countdown boxes */
.countdown-box {
  background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
  border-radius: 15px;
  padding: 15px;
  min-width: 80px;
  box-shadow: 0 5px 20px rgba(0, 123, 255, 0.3);
  transition: transform 0.3s ease;
}

.countdown-box:hover {
  transform: translateY(-5px);
}

.countdown-number {
  font-size: 2rem;
  font-weight: bold;
  color: white;
  line-height: 1;
}

.countdown-label {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.9);
  margin-top: 5px;
}

/* Image hover effect */
.event-image {
  transition: transform 0.5s ease;
}

.event-image:hover {
  transform: scale(1.05);
}

/* Button */
.btn-primary {
  background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
  transition: all 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 123, 255, 0.4);
}

/* Pulse animation */
.pulse {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

/* Scrollbar style */
.popup-content::-webkit-scrollbar {
  width: 6px;
}

.popup-content::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.popup-content::-webkit-scrollbar-thumb {
  background: #007bff;
  border-radius: 10px;
}

/* المكتبة الرقمية */

.letter-btn {
  transition: all 0.3s ease;
}

.letter-btn:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
}

.search-tab {
  cursor: pointer;
  transition: all 0.3s ease;
}

.search-tab.active-tab {
  background: var(--primary-color);
  color: white !important;
}

.result-card {
  transition: all 0.3s ease;
}

.result-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 123, 255, 0.15);
}

.floating {
  animation: floating 3s ease-in-out infinite;
}

@keyframes floating {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/*  footer */
.footer-link {
  transition: all 0.3s ease;
}

.footer-link:hover {
  color: var(--primary-color);
  transform: translateX(-5px);
}

.social-icon-footer {
  transition: all 0.3s ease;
}

.social-icon-footer:hover {
  transform: translateY(-5px) scale(1.1);
}

.subscribe-input:focus {
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.2);
}

/* Social Media Widget */
.social-widget {
  /* position: fixed;
  right: 20px;
  top: 50%; */
  transform: translateY(-50%);
  z-index: 9999;
}

/* Main Toggle Button */
.social-toggle {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0, 123, 255, 0.4);
  transition: all 0.3s ease;
  position: relative;
}

.social-toggle:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(0, 123, 255, 0.6);
}

.social-toggle.active {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

/* Pulse Animation */
.social-toggle::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: rgba(0, 123, 255, 0.4);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

/* Social Icons List */
.social-icons-list {
  position: absolute;
  right: 0;
  bottom: 75px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.4s ease;
}

.social-icons-list.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Individual Social Icon */
.social-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  animation: slideIn 0.5s ease backwards;
}

/* .social-icon:hover {
  transform: translateX(10px) scale(1.15);
} */

.social-icon:nth-child(1) {
  animation-delay: 0.1s;
}
.social-icon:nth-child(2) {
  animation-delay: 0.15s;
}
.social-icon:nth-child(3) {
  animation-delay: 0.2s;
}
.social-icon:nth-child(4) {
  animation-delay: 0.25s;
}
.social-icon:nth-child(5) {
  animation-delay: 0.3s;
}
.social-icon:nth-child(6) {
  animation-delay: 0.35s;
}
.social-icon:nth-child(7) {
  animation-delay: 0.4s;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Tooltip */



/* Mobile Adjustments */
@media (max-width: 768px) {
  .social-toggle {
    width: 50px;
    height: 50px;
  }

  .social-icon {
    width: 45px;
    height: 45px;
  }
}
@media (min-width: 768px) {
  .social-icon::before {
    content: attr(data-tooltip);
    position: absolute;

    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
  }

  .social-icon:hover::before {
    opacity: 1;
    visibility: visible;
  }
}

.feature-card-f {
  transition: all 0.4s ease;
}

.feature-card-f:hover {
  transform: translateY(-15px);
  box-shadow: 0 20px 60px rgba(0, 123, 255, 0.2);
}

.feature-icon {
  position: relative;
  transition: all 0.4s ease;
}

.feature-card-f:hover .feature-icon {
  transform: scale(1.1) rotate(5deg);
}

.icon-bg {
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--secondary-color) 100%
  );
}

.floating {
  animation: floating 3s ease-in-out infinite;
}

@keyframes floating {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.feature-card-f::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(
    90deg,
    var(--primary-color) 0%,
    var(--secondary-color) 100%
  );
  border-radius: 20px 20px 0 0;
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.feature-card-f:hover::before {
  transform: scaleX(1);
}



.social-btn {
  width: 3rem; /* w-12 */
  height: 3rem; /* h-12 */
  border-radius: 9999px; /* rounded-full */
  display: flex;
  align-items: center;
  justify-content: center;
  color: white; /* text-white */
  transition: all 0.3s ease; /* transition-all duration-300 */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* shadow-lg */
  background-color: #000
}

.social-btn:hover {
  transform: scale(1.1); /* hover:scale-110 */
}

/* Facebook */
a[class*="facebook"],
a[href*="facebook"] {
  background-color: #1877f2;
}

a[class*="facebook"]:hover,
a[href*="facebook"]:hover {
  background-color: #145dbf;
}

/* Instagram */
a[class*="instagram"],
a[href*="instagram"] {
 background: linear-gradient(45deg, #f58529, #dd2a7b, #8134af);
}

a[class*="instagram"]:hover,
a[href*="instagram"]:hover {
  filter: brightness(1.1);
}




a[class*="youtube"],
a[href*="youtube"] {
  background-color: #ff0000;
}

a[class*="youtube"]:hover,
a[href*="youtube"]:hover {
  background-color: #cc0000;
}
a[class*="linkedin"],
a[href*="linkedin"] {
  background-color: #0a66c2;
}

a[class*="linkedin"]:hover,
a[href*="linkedin"]:hover {
  background-color: #005582;
}

/* Twitter (X) */
a[class*="twitter"],
a[href*="twitter"] {
  background-color: #000 !important;
}

a[class*="twitter"]:hover,
a[href*="twitter"]:hover {
  background-color: #222 !important;
}
a[class*="fa-x-twitter"],
a[href*="fa-x-twitter"] {
  background-color: #000 !important;
}

a[class*="fa-x-twitter"]:hover,
a[href*="fa-x-twitter"]:hover {
  background-color: #222 !important;
}



/* TikTok */
a[class*="tiktok"],
a[href*="tiktok"] {
  background-color: #000;
}

a[class*="tiktok"]:hover,
a[href*="tiktok"]:hover {
  background-color: #222;
}


/* 🌐 Snapchat */
a[class*="snapchat"],
a[href*="snapchat"] {
  background-color: #fffc00; /* الأصفر المميز */
  color: #000; /* الأيقونة تكون غامقة */
}

a[class*="snapchat"]:hover,
a[href*="snapchat"]:hover {
  background-color: #e6dc00;
}

/* 📬 Telegram */
a[class*="telegram"],
a[href*="t.me"],
a[href*="telegram"] {
  background-color: #0088cc; /* الأزرق الفاتح */
}

a[class*="telegram"]:hover,
a[href*="t.me"]:hover,
a[href*="telegram"]:hover {
  background-color: #007ab8;
}

/* 📱 Mobile App (مثلاً رابط التطبيق) */
a[class*="app"],
a[href*="play.google"],
a[href*="apps.apple"] {
  background-color: #333; /* رمادي غامق محايد */
}

a[class*="app"]:hover,
a[href*="play.google"]:hover,
a[href*="apps.apple"]:hover {
  background-color: #000;
}

/* 🤖 Android */
a[class*="android"],
a[href*="play.google"] {
  background-color: #3ddc84; /* الأخضر الرسمي */
  color: #fff;
}

a[class*="android"]:hover,
a[href*="play.google"]:hover {
  background-color: #32c175; /* درجة أغمق عند hover */
}
a[class*="whatsapp"],
a[href*="whatsapp"] {
  background-color: #25d366;
}
.whatsapp {
  background: #25d366;
}


/* phone */
.iti__country-name {
    display: none !important;
}


.iti__country {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    cursor: pointer;
    font-size: 14px;
    transition: 0.2s;
}

.iti__country-list .iti__country {
    padding: 5px 8px;
}


.iti__search-input {
    width: calc(100% - 16px) !important;
    margin: 8px !important;
    padding: 8px 10px !important;
    border: 1px solid #ccc !important;
    border-radius: 6px !important;
    font-size: 14px !important;
}

.iti__search-input:focus {
    border-color: #4f46e5 !important;
    outline: none !important;
    box-shadow: 0 0 4px rgba(79, 70, 229, 0.3) !important;
}


.iti {
    width: 100% !important;
}


.iti--separate-dial-code .iti__selected-flag {
    background: #f8f8f8;
    padding: 8px 10px;
    border-radius: 6px;
    border: 1px solid #ddd;
}


.iti__country-list {
    width: fit-content !important;
    max-height: 250px !important;
    overflow-y: auto !important;
    margin-top: 5px !important;

    background: #ffffff !important;
    border: 1px solid #ddd !important;
    border-radius: 8px !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12) !important;
    padding: 4px 0 !important;
}

.iti__flag-box {
    margin-right: 10px;
}

.iti__dial-code {
    color: #666;
    font-weight: bold;
}

.iti__selected-dial-code {
    direction: ltr !important;
}

.iti__country:hover {
    background: #f1f5f9 !important;
}

.iti__country.iti__highlight {
    background: #e2e8f0 !important;
}


[dir="rtl"] .iti__country,
[dir="rtl"] .iti__selected-flag {
    direction: rtl;
    text-align: right;
}

[dir="ltr"] .iti__country,
[dir="ltr"] .iti__selected-flag {
    direction: ltr;
    text-align: left;
}

[dir="rtl"] .iti__flag-box {
    margin-left: 10px !important;
    margin-right: 0 !important;
}

[dir="ltr"] .iti__flag-box {
    margin-right: 10px !important;
    margin-left: 0 !important;
}

[dir="rtl"] .iti__dial-code {
    margin-right: 0;
    margin-left: 10px;
}

[dir="ltr"] .iti__dial-code {
    margin-left: 0;
    margin-right: 10px;
}

[dir="rtl"] .iti__search-input {
    text-align: right !important;
}

[dir="ltr"] .iti__search-input {
    text-align: left !important;
}

[dir="rtl"] .iti__country-list {
    right: 0 !important;
    left: auto !important;
}

[dir="ltr"] .iti__country-list {
    left: 0 !important;
    right: auto !important;
}


[dir="rtl"] .iti__selected-dial-code {
    padding: 0 5px 0 0;
}
[dir="ltr"] .iti__selected-dial-code {
    padding: 0 0 0 5px;
}
