* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Outfit', sans-serif;
  background: #f2f5f9;
  color: #13294B; /* deep academic navy */
  line-height: 1.5;
  overflow-x: hidden;
}

/* smooth everything */
html {
  scroll-behavior: smooth;
}

/* ----- modern overlay header + video hero ----- */
.hero-wrapper {
  position: relative;
  width: 100%;
  height: 100vh;
  max-height: 800px;
  overflow: hidden;
}

#hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: brightness(0.85) saturate(1.1);
}

/* sophisticated overlay gradient (not just dark) */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 30% 40%, rgba(18,45,80,0.3) 0%, rgba(8,28,50,0.7) 90%);
  z-index: 1;
}

/* navigation - glassmorphism */
.nav-glass {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem 5%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  z-index: 20;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,215,0,0.25);
  box-shadow: 0 10px 30px -10px rgba(0,0,0,0.2);
}

.logo-group {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo-icon img {
  height: 70px;
  width: auto;
  object-fit: contain;
}

.college-name {
  font-weight: 700;
  font-size: 1.6rem;
  letter-spacing: -0.02em;
  background: linear-gradient(to right, #fff6e0, #ffde9e);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.nav-menu {
  display: flex;
  gap: 2.8rem;
  margin-left: auto;
}

.nav-menu a {
  text-decoration: none;
  color: rgba(255,255,245,0.9);
  font-weight: 500;
  font-size: 1.15rem;
  transition: 0.2s;
  padding-bottom: 5px;
  border-bottom: 2px solid transparent;
  letter-spacing: 0.3px;
}

.nav-menu a:hover {
  border-bottom-color: #f7c35c;
  color: #fff;
  transform: translateY(-2px);
}

/* hero main message — layered and stylish */
.hero-message {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -45%);
  z-index: 15;
  text-align: center;
  width: 90%;
  max-width: 1000px;
  animation: floatUp 1.2s cubic-bezier(0.12, 0.71, 0.33, 1);
}

.hero-message h1 {
  font-size: clamp(3rem, 10vw, 6rem);
  font-weight: 800;
  color: white;
  text-shadow: 0 15px 35px rgba(0,0,0,0.3);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.hero-message h1 span {
  background: linear-gradient(135deg, #fae47f, #ffffff);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-description {
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  color: rgba(255,255,240,0.95);
  font-weight: 300;
  max-width: 750px;
  margin: 0 auto 2rem;
  text-shadow: 0 4px 15px rgba(0,0,0,0.3);
  backdrop-filter: blur(2px);
}

.hero-ribbon {
  display: inline-block;
  background: rgba(255,215,0,0.2);
  backdrop-filter: blur(8px);
  padding: 0.7rem 2rem;
  border-radius: 60px;
  border: 1px solid rgba(255,215,0,0.6);
  color: #fff6d5;
  font-weight: 400;
  font-size: 1.2rem;
  letter-spacing: 1px;
}

@keyframes floatUp {
  0% { opacity: 0; transform: translate(-50%, -30%); }
  100% { opacity: 1; transform: translate(-50%, -45%); }
}

/* section styling — airy, generous */
.section {
  padding: 6rem 5%;
}

.section-title {
  font-size: 2.8rem;
  font-weight: 700;
  color: #0A2342;
  margin-bottom: 2.5rem;
  display: inline-block;
  position: relative;
}
.section-title:after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 80px;
  height: 5px;
  background: linear-gradient(90deg, #c6a43f, #f3d371);
  border-radius: 10px;
}

/* --- GALLERY — CINEMATIC & ENGAGING --- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2.2rem;
}

.gallery-item {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 30px 40px -20px rgba(0,20,40,0.5);
  aspect-ratio: 5 / 6;
  transition: all 0.25s ease;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1), filter 0.5s;
}

.gallery-item:hover img {
  transform: scale(1.1);
  filter: brightness(0.6) saturate(1.3);
}

/* overlay with animated description */
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,35,66,0.95) 0%, rgba(0,0,0,0.2) 60%);
  display: flex;
  align-items: flex-end;
  padding: 2rem 1.5rem;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-text {
  transform: translateY(30px);
  transition: transform 0.4s ease 0.05s;
  color: white;
}

.gallery-item:hover .gallery-text {
  transform: translateY(0);
}

.gallery-text h3 {
  font-size: 1.9rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: #ffdf8c;
}

.gallery-text p {
  font-size: 1rem;
  font-weight: 300;
  opacity: 0.9;
  border-left: 3px solid #e0b354;
  padding-left: 0.8rem;
}

/* --- CEREMONY DETAILS — elevated cards with micro-interactions --- */
.details-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.detail-super-card {
  background: white;
  border-radius: 40px;
  padding: 2rem 1.5rem;
  box-shadow: 0 25px 45px -18px #0A2342;
  transition: all 0.3s cubic-bezier(0.2, 0, 0, 1);
  border: 1px solid rgba(198,164,63,0.2);
  position: relative;
  z-index: 2;
  overflow: hidden;
}

.detail-super-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, #b49450, #f5d97b);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.detail-super-card:hover {
  transform: translateY(-15px) scale(1.02);
  box-shadow: 0 35px 55px -20px #13294B;
  border-color: #c9aa50;
}

