:root {
    --bg-dark: #0e1116;
    --panel-dark: #ffffff0f;
    --accent-soft: rgba(244, 248, 246, 0.15);
    --text-main: #e6e6e6;
    --text-muted: #a0a6ad;
    --text-green: rgb(55, 180, 55);
    --text-yellow: rgb(200, 188, 6);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    background-image: url("assets/images/bg1.png");
}

.top-title {
    position: absolute; 
    top: 20vw; 
    left: 20vw;
    text-align: center;
    font-family: "Science Gothic", sans-serif;
    font-weight:400;
    font-size: 5vw; 
    color: var(--text-main);  
}

.top-subtitle {
    position: absolute; 
    top: 27vw; 
    left: 22vw;
    text-align: center;
    font-family: "Science Gothic", sans-serif;
    font-weight:400;
    font-size: 4vw; 
    font-style: italic;
    color: var(--text-yellow);  
}

.section-2 {
    max-width: 1400px;
    margin: 4px auto;
    padding: 0;
    font-family: "Inter", sans-serif;
    color: var(--text-main);
}

.section-title {
    margin-bottom: 0;
    font-family: "Science Gothic", sans-serif;
    font-weight: 400;
    font-size: 60px;
    font-style:italic;
    text-align: center;
    color: var(--text-green);
}

.section-subtitle {
    margin-block-start: 0px;
    font-family: "Science Gothic", sans-serif;
    font-weight: 300;
    font-size: 30px;
    text-align: center;
    color: var(--text-muted);
}

.sidescroll-container {
  display: flex;
  gap: 20px;
  align-items: center;
  overflow-x: auto; /* Enables horizontal scrolling */
  scroll-snap-type: x mandatory; /* Snaps to items */
  -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */
}

.sidescroll-container::-webkit-scrollbar {
 display: none;  /* Hide scrollbar for cleaner look */
}

.sidescroll-item {
  flex-shrink: 0;   /* don't fit to container */
  width: 375px;
  box-shadow: 0 0 0 transparent;
  scroll-snap-align: center; /* Aligns snapped item to center */
}

.sidescroll-item img {
    width: 100%;
    height: auto;
    border-radius: 12px;
  /* display: block; */
}

.team-container {
    display: flex;
    flex-wrap: wrap;
    width:100%;
    justify-content: center;
    gap: 20px;
}

.team-member {
    flex-shrink: 0;
    width: 350px;
    padding: 24px;
    background: var(--panel-dark);
    backdrop-filter: blur(2px);
    border-radius: 14px;
    box-shadow: 0 0 0 transparent;
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
}

.team-member img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 16px;
    border: 0px solid rgba(255, 255, 255, 0.12);
}

.team-member h2 {
    font-size: 1.2rem;
    letter-spacing: 0.5px;
    text-align: center;
    margin: 10px 0;
}

.team-member p {
    font-size: 0.95rem;
    line-height: 1.6;
    text-align: center;
    text-justify: inter-word;
    color: var(--text-muted);
}

.team-member:hover {
    transform: translateY(-8px);
    box-shadow: 0 0 30px var(--accent-soft);
    backdrop-filter: blur(8px);
}

