@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
  font-family: outfit, sans-serif;
}

body {
  background-color: black;
}

header {
  justify-content: space-between;
  display: flex;
  background-color: #111;
  align-items: center;
  padding: 10px 40px;
  position: fixed;
  width: 100%;
  z-index: 999;
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.1);
}

.title {
  text-decoration: none;
  font-size: 24px;
  color: #eeeeee;
  font-weight: 600;
}

.tabs a {
  text-decoration: none;
  color: #eeeeee;
  padding: 8px 18px;
  font-size: 18px;
  font-weight: 600;
  transition: all 0.3s ease-in-out;
  display: inline-block;
}

.explore {
  border: 1px solid #eeeeee;
  border-radius: 40px;
  padding: 8px 8px;
  transition: all 0.3s ease-in-out;
  display: inline-block;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.079);
}

.explore:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

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

.spacer {
  height: 280px;
}

.home {
  color: #eeeeee;
  display: flex;
  align-items: center;
  flex-direction: column;
}

.first {
  font-size: 50px;
  font-weight: 600;
  padding: 0px 0px 20px 0px;
}

.second {
  font-size: 24px;
  padding: 32px 300px;
  text-align: center;
  font-weight: 500;
}

.btn {
  text-decoration: none;
  color: #000000;
  background-color: #eeeeee;
  border-radius: 40px;
  padding: 16px 32px;
  font-size: 24px;
  font-weight: 500;
  margin-top: 32px;
  transition: all 0.3s ease-in-out;
  display: inline-block;
}

.btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.08);


}

.about {
  display: flex;
  justify-content: center;
  align-items: center;
  color: #eeeeee;
  padding: 60px 100px;
  margin-top: 150px;
}

.about-container {
  display: flex;
  align-items: center; 
  max-width: 1200px;
}


.icon {
  font-size: 200px;
  flex-shrink: 0;
  color: #eeeeee;
  padding: 0px 180px 0px 0px;
}

.about-text {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.first-about {
  font-size: 48px;
  font-weight: 600;

}

.second-about {
  font-size: 18px;
  line-height: 1.6;
  font-weight: 400;
  max-width: 800px;
  text-align: justify;
}


.featured-section {
  padding: 60px 20px;
  text-align: center;
  color: white;
  margin-top: 120px;
}

.featured-section h2 {
  font-size: 48px;
  margin-bottom: 60px;
  font-weight: 550;
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.card {
  background-color: transparent;
  border: 1px solid #444;
  border-radius: 32px;
  padding: 30px 20px;
  text-decoration: none;
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between; /* ده يخلي المحتوى يتوزع */
  height: 240px;
  transition: all 0.3s ease-in-out;
  backdrop-filter: blur(1.5px);
}

.card img {
  width: 120px;
  height: 120px;
  object-fit: contain;
  margin-top: 10px;
}

.card span {
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 10px;
}


.card:hover {
  background-color: rgba(255, 255, 255, 0.05);
  transform: scale(1.05);
  border-color: #666;
}

.team {
  text-align: center;
  padding: 80px 40px;
  color: #ffffff;
}

.team h2 {
  font-size: 56px;
  font-weight: 600;
  margin-bottom: 60px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 50px;
  justify-content: center;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.team-member {
  background-color: transparent;
  padding: 40px 20px;
  border-radius: 30px;
  width: 100%;
  max-width: 320px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 2px solid #7f7f7f3b;
  backdrop-filter: blur(2px);
}

.team-member:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.1);
}

.team-member img {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 25px;
  border: 2px solid #eee;
}

.team-member h3 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 10px;
}

.team-member p {
  font-size: 17px;
  color: #cccccc;
}

.team-member.placeholder {
  visibility: hidden;
  height: 0;
  margin: 0;
  padding: 0;
}


footer {
  background-color: #111;
  color: #eee;
  padding: 40px 20px;
  text-align: center;
  font-size: 16px;
  line-height: 1.6;
  box-shadow: 30px 0px 0 rgba(255, 255, 255, 0.1);
}

