@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&family=Space+Grotesk:wght@300;400;500;600;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  font-family: 'Poppins', sans-serif;
  overflow-x: hidden;
  background: linear-gradient(to bottom, #0a0a0a 0%, #1a1a1a 50%, #0a0a0a 100%);
}

.space-grotesk {
  font-family: 'Space Grotesk', sans-serif;
}

/* Logo */
.logo-container {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-img {
  height: 50px;
  width: auto;
  filter: drop-shadow(0 0 10px rgba(201, 165, 91, 0.5));
  transition: all 0.3s ease;
}

.logo-img:hover {
  filter: drop-shadow(0 0 20px rgba(201, 165, 91, 0.8));
  transform: scale(1.05);
}

/* Animated Gradient */
.animated-gradient {
  background: linear-gradient(-45deg, #C9A55B, #8B7355, #D4AF37, #B8956A);
  background-size: 400% 400%;
  animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Particles Canvas */
#particles-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.6;
}

/* 3D Card Effect */
.card-3d {
  transform-style: preserve-3d;
  transition: all 0.5s ease;
}

.card-3d:hover {
  transform: rotateY(10deg) rotateX(10deg) scale(1.05);
}

/* Glassmorphism */
.glass {
  background: rgba(26, 26, 26, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(201, 165, 91, 0.2);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5);
}

.glass-dark {
  background: rgba(10, 10, 10, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(201, 165, 91, 0.1);
}

/* Gold Glow */
.gold-glow {
  box-shadow: 0 0 20px rgba(201, 165, 91, 0.8),
              0 0 40px rgba(201, 165, 91, 0.6),
              0 0 60px rgba(201, 165, 91, 0.4);
  animation: goldPulse 2s ease-in-out infinite;
}

@keyframes goldPulse {
  0%, 100% { box-shadow: 0 0 20px rgba(201, 165, 91, 0.8); }
  50% { box-shadow: 0 0 40px rgba(201, 165, 91, 1), 0 0 80px rgba(212, 175, 55, 0.8); }
}

/* Floating Animation */
.float {
  animation: floating 6s ease-in-out infinite;
}

@keyframes floating {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  25% { transform: translateY(-20px) rotate(2deg); }
  50% { transform: translateY(-40px) rotate(-2deg); }
  75% { transform: translateY(-20px) rotate(2deg); }
}

/* Text Gradient Gold */
.gradient-text {
  background: linear-gradient(135deg, #D4AF37 0%, #C9A55B 50%, #F4E5C2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientTextShift 3s ease infinite;
  background-size: 200% 200%;
}

@keyframes gradientTextShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* Campus Virtual Button */
.campus-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9999;
  background: linear-gradient(135deg, #C9A55B 0%, #D4AF37 100%);
  padding: 20px 30px;
  border-radius: 50px;
  box-shadow: 0 10px 40px rgba(201, 165, 91, 0.6);
  animation: campusPulse 2s ease-in-out infinite, campusFloat 3s ease-in-out infinite;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.campus-btn:hover {
  transform: scale(1.1) translateY(-5px);
  box-shadow: 0 20px 60px rgba(201, 165, 91, 0.9);
}

@keyframes campusPulse {
  0%, 100% {
    box-shadow: 0 10px 40px rgba(201, 165, 91, 0.6),
                0 0 0 0 rgba(201, 165, 91, 0.7);
  }
  50% {
    box-shadow: 0 10px 40px rgba(201, 165, 91, 0.6),
                0 0 0 20px rgba(201, 165, 91, 0);
  }
}

@keyframes campusFloat {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

/* WhatsApp Button */
.whatsapp-btn {
  position: fixed;
  bottom: 30px;
  left: 30px;
  z-index: 9999;
  background: #25D366;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 40px rgba(37, 211, 102, 0.6);
  animation: whatsappFloat 3s ease-in-out infinite;
  cursor: pointer;
  transition: all 0.3s ease;
  color: white;
  text-decoration: none;
}

.whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 20px 60px rgba(37, 211, 102, 0.9);
}

@keyframes whatsappFloat {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

/* Badge Notification */
.notification-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background: #f59e0b;
  color: white;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: bold;
  animation: badgeBounce 1s ease-in-out infinite;
}

@keyframes badgeBounce {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.2); }
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #0a0a0a;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #C9A55B 0%, #D4AF37 100%);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, #D4AF37 0%, #F4E5C2 100%);
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #2a1a0a 100%);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 50%, rgba(201, 165, 91, 0.2), rgba(0, 0, 0, 0.8));
}

/* Statistic Cards with Flip */
.stat-card {
  perspective: 1000px;
  min-height: 250px;
}

.stat-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.8s;
  transform-style: preserve-3d;
  min-height: 250px;
}

.stat-card:hover .stat-card-inner {
  transform: rotateY(180deg);
}

.stat-card-front, .stat-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 20px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.stat-card-back {
  transform: rotateY(180deg);
}

/* Progress Bar */
.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, #C9A55B, #D4AF37, #F4E5C2);
  z-index: 9999;
  transition: width 0.3s ease;
}

/* Interactive Program Cards */
.program-card {
  position: relative;
  overflow: hidden;
  transition: all 0.5s ease;
}

.program-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.5s ease;
}

