:root {
  --ring: rgba(255, 255, 255, 0.1);
  --muted: #9ca3af;
}
.login a{
  background-color: #0056b3;
  color: white;
  border-radius: 5px;
}
.logout a{
  background-color: #d9534f;
  color: white;
  border-radius: 5px;
}
/* Home Section Styles */
.home {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 80vh;
  padding: 40px;
  /* background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%); */
  color: #333;
  font-family: 'Arial', sans-serif;
  box-shadow: inset 0 0 100px rgba(0, 0, 0, 0.1);
}
.con1 {
  color: #463dd7;
  font-weight: bold;
}
.home > div:first-child {
  flex: 1;
  max-width: 40%;
  padding-right: 40px;
  text-align: left;
}

.home h1 {
  font-size: 3rem;
  font-weight: bold;
  color: #2c3e50;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.home p {
  font-size: 1.2rem;
  line-height: 1.6;
  color: #555;
  margin: 0;
}

.home > div:last-child {
  flex: 1;
  max-width: 60%;
  position: relative;
}

/* Slideshow Styles */
.slideshower {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

.slideshow-container {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.mySlides {
  display: none;
  position: absolute;
  width: 100%;
  height: 100%;
}

.mySlides img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 15px;
  transition: transform 0.5s ease;
}

.mySlides:hover img {
  transform: scale(1.05);
}

.fade {
  animation: fade 1.5s ease-in-out;
}


@keyframes fade {
  from { opacity: 0.4; }
  to { opacity: 1; }
}

.text {
  position: absolute;
  bottom: 20px;
  left: 20px;
  color: white;
  background: rgba(0, 0, 0, 0.7);
  padding: 10px 15px;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: bold;
}

/* Navigation Arrows */
.prev, .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.8);
  color: #333;
  border: none;
  border-radius: 50%;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.prev:hover, .next:hover {
  background: rgba(255, 255, 255, 1);
  transform: translateY(-50%) scale(1.1);
}

.prev {
  left: 20px;
}

.next {
  right: 20px;
}

/* Dots */
.dot {
  height: 15px;
  width: 15px;
  margin: 0 5px;
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
  cursor: pointer;
}

.dot.active, .dot:hover {
  background-color: rgba(255, 255, 255, 1);
}

/* Modal Styles */
.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);
  backdrop-filter: blur(5px);
}

.modal-content {
  background-color: #fff;
  margin: 15% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 90%;
  max-width: 400px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
  from { opacity: 0; transform: translateY(-50px); }
  to { opacity: 1; transform: translateY(0); }
}

.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s;
}

.close:hover,
.close:focus {
  color: #000;
  text-decoration: none;
}

.modal-content h3 {
  text-align: center;
  margin-bottom: 20px;
  color: #333;
}

.modal-content form {
  display: flex;
  flex-direction: column;
}

.modal-content label {
  margin-bottom: 5px;
  font-weight: bold;
  color: #555;
}

.modal-content input[type="text"],
.modal-content input[type="password"] {
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 16px;
  transition: border-color 0.3s;
}

.modal-content input[type="text"]:focus,
.modal-content input[type="password"]:focus {
  border-color: #007bff;
  outline: none;
}

.modal-content input[type="submit"] {
  padding: 10px;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.modal-content input[type="submit"]:hover {
  background-color: #0056b3;
}

/* Responsive Design */
@media (max-width: 768px) {
  .home {
    flex-direction: column;
    padding: 20px;
    min-height: auto;
  }

  .home > div:first-child, .home > div:last-child {
    max-width: 100%;
    padding-right: 0;
    padding-bottom: 20px;
  }

  .home h1 {
    font-size: 2rem;
  }

  .home p {
    font-size: 1rem;
  }

  .slideshow-container {
    height: 300px;
  }

  .prev, .next {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }

  .modal-content {
    width: 95%;
    margin: 20% auto;
  }
}
/* Event Section */
.event {
  padding: 40px 20px;
  text-align: center;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  margin: 20px 0;
  position: relative;
}

.event::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  z-index: 1;
}

