/*
//////////////////////////////////////////////////////////////
//                                                         //
//  Website Name : Rowad YEC                              //
//  Author       : Youth Entrepreneurship Council        //
//  License      : 2024 CC                              //
//                                                     //
////////////////////////////////////////////////////////
/*!
* Copyright 2024 Youth Entrepreneurship Council, Tech Circle.
* Circle Members: Amgad Salem - Head, Amr Bedir.
* Contact Email: admin@amrbedir.me
*/

body {
    font-family: 'Isidora-Sans', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f0f0f0;
    color: #333;
}

html {
  scroll-behavior: smooth;
}

::-webkit-scrollbar {
    width: 8px;
  }

  ::-webkit-scrollbar-track {
    background: #ffffff3a;
  }

  ::-webkit-scrollbar-thumb {
    background-color: #19486A;
    border-radius: 20px;
  }

/* Header Section */
header {
    position: relative;
    height: 135px;
    background-image: url('assets/rowad.png'), url('assets/yec.png');
    background-position: left center, right center;
    background-repeat: no-repeat;
    background-size: contain;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* justify-content: center; */
    margin-top: 20px;
    padding-top: 20px;
    margin-right: 30px;
    margin-left: 30px;
    text-align: center;
}

header img {
    max-height: 100px;
    object-fit: contain;
}

@media (max-width: 470px) {
    header {
        margin-right: 15px;
        margin-left: 15px;
      }
    }

@media (max-width: 768px) {
    header {
        height: 50%;
        background-position: left top, right top;
      }
    }

    @media (min-width: 769px) and (min-width: 1200px) {
        header {
            padding-top: 20px;
        }
      }

.countdown {
    color: #FCC30B;
    font-size: 1.5em;
    text-align: center;
    text-shadow: 1px 1px 1px #f89421;
    font-weight: bold;
}

@media (max-width: 470px) {
    .countdown {
        margin-top: -25px;
        font-size: 1em;
      }
    }

@media (min-width: 469px) and (max-width: 768px) {
    .countdown {
        font-size: 1.1em;
      }
    }

      @media (min-width: 769px) and (min-width: 1200px) {
          .countdown {
              font-size: 2em;
          }
        }

.navbar {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #19486ae7;
    border-radius: 50px;
    padding: 10px 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.navbar a {
    color: #FCC30B;
    margin: 0 15px;
    text-decoration: none;
    font-size: 1.2em;
    text-shadow: 1px 1px 1px #f89421;
    transition: color 0.3s ease;
}

.navbar a:hover {
    color: white;
}

@media (max-width: 768px) {
    .navbar a {
        font-size: 0.7em; /* كبرنا الخط شوية */
        white-space: nowrap; /* ده بيخلي الكلام يبقا في سطر واحد */
        margin: 0 20px; /* ادينا مساحة حوالين النص */
    }
    .navbar  {
        padding: 10px 10px; /* زودنا البادينج شوية عشان يبقا في مساحة كافية */
        display: flex;
        justify-content: center;
        align-items: center;
        bottom: 0;
        margin-bottom: -12px;
    }
}

  @media (max-width: 470px) {
    .navbar a {
        font-size: 0.7em;
      }
          .navbar  {
        padding: 5px 0px;
        display: flex;
        justify-content: center;
        align-items: center;
        white-space: nowrap;
        margin-bottom: -18px;
    }
    }

  @media (min-width: 769px) and (max-width: 1199px) {
      .navbar a {
          font-size: 1.1em;
          margin: 0 15px;
      }
    }
    @media (min-width: 1200px) {

        .navbar a {
            font-size: 1.2em;
            margin: 0 20px;
        }
    }

main {
    padding: 30px;
    text-align: center;
}
@media (max-width: 768px) {
    main {
        padding: 10px;
        text-align: center;
    }
}

/* About Us Section */
.about-us {
    max-width: 780px;
    margin: 0px auto;
    text-align: center;
    padding: 10px;
     background-color: #19486A;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.about-us h2 {
    font-size: 2em;
    text-align: center;
    color: white;
    margin-bottom: 10px;
}

.about-us-description {
    font-size: 1.2em;
    color: white;
    line-height: 1.6;
}

/* Why To Attend Section */
.why-attend {
    text-align: center;
    margin: 30px 0;
    padding: 0 20px; /* Adding some padding for smaller screens */
}

.why-attend h2 {
    color: #333; /* Navy Blue */
    font-size: 2em;
    font-weight: bold;
    margin-bottom: 20px;
}

.why-attend p {
    font-size: 1.2em;
    color: #666;
    line-height: 1.5em;
    max-width: 600px;
    margin: 0 auto;
}

/* Dynamic Text */
.dynamic-txt {
    font-size: 1.6em;
    color: black;
  }

  #changing-text {
    color: #19486A; /* Primary color: Navy Blue */
    min-width: 100px; /* العرض الأدنى للحفاظ على المساحة */
    display: inline-block;
  }

