/* Base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Baloo Chettan 2", "Segoe UI", Tahoma, Geneva, Verdana,
    sans-serif;
  color: #333;
  background-color: #f5f5f5;
  line-height: 1.6;
  overflow-x: hidden;
}

main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  position: relative;
}

/* Parallax Container Styles - Simplified */
.parallax-container {
  position: relative;
  width: 100%;
  margin-bottom: 60px;
  overflow: hidden;
}

.parallax-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 130%;
  background-size: cover;
  background-position: center;
  z-index: -1;
}

/* Header Section */
.parallax-header {
  height: 75vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.parallax-header .parallax-bg {
  background: linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab);
  background-size: 400% 400%;
  animation: gradient 15s ease infinite;
}

.parallax-header .parallax-bg::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
}

header {
  color: white;
  text-align: center;
  padding: 35px;
  width: 90%;
  max-width: 1000px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 15px;
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 2;
}

header h1 {
  font-size: 3.5rem;
  font-weight: 800;
  color: #ffffff;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.5), 0 0 15px rgba(255, 255, 255, 0.5);
  animation: float 3s ease-in-out infinite;
  letter-spacing: 1px;
  position: relative;
  display: inline-block;
}

header h1::after {
  content: "";
  position: absolute;
  top: -15px;
  left: -15px;
  right: -15px;
  bottom: -15px;
  border-radius: 10px;
  background: radial-gradient(
    circle at center,
    rgba(255, 255, 255, 0.2) 0%,
    rgba(255, 255, 255, 0) 70%
  );
  z-index: -1;
  animation: pulse 3s ease-in-out infinite alternate;
}

header p {
  margin: 15px 0 0;
  font-size: 1.5rem;
  font-weight: 600;
  opacity: 0;
  animation: fadeIn 1s ease-in-out forwards 0.5s;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  letter-spacing: 0.5px;
  color: rgba(255, 255, 255, 0.95);
}

.header-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.1) 20%,
    rgba(255, 255, 255, 0.05) 20%,
    rgba(255, 255, 255, 0.05) 30%,
    rgba(255, 255, 255, 0.02) 30%,
    rgba(255, 255, 255, 0.02) 40%,
    transparent 40%
  );
  background-size: 30px 30px;
  transform: rotate(10deg);
  opacity: 1;
  z-index: 0;
}

/* Section Styles */
section {
  background-color: rgba(255, 255, 255, 0.95);
  border-radius: 12px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  position: relative;
  animation: fadeIn 1s ease-out forwards;
}

h2 {
  color: #e73c7e;
  border-bottom: 2px solid #23a6d5;
  padding-bottom: 12px;
  font-size: 1.6rem;
  position: relative;
  margin-bottom: 20px;
}

h2 span {
  position: relative;
  z-index: 2;
}

.underline-animation {
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, #ee7752, #e73c7e);
  animation: expand 2s ease-out infinite;
}