.event > * {
  position: relative;
  z-index: 2;
}

.event h4 {
  font-size: 14px;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.event h1 {
  font-size: 36px;
  color: #ffffff;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  font-weight: 700;
}

.event p {
  font-size: 18px;
  color: #ffffff;
  max-width: 600px;
  margin: 0 auto 30px;
  line-height: 1.6;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.event > div {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 20px;
}

.event > div > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  background-color: rgba(255, 255, 255, 0.95);
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  min-width: 400px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.event > div > div:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.event > div > div img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%);
  padding: 10px;
  margin-bottom: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.event > div > div:hover img {
  transform: scale(1.1);
}

.event .material-symbols-outlined {
  font-size: 24px;
  color: #4facfe;
  margin-bottom: 10px;
}

.event > div > div p:first-of-type {
  font-weight: bold;
  color: #333;
  margin-bottom: 5px;
  font-size: 16px;
}

.event > div > div p:last-of-type {
  color: #666;
  font-size: 14px;
}

.event > div > div a {
  color: #007bff;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.event > div > div a:hover {
  color: #0056b3;
  text-decoration: underline;
}

.eyebrow {
      display: inline-block;
      font-weight: 600;
      letter-spacing: 0.04em;
      font-size: 0.9rem;
      color: var(--accent);
      background: rgba(56, 189, 248, 0.12);
      border: 1px solid rgba(56, 189, 248, 0.35);
      padding: 6px 10px;
      border-radius: 999px;
      margin-left: 45%;
    }

    h1 {
      margin: 14px 0 10px;
      font-size: clamp(1.6rem, 3.8vw, 2.2rem);
      letter-spacing: -0.02em;
      text-align: center;
    }

    .subhead {
      max-width: 780px;
      margin: 0.5rem auto 0;
      color: var(--muted);
      font-size: clamp(1rem, 2.2vw, 1.125rem);
    }
    .grid {
      display: grid;
      grid-template-columns: 1fr;
      gap: 18px;
      margin-top: 28px;
    }

    @media (min-width: 640px) {
      .grid { grid-template-columns: repeat(2, 1fr); }
    }

    @media (min-width: 1024px) {
      .grid { grid-template-columns: repeat(4, 1fr); }
    }

    .card {
      position: relative;
      /* background: linear-gradient(180deg, rgba(17,24,39,0.75), rgba(17,24,39,0.9)); */
      border: 1px solid var(--ring);
      border-radius: 16px;
      padding: 18px;
      backdrop-filter: blur(4px);
      transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
    }
    .card:hover {
      transform: translateY(-4px);
      border-color: rgba(56, 189, 248, 0.5);
      box-shadow: 0 12px 28px rgba(2, 6, 23, 0.6), inset 0 0 0 1px rgba(56,189,248,0.15);
    }

    .icon-wrap {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 44px;
      height: 44px;
      border-radius: 10px;
      background: rgba(56, 189, 248, 0.15);
      border: 1px solid rgba(56, 189, 248, 0.45);
      margin-bottom: 10px;
    }
    .icon {
      width: 22px;
      height: 22px;
    }

    .card h3 {
      margin: 4px 0 6px;
      font-size: 1.05rem;
      letter-spacing: -0.01em;
    }
    .card p {
      margin: 0;
      color: var(--muted);
      font-size: 0.97rem;
    }

    /* Accent variations per card */
    .card:nth-child(1) .icon-wrap {
      background: rgba(56, 189, 248, 0.15);
      border-color: rgba(56, 189, 248, 0.45);
    }
    .card:nth-child(2) .icon-wrap {
      background: rgba(245, 158, 11, 0.15);
      border-color: rgba(245, 158, 11, 0.45);
    }
    .card:nth-child(3) .icon-wrap {
      background: rgba(52, 211, 153, 0.15);
      border-color: rgba(52, 211, 153, 0.45);
    }
    .card:nth-child(4) .icon-wrap {
      background: rgba(244, 114, 182, 0.15);
      border-color: rgba(244, 114, 182, 0.45);
    }

    /* Centering for narrow screens */
    .page {
      display: grid;
      min-height: 100vh;
      align-items: start;
    }

/* Mobile view for event */
@media (max-width: 768px) {
  .event > div {
    flex-direction: column;
    gap: 20px;
  }

  .event h1 {
    font-size: 28px;
  }

  .event p {
    font-size: 16px;
  }
  .event > div > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  background-color: rgba(255, 255, 255, 0.95);
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  min-width: 200px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.eyebrow {
      display: inline-block;
      font-weight: 600;
      letter-spacing: 0.04em;
      font-size: 0.9rem;
      color: var(--accent);
      background: rgba(56, 189, 248, 0.12);
      border: 1px solid rgba(56, 189, 248, 0.35);
      padding: 6px 10px;
      border-radius: 999px;
      margin-left: 35%;
    }
    .subhead {
      max-width: 780px;
      margin: 0.5rem auto 0;
      color: var(--muted);
      font-size: clamp(1rem, 2.2vw, 1.125rem);
      padding-left: 30px;
      padding-right: 30px;
    }
}
.ourle{
  background-color: white;
}
.ourle h1{
  color: #463dd7;
  font-weight: bold;
}
.ourle p{
  color: #333;
  text-align: center;
}
.ourle div{
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 20px;
}
.ourle div div{
  display: block;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  text-align: center;
  padding: 40px;
  width: 250px;
}
.ourle div div p{
  color: #667eea;
  margin-bottom: 10px;
  font-size: 30px;
  font-weight: bold;
}

/* Mobile view for Our Legacy section */
@media (max-width: 768px) {
  .ourle {
    padding: 20px;
  }

  .ourle h1 {
    font-size: 2rem;
    margin-bottom: 15px;
  }

  .ourle p {
    font-size: 1rem;
    padding: 0 10px;
  }

  .ourle div {
    flex-direction: column;
    gap: 20px;
    align-items: center;
  }

  .ourle div div {
    width: 100%;
    max-width: 300px;
    padding: 30px 20px;
  }

  .ourle div div p {
    font-size: 24px;
  }

  .ourle div div h6 {
    font-size: 14px;
  }
}
footer {
  margin-top: 100px;
  background-color: #2c3e50;
  color: #ecf0f1;
  padding: 40px 20px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 40px;
  box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.1);
}