/* Teams Section */
.team-member {
    display: flex;
    align-items: center;
    margin: 20px auto;
    width: 100%;
    max-width: 800px;
    flex-direction: row;
    text-align: left;
    padding: 20px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border: 1px solid #ddd;
    box-sizing: border-box;
}

.team-member img {
    width: 500px;
    height: 300px;
    object-fit: cover;
    margin-right: 20px;
    border-radius: 15px;
    box-shadow: 10px -10px 4px rgba(206, 205, 205, 0.5);
}

.team-description {
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 500px;
}

.team-name {
    font-size: 2em;
    margin: 0;
}

.project-name {
    font-size: 1.3em;
    margin: 10px 0;
}

.description {
    font-size: 1.1em;
    margin: 10px 0;
    border-top: 1px solid #ddd;
    padding-top: 10px;
}

.team-member + .team-member {
    border-top: 1px solid #ddd;
    padding-top: 20px;
}

@media (max-width: 768px) {

    .team-member {
        flex-direction: column;
        text-align: center;
        padding: 10px;
        margin: 10px 0;
    }

    .team-member img {
        width: 100%;
        height: auto;
        margin: 10px 0;
    }

    .team-description {
        max-width: 100%;
    }
}

@media (min-width: 769px) and (max-width: 1199px) {
    .team-member {
        padding: 20px;
    }

    .team-member img {
        width: 400px;
        height: 250px;
        margin-left: 20px;
    }
  }
  @media (min-width: 1200px) {

      .team-member {
          max-width: 90%;
          margin: 20px auto;
      }

      .team-member img {
          width: 500px;
          height: 300px;
          margin-left: 20px;
      }
    }


.hidden {
    display: none;
}
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 500px;
    position: relative;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
}

.input-group {
    margin: 10px 0;
}

.input-group label {
    display: block;
    margin-bottom: 5px;
}

.input-group input {
    width: 100%;
    padding: 8px;
    box-sizing: border-box;
}

.confirm-btn {
    width: 100%;
    padding: 10px;
    background-color: #4CAF50;
    color: white;
    border: none;
    cursor: pointer;
    text-align: center;
    margin-top: 15px;
}

.confirm-btn:hover {
    background-color: #45a049;
}

.spinner {
    border: 8px solid #f3f3f3; /* Light grey */
    border-top: 8px solid #3498db; /* Blue */
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1s linear infinite;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999; /* Ensure it's above other content */
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}

.hidden {
    display: none;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Judges Section */
.judges-slider h3 {
  color: #333; /* Navy Blue */
  font-size: 2em;
  font-weight: bold;
  margin-bottom: 20px;
}
.wrapper {
  max-width: 1100px;
  width: 100%;
  position: relative;
}
.wrapper i {
  top: 50%;
  height: 50px;
  width: 50px;
  cursor: pointer;
  font-size: 1.25rem;
  position: absolute;
  text-align: center;
  line-height: 50px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 3px 6px rgba(0,0,0,0.23);
  transform: translateY(-50%);
  transition: transform 0.1s linear;
}
.wrapper i:active{
  transform: translateY(-50%) scale(0.85);
}
.wrapper i:first-child{
  left: -22px;
}
.wrapper i:last-child{
  right: 16px;
}
.wrapper .carousel{
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% / 3) - 12px);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 16px;
  border-radius: 8px;
  scroll-behavior: smooth;
  scrollbar-width: none;
}
.carousel::-webkit-scrollbar {
  display: none;
}
.carousel.no-transition {
  scroll-behavior: auto;
}
.carousel.dragging {
  scroll-snap-type: none;
  scroll-behavior: auto;
}
.carousel.dragging .card {
  cursor: grab;
  user-select: none;
}
.carousel :where(.card, .img) {
  display: flex;
  justify-content: center;
  align-items: center;
}
.carousel .card {
  scroll-snap-align: start;
  height: 330px;
  list-style: none;
  background: #fff;
  cursor: pointer;
  padding-bottom: 15px;
  flex-direction: column;
  border-radius: 8px;
}
.carousel .card .img {
  background: #19486A;
  height: 148px;
  width: 148px;
  border-radius: 50%;
}
.card .img img {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  border: 5px solid #fff;
}
.carousel .card h2 {
  font-weight: 500;
  font-size: 1.56rem;
  margin: 30px 0 5px;
}
.carousel .card span {
  color: #6A6D78;
  font-size: 1.31rem;
}
@media screen and (max-width: 900px) {
  .wrapper .carousel {
    grid-auto-columns: calc((100% / 2) - 9px);
  }
}
@media screen and (max-width: 600px) {
  .wrapper .carousel {
    grid-auto-columns: 100%;
  }
}

