body {
  font-family: 'Poppins', sans-serif;
  background-color: #f8f9fa;
}

.topbar {
  z-index: 1040;
  padding: 8px 0;
  background-color: #ffffff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.logo-group {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
  justify-content: center;
  text-align: center;
}

.top-logo {
  height: 48px;
  width: auto;
  max-width: 100px;
  object-fit: contain;
  transition: transform 0.3s ease;
  margin-right: 20px;
}

.top-logo:hover {
  transform: scale(1.05);
}

.nav-link {
  color: #fff;
}

.hero-section {
  background: url('../img/1.jpg') no-repeat center center/cover;
  min-height: 350px;
  padding-top: 100px;
  position: relative;
}

.hero-section h1 {
  font-weight: 600;
  font-size: 40px;
  padding-top: 30px;
}

.hero-section .lead {
  font-weight: 500;
  font-size: 1.1rem;
}

.hero-section .date-box {
  position: absolute;
  top: 150px;
  right: 10px;
  max-width: 500px;
  text-align: left;
  background-color: #2871bb;
}

/* Default for desktop */
.navbar.sticky-top {
  top: 60px;
  z-index: 1030;
  background-color: #004f9f;
}

/* Extra Small (≤375px) — Small phones */
@media (max-width: 375px) {
  .navbar.sticky-top {
    top: 140px;
  }
}

/* Small Mobile (376px – 480px) */
@media (min-width: 376px) and (max-width: 480px) {
  .navbar.sticky-top {
    top: 133px;
  }
}

/* Medium Mobile (481px – 576px) */
@media (min-width: 481px) and (max-width: 576px) {
  .navbar.sticky-top {
    top: 120px;
  }
}

/* Tablets Portrait (577px – 767px) */
@media (min-width: 577px) and (max-width: 767px) {
  .navbar.sticky-top {
    top: 115px;
  }
}

/* Tablets Landscape (768px – 991px) */
@media (min-width: 768px) and (max-width: 991px) {
  .navbar.sticky-top {
    top: 102px;
  }
}

/* Small Desktops (992px – 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
  .navbar.sticky-top {
    top: 90px;
  }
}

/* Medium Desktops (1200px – 1279px) */
@media (min-width: 1200px) and (max-width: 1279px) {
  .navbar.sticky-top {
    top: 85px;
  }
}

/* Normal HD (1280px – 1439px) */
@media (min-width: 1280px) and (max-width: 1439px) {
  .navbar.sticky-top {
    top: 75px;
  }
}

/* Large Desktops (1440px – 1599px) */
@media (min-width: 1440px) and (max-width: 1599px) {
  .navbar.sticky-top {
    top: 70px;
  }
}

/* XL Screens (1600px – 1799px) */
@media (min-width: 1600px) and (max-width: 1799px) {
  .navbar.sticky-top {
    top: 60px;
  }
}

/* Full HD (1800px – 1920px) */
@media (min-width: 1800px) and (max-width: 1920px) {
  .navbar.sticky-top {
    top: 60px;
  }
}

/* 2K and Ultra-Wide Screens (1921px – 2559px) */
@media (min-width: 1921px) and (max-width: 2559px) {
  .navbar.sticky-top {
    top: 60px;
  }
}

/* 4K Screens (≥2560px) */
@media (min-width: 2560px) {
  .navbar.sticky-top {
    top: 55px;
  }
}

/* ----------- RESPONSIVE RULES ------------ */

/* Medium devices (≤ 992px) */
@media (max-width: 992px) {
  .topbar .container {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
  }

  .logo-group {
    justify-content: center;
    gap: 1rem;
  }

  .topbar .btn {
    font-size: 0.75rem;
    padding: 5px 10px;
  }

  .navbar .navbar-nav {
    gap: 0;
    text-align: center;
  }

  .navbar-collapse {
    justify-content: center !important;
  }
}

@media (min-width: 1400px) {
  .container,
  .container-fluid {
    max-width: 1440px;
  }

  .hero-section h1 {
    font-size: 48px;
    line-height: 1.3;
  }

  .hero-section .lead {
    font-size: 1.25rem;
  }

  .top-logo {
    height: 60px;
    max-width: 120px;
  }

  .topbar .btn {
    font-size: 1rem;
    padding: 8px 16px;
  }

  .navbar-nav .nav-link {
    font-size: 1.05rem;
    padding-left: 12px;
    padding-right: 12px;
  }
}


/* Tablets (≤ 768px) */
@media (max-width: 768px) {
  .hero-section h1 {
    font-size: 28px;
    line-height: 1.3;
  }

  .hero-section .lead {
    font-size: 1rem;
  }

  .top-logo {
    height: 36px;
    margin-right: 10px;
  }

  .topbar .btn {
    font-size: 0.75rem;
    padding: 4px 10px;
  }
}

/* Mobile phones (≤ 576px) */
@media (max-width: 576px) {
  .topbar {
    padding: 6px 0;
  }

  .top-logo {
    height: 30px;
    max-width: 80px;
    margin-right: 8px;
  }

  .hero-section {
    padding-top: 150px;
    min-height: 300px;
  }

  .hero-section h1 {
    font-size: 20px;
    padding-top: 20px;
  }

  .hero-section .lead {
    font-size: 0.9rem;
  }

  .topbar .btn {
    font-size: 0.7rem;
    padding: 5px 8px;
    margin: 2px 0;
  }

  .logo-group {
    gap: 0.5rem;
  }
}

