html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: 'Segoe UI', sans-serif;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  color: #333;
}

nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgb(255, 255, 255);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  z-index: 999;
  height: 90px;
  display: flex;
  justify-content: space-between; 
  align-items: center;
  padding: 0 20px; 
  transition: all 0.4s ease;
}

.navbar {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  list-style: none;
  gap: 100px; 
  transition: color 0.3s ease;
  margin: 0; 
  padding: 0; 
  margin-right: 50px;
}

.navbar li {
  width: auto; 
  height: 100%;
  margin: 0 5px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.navbar a {
  text-decoration: none;
  color: rgb(0, 0, 0);
  font-weight: bold;
  transition: color 0.3s ease;
}

.navbar img {
  height: 60px;
  width: auto;
}

.navbar li a:hover {
  color: #266eb6;
}

nav.scrolled .navbar a {
  color: #333;
}

nav.scrolled .navbar a:hover {
  color: #266eb6;
}

.nav-logo {
  height: 70px;
  width: auto;
  z-index: 1001;
  display: block;
}

@media (max-width: 768px) {
  nav {
    justify-content: center; 
    padding: 0;
  }
  .nav-logo {
    position: absolute; 
    left: 20px;
    top: 20px;
    height: 40px;
  }
  .navbar {
    display: none; 
  }
  .navbar img {
    display: none;
  }
  .nav-logo img{
    height: 10px;
  }
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
  position: absolute;
  right: 20px;
  top: 20px;
  width: 30px;
  height: 30px;
  justify-content: center;
  align-items: center;
}

.hamburger span {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 25px;
  height: 3px;
  background-color: #007bff;
  border-radius: 3px;
  transition: all 0.3s ease;
}

.hamburger span:nth-child(1) {
  top: 6px;
}

.hamburger span:nth-child(2) {
  top: 14px;
}

.hamburger span:nth-child(3) {
  top: 22px;
}

nav.scrolled .hamburger span {
  background-color: #333;
}

.hamburger.active span:nth-child(1) {
  top: 14px;
  transform: translateX(-50%) rotate(45deg);
}

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

.hamburger.active span:nth-child(3) {
  top: 14px;
  transform: translateX(-50%) rotate(-45deg);
}

.off-screen-menu {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(135deg, 
    rgba(255, 255, 255, 0.98) 0%, 
    rgba(250, 252, 255, 0.98) 100%);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 100%;
  max-width: 480px;
  z-index: 998;
  transform: translateX(100%);
  transition: transform 0.7s cubic-bezier(0.77, 0, 0.175, 1);
  overflow: hidden;
  padding: 100px 0 0 0;
  box-sizing: border-box;
}

.off-screen-menu::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(0, 123, 255, 0.03) 0%, transparent 70%);
  animation: pulseGlow 8s ease-in-out infinite;
  pointer-events: none;
}

@keyframes pulseGlow {
  0%, 100% { transform: scale(1) rotate(0deg); opacity: 0.3; }
  50% { transform: scale(1.2) rotate(180deg); opacity: 0.5; }
}

.off-screen-menu.active {
  transform: translateX(0);
  box-shadow: -30px 0 80px rgba(0, 0, 0, 0.5);
}

body.menu-open {
  overflow: hidden;
}

body.menu-open::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 997;
  opacity: 0;
  animation: fadeInOverlay 0.6s ease forwards;
}

@keyframes fadeInOverlay {
  to { opacity: 1; }
}

.menu-content {
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: stretch;
  width: 100%;
  max-width: 380px;
  margin-top: 15px;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
  flex: 1;
  justify-content: center;
  padding: 0 30px;
}

.menu-content a {
  font-size: 2rem;
  font-weight: 700;
  text-decoration: none;
  color: #1a1a1a;
  opacity: 0;
  font-family: 'Montserrat', sans-serif;
  transform: translateX(50px);
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  padding: 18px 30px;
  border-radius: 16px;
  position: relative;
  overflow: hidden;
  letter-spacing: -0.5px;
  text-align: left;
  background: rgba(0, 123, 255, 0.02);
  border: 1px solid rgba(0, 123, 255, 0.08);
}

