* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: "Segoe UI", sans-serif;
  background-color: #f5f5f5;
  color: #333;
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden; /* prevent horizontal scroll */
}

header {
  /* Pink starts on left, light blue on right, blending purple in the middle */
  background: linear-gradient(to right, 
                              #ff69b4 0%,       /* Hot Pink on left */
                              #9a48e6 50%,      /* Purple in the middle */
                              #0face0 100%);    /* Light Blue on right */
  
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1rem 2rem;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* NEW: Limit header height on smaller screens so it doesn't take half screen */
@media screen and (max-width: 480px) {
  header {
    padding: 0.5rem 1rem;
    max-height: 60px;
    overflow: hidden;
  }
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}

.logo {
  flex: 1;
}

.logo img {
  height: 50px;
}

.language-toggle {
  position: absolute;
  top: 15px;
  right: 15px;
  user-select: none;
  font-family: Arial, sans-serif;
  z-index: 10;
}
.language-toggle input[type="checkbox"] {
  display: none;
}
.language-toggle label {
  cursor: pointer;
  width: 60px;
  height: 30px;
  background-color: #ccc;
  border-radius: 15px;
  display: inline-block;
  position: relative;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s;
}
.language-toggle label::before {
  content: "";
  position: absolute;
  width: 28px;
  height: 28px;
  left: 1px;
  top: 1px;
  background-color: white;
  border-radius: 50%;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s;
}
.language-toggle input[type="checkbox"]:checked + label::before {
  transform: translateX(30px);
}
.language-toggle .lang-en,
.language-toggle .lang-fr {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-weight: bold;
  font-size: 14px;
  color: #444;
  user-select: none;
  pointer-events: none;
}
.language-toggle .lang-en {
  left: 8px;
}
.language-toggle .lang-fr {
  right: 8px;
}
.language-toggle input[type="checkbox"]:checked + label {
  background-color: #4caf50;
  box-shadow: 0 0 8px #4caf50;
}

/* Nav centered */
.main-nav {
  flex: 2;
  text-align: center;
}
.main-nav ul {
  display: flex;
  justify-content: center;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.main-nav ul li a {
  color: white;
  font-weight: 600;
  text-decoration: none;
  font-size: 1.1rem;
}
.main-nav ul li a:hover {
  color: #cce0ff;
}


.section-logo {
  display: block;
  margin: 0 auto 1rem;
  max-height: 600px;
}

/* =================
   HERO SECTION STYLES
   (REPLACED TO ADD
   BACKGROUND + 2 LOGOS)
   ================= */
.hero {
  background-image: url('logo_hero_background.jpg'); /* Background hero logo */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 6rem 2rem 4rem 2rem;
  text-align: center;
  color: white; /* Text color for contrast */
  position: relative;
  overflow: visible;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.4); /* Dark overlay for readability */
  z-index: 0;
}

.hero > * {
  position: relative;
  z-index: 1;
}

.hero-top-logo {
  max-width: 700px;
  margin: 0 auto 0.8rem auto;
  display: block;
}

.hero-foreground-logo {
  max-width: 150px;
  margin: 0 auto 1.5rem auto;
  display: block;
}
/* ================= END HERO SECTION STYLES ================= */

/* === UPDATED SECTIONS TO TAKE FULL PAGE SPACE === */
section {
  width: 100%;        /* Use 100% of parent width, respecting padding/margin */
  min-height: 100vh;  /* Full viewport height minimum */
  padding: 2rem;
  box-sizing: border-box;
  
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}


/* Optional: center text inside section children */
/* ========================
   About Us Section Layout
   ======================== */
.about-section {
  width: 100%;
  padding: 6rem 2rem;
  background-color: #ffffff;
}

.about-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.about-image {
  flex: 1;
  position: relative;
  max-width: 450px;
  overflow: hidden;
  border-radius: 0;  /* Remove border radius to avoid contour */
  box-shadow: none;  /* Remove shadow */
  mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 60%, rgba(0,0,0,0) 100%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 60%, rgba(0,0,0,0) 100%);
}

.about-image img {
  width: 100%;
  display: block;
  object-fit: cover;
  
  border-radius: 0; /* Remove image border radius */
}


.about-image:hover img {
  transform: scale(1.02) rotateX(1deg) rotateY(1deg);
}


.about-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
  padding: 1rem;
  color:#0face0;
}
.about-description {
  text-align: justify;
  text-align-last: center; /* or center or right depending on preference */
}


