:root {
  --primary-color: #284ca3; /* Deep Indigo */
  --secondary-color: #d50000; /* Deep Red */
  --accent-color: #d50000; /* Leaf Green */
  --pink-gradient: #ec407a; /* Pink Highlight */
  --sky-blue: #4fc3f7; /* Sky Blue */
  --dark-color: #0d0d3d; /* Deep Background */
  --light-color: #f5f5f7; /* Background */
  --text-color: #000; /* Body text */
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  overflow-x: hidden;
  background-color: var(--light-color);
  background-image: url('../images/section-bg.png');
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: center;
  background-size: cover; /* or use 'contain' depending on your preference */
}


/* Navbar with glass morphism effect */
.navbar {
  backdrop-filter: blur(10px);
  background-color: white !important;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  transition: all 0.5s ease;
}

.navbar-brand img {
  height: 80px;
  transition: all 0.3s ease;
}

.nav-link {
  color: var(--text-color) !important;
  font-weight: 500;
  margin: 0 8px;
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  width: 0;
  height: 4px;
  bottom: 0;
  left: 0;
  background-color: var(--secondary-color);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link:hover {
  color: var(--accent-color) !important;
}


.btn-register { 
  background: linear-gradient(135deg, #D50000 0%, #9B0000 100%);
  border: none;
  color: white;
  box-shadow: 0 4px 15px rgba(213, 0, 0, 0.3);
  border-radius: 30px;
  padding: 8px 20px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-register:hover {
  background: linear-gradient(135deg, #9B0000 0%, #D50000 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(213, 0, 0, 0.4);
}

/* Hide the dropdown arrow */
.dropdown-toggle::after {
    display: none !important;
}


/* Hero Section with Particle Animation */
.hero-section {
  color: var(--light-text);
  position: relative;
  overflow: hidden;
  padding: 180px 0 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-content img {
  margin: 0 auto;
  display: block;
}

.hero-title {
  font-size: 4rem;
  font-weight: 800;
  background: linear-gradient(to right, white, #ffeb3b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 30px;
  opacity: 0.9;
}

.date-badge {
  background-color: var(--secondary-color);
  color: white;
  padding: 10px 20px;
  border-radius: 50px;
  display: inline-block;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(255, 87, 34, 0.4);
}

.about_us {
    text-align: justify;
}

.back-to-top {
    background-color: #284CA3;
    color: #f5f5f7;
}

@media (max-width: 768px) {
    .img_hero {
    width: 100%;
}
}

/* Change navbar toggle color to red */
.navbar-dark .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(213, 0, 0, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-dark .navbar-toggler {
  border-color: rgba(213, 0, 0, 0.5);
}

.navbar-dark .navbar-toggler:hover {
  border-color: rgba(213, 0, 0, 1);
}

/* Floating Animation */
.floating {
  animation: floating 6s ease-in-out infinite;
}

@keyframes floating {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
  100% {
    transform: translateY(0px);
  }
}

/* Section Styling */
.section-title {
  font-weight: 700;
  color: var(--primary-color);
  position: relative;
  margin-bottom: 40px;
  display: inline-block; /* Ensure it wraps only the text */
  text-align: left !important; /* Override any center alignment */
}

.section-title::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 4px;
  bottom: -10px;
  left: 0;
  background: linear-gradient(
    to right,
    var(--primary-color),
    var(--secondary-color)
  );
  border-radius: 2px;
}

.h5 {
    font-size: 1rem;
}

/* Card Hover Effect */
.card-hover {
  transition: all 0.4s ease;
  border: none;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  border-top: 4px solid var(--secondary-color);
}

.card-hover:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.card-body {
    background-color: var(--primary-color);
}

/* Timeline for Agenda */
.timeline {
  position: relative;
  padding-left: 50px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(
    to bottom,
    var(--primary-color),
    var(--secondary-color)
  );
}

.timeline-item {
  position: relative;
  margin-bottom: 30px;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -40px;
  top: 5px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: var(--secondary-color);
  border: 4px solid white;
  box-shadow: 0 0 0 2px var(--secondary-color);
}

/* Venue Section */
.venue-card {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease;
}

.venue-card:hover {
  transform: scale(1.03);
}

/* Footer */
.footer {
  background-image: url('../images/section-bg.png');
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
  color: black;
  padding: 60px 0 30px;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.2);
  color: black;
  margin-right: 10px;
  transition: all 0.3s ease;
}

.social-icon:hover {
  background-color: var(--secondary-color);
  transform: translateY(-3px);
}

/* Custom Animations */
@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

.pulse-animation {
  animation: pulse 4s infinite;
}

/* Particle Background */
#particles-js {
  position: absolute;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.2rem;
  }

  .navbar-brand img {
    height: 60px;
  }

  .hero-section {
    padding: 180px 0 150px;
}

.btn-register {
    font-size: 1rem;
    padding: 6px 15px;
}

.section-title {
    font-size: 1.35rem;
}

.about_us {
    font-size: 1rem;
    text-align: justify;
}

}

/* countdown */

/* Countdown Timer Styles */
.countdown-container {
  margin-top: 30px;
  text-align: center;
}

.countdown-timer {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.countdown-item {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(5px);
  border-radius: 10px;
  padding: 15px 20px;
  min-width: 80px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.countdown-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
}

.countdown-label {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: black;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .countdown-item {
    padding: 10px 15px;
    min-width: 50px;
  }
  
  .countdown-number {
    font-size: 2rem;
  }
  
  .countdown-label {
    font-size: 0.6rem;
  }
}

/* dropdown */
.navbar .dropdown:hover .dropdown-menu {
  display: block;
  margin-top: 0;
}

.navbar .dropdown-toggle::after {
  transition: transform 0.2s ease;
}

.navbar .dropdown:hover .dropdown-toggle::after {
  transform: rotate(180deg);
}
