body {
    font-family: 'Roboto Condensed', sans-serif;
    background-image: url('img/body_bg.jpg');
}

.header {
    height: 100vh;
    overflow: hidden;
}

.navbar-brand .unicef{
    height: 70px;
}

.navbar-brand .unilearn{
    height: 40px;
}
.nav.navbar-nav {
    box-shadow: 0 4px 4px -6px #0363b0;
}

.dropdown-menu {
    background: #fff;
    border-radius: 0.1rem;
}
.dropdown-submenu > .dropdown-menu {
    border-radius: 0.1rem;
    width:100%;
}

/* Ensure all dropdowns behave relatively */
.dropdown-submenu {
    position: relative;
}

/* Show submenu directly below the parent item */
.dropdown-submenu > .dropdown-menu {
    top: 100%; /* Directly below */
    left: 0;   /* Align to left */
    margin-top: 0.2rem;
    display: none; /* Controlled via JS */
    position: absolute;
    background: #eeeeee;
    z-index: 1000;
    border-radius: 0.25rem;
}

.dropdown-submenu > .dropdown-menu .dropdown-item {
    padding-left: 1.5rem;
}

.dropdown-menu {
    box-shadow: 0 10px 8px -4px #393939;
    border: 0;
    transition: all 0.2s ease-in-out;
}

.dropdown-item {
    padding-top: 0.35rem;
    padding-bottom: 0.25rem;
}

hr{
    border-left: 3px solid #00aeef;
    height: 35px;
    width: 1px;
    opacity: 1;
    margin: 0;
}

.badge {
    font-size: 1.15rem;
    text-transform: uppercase;
    margin-bottom: 1rem;
    padding: 10px 12px;
}

.stats {
    height: 300px;
}

.stat-bg1,
.stat-bg2,
.stat-bg3,
.stat-bg4 {
    background-size: cover;
}

.stat-bg1 {
    background-image: url('img/stat_bg4.jpg');
}

.stat-bg2 {
    background-image: url('img/stat_bg3.jpg');
}

.stat-bg3 {
    background-image: url('img/stat_bg2.jpg');
}

.stat-bg4 {
    background-image: url('img/stat_bg1.jpg');
}

.about {
    margin: 7rem 0;
}

.about-section {
    position: relative;
    overflow: hidden;
}

.about-section::after {
    position: absolute;
    background-image: url('img/logo_bg.png');
    top: 328px;
    left: -80px;
    z-index: 0;
    background-size: 620px 200px;
    background-position: right;
    background-repeat: no-repeat;
    width: 450px;
    max-width: 100vw;
    height: 200px;
    content: "";
    transform: rotate(270deg) scale(1.5);
    filter: sepia(1);
}

.about-heading {
    font-size: 48px;
    color: #000990;
    max-width: 20em;
    line-height: 1.1;
    font-weight: 400;
    position: relative;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

.available-text {
    opacity: 0.15;
}

#typing-text {
    position: absolute;
    left: 12px;
    top: 0;
}

.instances {
    overflow: hidden;
    position: relative;
    background-color: #cce2f973;
}

.instances::before {
    position: absolute;
    background-image: url('img/logo_bg.png');
    top: 0;
    left: -171px;
    z-index: 0;
    background-size: 620px 200px;
    background-position: right;
    background-repeat: no-repeat;
    width: 620px;
    max-width: 100vw;
    height: 200px;
    content: "";
    transform: rotate(-90deg) scale(1.5);
    filter: sepia(1);
}

.left-panel {
    width: 100%;
    padding: 2rem 1rem;
}

.state-instances-section {
    position: relative;
    overflow: hidden;
    padding: 2rem 0;
}

/* Right panel with fixed height */
.right-panel {
  position: relative;
}

/* Inner wrapper that will be scrolled with GSAP */
.instance-scroll-wrapper {
  padding: 0.25rem 2.2rem;
  height: 600px;
  overflow: hidden;
  overflow-y: auto;
  scrollbar-width: none;
}
#scrollIndicator {
  transition: opacity 0.3s ease;
  opacity: 1;
}

#scrollIndicator.hidden {
  opacity: 0;
  pointer-events: none;
}

.button-line-vertical {
    color: #000000;
    letter-spacing: .5px;
    align-items: center;
    padding-top: .3em;
    padding-bottom: .5em;
    font-size: 1.1em;
    font-weight: 400;
    text-decoration: none;
    display: flex
}
.button-line-vertical.scroll-btn {
    z-index: 10;
    width: 200px;
    height: 50px;
    position: absolute;
    top: 72%;
    left: auto;
    right: -75px;
    transform: rotate(-90deg);
    animation: scrollDownAnimation 1.5s ease-in-out infinite;
}