.about-heading-row {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.about-line-group {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.about-line {
  flex: 1;
  border: none;
  height: 3px;
  background-color: #007bff;
  min-width: 100px;
}

.about-labels {
  display: flex;
  align-items: baseline;
  gap: 0.3rem;
  flex-wrap: wrap;
}

.aurora-large {
  font-size: 3rem;
  font-weight: bold;
  color: #209ad2;
}

.aurora-small {
  font-size: 1.8rem;
  font-weight: 500;
  color: #34a5eb;
}
.about-description {
  margin-top: 1rem;
  font-size: 1.2rem;
  line-height: 1.6;
  color: #444;
  max-width: 600px;
}
#events {
  padding: 6rem 0;
  background-color: #fff;
  text-align: center;
}

#events .section-title {
  font-size: 3rem;
  color: #0face0;
  margin-bottom: 2rem;
  font-weight: bold;
}

.event-fullwidth {
  width: 100%;
}

.event-image-wrapper {
  position: relative;
  width: 100%;
  text-align: center; /* optional, helps with inline content */
}

.event-image-wrapper img {
  width: 70%;
  height: auto;
  display: block;
  margin: 0 auto; /* centers the image horizontally */
  object-fit: cover;
  margin-bottom: 30px; /* Adds space below the image */
}


.event-date-overlay {
  position: absolute;
  bottom: 15px;
  right: 20px;
  background-color: rgba(0, 123, 255, 0.85);
  color: white;
  padding: 8px 16px;
  font-size: 1rem;
  border-radius: 5px;
  font-weight: bold;
}

.event-description {
  padding: 2rem 1.5rem;
  max-width: 900px;
  margin: 40px auto 0 auto; /* ↑↑ increases space above the text */
  text-align: justify;
  text-align-last: center;
}


.event-description h3 {
  font-size: 2rem;
  color: #007bff;
  margin-bottom: 1rem;
}

.event-description p {
  font-size: 1.2rem;
  color: #444;
  line-height: 1.6;
}

/* CONTACT SECTION */
/* CONTACT SECTION */
#contact {
  width: 100%;
  max-width: 600px;
  margin: 3rem auto;
  padding: 40px 20px;
  background-color: #f9f9f9;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

#contact .section-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 20px;
  color: #333;
  font-weight: 600;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Logo inside contact section */
#contact .section-logo {
  display: block;
  margin: 0 auto 1rem auto;
  max-width: 150px;
  height: auto;
}

/* Form Container */
#form-container {
  width: 100%;
}

/* Contact Form */
#contactForm {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Inputs & Textarea */
#contactForm input[type="text"],
#contactForm input[type="email"],
#contactForm input[type="tel"],
#contactForm textarea {
  padding: 12px 15px;
  font-size: 1rem;
  border: 1.8px solid #ccc;
  border-radius: 5px;
  resize: vertical;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  transition: border-color 0.3s ease;
  width: 100%;
}

#contactForm textarea {
  min-height: 200px; /* slightly taller */
  width: 100%;         /* takes full width of its container */
  max-width: 100%;     /* allows full expansion even on small screens */
  padding: 14px 18px;  /* more comfortable typing space */
  font-size: 1.05rem;  /* slightly larger font */
  border: 2px solid #ccc;
  border-radius: 8px;  /* more modern look */
  resize: vertical;    /* user can still resize vertically */
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  line-height: 1.6;
  box-sizing: border-box;
}

/* Focus effect */
#contactForm input:focus,
#contactForm textarea:focus {
  border-color: #007bff;
  outline: none;
}

/* Button */
#contactForm button {
  padding: 14px 0;
  font-size: 1.1rem;
  background-image: linear-gradient(to right, 
                              #ff69b4 0%,       /* Hot Pink on left */
                              #9a48e6 50%,      /* Purple in the middle */
                              #0face0 100%);    /* Light Blue on right */;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 600;
  transition: background-color 0.3s ease;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;

  /* Center it */
  display: block;
  margin: 20px auto 0 auto; /* top auto-bottom margin */
  width: 50%; /* adjust as needed */
  max-width: 300px;
  text-align: center;
}


#contactForm button:hover {
  background-color: #b42828
  ;
}


.subscribe {
  margin-top: 2rem;
  text-align: center;
}
.subscribe a {
  background: #007bff;
  color: white;
  padding: 1rem 2rem;
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.1rem;
  display: inline-block;
}
.subscribe a:hover {
  background-color: #0056b3;
}

