html,
body {
  max-width: 100%;
  font-family: 'Inter','sans-serif';
}

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

/*Container*/
.sdc-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 64px;
  width: 100%;
}

@media screen and (max-width: 768px) {
  .sdc-container {
    padding: 0 32px;
  }
}

@media screen and (max-width: 640px) {
  .sdc-container {
    padding: 0 16px;
    overflow-x: hidden;

  }
}

.group:hover .group-hover\:scale-105 {
  transform: scale(1.05);
}

#navbar {
  position: sticky;
  top: 0;
  background-color: #333;
  z-index: 1000;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
  transition: box-shadow 0.3s ease;
}

/* #noticeBar {
  display: none;
} */

/* Show only on homepage */
.home-page #noticeBar {
  display: block;
}

.notice-marquee {
  display: inline-flex;
  width: max-content;
  will-change: transform;
  animation: marquee 25s linear infinite;
}

/*Red notice bar*/
#noticeBar:hover .notice-marquee {
  animation-play-state: paused;
}

@keyframes marquee {
  0% {
    transform: translateX(0%);
  }

  100% {
    transform: translateX(-50%);
  }
}

@media (max-width: 1024px) {
  .notice-marquee {
    height: 30px;
  }
}


/*Home page Gallery infinite loop*/
.gallery-track {
  animation: gallery-scroll 30s linear infinite;
}

@keyframes gallery-scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.gallery-track:hover {
  animation-play-state: paused;
}

/*Ham burger menu*/
.hamburger-line {
  width: 28px;
  height: 3px;
  background-color: currentColor;
  transition: all 0.3s ease;
  border-radius: 4px;
}

.hamburger-open .hamburger-line:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.hamburger-open .hamburger-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger-open .hamburger-line:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* Mobile Menu Dropdown */
.mobile-dropdown {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.mobile-dropdown.open {
  max-height: 90vh;
}

.lock-scroll {
  overflow: hidden !important;
  height: 100vh;
  /* Optional: prevents layout shift if a scrollbar disappears */
  touch-action: none;
}

/* Ensure the mobile menu itself can still scroll if the items are long */
#mobile-menu {
  max-height: 0;
  overflow-y: auto;
  transition: max-height 0.4s ease;
}

#mobile-menu.open {
  max-height: calc(100vh - 80px);
  /* Adjust 80px to your header height */
}

/* Menu Item Fade-in Animation */
.menu-item {
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.4s ease;
}

.mobile-dropdown.open .menu-item {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered animation delays */
.mobile-dropdown.open .menu-item:nth-child(1) {
  transition-delay: 0.05s;
}

.mobile-dropdown.open .menu-item:nth-child(2) {
  transition-delay: 0.1s;
}

.mobile-dropdown.open .menu-item:nth-child(3) {
  transition-delay: 0.15s;
}

.mobile-dropdown.open .menu-item:nth-child(4) {
  transition-delay: 0.2s;
}

.mobile-dropdown.open .menu-item:nth-child(5) {
  transition-delay: 0.25s;
}

.mobile-dropdown.open .menu-item:nth-child(6) {
  transition-delay: 0.3s;
}

.mobile-dropdown.open .menu-item:nth-child(7) {
  transition-delay: 0.35s;
}

.mobile-dropdown.open .menu-item:nth-child(8) {
  transition-delay: 0.4s;
}

.mobile-dropdown.open .menu-item:nth-child(9) {
  transition-delay: 0.45s;
}

.mobile-dropdown.open .menu-item:nth-child(10) {
  transition-delay: 0.5s;
}

.mobile-dropdown.open .menu-item:nth-child(11) {
  transition-delay: 0.55s;
}

.mobile-dropdown.open .menu-item:nth-child(12) {
  transition-delay: 0.6s;
}

/* Submenu Animation - Mobile */
.submenu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.submenu.open {
  max-height: 500px;
}

.submenu-toggle.open i {
  transform: rotate(90deg);
}

/* Desktop Dropdown Styles */
.desktop-dropdown {
  position: relative;
}

.desktop-dropdown-menu {
  position: absolute;
  left: 0;
  top: 100%;
  padding-top: 0.5rem;
  width: 15rem;
  z-index: 50;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.sub-dropdown-menu {
  position: absolute;
  top: 0;
    left: calc(100% + 4px); 
  margin-top: 6px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(10px);
  transition: all 0.25s ease;
  z-index: 70;
  pointer-events: none;
}

/* Show level-3 */
.sub-dropdown:hover>.sub-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
  pointer-events: auto;
}

.sub-dropdown:hover i {
  transform: rotate(180deg);
  transition: transform 0.25s ease;
}

.sub-dropdown::after {
  content: "";
  position: absolute;
  top: 0;
  right: -10px;
  width: 10px;
  height: 100%;
}

.desktop-dropdown:hover .desktop-dropdown-menu,
.desktop-dropdown:focus-within .desktop-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.desktop-dropdown:hover .dropdown-chevron,
.desktop-dropdown:focus-within .dropdown-chevron {
  transform: rotate(180deg);
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
  }

  to {
    transform: translateY(0);
  }
}


/*Leadership*/
.leadership-area p {
  margin-bottom: 1rem;
  line-height: 1.5;
  color: #374151;
  font-size: 16px;
}

.leadership-area h2 {
  font-weight: 700;
  color: #0F172A;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.leadership-area h3 {
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.75rem;
  font-style: italic;
  font-size: 16px;
}



.leadership-area ul {
  margin: 0 0 1rem 0;
  padding-left: 1.5rem;
  list-style: disc;
  font-size: 14px;
}

.leadership-area ul li {
  margin-bottom: 0.5rem;
  color: #022D4899;
}

.leadership-area ul li::marker {
  color: #4DA4DB;
  font-size: 1.1em;
}



/*Blog*/
.blog-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.featured-slider {
  position: relative;
  overflow: hidden;
}

.slider-container {
  display: flex;
  transition: transform 0.5s ease;
}

.slider-item {
  min-width: 100%;
}

.slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: all 0.3s ease;
}

.slider-nav:hover {
  background: white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.slider-nav.prev {
  left: 20px;
}

.slider-nav.next {
  right: 20px;
}

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

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

.slider-dot.active {
  background: white;
  width: 30px;
  border-radius: 5px;
}

.category-badge {
  display: inline-block;
  padding: 4px 12px;
  background: #0066cc;
  color: white;
  font-size: 12px;
  font-weight: 600;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.sidebar-widget {
  background: white;
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  margin-bottom: 24px;
}

.notice-content a {
    color: #0B4F7B ;
    text-decoration: none ;
    transition: all 0.2s ease;
}

.notice-content a:hover {
    text-decoration: underline;
}

.blink {
    animation: blink-animation 1s infinite;
    color: red;
    margin-top: 16px;
}

@keyframes blink-animation {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}