@import url('https://fonts.googleapis.com/css2?family=Codystar:wght@300;400&family=Karla:ital,wght@0,200..800;1,200..800&family=Noto+Sans+Canadian+Aboriginal:wght@100..900&family=Reem+Kufi+Ink&family=Roboto:ital,wght@0,100..900;1,100..900&family=Rubik:ital,wght@0,300..900;1,300..900&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    height: 100%;
    width: 100%;
    overflow-x: hidden;
    font-family: "Montserrat", sans-serif;
  }
body {
    position: relative;
    min-height: 100vh;
    margin: 0;
    font-family: "Montserrat", sans-serif;
    color: white;
    overflow-x: hidden;
    height: 100%;
    width: 100%;
    padding-top: 16vh;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('media/teambg.jpg') no-repeat center center/cover;
    
    background-blend-mode: overlay;
    z-index: -1;
}
.app{
    width: 100%;
    height: 300vh;
    display: flex;
    flex-direction: column;
    padding: 40px;
    position: relative;   
}
nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 10vh;
  padding: 1.5rem 3rem;
  background-color: transparent;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: "Montserrat", sans-serif;
}


nav h1 {
  font-size: 1.7rem;
  font-weight: 900;
}
nav h2 {
  font-size: 0.8rem;
  font-weight: 400;
}
nav .routes {
  display: flex;
  align-items: center;
  gap: 3rem;
}

nav .routes a {
  font-size: 1.7rem;
  font-weight: 900;
  color: white;
  text-decoration: none;
  
  transition: all 0.3s ease-in-out;
}

nav .routes a:hover {
  color: gold;
  transform: scale(1.05);
}

/* Social Icons Styling */
.social-icons {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  text-decoration: none;
}

/* Specific styles for LinkedIn and Facebook icons */
.social-icons a[href*="linkedin"],
.social-icons a[href*="facebook"] {
  background: white;
}

.social-icons a[href*="linkedin"] img,
.social-icons a[href*="facebook"] img {
  filter: none;
}

.social-icons a:hover {
  transform: scale(1.2);
  background: rgba(255, 255, 255, 0.2);
}

.social-icons img {
  width: 24px;
  height: 24px;
  transition: transform 0.3s ease-in-out;
  filter: brightness(0) invert(1);
}

.social-icons a[href*="linkedin"] img,
.social-icons a[href*="facebook"] img {
  filter: none;
}

.social-icons a:hover img {
  transform: scale(1.1);
}

/* Footer Styling */
.footer {
  background: #0a0f1f;
  color: #bdc3c7;
  padding: 4rem 2rem 0;
  position: relative;
  margin-top: 4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  max-width: 1400px;
  margin: 0 auto 3rem;
}

.footer-column {
  padding: 0 1rem;
}

.footer-logo {
  margin-bottom: 1.5rem;
}

.footer-logo img {
  height: 50px;
  margin-bottom: 1rem;
}

.footer-logo p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #bdc3c7;
}

.footer-bottom {
  background: rgba(0, 0, 0, 0.2);
  padding: 1.5rem;
  text-align: center;
  font-size: 0.9rem;
  color: #7f8c8d;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.footer-bottom p {
  margin: 0.5rem 0;
}

@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .footer-column {
    padding: 0;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}
.part1{
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 9;
    padding: 0 10px;
    background :transparent;
    align-items: center;
    position: relative;
}
.part2{
    width: 50%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;   
    padding: 0 10px;
    font-size: 22px;
    font-weight: 700;
    z-index: 9;
    background :transparent;
}

.part1 h4, h2{
   background :transparent;
}

.part2 li{
   list-style: none;
    padding: 0 10px;
   background :transparent;

}
/* === EVENT SECTIONS === */
.event-highlight,
.event-row {
  padding: 2rem 0;
  margin: 2rem 0;
  position: relative;
  overflow: hidden;
  background: transparent;
}

.event-container,
.event-row,
.left-event,
.right-event {
  max-width: 1000px;
  margin: 4rem auto;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2.5rem;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.2);
  will-change: transform, opacity;
}

.event-container.animate,
.event-row.animate,
.left-event.animate,
.right-event.animate {
  opacity: 1;
  transform: translateY(0);
}

.event-container::before,
.event-row::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  background: radial-gradient(circle at 20% 30%, rgba(74, 144, 226, 0.1) 0%, transparent 50%);
  z-index: 1;
}