footer {
  background: #ffffff;
  color: #ccc;
  padding: 1.5rem 2rem;
  font-size: 1rem;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  max-width: 1400px;
  max-height: 100px;
  margin: 0 auto;
  padding: 1rem 2rem;
  background: #ffffff;
  color: #000000;
}

.footer-logo img {
  height: 50px; /* adjust as needed */
}

.footer-contact {
  display: flex;
  gap: 2rem;
  font-size: 1rem;
  align-items: center;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.footer-links img {
  height: 30px;
  width: auto;
  filter: brightness(0) saturate(100%) invert(36%) sepia(65%) saturate(4640%) hue-rotate(270deg) brightness(94%) contrast(102%);
}


.footer-copy {
  flex-basis: 100%;
  text-align: center;
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: #aaa;
}

@media screen and (max-width: 768px) {
  html, body {
    width: 100%;
    overflow-x: hidden;
  }

  .header-container,
  .main-nav ul,
  .about-container,
  .footer-container {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

    .main-nav ul {
    flex-direction: row !important;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    padding: 0.5rem 0;
  }

  .main-nav ul li {
    width: auto;
  }

  .main-nav ul li a {
    display: inline-block;
    padding: 0.5rem;
    font-size: 1rem;
  }

  .hero {
    padding: 8rem 1rem 3rem 1rem;
  }

  .hero-top-logo {
    max-width: 90%;
  }

  .hero-foreground-logo {
    max-width: 80px;
  }

  .about-image,
  .about-text {
    width: 100%;
    text-align: center;
  }

  .aurora-large {
    font-size: 2.2rem;
  }

  .aurora-small {
    font-size: 1.5rem;
  }

  .about-description {
    font-size: 1rem;
    padding: 0 1rem;
    max-width: 100%;
  }

  .event-image-wrapper img {
    width: 100%;
  }

  .event-description h3 {
    font-size: 1.5rem;
  }

  .event-description p {
    font-size: 1rem;
    padding: 0 1rem;
  }

  #contact {
    max-width: 100%;
    margin: 2rem 0;
    padding: 2rem 1rem;
    border-radius: 0;
  }

  #contactForm textarea {
    max-width: 100%;         /* Allow full width on small screens */
    font-size: 1rem;
  }

  #contactForm button {
    width: 100%;
    max-width: 100%;
  }

  /* Footer fixes */
  .footer-container {
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    width: 100% !important;
    max-height: none !important;      /* Remove max-height limit */
    overflow: visible !important;     /* Prevent clipping */
    padding: 1rem 1rem;               /* Add some padding */
    box-sizing: border-box;
  }

  .footer-contact,
  .footer-links {
    flex-direction: column !important;
    gap: 1rem !important;
    align-items: center !important;
    width: 100% !important;
  }

  .footer-contact > *,
  .footer-links > * {
    width: 100% !important;  /* Make children full width */
  }

  .footer-links {
    overflow: visible !important;    /* Just in case */
  }

  .footer-logo img {
    height: 40px !important;
  }
}


@media (max-width: 480px) {
  header {
    padding: 0.75rem 1rem; /* slightly bigger padding */
    max-height: none; /* remove max-height so nav can expand */
    overflow: visible; /* allow children to be visible */
  }

  .header-container {
    flex-direction: column;
    align-items: flex-start; /* keep nav left-aligned */
    gap: 0.5rem;
  }

   .main-nav ul {
    flex-direction: row !important;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
  }

   .main-nav a {
    font-size: 1rem;
    display: inline-block;
    padding: 0.3rem 0.5rem;
  }

  /* Footer fixes for extra small */
  footer {
    padding: 1rem 1rem !important;
    max-height: none !important;
    overflow: visible !important;
  }

  .footer-container {
    flex-direction: column !important;
    align-items: center !important;
    gap: 1rem !important;
    text-align: center !important;
    width: 100% !important;
  }

  .footer-contact,
  .footer-links {
    flex-direction: column !important;
    gap: 0.5rem !important;
    align-items: center !important;
    width: 100% !important;
  }

  .footer-contact > *,
  .footer-links > * {
    width: 100% !important;
  }

  .footer-copy {
    font-size: 0.9rem !important;
    margin-top: 1rem !important;
    color: #666 !important;
  }

  .footer-logo img {
    height: 40px !important;
  }

  .footer-links img {
    height: 20px !important;
  }
}