.menu-content a::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(0, 123, 255, 0.15) 50%, 
    transparent 100%);
  transition: left 0.6s ease;
}

.menu-content a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, #007bff, #00d4ff, #0099ff);
  transition: width 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 0 20px rgba(0, 123, 255, 0.8);
}

.menu-content a:hover {
  color: #007bff;
  background: rgba(0, 123, 255, 0.08);
  transform: translateX(10px);
  border-color: rgba(0, 123, 255, 0.2);
  box-shadow: 0 8px 32px rgba(0, 123, 255, 0.15);
}

.menu-content a:hover::before {
  left: 100%;
}

.menu-content a:hover::after {
  width: 100%;
}

.menu-content a:nth-child(1) { 
  animation: slideInRight 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards 0.1s; 
}
.menu-content a:nth-child(2) { 
  animation: slideInRight 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards 0.2s; 
}
.menu-content a:nth-child(3) { 
  animation: slideInRight 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards 0.3s; 
}
.menu-content a:nth-child(4) { 
  animation: slideInRight 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards 0.4s; 
}

@keyframes slideInRight {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.menu-contact {
  position: relative;
  width: 100%;
  text-align: center;
  padding: 10px 30px 40px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  z-index: 1;
  background: linear-gradient(180deg, rgba(249, 250, 251, 0) 0%, rgba(249, 250, 251, 0.8) 100%);
}

.contact-prompt {
  font-size: 0.95rem;
  color: #555;
  margin: 0;
  margin-bottom: 10px;
  line-height: 1.5;
  font-weight: 400;
}

.contact-prompt a {
  color: #007bff;
  text-decoration: none;
  font-weight: 600;
  position: relative;
  transition: all 0.3s ease;
  border-bottom: 2px solid transparent;
}

.contact-prompt a:hover {
  color: #0056b3;
  border-bottom-color: #0056b3;
}

.contact-info-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 30px;
  max-width: 340px;
  margin-left: auto;
  margin-right: auto;
}

.contact-card {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 20px;
  background: rgba(0, 123, 255, 0.04);
  border: 1px solid rgba(0, 123, 255, 0.1);
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.contact-card:active {
  transform: scale(0.98);
  background: rgba(0, 123, 255, 0.08);
}

.contact-icon {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #25D366;
  font-size: 1.05rem;
}

.contact-number {
  color: #1a1a1a;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.3px;
}

.social-items {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.social-items a {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1a1a1a;
  font-size: 1.4rem;
  background: white;
  border: 1px solid rgba(0, 123, 255, 0.12);
  border-radius: 50%;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.social-items a::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, #007bff, #4a9fff);
  transform: translate(-50%, -50%);
  transition: all 0.5s ease;
}

.social-items a:hover {
  color: #fff;
  transform: translateY(-5px);
  border-color: rgba(0, 123, 255, 0.3);
  box-shadow: 0 8px 24px rgba(0, 123, 255, 0.25);
}

.social-items a:hover::before {
  width: 100%;
  height: 100%;
}

.social-items a i {
  position: relative;
  z-index: 1;
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
    margin-top: 10px;
  }
  
  .off-screen-menu {
    max-width: 100%;
  }
  
  .menu-content {
    max-width: calc(100% - 60px);
  }
  
  .menu-content a {
    font-size: 1.7rem;
    padding: 16px 25px;
  }
  
  .menu-contact {
    max-width: calc(100% - 40px);
  }
}

@media (max-width: 480px) {
  .menu-content a {
    font-size: 1.5rem;
    padding: 14px 20px;
  }
}

/* Header Section */
.page-header {
  background-color: #fff;
  border-bottom: 1px solid #e5e7eb;
  padding: 48px 24px;
}

.header-content {
  max-width: 1280px;
  margin: 0 auto;
  margin-top: 80px;
}

.page-header h1 {
  font-size: 2.5rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: #111827;
  margin-bottom: 12px;
}

.page-header p {
  font-size: 1.125rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  color: #6b7280;
  max-width: 768px;
}

/* Filters */
.filters-section {
  background-color: #fff;
  border-bottom: 1px solid #e5e7eb;
  padding: 32px 24px;
}

.filters-container {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}

.filters-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.filter-select {
  padding: 10px 16px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 0.875rem;
  color: #374151;
  background-color: #fff;
  cursor: pointer;
  transition: all 0.2s;
  outline: none;
  min-width: 160px;
  height: 40px;
}

.filter-select:hover {
  border-color: #9ca3af;
}

.filter-select:focus {
  border-color: #6b7280;
}

.clear-btn {
  padding: 10px 16px;
  background-color: #f3f4f6;
  color: #374151;
  border: none;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  display: none;
  align-items: center;
  gap: 8px;
}

.clear-btn.active {
  display: none;
}

.clear-btn:hover {
  background-color: #e5e7eb;
}

.results-count {
  font-size: 0.875rem;
  color: #6b7280;
  font-weight: 500;
}

/* Activities Section */
.activities-section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 48px 24px;
}

