* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', Arial, Helvetica, sans-serif;
}

/* Top Bar */
.ieee-topbar {
  background: #e8ecef;
  border-bottom: 2px solid #d0d5d9;
  padding: 8px 40px 8px 60px;  
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 12px;
  font-size: 13px;
}

.ieee-topbar a {
  text-decoration: none;
  color: #005a87;
  font-weight: 700;
  transition: color 0.3s ease;
  white-space: nowrap;
}

.ieee-topbar a:hover {
  color: #003d5c;
  text-decoration: underline;
}

.topbar-divider {
  color: #005a87;
  font-weight: 400;
  user-select: none;
}

.italic {
  font-style: italic;
  font-weight: 700;
}

/* Logo Bar */
.logo-bar {
  background: #ffffff;
  padding: 15px 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  position: relative;
}

.logo-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.logo-right {
  display: flex;
  align-items: center;
  gap: 15px;
  position: relative;
}

/* Divider */
.divider {
  width: 2px;
  height: 40px;
  background: #d0d0d0;
}

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo {
  height: 60px;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.logo-small {
  height: 45px;
}

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



.logo-bar {
  position: relative;
  background-color: #fff;
  overflow: hidden;
}

/* الخلفية */
.logo-bar::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../img/logooo.jpeg");
  background-size: 420px;
  background-repeat: repeat;
  opacity:0.1;
  z-index: 0;
}

/* خلي المحتوى فوق الخلفية */
.logo-bar > * {
  position: relative;
  z-index:1;
}

/* Search Button */
.search-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  color: #00629b;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-btn:hover {
  transform: scale(1.1);
  opacity: 0.7;
}

/* Search Dropdown */
.search-dropdown {
  position: absolute;
  top: 50%;
  right: 100%;
  transform: translateY(-50%);
  background: white;
  border: 2px solid #00629b;
  border-radius: 8px;
  padding: 10px;
  display: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  min-width: 350px;
  margin-right: 15px;
}

.search-dropdown.active {
  display: flex;
  align-items: center;
  gap: 8px;
}

.search-input-field {
  flex: 1;
  padding: 10px 15px;
  border: 1px solid #e0e0e0;
  border-radius: 5px;
  font-size: 14px;
  outline: none;
  font-family: 'Inter', Arial, Helvetica, sans-serif;
}

.search-input-field:focus {
  border-color: #00629b;
}

.search-input-field::placeholder {
  color: #999;
}

.search-submit-btn {
  background: #00629b;
  border: none;
  border-radius: 5px;
  padding: 10px 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: background 0.3s ease;
}

.search-submit-btn:hover {
  background: #004a75;
}

.university-logo {
  height: 100px;
}
/* Header */
.header {
  background: #00629b;
  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.nav {
  display: flex;
  justify-content: center;
  gap: 25px;
  padding: 15px;
}

.nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  transition: opacity 0.3s ease;
}

.nav a:hover {
  opacity: 0.8;
}

/* Hero */
.hero {
  position: relative;
  height: 85vh;
  padding-top: 100px;
  background-image: url("../img/TeamNewEdit.jpeg");
  background-size: 100%;
  background-position: center 80%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.45);
}

.hero-content {
  position: relative;
  z-index: 1;
  color: #fff;
  max-width: 900px;
  padding: 0 20px;
  margin: 0 auto;
}

.hero-content h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero-content p {
  margin-bottom: 2rem;
}





/* arrow */
.hero-btn::after {
  content: "→";
  font-size: 16px;
  transition: transform 0.3s ease;
}

/* Hover */
.hero-btn:hover {
  background: linear-gradient(90deg, #0e4fa0, #0b3c7a);
  transform: translateY(-2px);
}

.hero-btn:hover::after {
  transform: translateX(5px);
}

/* About Section */
.about-section {
  background: #f8f9fa;
  padding: 80px 0 0 0;
}

.about-container {
  max-width: 1200px;
  margin: 0 auto 60px;
  text-align: center;
  background: #ffffff;
  padding: 50px 60px;
  border-radius: 8px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
}

.about-title {
  color: #00629b;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 25px;
}

.about-description {
  color: #333;
  font-size: 1.1rem;
  line-height: 1.8;
}

/* Stats Container */
.stats-container {
  max-width: 100%;
  margin: 0 0 0 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  background: #e8ecef;
  padding: 50px 80px 80px 80px;
}

.stat-card {
  background: #ffffff;
  padding: 30px 15px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.stat-number {
  color: #00629b;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.stat-label {
  color: #666;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
}

/* Smooth Scroll */
html {
  scroll-behavior: smooth;
}

/* EVENT */
.scroller-container {
  overflow: hidden;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding-top: 60px;
  background: #f8f9fa;
}

.scroll-row {
  display: flex;
  white-space: nowrap;
}

.scroll-content-Top,
.scroll-content-Bottom {
  display: flex;
  gap: 15px;
}

.scroll-content-Top img {
  width: 350px;
  height: 200px;
  border-radius: 12px;
  object-fit: cover;
}

.scroll-content-Bottom img {
  width: 350px;
  height: 200px;
  border-radius: 12px;
  object-fit: cover;
}

/* حركة الصف العلوي لليسار */
.left .scroll-content-Top {
  animation: scrollLeft 30s linear infinite;
}

/* حركة الصف السفلي لليمين */
.right .scroll-content-Bottom {
  animation: scrollRight 30s linear infinite;
}

@keyframes scrollLeft {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes scrollRight {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}

/* توقف الحركة عند وضع الماوس */
.scroll-row:hover .scroll-content-Top,
.scroll-row:hover .scroll-content-Bottom {
  animation-play-state: paused;
}

/* تنسيق العنوان */
.section-title {
  color: #004684;
  font-family: sans-serif;
  text-align: center;
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 40px;
  text-transform: uppercase;
}

/* حاوية الزر */
.button-container {
  display: flex;
  justify-content: center;
  margin-top: 40px;
  margin-bottom: 60px;
}

/* زر More Events */
.more-events-btn {
  background-color: #004684;
  color: white;
  padding: 12px 30px;
  text-decoration: none;
  font-family: sans-serif;
  font-weight: bold;
  border-radius: 5px;
  transition: 0.3s;
}

.more-events-btn:hover {
  background-color: #003366;
  transform: translateY(-2px);
}


/* Responsive */
@media (max-width: 992px) {
  .stats-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hero {
    background-size: 160%;
    background-position: center top;
  }
  
  .logo-bar {
    padding: 15px 20px;
    flex-direction: column;
    gap: 15px;
  }
  
  .logo {
    height: 50px;
  }
  
  .university-logo {
    height: 70px;
  }
}

@media (max-width: 576px) {
  .stats-container {
    grid-template-columns: 1fr;
  }
  
  .about-title {
    font-size: 2rem;
  }
}










                              














* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}

body {
  background: #f9fafb;
  color: #111;
}

/* Header */
.page-header {
  text-align: center;
  padding: 80px 20px;
}

.page-header h1 {
  font-size: 42px;
  margin-bottom: 10px;
}

.page-header p {
  color: #666;
}







/*  object-position: center top    /* لفوق */
/* object-position: center 50%;     شوي لتحت */
/* object-position: left center;   /* لليسار */
/* object-position: right center;  /* لليمين */

 
 

