/* ===================================
   IC-NBITS 2026 - Custom Styles
   Clean CSS without duplicates
   =================================== */

/* CSS Variables */
:root {
  --brand-blue: #004b87;
  --accent: #f58634;
  --muted: #7a7a7a;
  --bg-light: #f9f8f4;
  --white: #fff;
  --shadow-sm: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.15);
  --shadow-md: 0 0.25rem 0.9375rem rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 0.25rem 1.25rem rgba(0, 0, 0, 0.08);
  --transition: all 0.3s ease;
  font-size: 16px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  background: var(--bg-light);
  overflow-x: hidden;
  font-size: 1rem;
}

/* Container improvements for responsive scaling */
.container {
  max-width: 100%;
  padding-left: clamp(1rem, 2.5vw, 1.5rem);
  padding-right: clamp(1rem, 2.5vw, 1.5rem);
}

.container-fluid {
  max-width: 100%;
}

/* Ensure all images are responsive */
img {
  max-width: 100%;
  height: auto;
}

/* Accessibility */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  background: var(--brand-blue);
  color: #fff;
  padding: 8px 12px;
  border-radius: 4px;
  z-index: 3000;
  text-decoration: none;
}

.skip-link:focus {
  left: 12px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
}

/* Header & Navigation */
.header {
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 1100;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(0.75rem, 1.5vw, 1rem) clamp(1rem, 2vw, 1.5rem);
  gap: clamp(1rem, 2vw, 1.5rem);
}

.header .title {
  flex: 1;
  font-weight: 700;
  color: var(--brand-blue);
  font-size: clamp(1.5rem, 2.5vw, 1.75rem);
}

.header .logo {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  margin-left: 7rem;
}

.header .logo img,
.header-logo {
  width: clamp(120px, 12vw, 180px);
  height: auto;
}

.header .nav {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

.header .site-year {
  color: var(--accent);
}

.header .navbar {
  padding: 0;
}

.header .navbar-toggler {
  border-color: var(--brand-blue);
}

.header .nav-item {
  display: flex;
  align-items: center;
  justify-content: center;
}

.header .nav-link {
  display: block;
  text-align: center;
  color: var(--muted) !important;
  margin: 0 clamp(0.375rem, 0.75vw, 0.625rem);
  text-decoration: none;
  font-weight: 500;
  font-size: clamp(0.875rem, 1vw, 0.9375rem);
  padding: clamp(0.5rem, 1vw, 0.625rem) clamp(0.75rem, 1.25vw, 1rem);
  transition: color 0.2s ease;
  line-height: 1.4;
}

.header .nav-link:hover,
.header .nav-link.active {
  color: var(--brand-blue) !important;
}

/* Hero Section */
.hero-section {
  min-height: 80vh;
  background: var(--brand-blue);
  display: flex;
  align-items: center;
  padding: clamp(2rem, 4vw, 2.5rem) clamp(2rem, 4vw, 3rem);
}

.hero-container {
  display: flex;
  align-items: center;
  gap: clamp(2.5rem, 5vw, 3.75rem);
  width: 100%;
  max-width: min(95%, 1600px);
  margin: 0 auto;
}

.hero-left {
  flex: 1;
  color: var(--white);
  padding-right: clamp(0.75rem, 1.5vw, 1.25rem);
}

.hero-main-title,
.hero-theme,
.hero-dates,
.hero-hybrid-mode {
  font-family: "Montserrat", sans-serif;
  color: var(--white);
}

.hero-main-title {
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  font-weight: 700;
  margin-bottom: clamp(1.25rem, 2.5vw, 1.75rem);
  line-height: 1.2;
}

.hero-code {
  font-family: "IBM Plex Sans", sans-serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  color: var(--accent);
  margin-bottom: clamp(1rem, 2vw, 1.5rem);
  line-height: 1.1;
}

.hero-theme {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  margin-bottom: clamp(1rem, 2vw, 1.5rem);
  line-height: 1.5;
  font-weight: 500;
}

.hero-dates {
  font-size: clamp(1.125rem, 1.75vw, 1.375rem);
  margin-bottom: clamp(0.875rem, 1.5vw, 1.25rem);
  line-height: 1.4;
  font-weight: 500;
}

.hero-hybrid-mode {
  font-size: clamp(1rem, 1.5vw, 1.375rem);
  margin-bottom: clamp(1.25rem, 2.5vw, 1.875rem);
  font-weight: 400;
}

.hero-buttons {
  display: flex;
  gap: clamp(0.75rem, 1.5vw, 1rem);
  flex-wrap: wrap;
}

.btn-know-more {
  padding: clamp(0.75rem, 1.25vw, 0.875rem) clamp(1.75rem, 3vw, 2.5rem);
  background: var(--white);
  color: var(--brand-blue);
  border-radius: 1.875rem;
  text-decoration: none;
  font-weight: 700;
  font-size: clamp(0.875rem, 1.25vw, 1rem);
  transition: var(--transition);
  box-shadow: 0 0.25rem 0.9375rem rgba(0, 0, 0, 0.2);
}

.btn-know-more:hover {
  background: var(--accent);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 0.375rem 1.25rem rgba(0, 0, 0, 0.3);
}

.hero-right {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(400px, 50vh, 550px);
}

.hero-image {
  width: 100%;
  max-height: clamp(450px, 60vh, 650px);
  object-fit: cover;
  border-radius: 0.25rem;
  box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.25);
}

