/* Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Arial', sans-serif;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100%;
}

body {
  background-color: #f9f9f9;
  color: #333;
  overflow-x: hidden;
  width: 100%;
  position: relative;
  min-height: 100vh;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 0.5rem;
  position: relative;
}

/* Enhanced Animation Classes */
.animate-on-scroll {
  opacity: 0;
  transition: all 0.8s cubic-bezier(0.215, 0.61, 0.355, 1);
  will-change: transform, opacity;
}

.slide-from-left {
  transform: translateX(-100px);
}

.slide-from-right {
  transform: translateX(100px);
}

.slide-from-bottom {
  transform: translateY(100px);
}

.animate {
  opacity: 1;
  transform: translateX(0) translateY(0);
}

/* Add perspective for more depth in animations */
.animate-on-scroll {
  perspective: 1000px;
}

/* Header & Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(51, 51, 51, 0.9);
  backdrop-filter: blur(5px);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 0.5rem;
  width: 100%;
}

.logo {
  display: flex;
  align-items: center;
  z-index: 1001;
}

.logo img {
  height: 45px;
  margin-right: 10px;
  object-fit: contain;
}

.logo h1 {
  color: white;
  font-size: 1.3rem;
}

.nav-links {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  transition: all 0.3s ease;
}

.nav-links a {
  color: white;
  text-decoration: none;
  padding: 0.8rem 1.2rem;
  font-weight: 500;
  transition: 0.3s;
  display: block;
  font-size: 0.95rem;
}

.nav-links a:hover {
  color: #ff66b2;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}

.menu-toggle {
  display: none;
  cursor: pointer;
  color: white;
  font-size: 1.5rem;
  background: none;
  border: none;
  padding: 0.5rem;
  z-index: 1001;
}

/* Main Content Wrapper */
main {
  width: 100%;
  overflow: hidden;
  position: relative;
}

/* Hero Section */
.hero {
  height: 100vh;
  min-height: 500px;
  position: relative;
  margin-top: 60px;
  width: 100%;
  overflow: hidden;
}

.slideshow {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  background-size: cover;
  background-position: center;
}

.slide::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.slide.active {
  opacity: 1;
}

.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  z-index: 2;
  width: 90%;
  max-width: 800px;
  padding: 1.5rem;
  border-radius: 8px;
  backdrop-filter: blur(1px);
}

.hero-content h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  margin-bottom: 1rem;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
  line-height: 1.2;
}

.hero-content p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.8);
  margin-bottom: 1rem;
}

.color-highlight {
  color: #ff66b2;
  font-weight: bold;
}

.yellow-text {
  color: rgb(248, 182, 243);
}

.pink-text {
  color: pink;
}

/* Slide Dots Navigation */
.slide-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  z-index: 10;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  margin: 0 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

a, button, .dot {
  min-width: 48px;
  min-height: 48px;
}

.dot.active {
  background-color: white;
}

.dot:hover {
  background-color: rgba(255, 255, 255, 0.8);
}

/* Quick Links */
.quick-links {
  width: 100%;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  padding: 2rem 0.5rem;
}