.program-card:hover::before {
  left: 100%;
}

/* Christmas Modal */
.christmas-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 99999;
  align-items: center;
  justify-content: center;
  animation: modalFadeIn 0.5s ease;
}

.christmas-modal.active {
  display: flex;
}

@keyframes modalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes modalFadeOut {
  from { opacity: 1; }
  to { opacity: 0; }
}

.christmas-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
}

.christmas-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  width: 90%;
  animation: cardSlideIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes cardSlideIn {
  from {
    transform: scale(0.8) translateY(50px);
    opacity: 0;
  }
  to {
    transform: scale(1) translateY(0);
    opacity: 1;
  }
}

.christmas-card {
  background: linear-gradient(135deg, #1e3a8a 0%, #991b1b 50%, #065f46 100%);
  border-radius: 30px;
  padding: 50px 40px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5),
              0 0 100px rgba(212, 175, 55, 0.3),
              inset 0 0 60px rgba(255, 215, 0, 0.1);
  border: 3px solid rgba(255, 215, 0, 0.5);
}

.christmas-featured-image {
  position: relative;
  width: calc(100% + 80px);
  margin: -50px -40px 30px -40px;
  height: 250px;
  overflow: hidden;
  border-radius: 30px 30px 0 0;
}

.christmas-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: imageZoom 20s ease-in-out infinite alternate;
}

@keyframes imageZoom {
  0% { transform: scale(1); }
  100% { transform: scale(1.1); }
}

.christmas-img-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, transparent 0%, rgba(30, 58, 138, 0.3) 50%, rgba(30, 58, 138, 0.8) 100%);
  pointer-events: none;
}

.christmas-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.5);
  color: white;
  font-size: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
}

.christmas-close:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: rotate(90deg);
}

.christmas-icon {
  font-size: 80px;
  text-align: center;
  margin-bottom: 15px;
  animation: treeGrow 1s ease, treeSway 2s ease-in-out infinite 1s;
  filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.8));
  line-height: 1;
}

@keyframes treeGrow {
  from {
    transform: scale(0);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes treeSway {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(-5deg); }
  75% { transform: rotate(5deg); }
}

.christmas-title {
  font-size: 48px;
  font-weight: 900;
  text-align: center;
  color: #fff;
  margin-bottom: 20px;
  text-shadow: 0 0 20px rgba(255, 215, 0, 0.8),
               0 0 40px rgba(255, 215, 0, 0.5);
  animation: titleGlow 2s ease-in-out infinite;
  font-family: 'Space Grotesk', sans-serif;
  line-height: 1.2;
}

@keyframes titleGlow {
  0%, 100% {
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.8),
                 0 0 40px rgba(255, 215, 0, 0.5);
  }
  50% {
    text-shadow: 0 0 30px rgba(255, 215, 0, 1),
                 0 0 60px rgba(255, 215, 0, 0.8),
                 0 0 80px rgba(255, 215, 0, 0.6);
  }
}

.christmas-divider {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin: 20px 0;
  font-size: 30px;
}