/* Sections */
.highlights-section {
  padding: clamp(2rem, 4vw, 2.5rem) clamp(1rem, 2.5vw, 1.25rem);
  background: var(--bg-light);
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.625rem);
  font-weight: 700;
  color: var(--brand-blue);
  text-align: center;
  margin-bottom: clamp(2.5rem, 5vw, 3.75rem);
}

.padding {
  padding: clamp(4rem, 8vw, 6.25rem) clamp(3rem, 7vw, 5rem) 0;
  background: var(--bg-light);
}

/* Event Cards */
.event-card {
  position: relative;
  padding: clamp(2rem, 3.5vw, 2.5rem) clamp(1.5rem, 2.5vw, 1.875rem);
  border-radius: 0.75rem;
  background-size: cover;
  background-position: center;
  min-height: clamp(250px, 30vh, 280px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  box-shadow: 0 0.25rem 0.9375rem rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}
.event-card:hover {
  transform: translateY(-0.3125rem);
}
.dates-card {
  background-image: linear-gradient(
      135deg,
      rgba(0, 75, 135, 0.9),
      rgba(0, 102, 178, 0.9)
    ),
    url("https://images.unsplash.com/photo-1506784983877-45594efa4cbe?w=800");
}
.venue-card {
  background-image: linear-gradient(
      135deg,
      rgba(245, 134, 52, 0.9),
      rgba(230, 100, 40, 0.9)
    ),
    url("https://images.unsplash.com/photo-1523050854058-8df90110c9f1?w=800");
}
.card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.4), transparent);
  z-index: 1;
}
.card-content {
  position: relative;
  z-index: 2;
  color: #ffffff;
}
.card-title {
  font-size: clamp(1.5rem, 2.5vw, 1.75rem);
  font-weight: 700;
  margin-bottom: clamp(0.75rem, 1.25vw, 1rem);
  color: #ffffff;
}
.card-text {
  font-size: clamp(0.875rem, 1.25vw, 1rem);
  margin-bottom: clamp(0.375rem, 0.75vw, 0.5rem);
  color: rgba(255, 255, 255, 0.95);
}

/* Statistics Section */
.statistics-section {
  margin-top: clamp(2.5rem, 5vw, 3.75rem);
  padding: clamp(2.5rem, 5vw, 3.75rem) clamp(1.75rem, 3.5vw, 2.5rem);
  background: #ffffff;
  border-radius: 0.75rem;
  box-shadow: 0 0.25rem 1.25rem rgba(0, 0, 0, 0.08);
}
.stat-item {
  padding: clamp(1rem, 2vw, 1.25rem);
  transition: transform 0.3s ease;
}
.stat-item:hover {
  transform: translateY(-0.3125rem);
}
.stat-icon {
  font-size: clamp(2.5rem, 4vw, 3rem);
  color: #004b87;
  margin-bottom: clamp(0.75rem, 1.25vw, 1rem);
}
.stat-number {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  color: #004b87;
  margin-bottom: clamp(0.375rem, 0.75vw, 0.5rem);
}
.stat-label {
  font-size: clamp(0.75rem, 1.1vw, 0.875rem);
  color: #7a7a7a;
  font-weight: 500;
}

/* Footer (basic) */
.footer {
  background: #fff;
  padding: clamp(1.75rem, 3.5vw, 2.25rem) 0;
  margin-top: clamp(2rem, 4vw, 2.5rem);
}
.footer p {
  color: var(--muted);
  font-size: clamp(0.75rem, 1.1vw, 0.875rem);
}

/* Accessibility focus styles */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(245, 134, 52, 0.18);
  outline-offset: 2px;
}

/* Small helpers */
.mb-3 {
  margin-bottom: clamp(0.5rem, 1vw, 0.75rem);
}
.mt-3 {
  margin-top: clamp(0.5rem, 1vw, 0.75rem);
}

