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

:root {
  --navy: #0b2d6b;
  --ieee-blue: #00629b;
  --cyan: #00aeef;
  --light-bg: #eaf3ff;
  --accent: #f39200;
  --text: #243447;
  --muted: #5f6b7a;
  --border: #e0e0e0;
}

html {
  font-size: 62.5%;
  height: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, "Lato", sans-serif;
  line-height: 1.6;
  color: var(--text);
  background-color: #f8f9fa;
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

/* Animations */
@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.7;
    transform: scale(1.1);
  }
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

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

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Header Top */
.header-top {
  background-color: #f0f0f0;
  border-bottom: 1px solid var(--border);
  padding: 4px 0;
}

.header-top p {
  font-size: 12px;
  margin: 0;
}

.header-top a {
  color: var(--navy);
  text-decoration: none;
  transition: color 0.3s;
  font-weight: 500;
}

.header-top a:hover {
  color: var(--accent);
}

/* Navigation Bar */
.navbar-ieee {
  background: white;
  border-bottom: 2px solid var(--border);
  padding: 12px 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo-section {
  flex: 0 0 auto;
}

.logo-group {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.logo-group img {
  height: 50px;
  width: auto;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.3s ease;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.logo-group img:hover {
  transform: scale(1.12) translateY(-3px);
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.2));
}

.nav-links {
  display: flex;
  gap: 25px;
  align-items: center;
  flex-wrap: wrap;
}

.nav-links a {
  color: var(--navy);
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  transition: color 0.3s ease;
  position: relative;
  padding: 5px 0;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent);
  transition: width 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

/* Hamburger Menu */
.hamburger-menu {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  gap: 6px;
}

.hamburger-menu span {
  width: 25px;
  height: 3px;
  background-color: var(--navy);
  border-radius: 2px;
  transition: all 0.3s ease;
  display: block;
}

.hamburger-menu.active span:nth-child(1) {
  transform: rotate(45deg) translate(10px, 10px);
}

.hamburger-menu.active span:nth-child(2) {
  opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
  transform: rotate(-45deg) translate(8px, -8px);
}

/* Main Content */
.hero-section {
  flex: 1;
  display: flex;
  justify-content: center;
  padding: 40px 20px;
  background: linear-gradient(135deg, #f5f7fa 0%, var(--light-bg) 100%);
  min-height: 100vh;
}

.hero-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 1400px;
  width: 100%;
}

.hero-text > * {
  animation: fadeInUp 0.8s ease-out forwards;
}

.hero-main-title {
  font-size: 72px;
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 15px;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: -2px;
  animation-delay: 0.2s;
  background: linear-gradient(135deg, var(--navy), var(--ieee-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-theme-title {
  font-size: 28px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 20px;
  line-height: 1.3;
  text-transform: capitalize;
  letter-spacing: 0.5px;
  animation-delay: 0.25s;
  font-style: italic;
}

.hero-subtitle {
  font-size: 22px;
  color: var(--muted);
  margin-bottom: 40px;
  line-height: 1.6;
  animation-delay: 0.3s;
}

.hero-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
  animation-delay: 0.4s;
}

.detail-item {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 16px;
  color: var(--text);
}

.detail-item i {
  font-size: 24px;
  color: var(--accent);
  min-width: 30px;
}

.btn-register {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent), #ff6b35);
  color: white;
  padding: 16px 40px;
  border: none;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 8px 20px rgba(243, 146, 0, 0.3);
  animation-delay: 0.5s;
}

.btn-register:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(243, 146, 0, 0.4);
  background: linear-gradient(135deg, #ff6b35, var(--accent));
}

.btn-register i {
  margin-right: 10px;
}

/* Hero Logo */
.hero-logo {
  display: block;
}

.hero-logo svg,
.hero-logo img {
  display: block;
  margin: auto;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.15));
}

/* Image Slider Styles */
.image-slider {
  position: relative;
  max-width: 100%;
  width: 100%;
  height: 500px;
  opacity: 95%;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
  background: linear-gradient(135deg, var(--light-bg), #f0f0f0);
}

.slider-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide.active {
  opacity: 1;
  z-index: 1;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 20px;
}

/* Slider Dots */
.slider-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid rgba(255, 255, 255, 0.8);
}

