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

@font-face {
    font-family: 'Monsterrat';
    src: url(/Assets/Montserrat-VariableFont_wght.ttf) format('truetype');
}

:root {
    --primary: #132655;
    --secondary: #DBE4F3;
    --accent: #3c53d4;

    --background: #132655;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--background);
    font-family: 'Monsterrat';
    color: var(--secondary);
    font-weight: 500;
}

.reveal {
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 0.8s ease, transform 0.8s ease;
    will-change: opacity, transform;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* Standard Elements */

.cta {
    background-color: var(--secondary);
    color: var(--primary) !important;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}
.cta:hover, .cta.active {
    box-shadow: 0px 0px 10px var(--secondary);
}
.cta::after {
    display: none;
}

.btn {
    background-color: var(--primary);
    color: var(--secondary);
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-transform: uppercase;
    font-weight: 700;
    text-decoration: none;
    font-size: 1.2rem;
    align-items: center;
    display: inline-flex;
    gap: 10px;
    border: 4px solid var(--primary);
    transition: all 0.3s ease;
}
.btn:hover {
    background-color: var(--secondary);
    color: var(--primary);
    border: 4px solid var(--primary);
}

.btn-secondary {
    background-color: rgba(0, 0, 0, 0.137);
    color: var(--secondary);
    border: 4px solid var(--secondary);
    padding: 15px 30px;
    border-radius: 5px;
    cursor: pointer;
    text-transform: uppercase;
    font-weight: 700;
    text-decoration: none;
    font-size: 1.2rem;
    align-items: center;
    display: inline-flex;
    gap: 10px;
    transition: all 0.3s ease;
}
.btn-secondary:hover {
    background-color: var(--secondary);
    color: var(--primary);
}

i {
    margin-top: 2px;
}

.title {
    font-size: 4rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--secondary);
    margin-bottom: 1rem;
    text-align: center;
}
.title b {
    color: var(--primary);
}

.sub-title {
    font-size: 1.5rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--secondary);
    margin-bottom: 1rem;
    text-align: center;
    padding: 0 15%;
}

@media screen and (max-width: 900px) {
    .sub-title {
        font-size: 1.5rem;
        font-weight: 800;
        text-transform: uppercase;
        color: var(--secondary);
        margin-bottom: 1rem;
        text-align: center;
        padding: 1% 5%;
        margin-top: 20px;
    }
    
}

/* ---- Navbar ----*/

.navbar {
    background-color: var(--primary);
    color: var(--secondary);
    padding: 1rem 2rem;
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    left: 50%;
    width: 70%;
    margin-top: 10px;
    height: 7vh;
    transform: translateX(-50%);
    z-index: 1000;
}

.navbar .logo {
    height: 100%;
    display: flex;
    align-items: center;
    z-index: 2;
}

.navbar .logo img {
    height: 100%;
    display: block;
}

.navbar .nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.navbar .nav-links a {
    color: var(--secondary);
    text-decoration: none;
    font-size: 1rem;
    display: block;
    position: relative;
    text-transform: uppercase;
    font-weight: 800;
    transition: all 0.3s ease;
}

.navbar .nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0.2em;
  background-color: var(--secondary);
  opacity: 0;
  transition: opacity 300ms, transform 300ms;
}

.navbar .nav-links a:hover::after,
.navbar .nav-links a:focus::after,
.navbar .nav-links a.active::after {
  opacity: 1;
  transform: translate3d(0, 0.2em, 0);
}

.navbar .nav-links a.active {
    color: var(--secondary);
}

.navbar .hamburger {
    display: none;
    width: 30px;
    height: 22px;
    flex-shrink: 0;
    cursor: pointer;
    z-index: 2;
    transition: all 0.3s ease;
}

.navbar .hamburger span {
    display: block;
    width: 100%;
    height: 3px;
    border-radius: 999px;
    background-color: var(--secondary);
    transition: all 0.3s ease;
}

.navbar .hamburger.active span:nth-child(1) {
    transform: translateY(9.5px) rotate(45deg);
}
.navbar .hamburger.active span:nth-child(2) {
    opacity: 0;
}
.navbar .hamburger.active span:nth-child(3) {
    transform: translateY(-9.5px) rotate(-45deg);
}


