/* Style for login-register-logout btn */

.button {
  background-color: #da7952;
  color: rgb(0, 0, 0);
  padding: 10px 18px;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: all 0.3s ease;
  display: inline-block;
  border: 2px solid transparent;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
}

/* Hero section */
.hero {
  position: relative;
  height: 600px;
  overflow: hidden;
}

.hero-carousel {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  animation: heroBackgroundAnimation 20s ease-in-out infinite;
}

@keyframes heroBackgroundAnimation {
  0% {
    background-size: 100% auto;
    background-position: center center;
  }
  50% {
    background-size: 110% auto;
    background-position: center 45%;
  }
  100% {
    background-size: 100% auto;
    background-position: center center;
  }
}

.carousel-slide.active {
  opacity: 1;
}

.hero-overlay {
  position: relative;
  z-index: 2;
  background: rgba(0, 0, 0, 0.5);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
}

.hero-content {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-slide-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 1s ease-in-out;
  width: 100%;
  max-width: 1000px;
  padding: 0 20px;
  animation: floatingAnimation 3s ease-in-out infinite;
}

.hero-slide-content.active {
  opacity: 1;
}

.hero-slide-content h2 {
  font-size: 3rem;
  margin-bottom: 15px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-slide-content p {
  font-size: 1.3rem;
  max-width: 800px;
  margin: 0 auto 20px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-actions {
  margin-top: 30px;
}

.hero-btn {
  display: inline-block;
  padding: 15px 30px;
  background-color: #7338A0;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(115, 56, 160, 0.3);
}

.hero-btn:hover {
  background-color: #581845;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(115, 56, 160, 0.4);
}

/* Carousel Controls */
.carousel-controls {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  pointer-events: none;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  pointer-events: auto;
  backdrop-filter: blur(10px);
}

.carousel-arrow:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-50%) scale(1.1);
}

.carousel-arrow.prev {
  left: 30px;
}

.carousel-arrow.next {
  right: 30px;
}

.carousel-arrow i {
  color: white;
  font-size: 18px;
}

.carousel-indicators {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  pointer-events: auto;
}

.carousel-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: 2px solid rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: all 0.3s ease;
}

.carousel-indicator.active {
  background: white;
  transform: scale(1.2);
}

.carousel-indicator:hover {
  background: rgba(255, 255, 255, 0.8);
  transform: scale(1.1);
}

/* Static hero fallback */
.hero-static {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  animation: heroBackgroundAnimation 20s ease-in-out infinite;
}

