@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/* =========================================================
   Global Variables
   ========================================================= */
:root {
  /* Colors */
  --primary-color: #fefeff;
  --secondary-color: #0055a5;
  --accent-color: #00aaff;
  --text-color: #222;
  --muted-text: #666;
  --background-color: #f7f9fc;
  --white: #fff;
  --topbar-bg: rgb(30, 38, 52);

  /* Typography */
  --font-family: 'Inter', sans-serif;
  --heading-size: 2rem;
  --subheading-size: 1.25rem;
  --text-size: 14px;
  --body-size: 1rem;
  --line-height: 1.6;

  /* Layout */
  --section-padding: 2.5rem;
  --card-gap: 1.5rem;

  /* Components */
  --topbar-height: 120px;
  --navbar-height: 60px;
  --footer-bg: var(--primary-color);
  --footer-text-color: #fff;

  /* Sliding Logo Bar */
  --sliding-gap: 40px;
  --sliding-speed: 25s;
}

/* =========================================================
   Global Reset & Utility
   ========================================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 180px;
}

body {
  font-family: var(--font-family);
  background: linear-gradient(135deg, #e5e7eb 0%, #f3f4f6 100%); /* professional grey tone */
  color: #222;
  line-height: var(--line-height);
}

section {
  padding: var(--section-padding);
}
.parallax{
  padding-top: 0 !important;
}
.container{
  padding-top: 0 !important;
}
h1,
h2,
h3,
h4 {
  color: var(--primary-color);
}

p {
  text-align: justify;
  font-size: var(--text-size);
  line-height: var(--line-height);
}