.activities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.activity-card {
  background-color: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s;
  opacity: 0;
  animation: fadeIn 0.5s forwards;
}

@keyframes fadeIn {
  to {
      opacity: 1;
  }
}

.activity-card:hover {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.activity-image {
  width: 100%;
  height: 192px;
  object-fit: fill;
  background-color: #f3f4f6;
  transition: transform 0.5s;
}

.activity-card:hover .activity-image {
  transform: scale(1.05);
}

.activity-content {
  padding: 20px;
}

.activity-meta {
  display: flex;
  flex-wrap: wrap;
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  gap: 70px;
  font-size: 0.75rem;
  color: #6b7280;
  margin-bottom: 12px;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.meta-item i {
  font-size: 0.875rem;
}

.activity-title {
  font-size: 1rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  color: #111827;
  margin-bottom: 12px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.activity-tag {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #fff;
}

.tag-seminar { background-color: #2563eb; }
.tag-program { background-color: #dc2626; }
.tag-partnership { background-color: #4f46e5; }
.tag-training { background-color: #3b82f6; }
.tag-expo { background-color: #ea580c; }

.separator {
  display: flex;
  align-items: center;
  gap: 24px;
  margin: 64px 0;
  grid-column: 1 / -1;
}

.separator-line {
  flex: 1;
  height: 1px;
  background-color: #e5e7eb;
}

.separator-text {
  color: #9ca3af;
  font-weight: 500;
  text-transform: uppercase;
  font-size: 0.875rem;
  letter-spacing: 1px;
}

.no-results {
  text-align: center;
  padding: 80px 20px;
  color: #9ca3af;
  font-size: 1.125rem;
}

@media (max-width: 768px) {
  .page-header h1 {
    font-size: 2rem;
  }

  .page-header p {
    font-size: 1rem;
  }

  .filters-container {
    flex-direction: column;
    align-items: stretch;
  }

  .results-count {
    text-align: center;
  }

  .activities-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .activities-grid {
    grid-template-columns: 1fr;
  }

  .page-header {
    padding: 32px 20px;
  }

  .filters-section {
    padding: 24px 20px;
  }

  .activities-section {
    padding: 32px 20px;
  }
}

/* Partners Section */
.partners {
  background-color: #FAFAFA;
  padding: 10px 0;
  text-align: center;
}

.partners .container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 2rem;
}

.partners h2 {
  margin-bottom: 12px;
  color: #333;
  font-family: 'Montserrat', sans-serif;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.3px;
}

.partners h2::after {
  content: "";
  display: block;
  margin: 10px auto 0;
  width: 45px;
  height: 3px;
  background-color: #266EB6;
  border-radius: 2px;
}

.partner-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 150px;
  margin-top: 30px;
  padding: 0;
  margin-bottom: 30px;
}

.partner-logos a {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.partner-logos a:hover {
  opacity: 0.75;
}

.partner-logos img {
  height: 42px;
  width: auto;
  object-fit: contain;
  max-width: 150px;
  filter: grayscale(0%);
}

@media (max-width: 768px) {
  .partners {
    padding: 35px 0;
  }
  
  .partners h2 {
    font-size: 19px;
  }
  
  .partner-logos {
    gap: 36px;
    margin-top: 26px;
  }
  
  .partner-logos img {
    height: 38px;
    max-width: 130px;
  }
}

@media (max-width: 480px) {
  .partners {
    padding: 30px 0;
  }
  
  .partners .container {
    padding: 0 1.5rem;
  }
  
  .partners h2 {
    font-size: 18px;
  }
  
  .partner-logos {
    gap: 30px;
    margin-top: 24px;
  }
  
  .partner-logos img {
    height: 34px;
    max-width: 110px;
  }
}

/* Footer Section */
footer {
  background-color: #266EB6;
  color: white;
  background-image: url('footervector.png'); 
  background-image: url('assets/footervector.png'); 
  background-repeat: no-repeat;
  background-position: right top;
  background-size: fill;
  font-family: 'Segoe UI', sans-serif;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 30px;
}

.footer-right {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding-left: 40px;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 25px;
}

.footer-logo img {
  height: 80px;
  margin-bottom: 5px;
}

.footer-logo p {
  margin-top: 10px;
  font-size: 0.95rem;
  color: white;
}

.vertical-line {
  width: 1px;
  height: 140px;
  background-color: white;
}

.social-media {
  display: flex;
  gap: 15px;
  font-size: 2rem;
}

.social-media a {
  color: white;
  transition: color 0.3s ease;
}

.social-media a:hover {
  color: #4a9fff;
}

.footer-right {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.contact-info {
  display: flex;
  gap: 50px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.contact-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  max-width: 250px;
}

.contact-item i {
  margin-top: 5px;
  font-size: 1rem;
}

.contact-item p {
  margin: 0;
  font-size: 0.95rem;
  font-style: normal;
  line-height: 1.5;
}

.copyright {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding: 10px;
  font-size: 0.85rem;
}

@media (max-width: 1110px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    padding: 30px 20px;
    text-align: center;
  }

  .footer-left {
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
  }

  .footer-logo img {
    height: 70px;
  }

  .vertical-line {
    display: none;
  }

  .social-media {
    font-size: 1.5rem;
    justify-content: center;
    gap: 20px;
  }

  .footer-right {
    padding-left: 0;
    width: 100%;
  }

  .contact-info {
    flex-direction: row;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    text-align: left;
  }

  .contact-item {
    max-width: 220px;
    align-items: flex-start;
    justify-content: flex-start;
    text-align: left;
  }

  .contact-item i {
    font-size: 1rem;
    margin-top: 5px;
  }
}

@media (max-width: 576px) {
  .footer-logo img {
    height: 60px;
  }

  .social-media {
    font-size: 1.3rem;
  }

  .copyright {
    font-size: 0.75rem;
    padding: 15px;
  }

  .contact-info {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap; 
    overflow-x: auto;
    gap: 25px;
  }

  .contact-item {
    min-width: 200px;
    flex-shrink: 0;
  }

  .contact-info-scroll {
    overflow-x: scroll; 
    -webkit-overflow-scrolling: auto; 
    scrollbar-width: thin; 
    scrollbar-color: #aaa #eee; 
  }

  .contact-info {
    display: flex;
    flex-wrap: nowrap;
    gap: 25px;
    min-width: max-content;
  }

  .contact-item {
    min-width: 200px;
    flex-shrink: 0;
  }

  .contact-info-scroll::-webkit-scrollbar {
    height: 6px;
  }

  .contact-info-scroll::-webkit-scrollbar-thumb {
    background-color: #aaa;
    border-radius: 3px;
  }

  .contact-info-scroll::-webkit-scrollbar-track {
    background-color: #eee;
  }
}


@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.event-card {
  animation: fadeSlideUp 0.5s ease forwards;
  opacity: 0;
}