/* Legacy support for old structure */
.hero-overlay h2 {
  font-size: 3rem;
  margin-bottom: 15px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-overlay p {
  font-size: 1.3rem;
  max-width: 800px;
  margin: 0 auto;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}


/* About Us Brief Section */
.about-brief {
  padding: 60px 0;
  background: white;
}

.about-brief-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.about-brief-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.about-brief-image {
  width: 100%;
  height: 400px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.about-brief-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.about-brief-image:hover img {
  transform: scale(1.05);
}

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

.about-brief-text h2 {
  font-size: 2.5rem;
  color: #333;
  margin-bottom: 10px;
}

.about-brief-text p {
  color: #666;
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.about-link {
  display: inline-block;
  padding: 12px 30px;
  background-color: #7338A0;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 500;
  transition: all 0.3s ease;
  align-self: flex-start;
}

.about-link:hover {
  background-color: #581845;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(115, 56, 160, 0.3);
}

/* Announcements Section */
.announcements {
  padding: 60px 0;
  background: white;
}

.announcements-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  width: 100%;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 30px;
  justify-content: center;
  align-items: start;
}

.section-title {
  text-align: center;
  margin-bottom: 40px;
  width: 100%;
}

.section-title h2 {
  font-size: 2.5rem;
  color: #333;
  margin-bottom: 10px;
}

.section-title p {
  color: #666;
  font-size: 1.1rem;
}

.announcements-grid {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 35px;
  align-items: center;
}

.announcement-card {
  background: white;
  border-radius: 10px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  display: flex;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: 100%;
  max-width: 650px;
  height: 150px;
  margin-bottom: 10px;
  text-decoration: none;
  color: inherit;
}

.announcement-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.announcement-image {
  flex: 0 0 150px;
  width: 150px;
  height: 150px;
  overflow: hidden;
  position: relative;
}

.announcement-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.3s ease;
}

.announcement-content {
  flex: 1;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

.announcement-content h3 {
  font-size: 1.4rem;
  color: #333;
  margin-bottom: 0;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  word-wrap: break-word;
  word-break: break-word;
  font-weight: 600;
}

.announcement-meta {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  font-size: 0.95rem;
}

.announcement-meta .date {
  color: #888;
  font-weight: 500;
}

/* Services Section */
.services {
  padding: 60px 0;
  background: white;
}

.services-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  width: 100%;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.service-card {
  background: white;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  text-decoration: none;
  color: inherit;
  display: block;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(115, 56, 160, 0.1), rgba(115, 56, 160, 0.05));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
}

.service-card:hover::before {
  opacity: 1;
}

.service-icon {
  font-size: 2.5rem;
  color: #7338A0;
  margin-bottom: 20px;
  transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
  transform: scale(1.1);
}

.service-card h3 {
  font-size: 1.5rem;
  color: #333;
  margin-bottom: 15px;
  transition: color 0.3s ease;
}

.service-card:hover h3 {
  color: #7338A0;
}

.service-card p {
  color: #666;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 0;
}

.service-link {
  color: #7338A0;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.service-link:hover {
  color: #581845;
}

/* News & Events Section */
.news-events {
  padding: 80px 0;
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../assets/images/people.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: white;
}

.news-events .container {
  position: relative;
  z-index: 1;
}

.news-events .section-title {
  text-align: center;
  margin-bottom: 40px;
}

.news-events .section-title h2 {
  color: white;
  font-size: 2.5rem;
  margin-bottom: 15px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.news-events .section-title p {
  color: #e0e0e0;
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

.news-events-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  width: 100%;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.news-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  text-decoration: none;
  color: inherit;
  display: block;
  position: relative;
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.news-card:hover .news-image img {
  transform: scale(1.1);
}

.news-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
  position: relative;
}

.news-image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.2), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.news-card:hover .news-image::after {
  opacity: 1;
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.news-content {
  padding: 20px;
  background: white;
}

.news-content h3 {
  color: #333;
  font-size: 1.4rem;
  margin-bottom: 10px;
  transition: color 0.3s ease;
  line-height: 1.4;
  word-wrap: break-word;
  word-break: break-word;
  overflow-wrap: break-word;
}

.news-card:hover .news-content h3 {
  color: #7338A0;
}

.news-content p {
  color: #666;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 15px;
}

.news-meta {
  display: flex;
  align-items: center;
  padding-top: 15px;
  border-top: 1px solid #eee;
}

.news-meta .date {
  color: #888;
  font-size: 0.9rem;
}

.view-all-container {
  text-align: center;
  margin-top: 40px;
}

.view-all-link {
  display: inline-block;
  padding: 12px 30px;
  background-color: #7338A0;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 500;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.view-all-link:hover {
  background-color: #581845;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(115, 56, 160, 0.3);
}

.no-news {
  text-align: center;
  padding: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: #e0e0e0;
  font-size: 1.1rem;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Contact Section */
.contact {
  padding: 60px 0;
  background: white;
}

.contact-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  width: 100%;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.contact-info {
  display: grid;
  gap: 30px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #f8f9fa;
  border-radius: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-item i {
  font-size: 1.5rem;
  color: #7338A0;
  flex-shrink: 0;
}

.contact-item-content {
  flex: 1;
}

.contact-item h3 {
  font-size: 1.2rem;
  color: #333;
  margin-bottom: 10px;
}

.contact-item p {
  color: #666;
  line-height: 1.6;
  margin: 0;
}

.contact-map {
  height: 450px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-map .map-container {
  width: 100%;
  height: 100%;
  padding: 0;
}

.contact-map .map-placeholder {
  height: 100%;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8f9fa;
  color: #666;
  font-size: 1.1rem;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 10px;
}

/* Responsive styles for contact section */
@media (max-width: 1200px) {
  .contact-grid {
    gap: 30px;
  }

  .contact-map {
    height: 400px;
  }
}

@media (max-width: 992px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-info {
    order: 2;
  }

  .contact-map {
    order: 1;
    height: 350px;
  }
}

@media (max-width: 768px) {
  .contact {
    padding: 40px 0;
  }

  .contact-item {
    padding: 15px;
    gap: 15px;
  }

  .contact-item i {
    font-size: 1.3rem;
  }

  .contact-item h3 {
    font-size: 1.1rem;
  }

  .contact-item p {
    font-size: 0.95rem;
  }

  .contact-map {
    height: 300px;
  }
}

@media (max-width: 480px) {
  .contact {
    padding: 30px 0;
  }

  .contact-grid {
    gap: 20px;
  }

  .contact-info {
    gap: 20px;
  }

  .contact-item {
    padding: 12px;
    gap: 12px;
  }

  .contact-item i {
    font-size: 1.2rem;
  }

  .contact-item h3 {
    font-size: 1rem;
    margin-bottom: 8px;
  }

  .contact-item p {
    font-size: 0.9rem;
  }

  .contact-map {
    height: 250px;
  }

  .map-placeholder {
    font-size: 1rem;
  }
}

/* Calendar Section - Updated to match modern styling */
.calendar-section {
  background: white;
  border-radius: 15px;
  padding: 25px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  height: 100%;
  min-height: 500px;
  border: 1px solid rgba(115, 56, 160, 0.1);
  transition: all 0.3s ease;
}

.calendar-section:hover {
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

.calendar-section h3 {
  font-size: 1.4rem;
  color: #333;
  margin-bottom: 20px;
  text-align: center;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.calendar-section h3::before {
  content: '\f073';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  color: #7338A0;
  font-size: 1.2rem;
}

#calendar {
  width: 100%;
  height: 450px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

/* Responsive styles for announcements section */
@media (max-width: 1200px) {
  .announcements-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .calendar-section {
    max-width: 800px;
    margin: 0 auto;
    min-height: 450px;
    padding: 20px;
  }

  #calendar {
    height: 400px;
  }
}

@media (max-width: 768px) {
  .announcements {
    padding: 40px 0;
  }

  .announcement-card {
    flex-direction: column;
    max-width: 100%;
    height: auto;
    min-height: 320px;
    max-height: 400px;
  }

  .announcement-image {
    width: 100%;
    height: 150px;
    flex: 0 0 150px;
  }

  .announcement-content {
    padding: 15px;
    flex: 1;
    overflow: hidden;
    display: flex;
    flex-direction: column;
  }

  .announcement-content h3 {
    font-size: 1.1rem;
    -webkit-line-clamp: 2;
    margin-bottom: 8px;
  }

  .announcement-content p {
    font-size: 0.9rem;
    -webkit-line-clamp: 3;
    flex: 1;
  }

  .announcement-meta {
    margin-top: auto;
    padding-top: 10px;
  }
}

@media (max-width: 480px) {
  .announcements {
    padding: 30px 0;
  }

  .announcements-grid {
    gap: 20px;
  }

  .announcement-card {
    margin-bottom: 0;
    min-height: 300px;
    max-height: 350px;
  }

  .announcement-image {
    height: 140px;
    flex: 0 0 140px;
  }

  .announcement-content {
    padding: 12px;
  }

  .announcement-content h3 {
    font-size: 1rem;
    -webkit-line-clamp: 2;
    margin-bottom: 6px;
  }

  .announcement-content p {
    font-size: 0.85rem;
    line-height: 1.4;
    -webkit-line-clamp: 2;
  }

  .announcement-meta {
    flex-direction: row;
    align-items: center;
    font-size: 0.8rem;
  }
}

/* No announcements message */
.no-announcements {
  text-align: center;
  padding: 30px;
  background: #f8f9fa;
  border-radius: 10px;
  color: #666;
  font-size: 1.1rem;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
}

/* Add map section styles */
.address-map {
  padding: 60px 0;
  text-align: center;
  width: 100%;
  background-color: transparent;
}

.address-map h2 {
  font-size: 32px;
  color: #0c4da2;
  margin-bottom: 30px;
  position: relative;
  padding-bottom: 12px;
  text-align: center;
}

.address-map h2::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 60px;
  height: 3px;
  background-color: #e63946;
  transform: translateX(-50%);
}

.map-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.map-container iframe {
  width: 100%;
  height: 450px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border: none;
}

/* Add these styles for the map placeholder */
.map-placeholder {
  width: 100%;
  height: 450px;
  background-color: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
  font-size: 1.2rem;
  border-radius: 8px;
}

/* Responsive adjustments for map */
@media (max-width: 768px) {
  .address-map {
    padding: 40px 0;
  }

  .map-container iframe {
    height: 350px;
  }
}

@media (max-width: 480px) {
  .map-container iframe {
    height: 300px;
  }

  .address-map h2 {
    font-size: 24px;
  }
}

/* Calendar Event Modal Styles */
.calendar-modal {
  max-width: 500px;
  width: 90%;
  background: white;
  border-radius: 15px;
  padding: 25px;
  position: relative;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.calendar-modal h2 {
  color: #7338A0;
  font-size: 1.8rem;
  margin-bottom: 20px;
  text-align: center;
}

.event-details {
  padding: 15px 0;
}

.event-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.event-color-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #7338A0;
}

.event-header h3 {
  color: #333;
  font-size: 1.4rem;
  margin: 0;
  flex: 1;
}

.event-info {
  background: #f8f5fc;
  border-radius: 10px;
  padding: 20px;
}

.event-date {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
  color: #7338A0;
  font-weight: 500;
}

.event-date i {
  color: #7338A0;
}

.event-description {
  border-top: 1px solid #e0d5eb;
  margin-top: 15px;
  padding-top: 15px;
}

.event-description h4 {
  color: #7338A0;
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.event-description p {
  color: #666;
  line-height: 1.6;
  margin: 0;
}

#calendarEventModal .close-button {
  position: absolute;
  right: 15px;
  top: 15px;
  font-size: 24px;
  color: #7338A0;
  text-decoration: none;
  transition: color 0.3s ease;
}

#calendarEventModal .close-button:hover {
  color: #581845;
}

/* Calendar Modal Animation */
#calendarEventModal.modal {
  animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* About Brief Section Responsive Styles */
.about-brief {
  padding: 40px 0;
}

.about-brief-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.about-brief-content {
  display: flex;
  align-items: center;
  gap: 40px;
}

.about-brief-image {
  flex: 1;
  min-width: 0;
}

.about-brief-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.about-brief-text {
  flex: 1;
  min-width: 0;
}

.about-brief-text h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #333;
}

.about-brief-text p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #666;
  margin-bottom: 25px;
}

.about-link {
  display: inline-block;
  padding: 12px 24px;
  background-color: #7338A0;
  color: white;
  text-decoration: none;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.about-link:hover {
  background-color: #5c2d80;
}

/* Responsive Styles */
@media screen and (max-width: 768px) {
  .about-brief-content {
    flex-direction: column;
    gap: 30px;
  }

  .about-brief-image {
    width: 100%;
  }

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

  .about-brief-text h2 {
    font-size: 1.8rem;
  }

  .about-brief-text p {
    font-size: 1rem;
  }
}

@media screen and (max-width: 480px) {
  .about-brief {
    padding: 30px 0;
  }

  .about-brief-container {
    padding: 0 15px;
  }

  .about-brief-text h2 {
    font-size: 1.5rem;
  }

  .about-brief-text p {
    font-size: 0.95rem;
  }

  .about-link {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
}

/* Fix for excess dead space */
body {
  overflow-x: hidden;
  width: 100%;
  margin: 0;
  padding: 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  width: 100%;
  box-sizing: border-box;
}

/* Ensure all sections respect container width */
section {
  width: 100%;
  box-sizing: border-box;
}

/* Carousel Navigation and Indicators */
.carousel-controls {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 10px;
  align-items: center;
}

.carousel-indicators {
  display: flex;
  gap: 8px;
}

.carousel-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.carousel-indicator.active {
  background-color: white;
  transform: scale(1.2);
}

.carousel-arrow {
  color: white;
  font-size: 24px;
  cursor: pointer;
  padding: 8px;
  background-color: rgba(0, 0, 0, 0.3);
  border-radius: 50%;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
}

.carousel-arrow:hover {
  background-color: rgba(0, 0, 0, 0.5);
}

.carousel-arrow.prev {
  margin-right: 10px;
}

.carousel-arrow.next {
  margin-left: 10px;
}

/* Registration error notification styles */
.registration-notification {
  position: fixed;
  top: 20px;
  right: 20px;
  padding: 15px 25px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 10000;
  display: none;
  animation: slideIn 0.3s ease-out;
  max-width: 400px;
}

.registration-notification.error {
  background-color: #dc3545;
  color: white;
}

.registration-notification.success {
  background-color: #28a745;
  color: white;
}

.registration-notification .notification-message {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  font-weight: 500;
}

.registration-notification .notification-message i {
  font-size: 1.2rem;
}

@keyframes slideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideOut {
  from {
    transform: translateX(0);
    opacity: 1;
  }

  to {
    transform: translateX(100%);
    opacity: 0;
  }
}
/* Re
sponsive Carousel Styles */
@media (max-width: 768px) {
  .hero {
    height: 500px;
  }

  /* Disable animations on mobile to prevent shaking */
  .carousel-slide,
  .hero-static {
    animation: none !important;
    background-attachment: scroll !important;
  }

  .hero-slide-content {
    animation: none !important;
  }

  .hero-slide-content h2 {
    font-size: 2.2rem;
  }

  .hero-slide-content p {
    font-size: 1.1rem;
  }

  .carousel-arrow {
    width: 40px;
    height: 40px;
  }

  .carousel-arrow.prev {
    left: 15px;
  }

  .carousel-arrow.next {
    right: 15px;
  }

  .carousel-arrow i {
    font-size: 16px;
  }

  .carousel-indicators {
    bottom: 20px;
  }

  .carousel-indicator {
    width: 10px;
    height: 10px;
  }

  .hero-btn {
    padding: 12px 24px;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .hero {
    height: 400px;
  }

  /* Disable animations on mobile to prevent shaking */
  .carousel-slide,
  .hero-static {
    animation: none !important;
    background-attachment: scroll !important;
  }

  .hero-slide-content {
    animation: none !important;
  }

  .hero-slide-content h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
  }

  .hero-slide-content p {
    font-size: 1rem;
    margin-bottom: 15px;
  }

  .carousel-arrow {
    width: 35px;
    height: 35px;
  }

  .carousel-arrow.prev {
    left: 10px;
  }

  .carousel-arrow.next {
    right: 10px;
  }

  .carousel-arrow i {
    font-size: 14px;
  }

  .carousel-indicators {
    bottom: 15px;
    gap: 8px;
  }

  .carousel-indicator {
    width: 8px;
    height: 8px;
  }

  .hero-btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }

  .hero-actions {
    margin-top: 20px;
  }
}

/* Floating animation for hero content */
@keyframes floatingAnimation {
  0% {
    transform: translate(-50%, -50%);
  }
  50% {
    transform: translate(-50%, -53%);
  }
  100% {
    transform: translate(-50%, -50%);
  }
}