/* Page background bands */
:root{
  --band: #f3efe6;       
  --navy: #0b2a4a;       
  --pink: #d41473;       
}

a{
    text-decoration: none;
}

body{
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
}

/* bootstrap custom button color */
.btn-custom{
  --bs-btn-bg:var(--navy);
  --bs-btn-color: #fefefe;
  --bs-btn-hover-bg: #fefefe;
  --bs-btn-hover-color: var(--navy);
}

/* Header logos */
.header-logo{
  width: clamp(80px, 14vw, 100px);
  height: auto;
  object-fit: contain;
}

.header-logo-text{
    font-size: clamp(30px, 10vw, 50px);
    color: #000;
    font-family: "Bebas Neue", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.header-logo-text-and{
  font-family: "Work Sans", sans-serif;
  font-weight: 500;
  font-style: normal;
}

.header-logo-text-s{
  font-size: clamp(15px, 6vw, 35px);
  color: #000;
  font-family: "Bebas Neue", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.nav-for-desktop a{
    transition: transform .2s ease-out;
}

.nav-for-desktop a:hover{
    transform: translateY(-2px);
}

/* Footer */
footer > div{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 768px){
  footer > div{
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer-support-container{
    order: -1;
  }

  .footer-support-container::after{
    content: "";
    position: absolute;
    left: 10vw;
    right: 10vw;
    bottom: 0;
    background: #000;
    opacity: 0.5;
    height: 0.5px;
  }

  .footer-school-info{
    margin-top: 15px;
  }
}

.social-icons .social{
  font-size: 34px;
  color: var(--navy); 
  line-height: 1;
}

.footer-logo{
  height: 70px;
  width: auto;
  object-fit: contain;
}

.footer-support-logos{
    position: relative;
}

.footer-support-logos a{
    padding: 0;
    width: 50%;
}

.footer-support-logos a img{
    max-width: 100%; 
    height: auto;
}

.footer-logo-luj{
    width: 130px;
    padding-right: 20px;
}

.footer-logo-sdgs{
    width: 110px;
    padding-left: 20px;
}

.footer-support-logos::before{
    content: "";
    width: 0.5px;
    background: #000;
    margin: auto;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40px;
}

.footer-support-container{
    position: relative;
}

.footer-support-container p{
    font-size: 10px;
}

@media (min-width: 425px){
    .footer-logo-luj{
        width: 190px;
    }

    .footer-logo-sdgs{
        width: 130px;
    }
}

.follow-us-container{
    margin-top: 20px;
}

/* .address-container{
    margin-top: 15px;
    margin-left: 20px;
}

.address-container p{
    text-align: start;
    margin-bottom: 2px;
    line-height: 1.1;
} */

@media(max-width: 768px){
    .footer-school-info{
        flex-direction: column;
    }

    .address-container{
        margin-left: 0;
    }

    .address-container p{
        font-size: 0.8rem;
        text-align: center;
    }
}

.footer-credit-bar{
    height: 40px;
    width: 100%;        
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    padding-left: 20px;
}

.footer-credit-bar p{
    padding: 0;
    margin: 0;
    font-size: .7rem;
    color: #0b2a4a;
}

@media (max-width: 500px){
  .footer-credit-bar p{
    font-size: .5rem;
  }
}

/*back to top button*/
#backToTopBtn{
    opacity: 0;
    position: fixed;
    right: 30px; 
    bottom: 30px; 
    z-index: 999; 
    aspect-ratio: 1/1;    
    transition: opacity 0.3s;    
    background: var(--navy);
    color: #fefefe;    
}

/* HERO */
.hero{
  position: relative;
  width: 100%;
  overflow: hidden;
  height: 90vh;
}

@media (max-width: 992px){
  .hero{
    height: 500px;
  }
}

@media (max-width: 768px){
  .hero{    
    height: auto;
  }
}

.hero-bg{
  position: relative;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-inner{
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-logos{
  width: 100%;
  overflow: hidden;
}

.hero-logos > h1{
    color: #fefefe;
    font-size: clamp(40px, 10vw, 100px);
    font-family: "Work Sans", sans-serif;
    font-weight: 600;
    font-style: normal;
}

@keyframes scrollDownArrow{
  0% {    
    transform: translateY(0);
  }
  50%{
    transform: translateY(20px);
  }
  100%{
    transform: translateY(0);
  }
}

.scroll-down-arrow{
  display: inline-block;
  font-size: 3rem;
  color: #fefefe;
  animation: scrollDownArrow 1.8s infinite ease-in-out;  
}

@keyframes textDown{
    from{
        transform: translateY(500px);
    }
    to{
        transform: translateY(0);
    }
}

@keyframes textUp{
    from{
        transform: translateY(-500px);
    }
    to{
        transform: translateY(0);
    }
}

@keyframes textFadeIn{
    from{
        opacity: 0;
    }
    to{
        opacity: 1;
    }
}

.textDown-animation{
    animation: textDown 1.5s ease-out;
}

.textUp-animation{
    animation: textUp 1.5s ease-out;
}

.textFadeIn-animation{
    animation: textFadeIn 2s ease-in-out;
}

.hero-logo-left{
  width: clamp(100px, 32vw, 520px);
  height: auto;
}

.hero-logo-right{
  width: clamp(100px, 32vw, 420px);
  height: auto;
}

.hero-logo-devider{
    background: #000;
    width: 3px;
    height: clamp(5px, 14vw, 170px);
}

@keyframes imageDown{
    from{
        transform: translateY(-500px);
    }
    to {
        transform: translateY(0);
    }
}

@keyframes imageUp{
    from{
        transform: translateY(500px);
    }
    to {
        transform: translateY(0);
    }
}

.imageDown-animation{
    animation: imageDown 1.3s ease-out;
}

.imageUp-animation{
    animation: imageUp 1.3s ease-out;
}

/*fade in up animation*/
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#whatSdg{
    opacity: 0;
}

/* what are sdgs section */
.fadeInUp-animation{
  animation: fadeInUp 1.8s ease-out forwards;
}

/* SDGs section text */
.sdg-text{
  max-width: 420px;
}

.band{
  background: var(--band);
}

/* Commitment paragraph centered and narrow */
.commitment-text{
  max-width: 820px;
  margin: 0 auto;
  font-size: 14px;
  line-height: 1.75;
}

/* RECENT horizontal scroll */
.recent-scroll{
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding: 6px 4px 16px;
  scroll-snap-type: x mandatory;
}

.recent-scroll::-webkit-scrollbar{
  height: 10px;
}
.recent-scroll::-webkit-scrollbar-thumb{
  background: rgba(0,0,0,.2);
  border-radius: 999px;
}

.recent-card{
  width: 170px;
  min-width: 170px;
  border: 0;
  border-radius: 12px;
  overflow: hidden;
  scroll-snap-align: start;
  transition: transform .2s ease;
  box-shadow: 4px 4px 8px 0 rgba(0, 0, 0, 0.2)
}

.recent-card:hover{
    transform: translateY(-2px);
}

.card-img-top{
    height: 170px;   
    object-fit: cover;
}

.recent-bottom{
  height: 80px;
}

.bg-navy{ background: var(--navy) !important; }
.bg-pink{ background: var(--pink) !important; }

.recent-card-title{
  font-size: .9rem;  
}

.recent-comming-soon{
  width: 100%;
  font-size: 2rem;
  text-align: center;
}

/* ACTIVITIES tile grid */
.sdg-tiles-wrap{
  width: min(820px, 100%);
  background: #ffffff;
  padding: 10px 20px 10px 20px;
}

.sdg-tiles{
  display: grid;
  grid-template-columns: repeat(6, minmax(50px, 1fr));
  gap: 14px;
}

@media (max-width: 600px){
    .sdg-tiles{
        grid-template-columns: repeat(4, minmax(50px, 1fr));
        gap: 10px;
    }
}

.sdg-tile img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sdg-tile{
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  text-decoration: none;
  color: #fff;
  transition: transform .15s ease, opacity .15s ease;
}

.sdg-tile:hover{
  transform: translateY(-2px);
}

.sdg-tile.faded{
  opacity: .25;
}

/*Activity page*/
.activity-body{
    background-color: var(--band);
}

.activity-body main{
    background-color: #fefefe;
}

.activity-topbar{
  background: var(--band);
}

.activity-back{
  color: #111827;
}

.activity-back-icon{
  font-size: 38px;
  line-height: 1;
}

.activity-wrapper{
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto 1fr;
  gap: 0;
  align-items: start;
  align-content: start;
}

@media (max-width: 768px){
  .activity-wrapper{
    grid-template-columns: auto;
    grid-template-rows: auto;
    grid-template-areas:
    "img"
    "title"
    "text";
  }

  .activity-wrapper .activity-image-frame{
    grid-column: auto;
    grid-row: auto;
    grid-area: img;
  }

  .activity-wrapper .activity-side{
    grid-column: auto;
    grid-row: auto;
    grid-area: title;
    margin-bottom: 20px;
  }

  .activity-wrapper .activity-body-text{
    grid-column: auto;
    grid-row: auto;
    grid-area: text;
  }

  .activity-icons{
    width: fit-content;
    display: flex;
    justify-content: center;
    padding: 0;
  }

  .activity-side .activity-icons .activity-icon-container{
    display: flex;
    flex-wrap: wrap;
  }
  
}

.activity-image-frame{
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #e5e7eb;
  overflow: hidden;
  grid-column: 1;
  grid-row: 1;
}

.activity-title{
  padding-top: 40px;
}

.activity-body-text{
  font-size: 18px;
  line-height: 1.55;
  grid-column: 1;
  grid-row: 2;
}

.activity-body-text p{
  margin-bottom: 18px;
}

.activity-side{
  grid-column: 2;
  grid-row: 1 / span 2;
}

.activity-sdg{
  width: clamp(40px, 10vw, 110px);
  height: clamp(40px, 10vw, 110px);
  object-fit: cover;
  margin: 0;
}

.activity-icon-container{
  display: grid;
  grid-template-columns: repeat(3, max-content);
  justify-content: center;
  gap: 12px;
}

@media (max-width: 991.98px){
  .activity-title{
    padding-top: 10px;
  }
  .activity-body-text{
    font-size: 16px;
  }

}

.carousel {
  margin: 2rem 10px;
}

.carousel-inner {
  width: 74%;
  margin: auto;
}

.carousel-item {
  width: 100%;
  aspect-ratio: 3/2;
  background-size: cover;
  background-position: center;
}

.carousel-indicators {
  bottom: -3rem;
}

.carousel-indicators button {
  background-color: black !important;
  border-radius: 50%;
  width: 0.5rem !important;
  height: 0.5rem !important;
  display: block;
}

#carouselIndicators{
  width: 50%;
}

@media(max-width: 768px){
  #carouselIndicators{
    width: 80%;
  }
}

/*Activities page*/

.activities-title-band{
  background: var(--band);
}

.activities-title{
  font-size: 34px;
}

/* Filter strip */
.activities-filter-band{
  background: #fff;
  border-bottom: 1px solid rgba(0,0,0,.06);
}

.activities-filter-label{
  font-size: 18px;
}

.activities-top-link{
  color: #111827;
  font-size: 34px;
  line-height: 1;
}

.activities-filter-grid{
  display: grid;
  grid-template-columns: repeat(10, minmax(64px, 1fr));
  gap: 10px;
  align-items: center;
}

@media (max-width: 992px){
    .activities-filter-grid{
    grid-template-columns: repeat(6, minmax(64px, 1fr));
  }
}

.filter-tile{
  aspect-ratio: 1/1;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  transition: transform .12s ease, filter .12s ease;
}

.filter-tile img{
  width: 100%;
  height: auto;
  display: block;
}

.filter-tile.faded{
    opacity: .25;
}

.filter-tile:hover{
  transform: translateY(-2px);
}

.filter-clear{
  border: 0;
  background: transparent;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  padding: 0 0 0 6px;
  white-space: nowrap;
}

.activities-grid-band{
  background: var(--band);
}

.no-activity-message{
  display: none;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  font-size: 1.5rem;
  text-align: center;
}

/* Activity cards */
.activity-card{
  width: min(520px, 100%);
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,.22);
  box-shadow: 0 10px 20px rgba(0,0,0,.06);
  color: #111827;
  transition: transform .2s ease;
}

