body 
{
    font-family: 'Plus Jakarta Sans', sans-serif; 
    background-color: #f8fafc; 
    color: #334155; 
}

::-webkit-scrollbar 
{ 
    width: 6px; 
}

::-webkit-scrollbar-track 
{ 
    background: #f1f5f9; 
}

::-webkit-scrollbar-thumb 
{ 
    background: #cbd5e1; 
}
::-webkit-scrollbar-thumb:hover 
{
     background: #94a3b8; 
}

.bg-hero {
    background-image: linear-gradient(to right, rgba(15, 23, 42, 0.75), rgba(15, 23, 42, 0.5)), url('../images/page-gp.jpeg');
    background-size: cover; background-position: center; background-attachment: fixed;
}
.bg-dots {
    background-image: radial-gradient(rgba(148, 163, 184, 0.25) 1.5px, transparent 1.5px);
    background-size: 24px 24px;
}
.bg-grid {
    background-image: linear-gradient(to right, rgba(148, 163, 184, 0.1) 1px, transparent 1px),
                        linear-gradient(to bottom, rgba(148, 163, 184, 0.1) 1px, transparent 1px);
    background-size: 40px 40px;
}

.gallery-wrapper 
{
    position: relative;
    width: 100%;
    height: 450px;
    display: flex; 
    justify-content: center; 
    align-items: center; 
    perspective: 1000px; 
    overflow: hidden; 
}

.gallery-item 
{ 
    position: absolute; 
    width: 60%; 
    max-width: 700px; 
    height: 85%; 
    transition: all 0.5s ease-in-out;
    border-radius: 0.75rem; 
    overflow: hidden; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.15); 
    background: #fff
}

.gallery-item img 
{ 
    width: 100%; 
    height: 100%;
    object-fit: cover; 
}

.gallery-item.active 
{ 
    z-index: 30; 
    transform: translateX(0) scale(1); 
    filter: blur(0); 
    opacity: 1; 
    border: 1px solid #e2e8f0;
}

.gallery-item.prev 
{ 
    z-index: 20;
    transform: translateX(-35%) scale(0.85); 
    filter: blur(3px) brightness(0.8); 
    opacity: 0.7; 
    cursor: pointer; 
}

.gallery-item.next 
{ 
    z-index: 20; 
    transform: translateX(35%) scale(0.85); 
    filter: blur(3px) brightness(0.8); 
    opacity: 0.7; 
    cursor: pointer; 
}

.gallery-item.hidden-left 
{ 
    z-index: 10; 
    transform: translateX(-60%) scale(0.7); 
    opacity: 0; 
    pointer-events: none; 
}

.gallery-item.hidden-right 
{ 
    z-index: 10; 
    transform: translateX(60%) scale(0.7); 
    opacity: 0; 
    pointer-events: none; 
}

@keyframes progress-linear {
    0% { width: 0%; }
    100% { width: 100%; }
}
.marquee-wrapper {
  overflow-x: hidden;
  user-select: none;
  -webkit-user-select: none;
  cursor: grab;
}

.marquee-wrapper:active {
  cursor: grabbing;
}

.marquee-content {
  display: flex;
  width: max-content;
}

table {
  border-collapse: collapse;
  width: 100%;
}

th,
td {
  border-bottom: 1px solid #e2e8f0;
  padding: 12px 16px;
  text-align: left;
}

th {
  background-color: #f1f5f9;
  font-weight: 600;
  color: #475569;
}

tr:hover {
  background-color: #f8fafc;
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.tree-container {
  width: 100%;
  overflow-x: auto;
  padding: 20px 0 40px 0;
  -webkit-overflow-scrolling: touch;
}

.tree {
  display: flex;
  justify-content: center;
  min-width: max-content;
  padding: 0 10px;
  margin: 0 auto;
}

.tree ul {
  padding-top: 20px;
  position: relative;
  transition: all 0.5s;
  display: flex;
  justify-content: center;
}

.tree li {
  float: left;
  text-align: center;
  list-style-type: none;
  position: relative;
  padding: 20px 4px 0 4px;
  transition: all 0.5s;
}

.tree li::before,
.tree li::after {
  content: '';
  position: absolute;
  top: 0;
  right: 50%;
  border-top: 2px solid #b91c1c;
  width: 50%;
  height: 20px;
}

.tree li::after {
  right: auto;
  left: 50%;
  border-left: 2px solid #b91c1c;
}

.tree li:only-child::after,
.tree li:only-child::before {
  display: none;
}

.tree li:only-child {
  padding-top: 0;
}

.tree li:first-child::before,
.tree li:last-child::after {
  border: 0 none;
}

.tree li:last-child::before {
  border-right: 2px solid #b91c1c;
  border-radius: 0 5px 0 0;
}

.tree li:first-child::after {
  border-radius: 5px 0 0 0;
}

.tree ul ul::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  border-left: 2px solid #b91c1c;
  width: 0;
  height: 20px;
  transform: translateX(-50%);
}

.tree .node {
  background: #fff;
  border: 2px solid #e2e8f0;
  border-radius: 0.5rem;
  padding: 0.75rem 0.5rem;
  display: inline-block;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  position: relative;
  z-index: 10;
  min-width: 130px;
  max-width: 160px;
  text-align: center;
}

.tree .node:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  border-color: #b91c1c;
}

.tree .node h3 {
  margin: 0;
  font-size: 11px;
  color: #0f172a;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 6px;
  border-bottom: 1px solid #f1f5f9;
  padding-bottom: 6px;
}

.tree .node p {
  margin: 0;
  font-size: 10px;
  color: #475569;
  font-weight: 600;
  line-height: 1.4;
  white-space: pre-wrap;
}

.tree .node p.text-left {
  text-align: left;
}

@media (max-width: 768px) {
  .gallery-wrapper {
    height: 320px;
  }

  .gallery-item {
    width: 80%;
    height: auto;
    aspect-ratio: 1/1;
  }

  .gallery-item.prev {
    transform: translateX(-45%) scale(0.85);
  }

  .gallery-item.next {
    transform: translateX(45%) scale(0.85);
  }

  .tree .node {
    min-width: 110px;
    padding: 0.5rem;
  }

  .tree .node h3 {
    font-size: 10px;
    margin-bottom: 4px;
    padding-bottom: 4px;
  }

  .tree .node p {
    font-size: 9px;
  }
}