.christmas-divider span {
  animation: starTwinkle 1.5s ease-in-out infinite;
}

.christmas-divider span:nth-child(1) { animation-delay: 0s; }
.christmas-divider span:nth-child(2) { animation-delay: 0.5s; }
.christmas-divider span:nth-child(3) { animation-delay: 1s; }

@keyframes starTwinkle {
  0%, 100% { 
    opacity: 1; 
    transform: scale(1);
  }
  50% { 
    opacity: 0.5; 
    transform: scale(1.3);
  }
}

.christmas-message {
  font-size: 26px;
  text-align: center;
  color: #fff;
  margin-bottom: 15px;
  line-height: 1.6;
  font-weight: 400;
}

.christmas-message strong {
  color: #ffd700;
  font-weight: 700;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.8);
}

.christmas-submessage {
  font-size: 20px;
  text-align: center;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 25px;
  font-style: italic;
  line-height: 1.5;
}

.christmas-quote {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 215, 0, 0.3);
  border-radius: 20px;
  padding: 25px 30px;
  margin: 25px 0;
  text-align: center;
  position: relative;
  animation: quoteFade 3s ease-in-out infinite;
}

@keyframes quoteFade {
  0%, 100% { 
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.2);
  }
  50% { 
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.4);
  }
}

.christmas-quote i {
  color: #FFD700;
  font-size: 20px;
  opacity: 0.7;
}

.christmas-quote p {
  color: white;
  font-size: 18px;
  font-style: italic;
  margin: 15px 0;
  line-height: 1.6;
  font-weight: 400;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.christmas-decorations {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 30px 0;
  font-size: 40px;
}

.decoration {
  animation: decorationBounce 2s ease-in-out infinite;
}

.decoration:nth-child(1) { animation-delay: 0s; }
.decoration:nth-child(2) { animation-delay: 0.2s; }
.decoration:nth-child(3) { animation-delay: 0.4s; }
.decoration:nth-child(4) { animation-delay: 0.6s; }
.decoration:nth-child(5) { animation-delay: 0.8s; }

@keyframes decorationBounce {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-15px) scale(1.1); }
}

.christmas-wish {
  font-size: 36px;
  font-weight: 800;
  text-align: center;
  color: #ffd700;
  margin: 20px 0;
  text-shadow: 0 0 20px rgba(255, 215, 0, 1);
  animation: wishPulse 1.5s ease-in-out infinite;
}

@keyframes wishPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.christmas-footer {
  text-align: center;
  color: rgba(255, 255, 255, 0.8);
  font-size: 16px;
  margin-bottom: 30px;
}

.christmas-footer strong {
  color: #ffd700;
  font-weight: 700;
}