/* Image styling for all events */
.event-image,
.left-event .event-image,
.right-event .event-image {
  flex: 0 0 48%;
  max-width: 48%;
  height: 350px;
  object-fit: cover;
  padding: 0;
  margin: 0;
  border-radius: 0;
  transition: transform 0.3s;
  box-shadow: none;
}

.event-image:hover,
.left-event .event-image:hover,
.right-event .event-image:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

/* Text container for all events */
.event-text,
.event-description {
  flex: 1;
  padding: 0 2rem 0 0;
  color: #fff;
}

.event-text h2,
.event-description h3 {
  font-size: 2.2rem;
  margin-bottom: 1.2rem;
  color: #4a90e2;
  font-weight: 600;
}

.event-text p,
.event-description p {
  font-size: 1rem;
  line-height: 1.7;
  color: #e0e0e0;
  margin-bottom: 1.8rem;
  max-width: 100%;
}

/* Right-aligned content */
.right-event {
  flex-direction: row-reverse;
}

/* Left-aligned content */
.left-event {
  flex-direction: row;
}

/* Hover effects */
.event-image:hover,
.left-event .event-image:hover,
.right-event .event-image:hover {
  transform: scale(1.02);
}

/* Ensure proper image alignment */
.left-event .event-image {
  order: 1;
}

.left-event .event-text,
.left-event .event-description {
  order: 2;
}

.right-event .event-image {
  order: 2;
}

.right-event .event-text,
.right-event .event-description {
  order: 1;
}

/* Ensure consistent height for all content */
.event-container,
.event-row {
  align-items: stretch;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 15px;
  overflow: hidden;
  margin: 2rem auto;
  max-width: 1100px;
}

/* Right-aligned image specific styles */
.right-event .event-image {
  order: 2;
  border-radius: 0 12px 12px 0;
}

/* Left-aligned image specific styles */
.left-event .event-image {
  border-radius: 12px 0 0 12px;
}

/* Text section for right-aligned events */
.right-event .event-text,
.right-event .event-description {
  border-radius: 12px 0 0 12px;
}