.dot:hover {
  background: rgba(255, 255, 255, 0.8);
  transform: scale(1.2);
}

.dot.active {
  background: var(--accent);
  border-color: var(--accent);
  width: 14px;
  height: 14px;
}

/* Countdown Timer Section */
.countdown-section {
  background: linear-gradient(135deg, var(--navy) 0%, var(--ieee-blue) 100%);
  padding: 60px 20px;
}

.countdown-timer {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.time-box {
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 15px;
  padding: 30px 40px;
  min-width: 150px;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.time-box:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.5);
}

.time-value {
  display: block;
  font-size: 60px;
  font-weight: 900;
  color: #ffffff;
  line-height: 1;
  margin-bottom: 10px;
}

.time-label {
  display: block;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
}

.countdown-section .section-title {
  color: #ffffff;
}

/* Event Details Section */
.event-details-section {
  padding: 80px 20px;
  background-color: white;
}

.section-title {
  font-size: 48px;
  font-weight: 900;
  color: var(--navy);
  text-align: center;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: -1px;
}

.details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 80px;
}

.detail-card {
  background: linear-gradient(135deg, var(--light-bg), #ffffff);
  padding: 40px;
  border-radius: 15px;
  text-align: center;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.detail-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent);
  box-shadow: 0 15px 40px rgba(243, 146, 0, 0.15);
}

.detail-card i {
  font-size: 48px;
  color: var(--accent);
  margin-bottom: 20px;
  display: block;
}

.detail-card h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 15px;
}

.detail-card p {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.6;
}

.event-description {
  background-color: var(--light-bg);
  padding: 40px;
  border-radius: 15px;
  border-left: 5px solid var(--accent);
}

.event-description h3 {
  font-size: 28px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 20px;
}

.event-description p {
  font-size: 16px;
  color: var(--text);
  line-height: 1.8;
}

/* Rules Section */
.rules-section {
  padding: 80px 20px;
  background-color: #f8f9fa;
}

.rules-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.rules-column {
  background: white;
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.rules-column:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.rules-column h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 3px solid var(--accent);
}

.rules-column ul {
  list-style: none;
}

.rules-column li {
  font-size: 15px;
  color: var(--text);
  padding: 12px 0;
  padding-left: 25px;
  position: relative;
  line-height: 1.6;
  border-bottom: 1px solid #e0e0e0;
}

.rules-column li:last-child {
  border-bottom: none;
}

.rules-column li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: bold;
  font-size: 16px;
}

/* Important Dates Section */
.important-dates-section {
  padding: 80px 20px;
  background: linear-gradient(135deg, #f5f7fa, var(--light-bg));
}

.dates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
}

.date-card {
  background: white;
  padding: 35px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border-top: 4px solid var(--accent);
}

.date-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.date-card i {
  font-size: 40px;
  color: var(--accent);
  margin-bottom: 15px;
  display: block;
}

.date-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}

.date-value {
  font-size: 16px;
  font-weight: 600;
  color: var(--accent);
}

/* Fees Section */
.fees-section {
  padding: 80px 20px;
  background-color: white;
}

.fees-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.fee-card {
  background: linear-gradient(135deg, var(--light-bg), #ffffff);
  padding: 40px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border-top: 4px solid var(--accent);
}

.fee-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(243, 146, 0, 0.2);
}

.fee-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.fee-card i {
  font-size: 20px;
  color: var(--accent);
}

.fee-amount {
  font-size: 28px;
  font-weight: 900;
  color: var(--accent);
  margin-bottom: 10px;
}