.underline-animation.blue-green {
  background: linear-gradient(90deg, #23a6d5, #23d5ab);
}

.flex-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

/* Date Section */
.date-section {
  background-color: rgba(255, 255, 255, 0.97);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  border-top: 4px solid #e73c7e;
}

.date-info {
  flex: 1;
  min-width: 250px;
}

.info-label {
  font-size: 1.3rem;
  font-weight: bold;
  margin-bottom: 15px;
  color: #333;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
}

/* Highlight styles for date and time */
.date-highlight,
.time-highlight {
  font-weight: 700;
  font-size: 1.5rem;
  padding: 8px 15px;
  border-radius: 6px;
  display: inline-block;
  margin-top: 5px;
  margin-left: 10px;
  color: white;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
  letter-spacing: 0.5px;
}

.date-highlight {
  background: linear-gradient(135deg, #e73c7e, #a239ca);
  border-left: 3px solid #e73c7e;
  animation: pulse 2s infinite alternate;
}

.time-highlight {
  background: linear-gradient(135deg, #23a6d5, #23d5ab);
  border-left: 3px solid #23a6d5;
  animation: pulse 2s infinite alternate-reverse;
}

.calendar-card {
  flex: 1;
  min-width: 250px;
  background-color: #f9f9f9;
  padding: 18px;
  border-radius: 10px;
  border-left: 4px solid #23a6d5;
  transition: all 0.3s ease;
}

.calendar-links {
  margin-top: 12px;
}

.cal-link {
  display: inline-block;
  margin-right: 12px;
  text-decoration: none;
  font-weight: bold;
  position: relative;
  transition: all 0.3s ease;
}

.cal-link:hover {
  transform: translateY(-3px);
}

.cal-link.google {
  color: #23a6d5;
}

.cal-link.outlook {
  color: #e73c7e;
}

.cal-link.apple {
  color: #ee7752;
}

/* Location Section */
.parallax-bg-1 {
  background-image: url("https://images.unsplash.com/photo-1523050854058-8df90110c9f1?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80");
}

.parallax-bg-2 {
  background-image: url("https://images.unsplash.com/photo-1484156818044-c040038b0719?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80");
}

.location-section h2 {
  color: #23a6d5;
  border-bottom: 2px solid #e73c7e;
}

.decorative-circle {
  position: absolute;
  right: -50px;
  top: -50px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: linear-gradient(
    45deg,
    rgba(35, 213, 171, 0.1),
    rgba(35, 166, 213, 0.1)
  );
  z-index: 0;
  animation: pulse 3s ease-in-out infinite;
}

.location-info {
  flex: 1;
  min-width: 250px;
}

.venue-label {
  font-weight: bold;
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.venue-name {
  margin-top: 8px;
  font-size: 1.2rem;
}

.venue-area {
  margin-top: 8px;
}

.direction-btn {
  display: inline-block;
  margin-top: 18px;
  background: linear-gradient(90deg, #23a6d5, #23d5ab);
  color: white;
  padding: 12px 24px;
  text-decoration: none;
  border-radius: 30px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(35, 166, 213, 0.4);
}

.direction-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 20px rgba(35, 166, 213, 0.5);
}

.map-container {
  flex: 2;
  min-width: 300px;
  height: 320px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  position: relative;
}

.map-container iframe {
  border: 0;
  width: 100%;
  height: 100%;
}

.map-marker {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  background-color: #e73c7e;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  animation: mapPulse 2s ease-in-out infinite;
}

/* Footer */
.parallax-bg-3 {
  background-image: url("https://images.unsplash.com/photo-1557804506-669a67965ba0?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80");
}

.parallax-footer {
  height: auto;
  margin-bottom: 0;
}

footer {
  text-align: center;
  padding: 25px;
  background: linear-gradient(
    to right,
    rgba(51, 51, 51, 0.8),
    rgba(34, 34, 34, 0.8)
  );
  color: white;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.footer-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    45deg,
    rgba(255, 255, 255, 0.05) 25%,
    transparent 25%,
    transparent 50%,
    rgba(255, 255, 255, 0.05) 50%,
    rgba(255, 255, 255, 0.05) 75%,
    transparent 75%,
    transparent
  );
  background-size: 20px 20px;
  animation: moveLines 10s linear infinite;
  z-index: 0;
}

footer p {
  margin: 0;
  position: relative;
  z-index: 1;
}

.footer-links {
  margin-top: 15px;
  position: relative;
  z-index: 1;
}

.footer-link {
  color: white;
  text-decoration: none;
  margin: 0 12px;
  transition: all 0.3s ease;
}

.footer-link:hover {
  color: #23d5ab;
}

.social-links {
  margin-top: 20px;
  position: relative;
  z-index: 1;
}

.social-icon {
  display: inline-block;
  color: white;
  text-decoration: none;
  margin: 0 15px;
  font-size: 1.4rem;
  transition: all 0.3s ease;
}

.social-icon:hover {
  transform: translateY(-5px);
  color: #23a6d5;
}

/* Contribution Section */
.parallax-bg-4 {
  background-image: url("https://images.unsplash.com/photo-1511632765486-a01980e01a18?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80");
}

.contribution-section {
  background-color: rgba(255, 255, 255, 0.97);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  border-top: 4px solid #ee7752;
}

.contribution-section h2 {
  color: #ee7752;
  border-bottom: 2px solid #e73c7e;
}

.underline-animation.orange-pink {
  background: linear-gradient(90deg, #ee7752, #e73c7e);
}

.contribution-info {
  flex: 1;
  min-width: 300px;
}

.contribution-text {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 20px;
  color: #444;
}

.contribution-details {
  background-color: rgba(238, 119, 82, 0.1);
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 20px;
  border-left: 3px solid #ee7752;
}

.contribution-details p {
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.min-amount {
  margin-top: 15px;
  font-weight: bold;
}

.min-amount span {
  font-size: 1.3rem;
  color: #e73c7e;
  background: #f9f9f9;
  padding: 2px 10px;
  border-radius: 4px;
  margin-left: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.payment-options {
  display: flex;
  gap: 15px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.payment-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  padding: 8px;
  border-radius: 8px;
  width: 60px;
  height: 60px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.payment-icon:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.payment-icon img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.qr-code-container {
  flex: 1;
  min-width: 250px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

.qr-code-container::before {
  content: "";
  position: absolute;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    rgba(238, 119, 82, 0.05),
    rgba(231, 60, 126, 0.05),
    rgba(35, 166, 213, 0.05),
    rgba(35, 213, 171, 0.05)
  );
  animation: rotate 10s linear infinite;
  top: -50%;
  left: -50%;
  z-index: 0;
}

.qr-code-container img {
  width: 300px;
  margin-bottom: 15px;
  border: 5px solid white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 1;
  background: white;
}

.scan-text {
  font-weight: bold;
  color: #555;
  font-size: 1.1rem;
  position: relative;
  z-index: 1;
  margin-top: 10px;
  background: white;
  padding: 5px 15px;
  border-radius: 20px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.contribution-link {
  display: inline-block;
  margin-top: 25px;
  background: linear-gradient(90deg, #ee7752, #e73c7e);
  color: white;
  padding: 12px 24px;
  text-decoration: none;
  border-radius: 30px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(238, 119, 82, 0.4);
  text-align: center;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
}

.contribution-link::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: 0.5s;
}

.contribution-link:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 20px rgba(238, 119, 82, 0.5);
  color: white;
}

.contribution-link:hover::before {
  left: 100%;
}

/* Contact Section */
.parallax-bg-5 {
  background-image: url("https://images.unsplash.com/photo-1529156069898-49953e39b3ac?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80");
}

.contact-section {
  background-color: rgba(255, 255, 255, 0.97);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  border-top: 4px solid #23a6d5;
}

.contact-section h2 {
  color: #23a6d5;
  border-bottom: 2px solid #ee7752;
}

.underline-animation.blue-orange {
  background: linear-gradient(90deg, #23a6d5, #ee7752);
}

.contact-container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: center;
}

.contact-text {
  flex: 1;
  min-width: 300px;
}

.contact-text > p {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: #444;
}

.contact-details {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  margin: 25px 0;
}

.contact-person {
  flex: 1;
  min-width: 200px;
  background: linear-gradient(
    to bottom right,
    rgba(35, 166, 213, 0.05),
    rgba(35, 213, 171, 0.05)
  );
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  border-left: 3px solid #23a6d5;
  transition: all 0.3s ease;
}

.contact-person:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.contact-person h3 {
  font-size: 1.2rem;
  color: #23a6d5;
  margin-bottom: 5px;
}

.contact-role {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 15px;
  font-style: italic;
}

.phone-link {
  display: inline-block;
  color: #e73c7e;
  font-weight: bold;
  text-decoration: none;
  padding: 8px 15px;
  border-radius: 30px;
  background-color: rgba(231, 60, 126, 0.1);
  transition: all 0.3s ease;
}

.phone-link:hover {
  background-color: rgba(231, 60, 126, 0.2);
  transform: translateY(-2px);
  color: #e73c7e;
}

.phone-icon {
  display: inline-block;
  margin-right: 5px;
  font-size: 1.1rem;
}

.contact-note {
  font-style: italic;
  color: #666;
  margin-top: 15px;
  font-size: 0.95rem;
  padding-left: 10px;
  border-left: 2px solid #ee7752;
}

.contact-image {
  flex: 1;
  min-width: 300px;
  display: flex;
  justify-content: center;
}

.image-frame {
  width: 100%;
  max-width: 400px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  position: relative;
  transform: rotate(2deg);
  transition: all 0.5s ease;
}

.image-frame:hover {
  transform: rotate(0deg) scale(1.02);
}

.image-frame img {
  width: 100%;
  height: auto;
  display: block;
  transition: all 0.5s ease;
}

.image-frame:hover img {
  transform: scale(1.05);
}

/* Responsive adjustments for contact section */
@media only screen and (max-width: 768px) {
  .contact-details {
    flex-direction: column;
    gap: 15px;
  }

  .contact-person {
    min-width: 100%;
  }

  .contact-container {
    flex-direction: column;
  }

  .image-frame {
    margin-top: 20px;
    transform: rotate(0);
  }
}

@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Animations */
@keyframes gradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes float {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
  100% {
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  }
  100% {
    transform: scale(1.05);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  }
}

@keyframes expand {
  0% {
    width: 60px;
  }
  50% {
    width: 120px;
  }
  100% {
    width: 60px;
  }
}

@keyframes moveLines {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 40px 40px;
  }
}

@keyframes mapPulse {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
    box-shadow: 0 0 0 0 rgba(231, 60, 126, 0.7);
  }
  70% {
    transform: translate(-50%, -50%) scale(3);
    opacity: 0;
    box-shadow: 0 0 0 10px rgba(231, 60, 126, 0);
  }
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
    box-shadow: 0 0 0 0 rgba(231, 60, 126, 0);
  }
}

/* Responsive Design */
@media only screen and (max-width: 768px) {
  header h1 {
    font-size: 2rem;
  }

  header p {
    font-size: 1.2rem;
  }

  section {
    padding: 20px;
  }

  .map-container {
    height: 250px;
  }

  .parallax-header {
    height: 60vh;
  }

  .date-highlight,
  .time-highlight {
    font-size: 1.2rem;
    margin-left: 5px;
  }

  .qr-code-container img {
    width: 150px;
    height: 150px;
  }

  .contribution-details,
  .contribution-text {
    font-size: 1rem;
  }

  .payment-icon {
    width: 50px;
    height: 50px;
  }
}