.event-text h2 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  color: #fff;
  font-weight: 800;
  letter-spacing: -0.5px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  background: linear-gradient(45deg, #fff, #4a90e2, #9c27b0);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientShift 8s ease infinite;
  line-height: 1.2;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.event-text p {
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.8;
  font-weight: 300;
  max-width: 90%;
  position: relative;
  padding-left: 1.5rem;
  border-left: 3px solid rgba(74, 144, 226, 0.5);
}

.event-button {
  padding: 1.1rem 2.5rem;
  background: linear-gradient(145deg, #4a90e2, #357abd);
  color: white;
  border: none;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  align-self: flex-start;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  box-shadow: 0 6px 20px rgba(74, 144, 226, 0.4);
  position: relative;
  overflow: hidden;
  z-index: 1;
  transform: translateY(0);
  will-change: transform, box-shadow;
}

.event-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: linear-gradient(145deg, #9c27b0, #4a90e2);
  transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: -1;
}

.event-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(74, 144, 226, 0.5);
  background: linear-gradient(145deg, #4a90e2, #9c27b0);
}

.event-button:hover::before {
  width: 100%;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .event-highlight {
    padding: 4rem 0;
  }
  
  .event-container {
    flex-direction: column;
    gap: 2.5rem;
  }
  
  .event-image,
  .event-text {
    width: 100%;
    max-width: 100%;
    text-align: center;
  }
  
  .event-text h2 {
    font-size: 2.8rem;
  }
  
  .event-text p {
    margin-left: auto;
    margin-right: auto;
    padding-left: 0;
    border-left: none;
    text-align: center;
    max-width: 80%;
  }
  
  .event-button {
    align-self: center;
  }
}

@media (max-width: 768px) {
  .event-text h2 {
    font-size: 2.2rem;
  }
  
  .event-text p {
    font-size: 1.1rem;
    max-width: 100%;
  }
  
  .event-button {
    padding: 1rem 2rem;
    font-size: 1rem;
  }
}

/* Animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.event-container {
  animation: fadeInUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
  opacity: 0;
  animation-delay: 0.2s;
}

.event-text h2 {
  animation: fadeInUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
  opacity: 0;
  animation-delay: 0.4s;
}

.event-text p {
  animation: fadeInUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
  opacity: 0;
  animation-delay: 0.5s;
}

.event-button {
  animation: fadeInUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
  opacity: 0;
  animation-delay: 0.6s;
}

.event-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(74, 144, 226, 0.4);
}

.event-button:hover::before {
  width: 100%;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.event-info p {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.3rem;
}

.event-info h5 {
  font-size: 1.2rem;
  color: #ddd;
  font-weight: 500;
}


.recent-events{
    position: relative;
    height: calc(150vh - 50px);
    width: auto;
    padding: 30px 80px;
   
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.recent-events h2{
    font-family: "Roboto", sans-serif;
    font-size: 40px;
    color: white;
    text-align: center;
    margin-bottom: 20px;
}

.events1,.events2{
    width: 100%;
    height: 50%;   
    padding: 30px;
    display: flex;
    color: white;
}
.image-sliders{
    width: 100%;
    height: 150px;
    display: flex;
    gap: 10px;
    overflow: hidden;
    position: relative;
    margin-bottom: 20px;
}
.track {
    display: flex;
    gap: 10px;
    width: max-content;
}

.image-sliders img {
    width: 320px;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    flex-shrink: 0;
    transition: transform 0.3s;
}
.events1-1{
    width: 55%;
    height: 40%;
    position: absolute;
    background: #1a1a2e; /* Fallback color */
    background: url('../../images/space-bg.jpg') no-repeat center center fixed;
    background-size: cover;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}



.events1-1 > img {
    width: 110%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
    border-radius: 0;
}

.events1-2{
    width: 32%;
    height: 58%;
    position: relative;
    top: 20%;
    left: 50%;
    background-color: #c2bcbc;
    opacity: 0.8;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 10px;

}
.events1-2:hover,
.events2-1:hover {
    opacity: 0.75;
    box-shadow: 0 8px 32px rgba(0,0,0,0.25);
    transform: translateY(6px) scale(1.03);
    transition: box-shadow 0.3s, transform 0.3s;
}
.events2-1 {
    width: 33%;
    height: 55%;
    position: relative;
    background-color: #eceaeae6;
    opacity: 0.75;
    top: 20%;
    left: 15%;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
}
.events2-2{
    width: 56%;
    height: 75%;
    position: relative;
    background: #0f0c29; /* Fallback color */
    background: url('../../images/stars-bg.jpg') no-repeat center center fixed;
    background-size: cover;
    background-attachment: fixed;
    top: 15%;
    left: 10%;
    z-index: 1;
}
.events2-2 > img{
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
    border-radius: 0;
}
.events1-2 h3, .events2-1 h3{
    font-family: "Roboto", sans-serif;
    font-size: 30px;
    color: white;
    text-align: center;
    margin-bottom: 10px;
}
.events1 button,.events2 button {
    width: 40%;
    padding: 10px;
    border: none;
    border-radius: 10px;
    font-size: 20px;
    font-family: "Roboto", sans-serif;
    font-weight: 600;
    outline: none;
    background-color: antiquewhite;
    transition: background 0.3s, color 0.3s, transform 0.2s, box-shadow 0.2s;
}

.events1 button:hover,
.events2 button:hover {
    background:transparent;
    transform: translateY(-3px) scale(1.04);
    box-shadow: 0 4px 16px rgba(0,0,0,0.18);
    cursor: pointer;
}
/* === EVENT SECTIONS === */
.event-row {
  max-width: 1200px;
  margin: 6rem auto;
  padding: 3rem 2rem;
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.7);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.event-row::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  background: radial-gradient(circle at 20% 30%, rgba(74, 144, 226, 0.1) 0%, transparent 50%);
  z-index: 1;
}

.event-row .event-image {
  width: 45%;
  max-width: 500px;
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
  object-fit: cover;
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  aspect-ratio: 16/9;
  transform: perspective(1000px) rotateY(-5deg);
  backface-visibility: hidden;
  will-change: transform;
  z-index: 2;
}

