/* Enhanced Professional Arabic Style - logos.css */
@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@400;500;700&display=swap');

:root {
  --primary-color: #2c3e50;
  --secondary-color: #3498db;
  --accent-color: #2980b9;
  --light-bg: #f5f7fa;
  --text-color: #333;
  --border-radius: 12px;
  --box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

body {
  background: linear-gradient(135deg, #f5f7fa 0%, #e4e8eb 100%);
  font-family: 'Tajawal', sans-serif;
  direction: rtl;
  text-align: right;
  margin: 0;
  min-height: 100vh;
  color: var(--text-color);
}

/* Main Container */
.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 30px;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
}

/* Decorative Arabic Pattern */
.container::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path fill="rgba(52, 152, 219, 0.03)" d="M0,0 L100,0 L100,100 L0,100 Z" /><path fill="none" stroke="rgba(52, 152, 219, 0.05)" stroke-width="0.5" d="M0,50 L100,50 M50,0 L50,100" /></svg>');
  background-size: 50px 50px;
  z-index: -1;
}

/* Logo Container */
.logo-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 800px;
  gap: 50px;
  margin-bottom: 30px;
  position: relative;
}

.logo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  padding: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: white;
  box-shadow: var(--box-shadow);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}

.logo::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255,255,255,0.8) 0%, rgba(255,255,255,0) 100%);
  z-index: 1;
}

/* Center Logo (Highlighted) */
.logo-container .logo:nth-child(2) {
  width: 140px;
  height: 140px;
  background: linear-gradient(135deg, #ffffff 0%, #f1f8fe 100%);
  border: 2px solid rgba(52, 152, 219, 0.2);
  transform: translateY(-10px);
}

.logo img {
  width: 80%;
  height: 80%;
  object-fit: contain;
  display: block;
  z-index: 2;
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.logo:hover img {
  transform: scale(1.05);
}

/* Program Title */
.program-title {
  font-size: 28px;
  font-weight: 700;
  text-align: center;
  margin: 20px 0 40px;
  color: var(--primary-color);
  position: relative;
  padding-bottom: 15px;
  max-width: 800px;
  line-height: 1.4;
}

.program-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 50%;
  transform: translateX(50%);
  width: 100px;
  height: 3px;
  background: linear-gradient(to right, var(--secondary-color), var(--accent-color));
  border-radius: 3px;
}

/* Menu Navigation */
.menu {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 600px;
  gap: 15px;
}

.menu a {
  font-family: 'Tajawal', sans-serif;
  color: var(--primary-color);
  font-size: 20px;
  font-weight: 700;
  padding: 18px 25px;
  background: white;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  position: relative;
  overflow: hidden;
  text-align: center;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.menu a::before {
  content: "";
  position: absolute;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(52, 152, 219, 0.1), transparent);
  transition: 0.6s;
}

.menu a:hover {
  transform: translateY(-3px) translateX(-3px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
  color: var(--accent-color);
}

.menu a:hover::before {
  right: 100%;
}

.menu a i {
  margin-left: 10px;
  transition: transform 0.3s;
}

.menu a:hover i {
  transform: translateX(-5px);
}

/* Responsive Design */
@media (max-width: 992px) {
  .logo-container {
    gap: 30px;
  }
  
  .logo {
    width: 100px;
    height: 100px;
  }
  
  .logo-container .logo:nth-child(2) {
    width: 120px;
    height: 120px;
  }
  
  .program-title {
    font-size: 24px;
  }
  
  .menu a {
    font-size: 18px;
    padding: 16px 20px;
  }
}

@media (max-width: 768px) {
  .logo-container {
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
  }
  
  .logo {
    width: 80px;
    height: 80px;
    padding: 8px;
  }
  
  .logo-container .logo:nth-child(2) {
    width: 100px;
    height: 100px;
    order: -1;
    width: 100%;
    max-width: 150px;
    border-radius: var(--border-radius);
    margin-bottom: 20px;
  }
  
  .program-title {
    font-size: 20px;
    margin: 10px 0 30px;
    padding-bottom: 10px;
  }
  
  .program-title::after {
    width: 80px;
  }
  
  .menu a {
    font-size: 16px;
    padding: 14px 18px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 20px;
  }
  
  .logo {
    width: 70px;
    height: 70px;
  }
  
  .logo-container .logo:nth-child(2) {
    max-width: 120px;
    height: 90px;
  }
  
  .program-title {
    font-size: 18px;
  }
  
  .menu a {
    font-size: 15px;
    padding: 12px 15px;
  }
}