@media screen and (max-width: 1032px) {
    .navbar {
        width: calc(100% - 2rem);
        height: auto;
        min-height: 60px;
        padding: 0.75rem 1rem;
        flex-wrap: wrap;
        align-items: center;
        transition: all 0.3s ease;
    }

    .navbar .logo {
        height: 45px;
        order: 1;
    }

    .navbar .hamburger {
        display: flex;
        order: 2;
        margin-left: auto;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        width: 30px;
        height: 22px;
    }

    .navbar .nav-links {
        display: flex;
        order: 3;
        max-height: 0;
        opacity: 0;
        overflow: hidden;
        width: 100%;
        flex-direction: column;
        align-items: center;
        gap: 15px;
        padding-top: 0;
        pointer-events: none;
        transition: max-height 0.35s ease, opacity 0.25s ease, padding-top 0.25s ease;
    }

    .navbar .nav-links.active {
        max-height: 500px;
        opacity: 1;
        padding-top: 1rem;
        pointer-events: auto;
    }

    .navbar .nav-links a {
        width: 100%;
        text-align: center;
        padding: 0.75rem 1rem;
    }

}

/* ---- Hero Banner ---- */

.hero {
    width: 100%;
    height: 99vh;
    background-image: url(/Assets/Img/Hero.png);
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    background-repeat: no-repeat;
    animation: slideShow 20s infinite;
}

.hero::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 12rem;
    background: linear-gradient(to bottom, transparent 0%, var(--primary) 100%);
    pointer-events: none;
}

.hero h1 {
    font-size: 12rem;
    text-align: left;
    color: var(--secondary);
    position: absolute;
    bottom: 12rem;
    left: 5rem;
    font-weight: 800;
    z-index: 1;
}
.hero h1 b {
    color: var(--primary);
}

.hero .buttons {
    display: flex;
    gap: 1rem;
    position: absolute;
    bottom: 9rem;
    left: 5rem;
    z-index: 1;
}

@keyframes slideShow {
    0%, 20% {
      background-image: url('/Assets/Img/Slides/Hero-1.png');
    }
    25%, 45% {
      background-image: url('/Assets/Img/Slides/Hero-2.png');
    }
    50%, 70% {
      background-image: url('/Assets/Img/Slides/Hero-3.png');
    }
    75%, 95% {
      background-image: url('/Assets/Img/Slides/Hero-4.png');
    }
    100% {
      background-image: url('/Assets/Img/Slides/Hero-1.png');
    }
}

@media screen and (max-width: 1032px) {
    .hero {
        height: 100svh;
        min-height: 600px;
    }

    .hero h1 {
        font-size: clamp(3rem, 14vw, 5rem);
        line-height: 0.95;
        left: 1.25rem;
        bottom: 15rem;
    }

    .hero .buttons {
        left: 1.25rem;
        right: 1.25rem;
        bottom: 5rem;
        flex-direction: column;
        align-items: stretch;
    }

    .hero .buttons .btn {
        justify-content: center;
    }
}

/* -- Small Hero -- */

.hero-small {
    width: 100%;
    height: 50vh;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.hero-small::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 12rem;
    background: linear-gradient(to bottom, transparent 0%, var(--primary) 100%);
    pointer-events: none;
}

.hero-small h1 {
    font-size: 12rem;
    text-align: left;
    color: var(--secondary);
    position: absolute;
    bottom: 2rem;
    left: 5rem;
    font-weight: 800;
    z-index: 1;
}
.hero-small h1 b {
    color: var(--primary);
}

.hero-small .buttons {
    display: flex;
    gap: 1rem;
    position: absolute;
    bottom: 9rem;
    left: 5rem;
    z-index: 1;
}

@media screen and (max-width: 1032px) {
    .hero-small {
        height: 50vh;
        min-height: 600px;
    }

    .hero-small h1 {
        font-size: clamp(3rem, 14vw, 5rem);
        line-height: 0.95;
        left: 1.25rem;
        bottom: 1.5rem;
    }

    .hero-small .buttons {
        left: 1.25rem;
        right: 1.25rem;
        bottom: 5rem;
        flex-direction: column;
        align-items: stretch;
    }

    .hero-small .buttons .btn {
        justify-content: center;
    }
}

/* Hero Banners */

.events {
    background-image: url('/Assets/Img/Events-Hero.png');
}

.gallery {
    background-image: url('/Assets/Img/Gallery-Hero.png');
}