.event-row:hover .event-image {
  transform: perspective(1000px) rotateY(0deg);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

.event-description {
  width: 50%;
  padding: 2rem;
  position: relative;
  z-index: 2;
}

.event-description h3 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: #fff;
  font-weight: 800;
  letter-spacing: -0.5px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  background: linear-gradient(45deg, #fff, #4a90e2, #9c27b0);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientShift 8s ease infinite;
  line-height: 1.2;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.event-description p {
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.7;
  font-weight: 300;
  position: relative;
  padding-left: 1.5rem;
  border-left: 3px solid rgba(74, 144, 226, 0.5);
}

/* Right-aligned event (Connexion) */
.right-event {
  flex-direction: row-reverse;
  background: rgba(0, 0, 0, 0.7);
}

/* Left-aligned event (Lord of the Rings) */
.left-event {
  flex-direction: row;
  background: rgba(0, 0, 0, 0.7);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .event-container,
  .event-row {
    flex-direction: column;
    padding: 1.5rem;
    min-height: auto;
  }
  
  .event-image,
  .event-text,
  .event-description {
    width: 100%;
    max-width: 100%;
    text-align: center;
    padding: 1rem 0;
  }
  
  .event-text h2,
  .event-text h3,
  .event-description h3 {
    font-size: 1.8rem;
    margin-top: 1rem;
  }
  
  .event-text p,
  .event-description p {
    font-size: 0.95rem;
    margin: 0.8rem auto;
    max-width: 90%;
  }
  
  .event-button {
    margin: 1rem auto 0;
  }
  
  .event-image,
  .left-event .event-image,
  .right-event .event-image {
    max-width: 100%;
    max-height: 300px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .event-text h2,
  .event-text h3,
  .event-description h3 {
    font-size: 1.5rem;
  }
  
  .event-text p,
  .event-description p {
    font-size: 0.9rem;
  }
  
  .event-button {
    padding: 0.7rem 1.5rem;
    font-size: 0.85rem;
  }
}

/* === GENERAL === */
a {
  color: rgb(76, 113, 146);
  text-decoration: none;
  font-size: 18px;
  transition: all 0.4s ease-in-out;
}
  
  a:hover {
    color: rgb(101, 31, 31);
    text-decoration: underline;
    transform: scale(1.2);
  }
  
  /* === GRADIENT TEXT === */
  #gradient-text {
    background: linear-gradient(to bottom, #016655, #c7f2f2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: bold;
    font-size: 3rem;
  }
  
  /* === HOMEPAGE NAV LINKS === */
  #styling:hover {
    color: rgb(160, 219, 234);
    text-decoration: underline;
    transition: all 1s ease-in-out;
    font-size: 18px; /* fixed font-size: 0px bug */
  }
  
  /* === FOOTER MAIN === */
  .footer {
    background: #020a13;
    color: white;
    padding: 40px 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: flex-start;
    position: relative;
    text-align: center;
    gap: 30px;
  }
  
  .footerbg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.1;
    z-index: 0;
  }
  
  .footer-column {
    position: relative;
    z-index: 1;
    flex: 1;
    min-width: 250px;
    max-width: 350px;
  }
  
  .footer-logo img {
    width: 120px;
    margin-bottom: 10px;
  }
  
  .footer-logo p {
    margin: 10px 0;
    font-weight: bold;
  }
  
  .social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 10px;
  }
  
  .social-icons a img {
    width: 30px;
    height: 30px;
    transition: transform 0.3s ease-in-out;
  }
  
  .social-icons a img:hover {
    transform: scale(1.2);
  }
  
  /* === CONTACT FORM === */
  .contact-section {
    border: 2px solid white;
    padding: 20px;
    border-radius: 10px;
  }
  
  .contact-form input,
  .contact-form textarea {
    width: 100%;
    margin: 10px 0;
    padding: 10px;
    border: none;
    border-radius: 5px;
  }
  
  .contact-form button {
    background: gold;
    color: black;
    padding: 10px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    width: 100%;
  }
  
  /* === FOOTER BOTTOM === */
  .footer-bottom {
    position: relative;
    z-index: 1;
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin-top: 30px;
    padding-top: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    font-size: 0.9rem;
    color: #ccc;
  }
  
  .footer-left,
  .footer-right {
    flex: 1;
    min-width: 250px;
    padding: 10px;
    text-align: center;
  }
  
  @media (min-width: 600px) {
    .footer-left {
      text-align: left;
    }
    .footer-right {
      text-align: right;
    }
  }
  
  /* === EXTRA (From Original Footer1/Footer2 Layout - Not used now, but preserved) === */

  
  footer > h3 {
    text-align: center;
    font-size: 28px;
  }
  
  footer li {
    list-style: none;
  }
  
  .footer1 {
    width: 100%;
    height: 50%;
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 40px;
    font-size: 25px;
  }
  
  .footer2 {
    width: 100%;
    height: 50%;
    display: flex;
    justify-content: space-between;
  }
  
  .chat,
  .email {
    display: flex;
    align-items: center;
    font-size: 20px;
  }
  
  /* === Routes & Chat (if ever used again) === */
  .footRoutes {
    display: flex;
    gap: 20px;
  }
  
  .footRoutes h1 {
    font-size: 1rem;
    cursor: pointer;
  }
  
  .footchat {
    display: flex;
    gap: 20px;
  }
  
  .footchat i {
    margin-right: 8px;
  }
  @media (max-width: 768px) {
    .event-info {
      left: 20px;
      right: 20px;
      bottom: 20px;
      max-width: 90%;
      padding: 1rem;
    }
  
    .event-info p {
      font-size: 1.5rem;
    }
  
    .event-info h5 {
      font-size: 1rem;
    }
  }
  .event-highlight {
    position: relative;
    width: 100%;
    
  }
  
  
  
  .event-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.5); /* Transparent overlay */
    padding: 2rem;
    text-align: center;
    color: white;
    border-radius: 10px;
    max-width: 80%;
  }
  
  .event-text button,
  .event-button {
    background: linear-gradient(to bottom, #00c3ff, #006b9f);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 12px 24px;
    font-size: 1.1rem;
    font-weight: bold;
    box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.3),
                inset 0 -2px 4px rgba(0, 0, 0, 0.3),
                0 4px 8px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
    cursor: pointer;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.4);
  }
  
  .event-text button:hover,
  .event-button:hover {
    background: linear-gradient(to bottom, #00e1ff, #007db8);
    transform: translateY(-2px);
    box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.4),
                inset 0 -2px 4px rgba(0, 0, 0, 0.4),
                0 6px 12px rgba(0, 0, 0, 0.5);
  }
  
  
  .event-main-heading {
    text-align: center;
    font-size: 2.5rem;
    margin: 3rem 0 2rem;
    color: #222;
    margin-top: 5rem;
  }
  
  .event-row {
    max-width: 1100px;
    margin: 3rem auto;
    padding: 0 2rem;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 2rem;
    align-items: flex-start;
  }
  
  
  .left-event {
    justify-content: flex-start;
    text-align: left;
  }
  
  /* Right-aligned event (Connexion) - Override default styles */