/* Agenda Section */
.agenda-container {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    width: 100%;
    max-width: 800px; /* Added a max-width for larger screens */
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}

.header {
    font-size: 2em;
    font-weight: bold;
    text-align: center;
    margin-bottom: 10px;
}

.date-banner {
    background-color: #19486A; /* Navy Blue */
    color: white;
    text-align: center;
    padding: 10px 0;
    border-radius: 5px;
    margin-bottom: 20px;
    font-size: 1.3em;
}

.agenda-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    position: relative;
}

.agenda-item:before {
    content: '';
    position: absolute;
    top: 8px;
    left: 90px; /* Positioning the line */
    height: calc(100% - 16px);
    width: 2px;
    background-color: #D3D3D3; /* Light gray for the timeline line */
}
.toggle-btn {
    background: none; /* إزالة الخلفية */
    border: none; /* إزالة الحدود */
    font-size: 1.6em; /* تكبير الخط */
    cursor: pointer; /* تغيير مؤشر الفأرة للشكل اليد */
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%; /* جعله بعرض 100% من الحاوية */
    margin-bottom: 15px;
}

/* لتغيير لون النص عند التحويم */
.toggle-btn:hover {
    color: rgb(134, 134, 134); /* لون النص عند التحويم */
}


.time {
    color: #555;
    font-size: 1.2em;
    width: 70px;
    flex-shrink: 0;
    text-align: right;
}

.event {
    margin-left: 15px;
    flex-grow: 1;
}

.event-title {
    font-weight: bold;
    font-size: 1.3em;
    text-align: left;
    margin: 0 0 5px;
    color: #333;
}

.event-description {
    font-size: 1.2em;
    color: #888;
    text-align: left;
}

.dot {
    height: 10px;
    width: 10px;
    background-color: #19486A; /* Navy Blue */
    display: inline-block;
    margin-right: 15px;
    position: relative;
    top: 0px;
    left: 16px;
    flex-shrink: 0;
}

/* booking Tickets Section */
#booking-btn {
    background-color: #19486A;
    color: white;
    font-size: 1em;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    margin-top: 20px;
}

#booking-btn:hover {
    background-color: #00689D;
}

/* Sponsors Section */
.sponsors {
    text-align: center;
    margin: 20px 0;
}

.sponsors h3 {
    font-weight: normal;
    font-size: 1.3em;
    margin-bottom: 10px;
    color: #333; /* Navy Blue */
}

.sponsor-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px; /* Adjust spacing between logos */
    flex-wrap: wrap;
}

.sponsor-logos img {
    max-height: 70px; /* Adjust this value based on the desired logo size */
    margin: 0 15px;
}

/* Footer Section */
footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #19486A;
    color: white;
    padding: 10px 20px;
}
footer p {
    margin: 5px 0;
}

@media (max-width: 768px) {
    footer a{
      text-decoration: none;
      color: inherit;
        }
      }

@media (min-width: 769px) and (max-width: 1199px) {
          footer a{
            text-decoration: none;
            color: inherit;
              }
      }

      @media (min-width: 1200px) {
          footer {
              flex-direction: row;
              justify-content: space-between;
          }
          footer a{
            text-decoration: none;
            color: inherit;
              }
            }

/*  شيل دول لما تجهز الاجندا  */
/* .agenda-container {
    position: relative;
}

.blurred-content {
    filter: blur(8px);
    position: relative;
}

.overlay {
    position: absolute;
    top: 30%;
    left: 0;
    width: 100%;
    height: 70%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.overlay-image {
    max-width: 100%;
    max-height: 100%;
    z-index: 1;
}
    */

.popup-wrapper {
    display: none;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.popup-card {
    display: flex;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    max-width: 80%;
    width: 600px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    padding: 10px;
}

.popup-image {
    flex: 1;
    border-right: 2px solid #ddd;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
}

.popup-image img {
    width: 100%;
    height: auto;
    display: block;
    border: 5px solid #ddd; /* إطار الصورة */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* ظل الصورة */
    border-radius: 4px;
}

.popup-content {
    flex: 2;
    padding: 20px;
}

.popup-content h2 {
    margin: 0;
    font-size: 24px;
}

.popup-job span {
    display: block;
    font-weight: bold;
}

.popup-job p {
    margin: 5px 0;
}

.popup-description p {
    margin: 15px 0;
    text-align: left;
}

.linkedin-link, .facebook-link {
    display: block;
    margin-top: 10px;
}

.linkedin-link img ,.facebook-link img {
    width: 32px;
    height: auto;
}