footer .disclaimer {
  font-size: 13px;
  color: #999;
  margin-top: 10px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

footer .made-by {
  font-size: 14px;
  color: #bbbbbb;
  margin-top: 10px;
}


.contact {
  padding: 80px 20px 40px;
  text-align: center;
  color: #eeeeee; 
  margin-bottom: 100px;
}

.contact h2 {
  font-size: 36px;
  margin-bottom: 20px;
}

.contact p {
  font-size: 18px;
  margin-bottom: 10px;
  color: #cccccc;
}

.contact .email {
  font-size: 18px;
  color: #00bcd4;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.contact .email:hover {
  color: #ffffff;
}






@media (max-width: 768px) {

  
  header {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: 10px 10px;
    gap: 6px;
  }

  .title {
    font-size: 16px;
    flex-shrink: 0;
  }

  .tabs {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 4px;
  }

  .tabs a,
  .explore {
    font-size: 12px;
    padding: 4px 6px;
    
    flex-shrink: 0;
  }

  
  .spacer {
    height: 220px;
  }

  .first {
    font-size: 32px;
    text-align: center;
  }

  .second {
    font-size: 16px;
    padding: 20px;
  }

  .btn {
    font-size: 16px;
    padding: 10px 20px;
  }


  .about {
    flex-direction: column;
    padding: 40px 20px;
    margin-top: 100px;
  }

  .about-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .about-text {
    font-size: 50px;
  }

  .icon {
    font-size: 100px;
    padding: 0;
    margin-bottom: 20px;
  }

  .first-about {
    font-size: 28px;
  }

  .second-about {
    font-size: 14px;
    padding: 0 10px;
    text-align: center;
  }


  .featured-section {
    padding: 40px 20px;
  }

  .featured-section h2 {
    font-size: 28px;
  }

  .featured-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .card {
    height: auto;
    padding: 20px 10px;
  }

  .card img {
    width: 80px;
    height: 80px;
  }

  .card span {
    font-size: 14px;
  }

  
  .team {
    padding: 60px 20px;
    text-align: center;
  }

  .team h2 {
    font-size: 28px;
  }

  .team-grid {
    display: flex;
    gap: 30px;
    flex-direction: column;
    align-items: center;
    padding: 0 20px;
  }

  .team-member {
    padding: 30px 15px;
    max-width: 320px;
    width: 100%;
    padding: 30px 15px;
  }

  .team-member img {
    width: 100px;
    height: 100px;
  }

  .team-member h3 {
    font-size: 18px;
  }

  .team-member p {
    font-size: 14px;
  }

  
  .contact {
    padding: 60px 20px;
  }

  .contact h2 {
    font-size: 24px;
  }

  .contact p,
  .contact .email {
    font-size: 14px;
  }


  footer {
    font-size: 14px;
    padding: 30px 10px;
  }

  footer .disclaimer {
    font-size: 12px;
  }

  footer .made-by {
    font-size: 12px;
  }
}


@media screen and (min-width: 768px) and (max-width: 1024px) {

  .city-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 20px;
  }

  .city-card {
    width: calc(20% - 20px); /* 5 كروت في الصف */
    margin: 0;
    text-align: center;
  }

  .city-card:nth-last-child(1):nth-child(odd) {
    margin: 0 auto; /* توسيط آخر كارت لو العدد فردي */
  }

  .city-card h2 {
    font-size: 1rem;
  }

  .city-card p {
    font-size: 0.9rem;
  }

  .modal-content {
    width: 90vw;
    height: 85vh;
    flex-direction: column;
  }

  .left-section,
  .right-section {
    width: 100%;
    height: 50%;
    overflow-y: auto;
  }

  .header-title {
    font-size: 1.3rem;
  }

  header {
    padding: 10px 20px;
  }

  .modal-close {
    font-size: 1.5rem;
    top: 10px;
    right: 15px;
  }

  .first{
    text-align: center;
    font-size: 40px;
  }
  .second {
    padding: 2.2rem;
    flex: 1;
  }

  .team {
    margin-left: 70px;
  }
}


.background-circles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  z-index: -1;
  pointer-events: none;
}

.glass-circle {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px); /* يعطي تأثير التوهج الناعم */
  opacity: 0.5;
  animation: float 12s ease-in-out infinite;
}