.about-bg {
    background-image: url('/Assets/Img/About-Hero.png');
}

.apply {
    background-image: url('/Assets/Img/Apply-Hero.png');
}


/* ---- About Section ---- */

.about {
    width: 100%;
    padding: 10rem 20%;
    background-color: var(--primary);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5rem;
}

.about .left,
.about .right {
    width: 50%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.about .left .btn-secondary {
    width: fit-content;
}


.about .table {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.about .table .row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;

}

.about .table .row .box {
    width: 100%;
    height: 100%;
    padding: 20px;
    background-color: var(--secondary);
    color: var(--primary);
    border-radius: 10px;
}

.about .table .row .box i {
    font-size: 2rem;
    padding: 5px;
    background-color: var(--primary);
    color: var(--secondary);
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    margin-bottom: 10px;
}

.about .right img {
    border-radius: 10px;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 1032px) {
    .about {
        padding: 3rem 1.25rem;
        flex-direction: column;
        gap: 2rem;
    }

    .about .left,
    .about .right {
        width: 100%;
    }

    .about .table .row {
        flex-direction: column;
        align-items: stretch;
    }
}

/* <---- VTC Trucky Stats ----> */

#vtc-stats {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 30px;
  margin: 20px 0;
}

#vtc-stats .stat-card {
  background-color: var(--secondary);
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  font-size: 25px;
  width: 25%;
  color: var(--primary);
}

#vtc-stats .stat-card h3 {
  font-size: 45px;
  font-family: 'Monsterrat';
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--primary);
}

@media screen and (max-width: 1024px) {
  #vtc-stats {
    flex-direction: column;
    padding: 0 5vw;
  }

  #vtc-stats .stat-card {
    width: 100%;
    font-size: 6vw;
  }

  #vtc-stats .stat-card h3 {
    font-size: 12vw;
  }
}

/* ---- Info Row ---- */

.info {
    background-color: var(--secondary);
    color: var(--primary);
    padding: 40px 20%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.info-row {
    width: 100%;
    padding: 2rem;
    background-color: var(--secondary);
    display: flex;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 2.5rem;
}

.info-row .box {
    flex: 0 0 450px;
    width: 450px;
    min-width: 280px;
    display: flex;
    flex-direction: column;
    padding: 0;
    background-color: var(--primary);
    color: var(--secondary);
    border-radius: 10px;
    overflow: hidden;
}

.info-row .box img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 10px 10px 0 0;
}

.info-row .box .content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex: 1;
}

.info-row .box .content ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.info-row .box .content .btn-secondary {
    display: flex;
    align-items: center;
    justify-content: center;
}

.info .btn {
    width: 40%;
    justify-content: center;
    margin: 0 auto;
}

@media (max-width: 1032px) {
    .info {
        padding: 2rem 1rem;
    }

    .info-row {
        flex-direction: column;
        padding: 1rem 0;
        gap: 1.5rem;
    }

    .info-row .box {
        width: 100%;
    }

    .info-row .box img {
        display: block;
        height: auto;
        max-height: 18rem;
    }

    .info-row .box .content {
        padding: 1.25rem;
    }

    .info .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .info {
        padding: 1.5rem 0.75rem;
    }

    .info-row .box {
        min-height: max-content;
    }

    .info-row .box .content {
        padding: 1rem;
    }
}


/* ---- Footer ---- */

footer {
    background-color: var(--primary);
    color: var(--secondary);
    padding: 1rem 20%;
    display: flex;
    flex-direction: row;
    align-items: center;
}

footer .footer-content {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;

}

footer .footer-content .about {
    display: flex;
    flex-direction: column;
    padding: 15px;
    gap: 1rem;
}
footer .footer-content .about img {
    width: 100%;
    height: auto;
}

footer .footer-content .links {
    width: 100%;
    padding: 25px;
}

footer .footer-content .links ul {
    list-style: none;
    gap: 1rem;
}
footer .footer-content .links ul li {
    padding: 5px;
}
footer .footer-content .links ul li a {
    color: var(--secondary);
    text-decoration: none;
    padding: 5px;
    transition: all .3s ease;
}

footer .footer-content .links ul li a i {
    margin-left: 5px;
    transition: all .3s ease;
}

footer .footer-content .links ul li a:hover i {
    margin-left: 12px;
}