/* Content Styling Classes */
.content-heading {
  color: var(--brand-blue) !important;
  font-weight: 700;
  font-size: clamp(1.5rem, 2.5vw, 1.875rem);
}

.content-subheading {
  color: var(--accent) !important;
  font-weight: 600;
  margin-bottom: clamp(1rem, 2vw, 1.25rem);
  font-size: clamp(1.125rem, 1.75vw, 1.375rem);
}

/* Info Cards with Border */
.info-card-blue {
  border-left: 5px solid var(--brand-blue) !important;
}

.info-card-orange {
  border-left: 5px solid var(--accent) !important;
}

/* Icon Colors */
.icon-primary {
  color: var(--brand-blue) !important;
}

.icon-accent {
  color: var(--accent) !important;
}

/* List Styles */
.spaced-list {
  line-height: 2;
  font-size: clamp(0.9375rem, 1.25vw, 1.0625rem);
}

.spaced-list li {
  margin-bottom: clamp(0.375rem, 0.75vw, 0.5rem);
}

/* Additional Button Styles */
.btn-register {
  background: var(--accent) !important;
  color: #fff !important;
  border: none;
  padding: clamp(0.5rem, 1vw, 0.625rem) clamp(1.25rem, 2.5vw, 1.5rem);
  border-radius: 1.5rem;
  font-weight: 700;
  transition: all 0.3s ease;
  font-size: clamp(0.875rem, 1.1vw, 1rem);
}

.btn-register:hover {
  background: #e66428 !important;
  transform: translateY(-0.125rem);
  box-shadow: 0 0.25rem 0.75rem rgba(245, 134, 52, 0.3);
}

.register-cta {
  padding: clamp(0.625rem, 1.25vw, 0.75rem) clamp(1.75rem, 3.5vw, 2rem) !important;
  font-size: clamp(0.875rem, 1.1vw, 1rem) !important;
}

/* Footer Section */
.footer-section {
  background: var(--brand-blue);
  color: #fff;
  padding: clamp(2.5rem, 5vw, 3.75rem) 0 clamp(1rem, 2vw, 1.25rem);
  margin-top: clamp(3rem, 6vw, 5rem);
}

.footer-top {
  padding-bottom: 40px;
}

.footer-brand {
  margin-bottom: 20px;
}

.footer-logo {
  font-size: clamp(1.5rem, 2.5vw, 1.75rem);
  font-weight: 800;
  color: var(--accent);
  margin-bottom: clamp(0.5rem, 1vw, 0.75rem);
}

.footer-subtitle {
  font-size: clamp(0.75rem, 1.1vw, 0.875rem);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: clamp(0.125rem, 0.3vw, 0.25rem);
}

.footer-heading {
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: clamp(1rem, 2vw, 1.25rem);
  text-transform: uppercase;
  letter-spacing: 0.0625rem;
}

.footer-line {
  width: clamp(40px, 4vw, 50px);
  height: clamp(2px, 0.25vw, 3px);
  background: var(--accent);
  margin-bottom: clamp(1rem, 2vw, 1.25rem);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: all 0.2s ease;
  font-size: clamp(0.875rem, 1.1vw, 0.9375rem);
}

.footer-links a:hover {
  color: var(--accent);
  padding-left: 8px;
}

.footer-contact {
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.8;
}

.footer-contact p {
  margin-bottom: clamp(0.375rem, 0.75vw, 0.5rem);
  font-size: clamp(0.875rem, 1.1vw, 0.9375rem);
}

.social-icons {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-icon {
  width: clamp(35px, 3.5vw, 40px);
  height: clamp(35px, 3.5vw, 40px);
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: clamp(1rem, 1.3vw, 1.125rem);
}

.social-icon:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-3px) rotate(5deg);
}