footer > div {
  flex: 1;
  min-width: 250px;
  max-width: 300px;
}

footer > div:first-child {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

footer img {
  height: 60px;
  margin-bottom: 15px;
  border-radius: 50%;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

footer h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: #3498db;
  font-weight: bold;
}

footer p {
  line-height: 1.6;
  margin-bottom: 10px;
  color: #bdc3c7;
}

footer h4 {
  font-size: 1.2rem;
  margin-bottom: 15px;
  color: #e74c3c;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
}

footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

footer ul li {
  margin-bottom: 8px;
}

footer ul li a {
  color: #ecf0f1;
  text-decoration: none;
  transition: color 0.3s ease, transform 0.3s ease;
  display: inline-block;
}

footer ul li a:hover {
  color: #3498db;
  transform: translateX(5px);
}

footer > div:last-child a {
  color: #ecf0f1;
  text-decoration: none;
  transition: color 0.3s ease;
}

footer > div:last-child a:hover {
  color: #e74c3c;
  text-decoration: underline;
}

/* Copyright notice */
footer + p {
  background-color: #34495e;
  color: #bdc3c7;
  text-align: center;
  padding: 15px;
  margin: 0;
  font-size: 0.9rem;
  border-top: 1px solid #2c3e50;
}

/* Responsive design for footer */
@media (max-width: 768px) {
  footer {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 30px;
  }

  footer > div {
    max-width: 100%;
  }

  footer > div:first-child {
    align-items: center;
  }
}