@media (max-width: 1032px) {
    footer {
        padding: 2rem 1.25rem;
    }

    footer .footer-content {
        gap: 1.5rem;
    }

    footer .footer-content .about,
    footer .footer-content .links {
        padding: 1rem;
    }
}

@media (max-width: 600px) {
    .title {
        font-size: clamp(2rem, 10vw, 3rem);
    }

    .btn,
    .btn-secondary {
        width: 100%;
        justify-content: center;
        padding: 12px 18px;
        font-size: 1rem;
    }

    footer .footer-content {
        flex-direction: column;
        align-items: stretch;
    }

    footer .footer-content .about,
    footer .footer-content .links {
        width: 100%;
        padding: 0.5rem 0;
        text-align: center;
    }

    footer .footer-content .about img {
        width: 100%;
    }
}

/* ---- Gallery Lightbox ---- */


#lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1000;
    background-color: rgba(56, 56, 56, 0.322);
    align-items: center;
    justify-content: center;
    padding: 1rem;
    backdrop-filter: blur(8px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

#lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-top-bar {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    z-index: 1020;
}

.lightbox-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.lightbox-img {
    max-height: 85vh;
    max-width: 90vw;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

#lightbox.active .lightbox-img {
    transform: scale(1);
}

#lightbox-caption {
    color: rgba(255, 255, 255, 0.8);
    margin-top: 1.5rem;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-weight: 300;
}

/* Buttons */
.lightboxbtn {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    padding: 0.5rem;
    transition: color 0.2s ease, transform 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.lightboxbtn:hover {
    color: white;
    transform: scale(1.1);
}

#prev-btn { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); z-index: 1010; }
#next-btn { position: absolute; right: 1rem; top: 50%; transform: translateY(-50%); z-index: 1010; }

@media (max-width: 768px) {
    #prev-btn, #next-btn { display: none; }
}

body.modal-open {
    overflow: hidden;
}

.container {
    margin: 0 auto;
    padding: 3rem 15%;
}

.masonry-container {
    columns: 1;
    column-gap: 1.5rem;
}

@media (min-width: 640px) { .masonry-container { columns: 2; } }
@media (min-width: 1024px) { .masonry-container { columns: 2; }}
@media (min-width: 1280px) { .masonry-container { columns: 3; } }

@media screen and (max-width: 1000px) {
    .container { 
        padding: 3rem 1rem; 
    }
}

.masonry-item {
    break-inside: avoid;
    margin-bottom: 1.5rem;
    position: relative;
    cursor: pointer;
    border-radius: 12px;
    overflow: hidden;
    background-color: #e4e4e7;
    transition: all .3s ease;
}

.masonry-item:hover {
    transform: translateY(-4px);
    filter: brightness(1.05);
}

.masonry-item img {
    width: 100%;
    height: auto;
    display: block;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.masonry-item img.loaded {
    opacity: 1;
}

/* Overlay */
.item-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.4);
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
}

.masonry-item:hover .item-overlay {
    opacity: 1;
}

.item-overlay span {
    color: white;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 500;
}


/* ---- Application Page ---- */

.application-steps {
    display: flex;
    flex-direction: column;
    margin-top: 20px;
}

.application-steps .inverted {
    background-color: var(--secondary);
    color: var(--primary);
}

.application-steps .inverted .left .number {
    background-color: var(--primary) !important;
    color: var(--secondary) !important;
}

.application-steps .item {
    display: flex;
    flex-direction: row;
    width: 100%;
    padding: 50px 20%;
}

.application-steps .item .left {
    width: 30%;
    display: flex;
    justify-content: center;
}

.application-steps .item .left .number {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--secondary);
    color: #132655;
    font-size: 50px;
    width: 100px;
    height: 100px;
    padding: 60px;
    border-radius: 10px;
}

.application-steps .item .right {
    width: 70%;
    padding-left: 20px;
    padding-right: 20px;
    display: flex;
    justify-content: left;
    flex-direction: column;
    gap: 15px;
}

.application-steps .item .right a {
    width: max-content;
}

@media screen and (max-width: 900px) {
    .application-steps {
        flex-direction: column;
    }
    
    .application-steps .item {
        display: flex;
        flex-direction: column;
        width: 100%;
        padding: 10px;
    }

    .application-steps .item .left .number {
        margin-bottom: 15px;
    }
    
    .application-steps .item .left {
        width: 100%;
    }
    
    .application-steps .item .right {
        width: 100%;
        justify-content: center;
        text-align: center;
    }
    .application-steps .item .right a {
        width: 100%;
    }
}