/*  */

.btn-outline-primary{
  color: #004f9f;
}

.rounded-pill{
  color: #004f9f;
}

#about-sojom {
  background-color: #f8f9fa; /* subtle gray background for separation */
  padding: 20px 0;
}

#about-sojom .card h2{
  color: #004f9f;
}

#about-sojom .card i{
  color: #004f9f;
}

#about-sojom .card {
  border: none;
  border-radius: 20px;
  background-color: #ffffff;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

 
#about-sojom .card .d-flex {
  border-bottom: 2px solid #dee2e6;
  padding-bottom: 1rem;
  margin-bottom: 1.5rem;
}

#about-sojom h2 {
  font-size: 2.2rem;
  font-weight: 700;
  color: #004f9f;
  margin-bottom: 0.25rem;
}

#about-sojom small {
  font-size: 1rem;
  color: #6c757d;
}

#about-sojom .card-body p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #444;
  margin-bottom: 1.2rem;
}

#about-sojom .card-body p:last-child {
  margin-bottom: 0;
}

#about-sojom .bi {
  color: #004f9f;
  font-size: 2.5rem;
}




.section-title {
  font-weight: 700;
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  color: #0a2e50;
}

.emoji {
  font-size: 1.3rem;
  margin-right: 6px;
}

.track-button {
  background-color: #024d87;
  color: #fff;
  border: none;
  padding: 12px 20px;
  border-radius: 12px;
  text-align: left;
  margin-bottom: 16px;
  width: 100%;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.05);
}

.track-button:hover {
  background-color: #004f9f;
  transform: scale(1.02);
}

.track-content {
  background-color: #e9f5fb;
  border-left: 4px solid #004f9f;
  padding: 10px 15px;
  margin-top: -12px;
  margin-bottom: 16px;
  border-radius: 0 0 10px 10px;
  font-size: 0.95rem;
  display: none;
}

.note-text {
  font-weight: 600;
  color: #d84315;
  margin-top: 10px;
}

.call-submission {
  padding: 60px 15px;
  background-color: #fff;
  border-radius: 15px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
}

.btn-large {
  padding: 14px 22px;
  font-size: 1rem;
  border-radius: 10px;
  width: 100%;
  font-weight: 500;
  transition: all 0.3s ease;
  border: none;
}

.btn-large:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.btn-info {
  background-color: #004f9f;
}

.btn-info:hover {
  background-color: #0077b6;
}


.btn-new {
  background-color: #004f9f;
}

.btn-new:hover {
  background-color: #0077b6;
}


@media (min-width: 768px) {
  .call-submission {
    padding: 70px 60px;
  }
}

.topics-section .container{
  color: #000;
}

.topic-box {
  background-color: rgba(255, 255, 255, 0.05);
  border-left: 4px solid #004f9f;
  padding: 12px 20px;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 500;
  transition: 0.3s ease;
}

.topic-box:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateX(5px);
}


/*  */


#call-for-papers .list-group-item {
  border: none;
  padding-left: 0;
  background-color: transparent;
}

#call-for-papers i {
  color: #004f9f;
}

#call-for-papers h2 {
  color: #004f9f;
}

#call-for-papers h5 {
  color: #004f9f;
}

#call-for-papers ul i {
  color: #004f9f;
}


/*  */

.symposium-themes {
  background-attachment: fixed;
  background-blend-mode: overlay;
  background-color: rgba(0, 0, 0, 0.6);
}

.symposium-themes h2,
.symposium-themes p,
.symposium-themes li {
  color: #fff;
}



/*  */
.accordion-button::after {
  filter: brightness(0) invert(1); /* white icon */
  margin-left: auto !important;
}
.accordion-button:not(.collapsed)::after {
  filter: brightness(0) invert(1);
}



/*  */

.footer-section {
  background-color: #fff;
  border-top: 4px solid #004f9f;
}

.footer-section p {
  color: #434242;
}

.footer-section h5 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #004f9f;
}

.subfooter {
  color: #434242;
}

.footer-link {
  color: #434242;
  text-decoration: none;
  display: block;
  margin-bottom: 8px;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: #004f9f;
}

/* Footer logos */
.footer-logo-img {
  height: 100px;
  max-width: 120px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.footer-logo-img:hover {
  transform: scale(1.05);
}



/* welding page */

.welding-header {
  background-image: url('../img/1.jpg'); /* Replace with your actual image path */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

.welding-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6); /* dark overlay for better text contrast */
  z-index: 1;
}

.welding-header .container {
  position: relative;
  z-index: 2;
}



/*  */

.timeline h2{
  color: #004f9f;
}

.timeline {
  position: relative;
  padding-left: 30px;
  border-left: 2px solid #004f9f;
}

.timeline-item {
  position: relative;
  margin-bottom: 30px;
  padding-left: 40px;
}

.timeline-icon {
  position: absolute;
  left: -20px;
  top: 0;
  width: 40px;
  height: 40px;
  background-color: #004f9f;
  color: #fff;
  border-radius: 50%;
  text-align: center;
  line-height: 40px;
  font-size: 18px;
  box-shadow: 0 0 0 5px #eaf3fb;
}

.timeline-content h5 {
  margin-bottom: 0;
  font-size: 1.1rem;
  font-weight: 500;
  color: #333;
}

.btn-outline-primary:hover {
  background-color: #004f9f;
  color: #fff;
  border-color: #004f9f;
}
 .required:after {
    content:" *";
    color: red;
  }