/* Scroll to Top Button */
.btn-scroll-top {
  position: fixed;
  bottom: clamp(1.25rem, 2.5vw, 1.875rem);
  right: clamp(1.25rem, 2.5vw, 1.875rem);
  width: clamp(45px, 4.5vw, 50px);
  height: clamp(45px, 4.5vw, 50px);
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

.btn-scroll-top:hover {
  background: var(--brand-blue);
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.btn-scroll-top.show {
  display: flex;
}

/* Table Improvements */
.table {
  border-collapse: separate !important;
  border-spacing: 0;
  overflow: hidden;
  border-radius: 0.5rem;
  width: 100%;
  max-width: 100%;
  font-size: clamp(0.875rem, 1.1vw, 1rem);
}

.table thead {
  background-color: var(--brand-blue) !important;
  color: #fff !important;
}

.table thead th {
  border: none !important;
  font-weight: 600;
  padding: clamp(0.75rem, 1.5vw, 1rem) !important;
  font-size: clamp(0.875rem, 1.1vw, 1rem);
}

.table tbody td {
  padding: clamp(0.75rem, 1.5vw, 1rem) !important;
  font-size: clamp(0.875rem, 1.1vw, 1rem);
}

.table tbody tr:nth-child(odd) {
  background-color: #f9f8f4 !important;
}

.table tbody tr:nth-child(even) {
  background-color: #fff !important;
}

.table tbody tr:last-child {
  background-color: #e6f0f7 !important;
}

.table tbody tr:hover {
  background-color: rgba(0, 75, 135, 0.05) !important;
}

/* Card Enhancements */
.card {
  border: none !important;
  border-radius: 0.75rem !important;
}

.card-body {
  padding: clamp(1.25rem, 2.5vw, 2rem) !important;
}

/* Form Control Improvements */
.form-control:focus,
.form-select:focus {
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 0.2rem rgba(0, 75, 135, 0.15) !important;
}

/* Email and Address Anchor Hover Styles */
a[href^="mailto:"]:hover,
a[href*="maps.app.goo.gl"]:hover {
  color: var(--brand-blue) !important;
  transition: color 0.2s ease;
}

/* Footer-specific hover styles for email and address anchors */
.footer-section a[href^="mailto:"]:hover,
.footer-section a[href*="maps.app.goo.gl"]:hover {
  color: var(--accent) !important;
}

/* Committee Member Images */
.committee-avatar img {
  width: clamp(120px, 12vw, 150px);
  height: clamp(120px, 12vw, 150px);
  object-fit: cover;
  border-radius: 50%;
  border: clamp(3px, 0.3vw, 4px) solid var(--brand-blue);
  box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.15);
  display: block;
  margin: 0 auto;
  max-width: 100%;
}

/* Committee/Technical Committee Initials Avatar (for people without photos) */
.committee-avatar--initials {
  width: clamp(120px, 12vw, 150px);
  height: clamp(120px, 12vw, 150px);
  border-radius: 50%;
  border: clamp(3px, 0.3vw, 4px) solid var(--brand-blue);
  box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.15);
  display: grid;
  place-items: center;
  margin: 0 auto;
  background: linear-gradient(135deg, rgba(0, 75, 135, 0.12), rgba(245, 134, 52, 0.12));
}

.committee-avatar--initials span {
  font-family: "IBM Plex Sans", sans-serif;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--brand-blue);
  font-size: clamp(1.5rem, 2.5vw, 2.25rem);
}

/* ===================================
   MEDIA QUERIES - Desktop/Laptop Only
   =================================== */

/* Large Desktop (1920px+) */
@media (min-width: 1920px) {
  .container {
    max-width: 1800px;
    margin: 0 auto;
  }
  
  .hero-container {
    max-width: 1600px;
  }
  
  .header .logo {
    margin-left: 8rem;
  }
}

/* Standard Desktop (1440px - 1919px) */
@media (min-width: 1440px) and (max-width: 1919px) {
  .container {
    max-width: 1320px;
    margin: 0 auto;
  }
  
  .hero-container {
    max-width: 1400px;
  }
}

/* Small Desktop (1366px - 1439px) */
@media (min-width: 1366px) and (max-width: 1439px) {
  .container {
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .hero-container {
    max-width: 1280px;
    gap: 2.5rem;
  }
  
  .header .logo {
    margin-left: 6rem;
  }
}

/* Laptop (1280px - 1365px) */
@media (min-width: 1280px) and (max-width: 1365px) {
  .container {
    max-width: 1140px;
    margin: 0 auto;
  }
  
  .hero-container {
    max-width: 1200px;
    gap: 2rem;
  }
  
  .header .logo {
    margin-left: 5rem;
  }
  
  .hero-section {
    padding: 2rem 2.5rem;
  }
}

/* Small Laptop (1024px - 1279px) */
@media (min-width: 1024px) and (max-width: 1279px) {
  .container {
    max-width: 960px;
    margin: 0 auto;
  }
  
  .hero-container {
    max-width: 1000px;
    gap: 1.5rem;
  }
  
  .header .logo {
    margin-left: 3rem;
  }
  
  .header .nav-link {
    font-size: 0.875rem;
    padding: 0.5rem 0.75rem;
  }
  
  .hero-section {
    padding: 1.5rem 2rem;
    min-height: 70vh;
  }
  
  .hero-main-title {
    font-size: 1.75rem;
  }
  
  .hero-code {
    font-size: 2.5rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
}

/* End of simplified stylesheet */