.activity-card:hover{
    transform: translateY(-2px);
}

.activity-card-media{
  height: 240px;
  background: #e5e7eb;
}

.activity-card-media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.activity-card-body{
  padding: 14px 16px 18px;
  position: relative;
}

.activity-card-date{
  font-size: 12px;
  font-weight: 600;
  opacity: .85;
  margin-bottom: 6px;
}

.activity-card-title{
  font-size: 22px;
  font-weight: 800;
  text-align: center;
  margin: 8px 0 12px;
}

/* SDG grid */
.activity-card-sdgs-grid{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.activity-card-sdgs-grid img{
  width: 36px;
  height: 36px;
  object-fit: cover;
}

@media (max-width: 576px){
  .activities-filter-grid{
    grid-template-columns: repeat(4, minmax(64px, 1fr));
  }  
}

/* commitment page */
.commitment-body{
    background: var(--band);
}

.commitment-title{
    font-size: 34px;
}

.commitment-page{
  margin-bottom: 80px;
}

.commitment-band{
  padding-top: 72px;
  padding-bottom: 72px;
  background: #fefefe;
}

.commitment-text-title{
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.1;
}

.commitment-lead{
  font-size: clamp(16px, 1.5vw, 22px);
  line-height: 1.55;
  color: #0f172a;
  max-width: 56ch;
}

.commitment-image-frame{
  width: min(560px, 100%);
  aspect-ratio: 16 / 9;
  border-radius: 6px;
  overflow: hidden;
  background: #e5e7eb;
  box-shadow: 0 12px 28px rgba(0,0,0,.12);
}

@media (max-width: 991.98px){
  .commitment-band{
    padding-top: 40px;
    padding-bottom: 48px;
  }
  .commitment-lead{
    max-width: 100%;
  }
}

/* 404 page */
.not-found-body{
  background: #f3efe6;
  height: 1vh;
}

.not-found-imag-box{
    width: 400px;
}

@media(max-width: 550px){
    .not-found-imag-box{
        width: 200px;
    }
}

/* login page */
.login-body{
    background: var(--band);
    width: 100%;
    display: flex;
    flex-direction: column;
}

.backToWebsite-link{
    width: 100%;
    margin-top: 30px;
}

.backToWebsite-link a{
    text-decoration: none;
    color: #000;
    padding-left: 20px;
}

.backToWebsite-link a::before{
    content: "←";
    color: #000;
}

.login-body main{
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex-grow: 1;
}

.login-logo-container{
    width: 400px;
    height: auto;
}

@media(max-width: 600px){
    .login-logo-container{
        width: 200px;
    }
    .backToWebsite-link a{
        font-size: 0.7rem;
    }
}

.login-logo-container img{
    width: 100%;
    height: auto;
}

.login-form form{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.login-form h1{
    font-family: "Roboto", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
    font-variation-settings: "wdth" 100;
}

.login-error-message{
    color: red;
}