.fee-description {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

/* Registration Section */
.register-section {
  background: linear-gradient(135deg, var(--navy), #0a5fa5);
}

.register-subtitle {
  text-align: center;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 20px;
}

.register-section .section-title {
  color: white;
}

.registration-container {
  background: white;
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.registration-content h3 {
  font-size: 28px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 20px;
}

.registration-content p {
  font-size: 16px;
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 25px;
}

.registration-benefits {
  list-style: none;
  margin-bottom: 30px;
}

.registration-benefits li {
  font-size: 15px;
  color: var(--text);
  padding: 12px 0;
  padding-left: 30px;
  position: relative;
  line-height: 1.6;
}

.registration-benefits li i {
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 18px;
  font-weight: bold;
}

.btn-register-link {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent), #ff6b35);
  color: white;
  padding: 16px 40px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 8px 20px rgba(243, 146, 0, 0.3);
  display: inline-block;
  margin-bottom: 20px;
}

.btn-register-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(243, 146, 0, 0.4);
  background: linear-gradient(135deg, #ff6b35, var(--accent));
  color: white;
  text-decoration: none;
}

.btn-register-link i {
  margin-right: 10px;
}

.registration-note {
  font-size: 13px;
  color: var(--muted);
  padding: 12px 15px;
  background-color: var(--light-bg);
  border-left: 3px solid var(--accent);
  border-radius: 4px;
}

.registration-note i {
  margin-right: 8px;
  color: var(--accent);
}

.registration-image {
  display: flex;
  align-items: center;
  justify-content: center;
}

.registration-image svg {
  width: 100%;
  height: auto;
  animation: float 3s ease-in-out infinite;
}

/* Gallery Section */
.gallery-section {
  padding: 80px 20px;
  background-color: white;
}

.gallery-subtitle {
  text-align: center;
  font-size: 18px;
  color: var(--muted);
  margin-bottom: 50px;
}

.gallery-container {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.gallery-year {
  animation: fadeInUp 0.8s ease-out forwards;
}

.gallery-year h3 {
  font-size: 28px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 30px;
  padding-bottom: 15px;
  border-bottom: 3px solid var(--accent);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 25px;
}

.gallery-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
  display: block;
  background: white;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.gallery-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.gallery-placeholder {
  width: 100%;
  height: 180px;
  background: linear-gradient(135deg, var(--light-bg), #f0f0f0);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  color: var(--muted);
  overflow: hidden;
}

.gallery-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.gallery-item p {
  padding: 12px;
  text-align: center;
  color: var(--text);
  font-weight: 600;
  font-size: 14px;
}

/* Contact Section */
.contact-section {
  padding: 80px 20px;
  background: linear-gradient(135deg, #f5f7fa, var(--light-bg));
}

.contact-section .section-title {
  color: var(--navy);
  margin-bottom: 20px;
}

.contact-subtitle {
  text-align: center;
  font-size: 18px;
  color: var(--muted);
  margin-bottom: 50px;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-card {
  background: white;
  padding: 35px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border-top: 4px solid var(--accent);
  text-align: center;
}

.contact-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(243, 146, 0, 0.2);
}

.contact-card i {
  font-size: 40px;
  color: var(--accent);
  margin-bottom: 15px;
  display: block;
}

.contact-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 15px;
}

.contact-card p {
  font-size: 15px;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.6;
}

.contact-card a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  margin-top: 5px;
  transition: color 0.3s ease;
}

.contact-card a:hover {
  color: var(--navy);
}

.contact-card a i {
  font-size: 14px;
  margin-right: 5px;
  display: inline;
}

/* Footer */
footer {
  background-color: var(--navy);
  color: white;
  padding: 40px 20px;
  text-align: center;
  border-top: 3px solid var(--accent);
  margin-top: auto;
}

footer p {
  margin-bottom: 10px;
  font-size: 14px;
}

footer a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.3s;
}

footer a:hover {
  color: var(--cyan);
}

/* Media Queries - Responsive */
@media (max-width: 1024px) {
  .hero-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-main-title {
    font-size: 56px;
  }

  .hero-theme-title {
    font-size: 24px;
  }

  .nav-links {
    gap: 15px;
  }

  .nav-links a {
    font-size: 13px;
  }

  .registration-container {
    grid-template-columns: 1fr;
  }

  .dates-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .fees-container {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .detail-card {
    padding: 30px 20px;
  }

  .image-slider {
    height: 400px;
  }

  .slider-dots {
    bottom: 15px;
  }
}

/* Hamburger Menu - Tablet and Mobile (900px and below) */
@media (max-width: 900px) {
  .navbar-ieee {
    position: sticky;
    top: 0;
    z-index: 100;
  }

  .logo-section {
    flex: 1;
    min-width: 0;
  }

  .logo-group {
    gap: 8px;
    flex-wrap: nowrap;
  }

  .logo-group img {
    height: 38px;
  }

  .hamburger-menu {
    display: flex;
    flex-shrink: 0;
    margin-left: 12px;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    gap: 0;
    flex-wrap: nowrap;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    border-bottom: 2px solid var(--border);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .nav-links.active {
    max-height: 500px;
  }

  .nav-links a {
    font-size: 14px;
    padding: 14px 20px;
    border-bottom: 1px solid var(--border);
    color: var(--navy);
    display: block;
  }

  .nav-links a:last-child {
    border-bottom: none;
  }

  .nav-links a:hover,
  .nav-links a.active {
    background-color: var(--light-bg);
    color: var(--accent);
  }
}

@media (max-width: 768px) {
  html {
    font-size: 55%;
  }

  .header-top {
    padding: 8px 0;
  }

  .header-top p {
    font-size: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }

  .header-top a {
    display: inline;
  }

  .navbar-ieee {
    padding: 10px 0;
  }

  .logo-group img {
    height: 38px;
  }

  .nav-links a {
    font-size: 13px;
    padding: 12px 18px;
  }

  .hero-wrapper {
    gap: 30px;
  }

  .hero-main-title {
    font-size: 44px;
    margin-bottom: 12px;
  }

  .hero-theme-title {
    font-size: 20px;
    margin-bottom: 16px;
  }

  .hero-subtitle {
    font-size: 16px;
    margin-bottom: 24px;
  }

  .hero-details {
    gap: 16px;
    margin-bottom: 24px;
  }

  .detail-item {
    font-size: 14px;
    gap: 12px;
  }

  .detail-item i {
    font-size: 20px;
  }

  .btn-register {
    padding: 14px 32px;
    font-size: 14px;
  }

  .btn-register:hover {
    transform: translateY(-2px);
  }

  .hero-logo {
    max-width: 100%;
  }

  .image-slider {
    height: 350px;
  }

  .slider-dots {
    bottom: 15px;
    gap: 8px;
  }

  .dot {
    width: 10px;
    height: 10px;
  }

  .dot.active {
    width: 12px;
    height: 12px;
  }

  .section-title {
    font-size: 32px;
    margin-bottom: 24px;
  }

  .countdown-timer {
    gap: 8px;
    flex-wrap: nowrap;
  }

  .time-box {
    padding: 12px 15px;
    min-width: 80px;
    flex-shrink: 0;
  }

  .time-value {
    font-size: 32px;
  }

  .time-label {
    font-size: 11px;
  }

  .details-grid {
    gap: 20px;
    margin-bottom: 40px;
  }

  .detail-card {
    padding: 24px 16px;
  }

  .detail-card i {
    font-size: 36px;
    margin-bottom: 12px;
  }

  .detail-card h3 {
    font-size: 18px;
  }

  .event-description {
    padding: 24px;
  }

  .event-description h3 {
    font-size: 22px;
    margin-bottom: 16px;
  }

  .rules-container {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .rules-column {
    padding: 24px;
  }

  .rules-column h3 {
    font-size: 18px;
    margin-bottom: 16px;
  }

  .dates-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .date-card {
    padding: 24px;
  }

  .date-card i {
    font-size: 32px;
  }

  .fees-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .fee-card {
    padding: 28px;
  }

  .registration-container {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 24px;
  }

  .registration-content h3 {
    font-size: 22px;
  }

  .registration-benefits li {
    font-size: 14px;
    padding: 10px 0 10px 28px;
  }

  .btn-register-link {
    padding: 14px 32px;
    font-size: 14px;
  }

  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
  }

  .gallery-placeholder {
    height: 120px;
    font-size: 32px;
  }

  .gallery-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .gallery-item p {
    font-size: 12px;
    padding: 10px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .contact-card {
    padding: 24px;
  }

  .contact-card i {
    font-size: 32px;
  }

  .contact-card h3 {
    font-size: 18px;
  }

  .contact-card p {
    font-size: 14px;
  }

  footer {
    padding: 24px 16px;
  }

  footer p {
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  html {
    font-size: 50%;
  }

  .header-top {
    display: none;
  }

  .navbar-ieee {
    padding: 8px 0;
  }

  .logo-section {
    flex: 1;
    min-width: 0;
    overflow: hidden;
  }

  .logo-group {
    gap: 6px;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .logo-group::-webkit-scrollbar {
    display: none;
  }

  .logo-group img {
    height: 32px;
    flex-shrink: 0;
  }

  .hamburger-menu {
    margin-left: 8px;
  }

  .nav-links a {
    font-size: 13px;
    padding: 12px 20px;
  }

  .nav-links a::after {
    display: none;
  }

  .hero-section {
    padding: 20px 12px;
    min-height: auto;
  }

  .hero-wrapper {
    gap: 20px;
    width: 100%;
  }

  .hero-text {
    width: 100%;
  }

  .hero-logo {
    width: 100%;
    max-width: 100%;
  }

  .image-slider {
    height: 250px;
    border-radius: 12px;
    width: 100%;
    max-width: 100%;
  }

  .slide {
    width: 100%;
    height: 100%;
  }

  .slide img {
    border-radius: 12px;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .hero-main-title {
    font-size: 32px;
    margin-bottom: 8px;
    letter-spacing: -1px;
  }

  .hero-theme-title {
    font-size: 16px;
    margin-bottom: 12px;
  }

  .hero-subtitle {
    font-size: 13px;
    margin-bottom: 16px;
  }

  .hero-details {
    gap: 12px;
    margin-bottom: 16px;
  }

  .detail-item {
    font-size: 12px;
    gap: 10px;
  }

  .detail-item i {
    font-size: 18px;
    min-width: 24px;
  }

  .detail-item span {
    line-height: 1.4;
  }

  .btn-register {
    padding: 12px 24px;
    font-size: 13px;
    width: 100%;
    text-align: center;
  }

  .hero-logo {
    max-width: 100%;
    margin: 0 auto;
  }

  .hero-logo svg,
  .hero-logo img {
    max-height: 280px;
  }

  .image-slider {
    height: 250px;
    border-radius: 12px;
  }

  .slide img {
    border-radius: 12px;
  }

  .slider-dots {
    bottom: 10px;
    gap: 6px;
  }

  .dot {
    width: 8px;
    height: 8px;
  }

  .dot.active {
    width: 10px;
    height: 10px;
  }

  .section-title {
    font-size: 24px;
    margin-bottom: 16px;
  }

  .countdown-timer {
    gap: 6px;
    flex-wrap: nowrap;
  }

  .time-box {
    padding: 10px 12px;
    min-width: 70px;
    flex-shrink: 0;
  }

  .time-value {
    font-size: 28px;
  }

  .time-label {
    font-size: 10px;
    letter-spacing: 0.5px;
  }

  .details-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 24px;
  }

  .detail-card {
    padding: 16px 12px;
  }

  .detail-card i {
    font-size: 28px;
    margin-bottom: 8px;
  }

  .detail-card h3 {
    font-size: 16px;
    margin-bottom: 8px;
  }

  .detail-card p {
    font-size: 13px;
  }

  .event-description {
    padding: 16px;
    border-left-width: 4px;
  }

  .event-description h3 {
    font-size: 18px;
    margin-bottom: 12px;
  }

  .event-description p {
    font-size: 13px;
  }

  .rules-container {
    gap: 16px;
  }

  .rules-column {
    padding: 16px;
  }

  .rules-column h3 {
    font-size: 16px;
    margin-bottom: 12px;
    padding-bottom: 8px;
  }

  .rules-column li {
    font-size: 13px;
    padding: 8px 0 8px 20px;
  }

  .dates-grid {
    gap: 12px;
  }

  .date-card {
    padding: 16px;
  }

  .date-card i {
    font-size: 28px;
    margin-bottom: 8px;
  }

  .date-card h3 {
    font-size: 14px;
    margin-bottom: 8px;
  }

  .date-value {
    font-size: 14px;
  }

  .fees-container {
    gap: 16px;
  }

  .fee-card {
    padding: 20px;
  }

  .fee-card h3 {
    font-size: 16px;
    margin-bottom: 8px;
  }

  .fee-card i {
    font-size: 18px;
  }

  .fee-amount {
    font-size: 24px;
    margin-bottom: 8px;
  }

  .fee-description {
    font-size: 12px;
  }

  .register-section {
    padding: 40px 12px;
  }

  .register-subtitle {
    font-size: 14px;
    margin-bottom: 16px;
  }

  .registration-container {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 16px;
  }

  .registration-content h3 {
    font-size: 18px;
    margin-bottom: 12px;
  }

  .registration-content p {
    font-size: 13px;
    margin-bottom: 16px;
  }

  .registration-benefits {
    margin-bottom: 16px;
  }

  .registration-benefits li {
    font-size: 12px;
    padding: 8px 0 8px 24px;
  }

  .btn-register-link {
    padding: 12px 20px;
    font-size: 13px;
    width: 100%;
    text-align: center;
  }

  .registration-image {
    display: none;
  }

  .gallery-section {
    padding: 40px 12px;
  }

  .gallery-subtitle {
    font-size: 14px;
    margin-bottom: 24px;
  }

  .gallery-year {
    margin-bottom: 32px;
  }

  .gallery-year h3 {
    font-size: 18px;
    margin-bottom: 16px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .gallery-placeholder {
    height: 100px;
    font-size: 24px;
  }

  .gallery-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .gallery-item p {
    font-size: 11px;
    padding: 8px;
  }

  .contact-section {
    padding: 40px 12px;
  }

  .contact-subtitle {
    font-size: 14px;
    margin-bottom: 24px;
  }

  .contact-grid {
    gap: 16px;
  }

  .contact-card {
    padding: 16px;
    text-align: center;
  }

  .contact-card i {
    font-size: 28px;
    margin-bottom: 8px;
  }

  .contact-card h3 {
    font-size: 16px;
    margin-bottom: 8px;
  }

  .contact-card p {
    font-size: 12px;
    margin-bottom: 6px;
  }

  .contact-card a {
    font-size: 12px;
  }

  footer {
    padding: 20px 12px;
  }

  footer p {
    font-size: 11px;
    margin-bottom: 8px;
  }
}

/* Extra Small Devices - Below 400px */
@media (max-width: 400px) {
  .hero-section {
    padding: 15px 10px;
  }

  .hero-wrapper {
    gap: 15px;
    width: 100%;
    height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
  }

  .hero-logo {
    width: 100%;
    max-width: 100%;
    margin: 0;
  }

  .image-slider {
    height: 200px;
    border-radius: 10px;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
  }

  .slide {
    width: 100%;
    height: 100%;
  }

  .slide img {
    border-radius: 10px;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .slider-dots {
    bottom: 8px;
    gap: 5px;
  }

  .dot {
    width: 7px;
    height: 7px;
  }

  .dot.active {
    width: 9px;
    height: 9px;
  }

  .hero-main-title {
    font-size: 28px;
  }

  .hero-theme-title {
    font-size: 16px;
  }
}

/* Very Small Devices - Below 360px (iPhone SE, etc.) */
@media (max-width: 360px) {
  body {
    overflow-x: hidden;
  }

  .hero-section {
    padding: 10px 8px;
  }

  .image-slider {
    height: 180px;
    border-radius: 8px;
    min-height: 180px;
  }

  .slide {
    min-height: 180px;
  }

  .slide img {
    border-radius: 8px;
    min-height: 180px;
  }

  .slider-dots {
    bottom: 6px;
    gap: 4px;
  }

  .dot {
    width: 6px;
    height: 6px;
  }

  .dot.active {
    width: 8px;
    height: 8px;
  }

  .hero-main-title {
    font-size: 24px;
  }

  .hero-theme-title {
    font-size: 14px;
  }
}