@keyframes scrollDownAnimation {
    0% {
        transform: translate(0, 0) rotate(-90deg);
    }
    
    50% {
        transform: translate(0, 20px) rotate(-90deg);
    }

    100% {
        transform: translate(0, 0) rotate(-90deg);
    }
}

.button-line-vertical.scroll-btn.scroll-up {
    top: 97%;
}

.button-line-vertical.scroll-btn.scroll-up .line {
    margin-left: 10px;
}

.button-line-vertical.hover-cursor {
    order: 0
}


.scroll-line-indicator {
    width: 45px;
    height: 2px;
    background-color: #00abeb;
    margin-bottom: -0.4em;
    margin-right: 10px;
}
.map-container {
  width: 60%;
  max-width: 548px; /* or any max limit you want */
  margin: 0 auto;
}

.map-container svg {
  width: 100%;
  height: auto;
  display: block;
  fill: #e6e6e6; /* light gray for land */
  stroke: #333;  /* dark gray border */
  stroke-width: 0.5;
}
.map-container svg path {
    transition: fill 0.3s ease, stroke 0.3s ease;
}

.map-container svg path.highlighted {
    fill: #a3c6f6 !important;
    stroke: #1e00ff !important;
    stroke-width: 0.5;
}

.map-tooltip {
  position: fixed;
  background: rgba(0, 0, 0, 0.85);
  color: #fff;
  padding: 6px 10px;
  font-size: 12px;
  border-radius: 4px;
  pointer-events: none;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 9999;
}
.note {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}
.note span {
    display: inline-block;
    width: 12px;
    height: 12px;
    margin-right: 0.5rem;
    background: rgb(0, 171, 235);
    border-radius: 0;
    border: 1px solid #000;
}
.disclaimer,.note {
    font-size: 0.8rem;
    line-height: 1.2;
    color: #191825;
}

.instance-card {
    background: white;
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    border-radius: .5em;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    scroll-snap-align: start;
    transition: transform 0.3s, background 0.3s;
    position: relative;
    background-size: cover;
    background-position: center;
}

.card-overlay {
    position: absolute;
    border-radius: .5em;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba(0, 0, 0, 0.5); /* Semi-transparent black */
    z-index: 1;
}

/* Content above the overlay */
.card-content {
    position: relative;
    z-index: 2;
}

.courses{
    background: url('img/course_bg.jpg');
}

.card-img-overlay {
  transition: background-color 0.3s ease;
}

.card:hover .card-img-overlay {
  background-color: rgba(0, 0, 0, 0.6);
}




.word {
  overflow: hidden;
  line-height: 1.1;
  transform-origin: bottom;
}
.heading-1 {
    font-size: 1.2rem;
    z-index: 2;
    line-height: 1.2;
    display: inline;
    position: relative;
    padding: 1rem;
    letter-spacing: 2px;
}

.highlight-text {
    background-color: #00aeef;
    width: 100%;
    transition-property: opacity;
    transition-duration: .2s;
    transition-timing-function: cubic-bezier(.77, 0, .175, 1);
    animation: 1.4s cubic-bezier(.77, 0, .175, 1) highlightThis;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
}

.highlight-text-2 {
    background-color: #370099;
    width: 0%;
    transition: none;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
}

.highlight-animate {
    animation: highlightThis 1.4s cubic-bezier(.77, 0, .175, 1) forwards;
}

@keyframes highlightThis {
    from {
        width: 0%;
    }
    to {
        width: 100%;
    }
}
.btn {
    background: #00abeb;
    border: transparent;
    padding-left: 1.2rem;
    padding-right: 1.2rem;
}
.btn-yellow-bg {
    background-color: transparent;
    color: #212529; /* dark gray or black */
    border: 2px solid #410095;
}
.btn-yellow-bg:hover {
    border-color: transparent;
    background-color: #410095;
    color: #fff;
}

.overlay-bg-animation {
    opacity: 0.25;
    width: 225px;
    position: absolute;
    z-index: 0;
    top: 0;
    left: 0;
    will-change: transform, opacity;
}
.overlay-bg-animation svg circle {
  opacity: 0;
  transform-origin: center;
}
/* ==========================================================================================================
                                        SLIDER
   ========================================================================================================== */
.fh5co-slider-outer {
  width: 100%;
  height: auto;
  padding: 70px;
}