.quick-link-card {
  background: white;
  border-radius: 8px;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.quick-link-card:hover {
  transform: translateY(-5px);
}

.quick-link-card i {
  font-size: 2rem;
  color: #ff66b2;
  margin-bottom: 1rem;
}

.quick-link-card h3 {
  margin-bottom: 0.8rem;
  font-size: 1.2rem;
}

.quick-link-card p {
  font-size: 0.95rem;
  color: #666;
}

/* News Section */
.news {
  width: 100%;
  position: relative;
  overflow: hidden;
  padding: 3rem 0;
  background: #f0f0f0;
}

.section-title {
  text-align: center;
  margin-bottom: 2rem;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: #9c27b0;
}

.news-container {
  width: 100%;
  position: relative;
  overflow: hidden;
}

.news-track {
  display: flex;
  transition: transform 0.5s ease;
  padding: 0 0.5rem;
}

.news-card {
  flex: 0 0 280px;
  margin-right: 1rem;
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.news-img {
  height: 180px;
  background-size: cover;
  background-position: center;
}

.news-content {
  padding: 1.2rem;
}

.news-date {
  color: #ff66b2;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.news-title {
  font-size: 1.1rem;
  margin-bottom: 0.8rem;
  color: #333;
}

.news-card p {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.5;
}

.news-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.news-nav:hover {
  background: white;
  transform: translateY(-50%) scale(1.1);
}

.news-nav.prev {
  left: 10px;
}

.news-nav.next {
  right: 10px;
}

.news-nav i {
  color: #ff66b2;
  font-size: 1.2rem;
}

/* Gallery */
.gallery {
  width: 100%;
  position: relative;
  overflow: hidden;
  padding: 3rem 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  padding: 0 0.5rem;
}

.gallery-item {
  height: 200px;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* Footer */
.footer {
  width: 100%;
  position: relative;
  overflow: hidden;
  background: #333;
  color: white;
  padding: 3rem 0 1rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  padding: 0 0.5rem;
}

.footer h3 {
  color: #ff66b2;
  margin-bottom: 1.2rem;
  font-size: 1.2rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: #ccc;
  text-decoration: none;
  transition: 0.3s;
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: #ff66b2;
  padding-left: 5px;
}

.footer-bottom {
  text-align: center;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #444;
  font-size: 0.9rem;
  color: #ccc;
}

/* About Section */
.about {
  width: 100%;
  position: relative;
  overflow: hidden;
  padding: 3rem 0;
  background-color: #faf5ff;
}

.image-text-pair {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
  margin: 2rem 0;
  padding: 0 1rem;
  box-sizing: border-box;
}

.image-container {
  flex: 1;
  min-width: 280px;
  width: 100%;
}

.image-container img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(156, 39, 176, 0.3);
}

.text-container {
  flex: 1;
  min-width: 280px;
  width: 100%;
}

.about p {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 2rem;
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  line-height: 1.6;
  color: #555;
  padding: 0 1rem;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .container {
    padding: 0 0.5rem;
  }
  .header-container {
    padding: 0.8rem 0.5rem;
  }
  .logo img {
    height: 40px;
  }
  .logo h1 {
    font-size: 1.1rem;
  }
  .menu-toggle {
    display: block;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
  }
  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(51, 51, 51, 0.98);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transform: translateY(-100%);
    transition: transform 0.3s ease;
  }
  .nav-links.active {
    transform: translateY(0);
  }
  .nav-links a {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    width: 100%;
    text-align: center;
  }
  .hero {
    margin-top: 50px;
    height: calc(100vh - 50px);
  }
  .hero-content {
    width: 100%;
    padding: 1rem 0.5rem;
  }
  .quick-links {
    padding: 1.5rem 0.5rem;
    gap: 0.8rem;
  }
  .news-card {
    flex: 0 0 calc(100% - 2rem);
  }
  .gallery-grid {
    padding: 0 0.5rem;
    gap: 0.8rem;
  }
  .footer-grid {
    padding: 0 0.5rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 0.5rem;
  }
  .header-container {
    padding: 0.8rem 0.5rem;
  }
  .logo img {
    height: 35px;
  }
  .logo h1 {
    font-size: 1rem;
  }
  .hero-content h2 {
    font-size: 1.5rem;
  }
  .hero-content p {
    font-size: 0.9rem;
  }
  .section-title {
    font-size: 1.6rem;
  }
  .quick-links {
    padding: 1rem 0.5rem;
    gap: 0.8rem;
  }
  .news-track {
    padding: 0 0.5rem;
  }
  .gallery-grid {
    padding: 0 0.5rem;
    gap: 0.8rem;
  }
  .footer-grid {
    padding: 0 0.5rem;
    gap: 1.5rem;
  }
}

@media (min-width: 769px) and (max-width: 1079px) {
  .hero-content h2 {
    font-size: 2.8rem !important;
  }
}

 /* Heartbeat animation for quick-link cards */
@keyframes heart-beat {
  0%, 100% { transform: scale(1);}
  10% { transform: scale(1.08);}
  20% { transform: scale(0.96);}
  30% { transform: scale(1.04);}
  40% { transform: scale(0.98);}
  50% { transform: scale(1.02);}
  60%, 100% { transform: scale(1);}
}

.quick-link-card {
  /* ...existing styles... */
  animation: heart-beat 1.8s infinite;
}
.quick-link-card:nth-child(2) { animation-delay: 0.3s; }
.quick-link-card:nth-child(3) { animation-delay: 0.6s; }
.quick-link-card:nth-child(4) { animation-delay: 0.9s; }
/* Floating animation for hero-content */
@keyframes float {
  0%, 100% { transform: translate(-50%, -52px);}
  50% { transform: translate(-50%, -60px);}
}

.hero-content {
  /* ...existing styles... */
  animation: float 3s ease-in-out infinite;
}
@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(40px);}
  100% { opacity: 1; transform: translateY(0);}
}

.gallery-item {
  opacity: 0;
  animation: fadeInUp 1.2s forwards;
}

.gallery-item:nth-child(1) { animation-delay: 0.2s;}
.gallery-item:nth-child(2) { animation-delay: 0.4s;}
.gallery-item:nth-child(3) { animation-delay: 0.6s;}
.gallery-item:nth-child(4) { animation-delay: 0.8s;}