.detail-super-card:hover::before {
  transform: scaleX(1);
}

.detail-icon {
  font-size: 2.8rem;
  background: #f3edd8;
  width: 70px;
  height: 70px;
  border-radius: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #b49450;
  margin-bottom: 1.5rem;
  transition: 0.2s;
}

.detail-super-card:hover .detail-icon {
  background: #13294B;
  color: #f7d970;
}

.detail-super-card h3 {
  font-size: 1.7rem;
  font-weight: 600;
  color: #0A2342;
}

.detail-super-card p {
  font-size: 1.15rem;
  color: #2c3e5c;
  font-weight: 300;
}

/* responsive grid */
@media (max-width: 1000px) {
  .details-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .details-grid { grid-template-columns: 1fr; }
}

/* --- dynamic countdown / celebratory banner --- */
.countdown-banner {
  background: linear-gradient(120deg, #0a2342, #1b3b5c);
  border-radius: 100px 20px 100px 20px;
  padding: 2.5rem 3rem;
  margin: 4rem 5% 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  color: white;
  box-shadow: 0 25px 35px -10px #0e2d4b;
  border: 1px solid #f3cd81;
}

.countdown-text {
  font-size: 2rem;
  font-weight: 600;
}
.countdown-timer {
  display: flex;
  gap: 2rem;
  font-size: 2.5rem;
  font-weight: 700;
  background: rgba(255,255,240,0.05);
  padding: 0.8rem 2.5rem;
  border-radius: 80px;
  backdrop-filter: blur(8px);
}
.timer-unit {
  font-size: 1rem;
  text-transform: uppercase;
  font-weight: 300;
  margin-left: 0.3rem;
}

/* --- FOOTER — fresh split personality --- */
.modern-footer {
  background: #0F2A44;
  position: relative;
  overflow: hidden;
}
.modern-footer::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, #e1b85020, transparent 70%);
  border-radius: 50%;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.5fr;
  gap: 3rem;
  padding: 4rem 5% 2.5rem;
  position: relative;
  z-index: 5;
}

.footer-logo-modern {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.footer-logo-modern .logo-row {
  display: flex;
  align-items: center;
  gap: 15px;
}
.footer-logo-modern .logo-icon img {
  height: 70px;
  width: auto;
  object-fit: contain;
}
.footer-logo-modern h2 {
  color: white;
  font-weight: 600;
  font-size: 1.9rem;
}
.social-links {
  display: flex;
  gap: 1.2rem;
  margin-top: 1.5rem;
}
.social-links a {
  background: rgba(255,255,240,0.1);
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffdc9f;
  font-size: 1.5rem;
  transition: 0.2s;
  border: 1px solid rgba(255,215,0,0.3);
}
.social-links a:hover {
  background: #e5b950;
  color: #0f2a44;
  transform: scale(1.1);
}

.footer-links h3, .footer-contact h3 {
  color: white;
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  border-left: 6px solid #e5b950;
  padding-left: 1rem;
}

.footer-links ul {
  list-style: none;
}
.footer-links li {
  margin-bottom: 0.9rem;
}
.footer-links a {
  color: #cfdeff;
  text-decoration: none;
  font-weight: 300;
  transition: 0.2s;
  display: inline-block;
}
.footer-links a:hover {
  transform: translateX(7px);
  color: #fad675;
}

.footer-contact p {
  margin-bottom: 1rem;
  color: #cfdeff;
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer-contact i {
  color: #e5b950;
  width: 28px;
  font-size: 1.3rem;
}

.footer-copyright {
  text-align: center;
  padding: 2rem 5% 1.5rem;
  border-top: 1px solid #2e4b70;
  color: #aac0dd;
  font-weight: 300;
}

@media (max-width: 800px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .nav-glass {
    flex-direction: column;
    gap: 0.8rem;
  }
  .nav-menu {
    gap: 1.5rem;
  }
  .countdown-banner {
    flex-direction: column;
    text-align: center;
    border-radius: 40px;
  }
}

/* additional micro animations */
.pulse-gold {
  animation: softPulse 3s infinite;
}
@keyframes softPulse {
  0% { text-shadow: 0 0 10px rgba(255,215,0,0.3); }
  50% { text-shadow: 0 0 25px rgba(255,215,0,0.7); }
  100% { text-shadow: 0 0 10px rgba(255,215,0,0.3); }
}