.right-event {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  justify-content: space-between;
  gap: 4rem;
  padding: 3rem;
  max-width: 1200px;
  margin: 6rem auto;
  background: transparent;
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.right-event::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  background: radial-gradient(circle at 80% 30%, rgba(74, 144, 226, 0.1) 0%, transparent 50%);
  z-index: 1;
}

/* Event image styles */
.right-event .event-image,
.left-event .event-image {
  width: 45%;
  max-width: 500px;
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
  object-fit: cover;
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  aspect-ratio: 16/9;
  transform: perspective(1000px) rotateY(5deg);
  backface-visibility: hidden;
  will-change: transform;
  z-index: 2;
}

.right-event .event-image {
  transform: perspective(1000px) rotateY(-5deg);
}

.right-event:hover .event-image,
.left-event:hover .event-image {
  transform: perspective(1000px) rotateY(0deg);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

/* Description styling */
.right-event .event-description,
.left-event .event-description {
  width: 50%;
  padding: 2rem;
  position: relative;
  z-index: 2;
}

.right-event .event-description h3,
.left-event .event-description h3 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: #fff;
  font-weight: 800;
  letter-spacing: -0.5px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  background: linear-gradient(45deg, #fff, #4a90e2, #9c27b0);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientShift 8s ease infinite;
  line-height: 1.2;
}

.right-event .event-description p,
.left-event .event-description p {
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.7;
  font-weight: 300;
  position: relative;
  padding-left: 1.5rem;
  border-left: 3px solid rgba(74, 144, 226, 0.5);
}

/* Button styles for all events */
.event-button,
.event-text .event-button,
.event-description .event-button {
  padding: 1rem 2.2rem;
  background: linear-gradient(145deg, #4a90e2, #357abd);
  color: white;
  border: none;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  box-shadow: 0 6px 20px rgba(74, 144, 226, 0.3);
  display: inline-block;
  text-align: center;
  text-decoration: none;
  margin-top: 0.5rem;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.event-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: linear-gradient(145deg, #9c27b0, #4a90e2);
  transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: -1;
}

.event-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(74, 144, 226, 0.4);
  background: linear-gradient(145deg, #4a90e2, #9c27b0);
}

.event-button:hover::before {
  width: 100%;
}
@media (max-width: 768px) {
  .right-event {
    flex-direction: column;
    align-items: center;
  }

  .right-event .event-description {
    text-align: center;
    padding-left: 0;
  }

  .right-event .event-image img {
    max-width: 90vw;
    height: auto;
  }
}

  
  .left-event .event-image img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 400px; /* Or adjust as needed */
    display: block;
    border-radius: 10px;
  }
  
  
  .event-description {
    flex: 1;
  }
  
  .event-description h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
  }
  
  .event-description p {
    font-size: 1rem;
    color: #444;
  }
  .event-description {
    flex: 1;
    text-align: left;
    padding-left: 1rem;
  }
  @media (max-width: 50px) {
    .left-event {
      flex-direction: column;
      align-items: center;
    }
  
    .left-event .event-description {
      padding-left: 0;
      text-align: center;
    }
  
    .left-event .event-image img {
      max-width: 90vw;
      height: auto;
    }
  }
  .event-row {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 2rem;
    padding: 2rem;
    max-width: 1100px;
    margin: 3rem auto;
    flex-wrap: wrap;
  }
  
  .event-row .event-image {
    flex: 1 1 40%;
    max-width: 400px;
  }
  
  .event-row .event-image img {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: contain;
    border-radius: 10px;
    display: block;
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.2);
  }
  
  .event-row .event-description {
    flex: 1 1 55%;
    text-align: left;
    padding: 1rem;
  }
  
  .event-description h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-family: "Roboto", sans-serif;
  }
  
  .event-description p {
    font-size: 1rem;
    color: #444;
    line-height: 1.6;
    margin-bottom: 1.5rem;
  }
  @media (max-width: 768px) {
    .event-row {
      flex-direction: column;
      align-items: center;
      text-align: center;
    }
  
    .event-row .event-image,
    .event-row .event-description {
      max-width: 90vw;
    }
  
    .event-row .event-description {
      padding: 0;
    }
  }
  .event-description.translucent {
    background: rgba(255, 255, 255, 0.1); /* semi-transparent white */
    backdrop-filter: blur(6px);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease-in-out;
  }
  .event-description.translucent:hover {
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.2);
  }
    
  
  