/* ---- Timeline ---- */

  .timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 1rem 0;
  }

  .timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background-color: var(--accent);
    transform: translateX(-50%);
  }

  .timeline-item {
    position: relative;
    margin-bottom: 2.5rem;
    width: 50%;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
  }

  .timeline-item.show {
    opacity: 1;
    transform: translateY(0);
  }

  .timeline-item.left {
    left: 0;
    padding-right: 2.5rem;
  }

  .timeline-item.right {
    left: 50%;
    padding-left: 2.5rem;
  }

  .timeline-marker {
    position: absolute;
    top: 20px;
    width: 14px;
    height: 14px;
    background-color: var(--secondary);
    border: 3px solid var(--accent);
    border-radius: 50%;
    z-index: 2;
  }

  .timeline-item.left .timeline-marker {
    right: -7px;
  }

  .timeline-item.right .timeline-marker {
    left: -7px;
  }

  .timeline-content {
    background: var(--secondary);
    border: 3px solid var(--accent);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }

  .timeline-content:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
  }

  .timeline-date {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.4rem;
  }

  .timeline-item-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 0.5rem;
  }

  .timeline-item-desc {
    color: #475569;
    font-size: 0.9375rem;
    line-height: 1.55;
  }

  @media (max-width: 680px) {
    .timeline::before {
      left: 18px;
    }

    .timeline-item {
      width: 100%;
      left: 0 !important;
      padding-right: 0 !important;
      padding-left: 3rem !important;
    }

    .timeline-marker {
      left: 12px !important;
      right: auto !important;
    }

    .timeline {
        padding: 1rem 5% 0 0;
      }
  }

/* ---- Team ---- */

.team {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    padding: 2rem 20%;
}

.team-member {
    background-color: var(--secondary);
    color: var(--primary);
    border-radius: 10px;
    overflow: hidden;
    width: 250px;
    text-decoration: none;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.team-member img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.team-member .text {
    padding: 1rem;
    text-decoration: none;
    display: flex;
    flex-direction: column;
}

.team-member .text h3 {
    margin-bottom: 0.3rem;
}


@media screen and (max-width: 1032px) {
        .team {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 1rem;
            padding: 3rem 2rem;
        }
        .team-member {
            width: 100%;
        }
}

.hidden {display: none !important;}

/* ---- Partner Row ---- */

.partners {
    background-color: var(--primary);
    color: var(--secondary);
    padding: 40px 20%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.partners-row {
    width: 100%;
    padding: 2rem;
    background-color: var(--primary);
    display: flex;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 2.5rem;
}

.partners-row .box {
    position: relative;
    flex: 0 0 375px;
    width: 375px;
    min-width: 280px;
    height: 375px;
    display: flex;
    flex-direction: column;
    padding: 0;
    background-color: transparent;
    color: var(--primary);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.partners-row .box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 10px;
    display: block;
    transition: transform 0.3s ease;
}

.partners-row .box:hover img {
    transform: scale(1.04);
}

.partners-row .box .overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-family: sans-serif;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 10px;
    pointer-events: none;
}

.partners-row .box .overlay .title {
    color: #ffffff;
    font-size: 3rem;
    font-weight: 600;
    padding: 0 1rem;
    text-align: center;
    align-items: bottom;
    font-family: 'Monsterrat';
    transform: translateY(10px);
    font-weight: 800;
    transition: transform 0.3s ease;
}

.partners-row .box:hover .overlay {
    opacity: 1;
}

.partners-row .box:hover .overlay .title {
    transform: translateY(0);
}

@media (max-width: 1032px) {
    .partners {
        padding: 2rem 1rem;
    }

    .partners-row {
        flex-direction: column;
        padding: 1rem 0;
        gap: 1.5rem;
    }

    .partners-row .box {
        width: 100%;
    }

    .partners-row .box img {
        display: block;
        height: auto;
        max-height: 18rem;
    }
}

@media (max-width: 480px) {
    .partners {
        padding: 1.5rem 0.75rem;
    }

    .partners-row .box {
        min-height: max-content;
    }
}