/* دائرة 1 */
.circle1 {
  width: 300px;
  height: 300px;
  top: 10%;
  left: 5%;
  background: radial-gradient(circle at center, #ff6ec4, #7873f5);
}

/* دائرة 2 */
.circle2 {
  width: 200px;
  height: 200px;
  top: 70%;
  left: 20%;
  background: radial-gradient(circle at center, #00ffd0, #0055ff);
}

/* دائرة 3 */
.circle3 {
  width: 250px;
  height: 250px;
  top: 20%;
  right: 10%;
  background: radial-gradient(circle at center, #ffe29f, #ffa99f);
}

/* دائرة 4 */
.circle4 {
  width: 180px;
  height: 180px;
  bottom: 10%;
  right: 25%;
  background: radial-gradient(circle at center, #a18cd1, #fbc2eb);
}

/* أنيميشن طفو خفيف */
@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}




@media (max-width: 768px) {
  .glass-circle {
    filter: blur(30px); /* قلل التوهج عشان ميبقاش خنقة */
    opacity: 0.5;
  }

  .circle1 {
    top: 10%;
    left: 1%;
    width: 180px;
    height: 180px;
    transform: none;
  }

  .circle2 {
    top: 35%;
    left: 70%;
    width: 200px;
    height: 200px;
    transform: none;
  }

  .circle3 {
    top: 60%;
    left: 1%;
    width: 200px;
    height: 200px;
    transform: none;
  }

  .circle4 {
    top: 80%;
    left: 65%;
    width: 200px;
    height: 200px;
    transform: none;
  }
}



@media screen and (min-width: 768px) and (max-width: 1024px) {
  
  /* حضارات: fix لـ وسطنة آخر كارت */
  .featured-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    justify-content: center;
    padding: 0 20px;
    display: flex;
    flex-wrap: wrap;
  }

  .card {
    width: calc(33.333% - 16px);
    margin: 8px;
    height: auto;
    padding: 24px 16px;
  }

  /* وسطنة آخر كارت لو عدد فردي */
  .card:nth-last-child(1):nth-child(odd) {
    margin-left: auto;
    margin-right: auto;
  }

  .card img {
    width: 100px;
    height: 100px;
  }

  .card span {
    font-size: 16px;
  }

  /* الفريق */
  .team-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    padding: 0 20px;
  }

  .team-member {
    width: calc(50% - 20px);
    max-width: 100%;
    margin: 0 auto;
    padding: 30px 20px;
  }

  .team-member.placeholder {
    display: none; /* نخفي الدمي في التابلت */
  }

  .team-member img {
    width: 120px;
    height: 120px;
  }

  .team-member h3 {
    font-size: 20px;
  }

  .team-member p {
    font-size: 15px;
  }
}




/* زر الهامبورجر */
.hamburger {
  display: none;
  font-size: 28px;
  color: #eee;
  cursor: pointer;
  z-index: 1001;
}

/* التابس في الشاشات الكبيرة */
.tabs {
  display: flex;
  gap: 10px;
  align-items: center;
}

.tabs a {
  font-family: "Outfit", sans-serif;
  font-size: 18px;
  padding: 8px 16px;
  color: #eee;
  text-decoration: none;
  position: relative;
  transition: all 0.3s ease;
}

.tabs a:hover::after {
  width: 40%;
}

.tabs a::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -6px;
  width: 0;
  height: 2px;
  background-color: #fff;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

/* إعدادات الموبايل */
@media (max-width: 1023px) {
  .spacer {
    height: 250px;
  }
  .spacer-2 {
    height: 100px;
  }
  
  .hamburger {
    display: block;
  }

  .tabs {
    position: fixed;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.95);
    width: 100vw;
    height: 100vh;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-top: 80px;
    padding-bottom: 60px;
    z-index: 1000;
    backdrop-filter: blur(4px);
    display: none;
  }

  .tabs.active {
    display: flex;
  }

  .tabs a {
    font-size: 22px;
    margin: 14px 0;
    opacity: 0;
    transform: translateY(20px);
    animation: slideIn 0.4s ease forwards;
    animation-delay: calc(var(--i) * 0.1s);
    text-transform: uppercase;
    letter-spacing: 1px;
  }

  .tabs .explore {
    margin-top: auto;
    bottom: 40px;
    padding: 12px 24px;
  }

  .close-btn {
    position: absolute;
    top: 20px;
    left: 30px;
    font-size: 28px;
    color: #eee;
    cursor: pointer;
  }
}

/* قفل الاسكرول */
body.menu-open {
  overflow: hidden;
}

/* أنيميشن */
@keyframes slideIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