.christmas-btn {
  display: block;
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
  padding: 18px 30px;
  background: linear-gradient(135deg, #dc2626, #991b1b);
  color: white;
  border: none;
  border-radius: 50px;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(220, 38, 38, 0.5);
  animation: btnGlow 2s ease-in-out infinite;
}

@keyframes btnGlow {
  0%, 100% {
    box-shadow: 0 10px 30px rgba(220, 38, 38, 0.5);
  }
  50% {
    box-shadow: 0 10px 50px rgba(220, 38, 38, 0.8),
                0 0 30px rgba(255, 215, 0, 0.5);
  }
}

.christmas-btn:hover {
  transform: scale(1.05);
  background: linear-gradient(135deg, #991b1b, #7f1d1d);
  box-shadow: 0 15px 40px rgba(220, 38, 38, 0.7);
}

/* Snowflakes */
.snowflakes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
}

.snowflake {
  position: absolute;
  top: -10%;
  color: white;
  font-size: 1.5em;
  opacity: 0.8;
  animation: fall linear infinite;
  text-shadow: 0 0 5px rgba(255, 255, 255, 0.8);
}

@keyframes fall {
  to {
    transform: translateY(110vh) rotate(360deg);
  }
}

.snowflake:nth-child(1) {
  left: 10%;
  animation-duration: 8s;
  animation-delay: 0s;
}

.snowflake:nth-child(2) {
  left: 20%;
  animation-duration: 10s;
  animation-delay: 1s;
}

.snowflake:nth-child(3) {
  left: 30%;
  animation-duration: 12s;
  animation-delay: 2s;
}

.snowflake:nth-child(4) {
  left: 40%;
  animation-duration: 9s;
  animation-delay: 0.5s;
}

.snowflake:nth-child(5) {
  left: 50%;
  animation-duration: 11s;
  animation-delay: 1.5s;
}

.snowflake:nth-child(6) {
  left: 60%;
  animation-duration: 10s;
  animation-delay: 0s;
}

.snowflake:nth-child(7) {
  left: 70%;
  animation-duration: 13s;
  animation-delay: 2.5s;
}

.snowflake:nth-child(8) {
  left: 80%;
  animation-duration: 9s;
  animation-delay: 1s;
}

.snowflake:nth-child(9) {
  left: 90%;
  animation-duration: 11s;
  animation-delay: 3s;
}

.snowflake:nth-child(10) {
  left: 15%;
  animation-duration: 14s;
  animation-delay: 0.5s;
}

/* Tablet Responsive */
@media (max-width: 1024px) {
  .stat-card {
    min-height: 220px;
  }
  
  .feature-card, .program-card {
    padding: 30px 25px;
  }
  
  .whatsapp-btn {
    bottom: 100px;
    left: 20px;
  }
}

/* Mobile Responsive */
@media (max-width: 768px) {
  /* Navigation */
  .campus-btn {
    bottom: 20px;
    right: 20px;
    padding: 15px 20px;
    font-size: 14px;
  }
  
  .whatsapp-btn {
    bottom: 90px;
    left: 20px;
    width: 55px;
    height: 55px;
    font-size: 24px;
  }
  
  .logo-img {
    height: 40px;
  }
  
  /* Hero Section */
  h1, .text-4xl, .text-5xl, .text-6xl {
    font-size: 2rem !important;
    line-height: 1.2 !important;
  }
  
  .text-3xl {
    font-size: 1.75rem !important;
  }
  
  .text-2xl {
    font-size: 1.5rem !important;
  }
  
  .text-xl {
    font-size: 1.125rem !important;
  }
  
  /* Cards */
  .stat-card {
    min-height: 180px;
    padding: 25px 20px;
  }
  
  .feature-card, .program-card {
    padding: 25px 20px;
  }
  
  /* Christmas Popup */
  .christmas-card {
    padding: 40px 25px;
  }
  
  .christmas-featured-image {
    width: calc(100% + 50px);
    margin: -40px -25px 25px -25px;
    height: 180px;
  }
  
  .christmas-title {
    font-size: 28px;
    line-height: 1.1;
  }
  
  .christmas-message {
    font-size: 18px;
  }
  
  .christmas-submessage {
    font-size: 16px;
  }
  
  .christmas-quote {
    padding: 18px 15px;
    margin: 20px 0;
  }
  
  .christmas-quote p {
    font-size: 15px;
  }
  
  .christmas-quote i {
    font-size: 14px;
  }
  
  .christmas-decorations {
    font-size: 28px;
    gap: 10px;
  }
  
  .christmas-wish {
    font-size: 24px;
  }
  
  .christmas-icon {
    font-size: 60px;
  }
  
  .christmas-footer {
    font-size: 13px;
  }
  
  .christmas-btn {
    font-size: 15px;
    padding: 14px 20px;
  }
}

/* Extra Small Mobile */
@media (max-width: 480px) {
  .christmas-title {
    font-size: 24px;
  }
  
  .christmas-message {
    font-size: 16px;
  }
  
  .christmas-quote p {
    font-size: 14px;
  }
  
  .christmas-decorations {
    font-size: 24px;
    gap: 8px;
  }
  
  .christmas-wish {
    font-size: 22px;
  }
  
  .christmas-icon {
    font-size: 50px;
  }
  
  .campus-btn {
    padding: 12px 16px;
    font-size: 13px;
  }
  
  .whatsapp-btn {
    width: 50px;
    height: 50px;
    font-size: 22px;
    bottom: 80px;
  }
  
  h1, .text-4xl, .text-5xl, .text-6xl {
    font-size: 1.75rem !important;
  }
}