a {
  color: var(--accent-color);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Hide scrollbar for all browsers */
body,
.content-wrapper {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

body::-webkit-scrollbar,
.content-wrapper::-webkit-scrollbar {
  display: none;
}

/* =========================================================
   TopBar (Header)
   ========================================================= */
.topbar {
  display: flex;
  justify-content: center;
  align-items: stretch;
  height: var(--topbar-height);
  background: transparent;
  border-bottom: 3px solid var(--accent-color);
  overflow: hidden;
  position: relative;
  z-index: 1;
  box-shadow: none;
  /*width: 86%;*/
}

/* ---------- TopBar Left Section ---------- */
.topbar-left {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0 2rem;
  background: var(--topbar-bg);
  position: relative;
  /*margin-left: 18rem;*/
  /*width: 52%;*/
}

.topbar-left .topbar-logo {
  height: 75px;
  padding: 10px;
  width: auto;
  background: none;
}

.topbar-text h1 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.3rem;
}

.topbar-text b {
  font-size: 1rem;
  color: var(--white);
  font-weight: 500;
}

.topbar-text p {
  font-size: 0.8rem;
  color: var(--accent-color);
}

/* ---------- TopBar Right Section ---------- */
.topbar-right {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  background-color: #f0f2f5;
  padding: 0 2rem;
  min-width: 240px;
  clip-path: polygon(10% 0, 100% 0, 100% 100%, 0% 100%);
  box-shadow: inset 4px 0 6px rgba(0, 0, 0, 0.05);
}

.topbar-right .topbar-logo {
  height: 80px;
  width: auto;
  background: none;
}

.register-btn {
  display: inline-block;
  /* margin-left: 1.5rem; */
  padding: 0.7rem 0.5rem;
  background: linear-gradient(90deg, #00aaff 60%, #0055a5 100%);
  color: #fff;
   font-weight: 700; 
  /* font-size: 1rem; */
  border-radius: 30px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  text-decoration: none;
  text-align: center;
  border: none;
  cursor: pointer;
  position: relative;
  width: 200px;
  /* animation: blink-scale 1.2s infinite; */
  /* transition: transform 0.2s; */
}
.register-btn:hover{
  color: #000;
  text-decoration: none;
}

@keyframes blink-scale {
  0% { opacity: 1; transform: scale(1); }
  20% { opacity: 0.7; transform: scale(1.08); }
  40% { opacity: 1; transform: scale(1.12); }
  60% { opacity: 0.7; transform: scale(1.08); }
  80% { opacity: 1; transform: scale(1); }
  100% { opacity: 1; transform: scale(1); }
}

/* =========================================================
   Sliding Text Bar
   ========================================================= */
.sliding-text-bar {
  width: 100%;
  background: var(--white);
  color: var(--primary-color);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.5rem 0;
  overflow: hidden;
  position: relative;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.sliding-text-bar .sliding-text-content {
  display: inline-block;
  white-space: nowrap;
  animation: slide-text 18s linear infinite;
  padding-left: 100%;
}

@keyframes slide-text {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-100%);
  }
}

/* =========================================================
   NavBar
   ========================================================= */
.navbar {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #003366;
  height: var(--navbar-height);
  box-shadow: 0 2px 8px rgba(0, 85, 165, 0.08);
}

.navbar ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.navbar li a {
  color: var(--white);
  font-size: 0.95rem;
  text-transform: uppercase;
  font-weight: 500;
  transition: color 0.2s ease;
  cursor: pointer;
}

.navbar li a:hover {
  color: var(--accent-color);
}

/* =========================================================
   Head Wrapper (Sticky Header Stack)
   ========================================================= */
.head-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  z-index: 200;
  background: linear-gradient(90deg, #003366 60%, #00aaff 100%);
  box-shadow: 0 4px 24px rgba(0, 85, 165, 0.10);
}

/* =========================================================
   Content Wrapper (Scrollable Area)
   ========================================================= */
.content-wrapper {
  /* position: absolute;
  top: calc(var(--topbar-height) + 40px + var(--navbar-height));
  left: 0;
  width: 100vw;
  height: calc(100vh - (var(--topbar-height) + 40px + var(--navbar-height)));
  overflow-y: auto;
  background: linear-gradient(135deg, #e5e7eb 0%, #f3f4f6 100%); */
}

/* =========================================================
   Main Content
   ========================================================= */
.main-content {
  display: flex;
  flex-direction: column;
  gap: var(--card-gap);
  padding: var(--section-padding);
  background: transparent;
}

/* =========================================================
   Grid Layout
   ========================================================= */
.grid {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.grid-row {
  display: flex;
  align-items: center;
  min-height: 340px;
  border-radius: 16px;
  margin-bottom: 2rem;
  /* box-shadow: 0 4px 24px rgba(0, 85, 165, 0.10); */
  box-shadow: 1px 2px 10px rgb(166 255 166 / 72%);
  /* background: #000000b0 !important; */
  /* background: url('../reactjs/flyer-assets/expo-bg.webp') center/cover no-repeat !important; */
  overflow: visible;
  /* transition: box-shadow 0.3s, transform 0.3s;
  animation: tableHover 2.5s infinite alternate; */
  position: relative;
}
.grid-row::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
  border-radius: inherit;
  z-index: 0;
}

.grid-text, .grid-row > * {
  position: relative;
  z-index: 1;
}
.grid-bg-1 {
  background: url('../reactjs/flyer-assets/expo-bg-1.webp') center/cover no-repeat !important;
}

.grid-bg-2 {
  background: url('../reactjs/flyer-assets/expo-bg-2.webp') center/cover no-repeat !important;
}

.grid-bg-3 {
  background: url('../reactjs/flyer-assets/expo-bg-3.webp') center/cover no-repeat !important;
}

.grid-row:hover {
  /* box-shadow: 0 12px 32px 0 rgba(0, 85, 165, 0.18);
  transform: translateY(-6px) scale(1.02); */
}

.grid-columns {
  display: flex;
  width: 100%;
  align-items: flex-start;
}

.grid-text,
.grid-image {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem;
  background: none;
}

.grid-image {
  align-items: center;
  justify-content: center;
  background: none;
}

.grid-image img {
  max-width: 100%;
  width: 25rem;
  height: auto;
  object-fit: contain;
  border-radius: 0;
  border: none;
  background: none;
  transition: none;
  display: block;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

/* =========================================================
   Main Content Section Styles
   ========================================================= */
.main-content section {
  background: var(--white);
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.main-content section h2 {
  font-size: var(--heading-size);
  margin-bottom: 1rem;
  border-left: 6px solid var(--accent-color);
  padding-left: 0.75rem;
}

.main-content section p,
.main-content section li {
  font-size: var(--body-size);
  color: var(--text-color);
  margin-bottom: 0.75rem;
}

/* Grid text content styling */
.grid-text h2 {
  font-size: var(--heading-size);
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.grid-text h3 {
  font-size: var(--subheading-size);
  margin-top: 1rem;
  margin-bottom: 0.5rem;
  color: var(--primary-color);
}

.grid-text p {
  font-size: var(--body-size);
  color: var(--text-color);
  margin-bottom: 0.75rem;
  text-align: justify;
}

.grid-text ul {
  list-style-position: inside;
  margin-left: 1rem;
}

.grid-text li {
  font-size: var(--body-size);
  color: var(--text-color);
  margin-bottom: 0.5rem;
}

/* =========================================================
   Sliding Logo Bar
   ========================================================= */
.sliding-bar {
  background-color: #fff;
  border-top: 2px solid var(--accent-color);
  border-bottom: 2px solid var(--accent-color);
  overflow: hidden;
  padding: 1rem 0;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0, 85, 165, 0.10);
}

.sliding-container {
  display: flex;
  align-items: center;
  gap: var(--sliding-gap);
  animation: slideLeft var(--sliding-speed) linear infinite;
}

.sliding-logo {
  height: 60px;
  width: auto;
  flex-shrink: 0;
  background: none;
}

@keyframes slideLeft {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* =========================================================
   Footer
   ========================================================= */
.footer {
  background: linear-gradient(90deg, #003366 60%, #00aaff 100%);
  color: #fff;
  padding: 2.5rem 0 1.5rem 0;
  box-shadow: 0 -4px 24px rgba(0, 85, 165, 0.10);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  max-width: 1100px;
  margin: 0 auto;
  align-items: start;
}

.footer-info,
.footer-contact {
  padding: 0 1rem;
  font-size: 0.95rem;
}

.footer-info p {
  font-size: 1rem;
  font-weight: 300;
  margin-bottom: 0.5rem;
}

.footer-info small {
  font-size: 0.8rem;
  opacity: 0.9;
  font-weight: 300;
}

.footer-contact h3 {
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
  color: #00aaff;
}

.footer-contact p {
  margin-bottom: 0.5rem;
  color: var(--footer-text-color);
  font-size: 0.95rem;
  text-align: left;
}

.footer-contact .social {
  color: var(--footer-text-color);
  opacity: 0.5;
}

.footer-contact a {
  color: var(--accent-color);
  text-decoration: underline;
}

/* =========================================================
   Animated Text
   ========================================================= */
.animated-text {
  animation: fadeInUp 1.2s cubic-bezier(.42,0,.58,1);
}

@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(30px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* =========================================================
   NEOC and Awards Tables
   ========================================================= */
.neoc-table, .awards-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 1.5rem 0;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0, 85, 165, 0.10), 0 0px 0px rgba(0,0,0,0.07);
  overflow: hidden;
  /* transition: box-shadow 0.3s, transform 0.3s;
  animation: tableHover 2.5s infinite alternate; */
  position: relative;
}

.neoc-table:hover, .awards-table:hover {
  /* box-shadow: 0 12px 32px 0 rgba(0, 85, 165, 0.18), 0 0px 0px rgba(0,0,0,0.10);
  transform: translateY(-6px) scale(1.02); */
}

@keyframes tableHover {
  0% { box-shadow: 0 4px 24px rgba(0, 85, 165, 0.10), 0 0px 0px rgba(0,0,0,0.07); transform: translateY(0) scale(1); }
  100% { box-shadow: 0 12px 32px 0 rgba(0, 85, 165, 0.18), 0 0px 0px rgba(0,0,0,0.10); transform: translateY(-6px) scale(1.02); }
}

.neoc-table th, .awards-table th {
  background: linear-gradient(90deg, #003366 60%, #00aaff 100%);
  color: #fff;
  font-size: 1.08rem;
  font-weight: 700;
  padding: 1rem 0.75rem;
  text-align: left;
  letter-spacing: 0.5px;
  border-bottom: 2px solid #e9ecef;
}

.neoc-table td, .awards-table td {
  padding: 1rem 0.75rem;
  font-size: 1rem;
  color: #222;
  background: #f7f9fc;
  border-bottom: 1px solid #e9ecef;
  /* transition: background 0.2s; */
}

.neoc-table tr:last-child td, .awards-table tr:last-child td {
  border-bottom: none;
}

.awards-table ul {
  margin: 0;
  padding-left: 1.2rem;
}

.awards-table li {
  margin-bottom: 0.4rem;
  font-size: 1rem;
  /*color: #0055a5;*/
  font-weight: 500;
  position: relative;
  padding-left: 0.5rem;
}

.awards-table li::before {
  /*content: '\2022';*/
  /*color: #00aaff;*/
  /*font-size: 1.2rem;*/
  /*position: absolute;*/
  /*left: 0;*/
  /*top: 0;*/
}

/* =========================================================
   About, Theme, Program, Highlights, Participants Tables
   ========================================================= */
.about-table, .theme-table, .program-table, .highlights-table, .participants-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 1.5rem 0;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0, 85, 165, 0.10), 0 0px 0px rgba(0,0,0,0.07);
  overflow: hidden;
  /* transition: box-shadow 0.3s, transform 0.3s;
  animation: tableHover 2.5s infinite alternate; */
  position: relative;
}

.about-table:hover, .theme-table:hover, .program-table:hover, .highlights-table:hover, .participants-table:hover {
  /* box-shadow: 0 12px 32px 0 rgba(0, 85, 165, 0.18), 0 0px 0px rgba(0,0,0,0.10);
  transform: translateY(-6px) scale(1.02); */
}

.about-table th, .theme-table th, .program-table th, .highlights-table th, .participants-table th {
  background: linear-gradient(90deg, #003366 60%, #00aaff 100%);
  color: #fff;
  font-size: 1.08rem;
  font-weight: 700;
  padding: 1rem 0.75rem;
  text-align: left;
  letter-spacing: 0.5px;
  border-bottom: 2px solid #e9ecef;
}

.about-table td, .theme-table td, .program-table td, .highlights-table td, .participants-table td {
  padding: 1rem 0.75rem;
  font-size: 1rem;
  color: #222;
  background: #f7f9fc;
  border-bottom: 1px solid #e9ecef;
  /* transition: background 0.2s; */
}

.about-table tr:last-child td, .theme-table tr:last-child td, .program-table tr:last-child td, .highlights-table tr:last-child td, .participants-table tr:last-child td {
  border-bottom: none;
}

.highlights-table ul, .participants-table ul {
  margin: 0;
  padding-left: 1.2rem;
}

.highlights-table li, .participants-table li {
  margin-bottom: 0.4rem;
  font-size: 1rem;
  /*color: #0055a5;*/
  font-weight: 500;
  position: relative;
  padding-left: 0.5rem;
}

/* .highlights-table li::before, .participants-table li::before {
  content: '\2022';
  color: #00aaff;
  font-size: 1.2rem;
  position: absolute;
  left: 0;
  top: 0;
} */

/* =========================================================
   Card Section Tables
   ========================================================= */
.card-section-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 1rem 0;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0, 85, 165, 0.10);
  overflow: hidden;
  /* transition: box-shadow 0.3s, transform 0.3s;
  animation: tableHover 2.5s infinite alternate; */
  position: relative;
}

.card-section-table:hover {
  /* box-shadow: 0 12px 32px 0 rgba(0, 85, 165, 0.18);
  transform: translateY(-6px) scale(1.02); */
}

.card-section-table th {
  background: linear-gradient(90deg, #003366 60%, #00aaff 100%);
  color: #fff;
  font-size: 1.08rem;
  font-weight: 700;
  padding: 1rem 0.75rem;
  text-align: left;
  letter-spacing: 0.5px;
  border-bottom: 2px solid #e9ecef;
}

.card-section-table td {
  padding: 1rem 0.75rem;
  font-size: 1rem;
  color: #222;
  background: #f7f9fc;
  border-bottom: 1px solid #e9ecef;
  /* transition: background 0.2s; */
}

.card-section-table tr:last-child td {
  border-bottom: none;
}

/* =========================================================
   Responsive Adjustments
   ========================================================= */
@media (max-width: 1024px) {
  .grid-row {
    flex-direction: column;
    min-height: 0;
  }

  .grid-columns {
    flex-direction: column;
  }

  .grid-text,
  .grid-image {
    padding: 1.5rem;
  }

  .grid-image img {
    max-width: 100%;
    max-height: 180px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .navbar ul {
    flex-wrap: wrap;
    gap: 1rem;
  }

  .topbar-center h1 {
    font-size: 1.1rem;
  }

  .main-content section {
    padding: 1.5rem;
  }

  .grid-text,
  .grid-image {
    padding: 1rem;
  }

  .topbar-left {
    gap: 0.5rem;
    padding: 0 1rem;
  }

  .topbar-text h1 {
    font-size: 1rem;
  }

  .topbar-text b {
    font-size: 0.85rem;
  }

  .topbar-text p {
    font-size: 0.7rem;
  }

  .navbar ul {
    gap: 1rem;
    padding: 0 1rem;
  }

  .navbar li a {
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  :root {
    --topbar-height: 100px;
    --navbar-height: 50px;
  }

  .topbar-right {
    min-width: 150px;
    gap: 0.75rem;
    padding: 0 1rem;
  }

  .topbar-right .topbar-logo {
    height: 50px;
  }

  .topbar-left .topbar-logo {
    height: 50px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .footer-info,
  .footer-contact {
    padding: 0;
  }

  .main-content {
    padding: 1rem;
  }

  .grid {
    gap: 1.5rem;
  }

  .grid-row {
    min-height: auto;
  }

  .grid-text,
  .grid-image {
    padding: 0.75rem;
  }

  .grid-image img {
    width: 100%;
    max-width: 20rem;
  }
}