/* === UNIFIED EVENT CARD STYLES === */
.event-container, .event-row, .left-event, .right-event {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  width: 100%;
  max-width: 1000px;
  min-height: 320px;
  margin: 2rem auto;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.event-container:hover, .event-row:hover, .left-event:hover, .right-event:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

/* Image container */
.event-image, .event-row .event-image, .left-event .event-image, .right-event .event-image {
  flex: 0 0 45%;
  max-width: 45%;
  overflow: hidden;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Image styling */
.event-image img, .event-row .event-image img, .left-event .event-image img, .right-event .event-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.event-image:hover img, .event-row .event-image:hover img, .left-event .event-image:hover img, .right-event .event-image:hover img {
  transform: scale(1.05);
}

/* Text content */
.event-text, .event-description {
  flex: 0 0 55%;
  max-width: 55%;
  padding: 2.5rem;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Headings */
.event-text h2, .event-description h3 {
  font-size: 1.8rem;
  margin: 0 0 1rem 0;
  color: #4a90e2;
  font-weight: 700;
  line-height: 1.2;
}

/* Paragraph text */
.event-text p, .event-description p {
  font-size: 1rem;
  line-height: 1.6;
  color: #e0e0e0;
  margin: 0 0 1.5rem 0;
}

/* Button styles */
.event-button {
  padding: 0.8rem 2rem;
  background: linear-gradient(145deg, #4a90e2, #357abd);
  color: white;
  border: none;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  max-width: 180px;
}

.event-button:hover {
  background: linear-gradient(145deg, #4a90e2, #9c27b0);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Right-aligned events (image on right) */
.right-event {
  flex-direction: row-reverse;
}

/* Responsive styles */
@media (max-width: 900px) {
  .event-container, .event-row, .left-event, .right-event {
    flex-direction: column;
    max-width: 95%;
    min-height: auto;
    padding: 1rem;
  }
  
  .event-image, .event-row .event-image, .left-event .event-image, .right-event .event-image,
  .event-text, .event-description {
    flex: 0 0 100%;
    max-width: 100%;
    padding: 1.5rem;
  }
  
  .event-image, .event-row .event-image, .left-event .event-image, .right-event .event-image {
    height: 250px;
  }
  
  .event-text, .event-description {
    text-align: center;
    align-items: center;
  }
  
  .event-button {
    margin: 0 auto;
  }
}
  
  