.fh5co-slider-outer > h2, .fh5co-slider-outer small {
  text-align: center;
  display: block;
}
.fh5co-slider-outer .fh5co-slider-outer {
  margin-top: 50px;
}
.fh5co-slider-outer .carousel-left-arrow {
  position: absolute;
  left: -100px;
  bottom: 50%;
  font-size: 60px;
  color: rgba(183, 183, 183, 0.4);

}
.fh5co-slider-outer .carousel-right-arrow {
  position: absolute;
  right: -100px;
  bottom: 50%;
  font-size: 60px;
  color: rgba(183, 183, 183, 0.4);
}
.fh5co-slider-outer .item img {
  width: 245px;
  object-fit: contain;
}
.fh5co-slider-outer #hide-all{
  display: none;
}
.fh5co-slider-outer #view-all-items{
  display: none;
}
.fh5co-slider-inner {
  text-align: center;
}
.owl-carousel .owl-item {
    height: 270px;
    margin-top: 10px;
    margin-bottom: 10px;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 0 3px 0px rgba(0, 0, 0, 0.3);
    transition: 1.9s
}
.owl-carousel .owl-item.center {
    background: #80bdff;
    box-shadow: 0px 2px 8px 1px #0088a7;
    transition: 1.9s
}
.fh5co-view-all{
  height: 530px;
  overflow-y: auto;
  overflow-x:hidden;
}
.fh5co-view-all .item{
  height: 225px;
  margin-top: 10px;
  margin-bottom: 10px;
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 0 3px 0px rgba(0, 0, 0, 0.3);
  transition: 1.9s;
  position: relative;
}
.fh5co-view-all .item:hover{
  background: #80bdff;
  box-shadow: 0px 2px 8px 1px #0088a7;
  transition: 1.9s;
}
.overlay-text {
    position: absolute;
    bottom: 25px;
    width: 100%;
    text-align: center;
    background: #ffffff;
}
.overlay-text a{
  color: #666;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 5px 1px;
  text-decoration: none;
}
.overlay-text a:hover{
  text-decoration: underline;
}
.hero-content {
    height: 100%;
}
.hero-content h1{
    font-size: 4rem;
}
/* ==========================================================================================================
                                       RESPONSIVE STYLING
  ========================================================================================================== */
@media screen and (max-width: 1400px) {

}
@media screen and (max-width: 1200px) {

}
@media screen and (max-width: 993px) {
  .fh5co-slider-outer .fh5co-slider-outer {
    margin-top: 0px;
  }
}
@media screen and (max-width: 993px) {
  .fh5co-slider-outer .carousel-right-arrow {
    position: absolute;
    right: -70px;
    bottom: 250px;
    font-size: 60px;
    color: #ececec;
  }

  .fh5co-slider-outer .carousel-left-arrow {
    position: absolute;
    left: -70px;
    bottom: 250px;
    font-size: 60px;
    color: #ececec;
  }
}
@media screen and (max-width: 800px) {
  .fh5co-slider-outer {
    padding: 0;
  }

  .fh5co-slider-outer .carousel-left-arrow {
    left: 50px;
    font-size: 50px;
    bottom: 190px;
  }

  .fh5co-slider-outer .carousel-right-arrow {
    right: 50px;
    font-size: 50px;
    bottom: 190px;
  }

  .fh5co-slider-outer .item img {
    height: 300px;
  }
}
@media screen and (max-width: 520px) {
    .hero-content h1{
        font-size: 2.2rem;
    }
    .header{
        height: 82vh;
    }
    .header video {
        translate: 0 -23%;
    }
    .hero-content {
        height: 35%;
    }
    .overlay-bg-animation {
        width: 45px;
    }
    .overlay-bg-animation svg {
        max-width: 100%;
    }
    .navbar-brand .unicef {
        height: 45px;
    }
    .navbar-brand .unilearn {
        height: 25px;
    }
    .stats {
        height: auto;
    }
    .about {
        margin: 3rem 0;
    }
    .about-heading {
        font-size: 34px;
    }
    .courses {
        padding: 3rem 0;
    }
  .fh5co-slider-outer .carousel-left-arrow {
    left: 0;
  }

  .fh5co-slider-outer .carousel-right-arrow {
    right: 0;
  }

  .fh5co-slider-inner {
    padding-top: 50px;
    padding-bottom: 30px;
  }
  .fh5co-view-all .item {
    height: 180px;
  }
  .map-container {
    width: 98%;
  }
  .left-panel {
    padding-top: 0;
  }
  .about-section::after{
    width: 300px;
  }
  .instances::before {
    transform: rotate(0); 
    width: 300px;
    height: 170px;
  }
  .instance-scroll-wrapper {
    height: 345px;
  }
}