*{
    font-family: "Arimo", sans-serif;
}
body {
    background: #0b2a5b;
    color: #fff;
    font-family: 'Segoe UI', sans-serif;
}

.navbar {
    background: rgba(11, 42, 91, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.nav-link{
    font-size: 18px;
}

.hero-slider {
  position: relative;
  box-shadow: 0px 13px 20px 0px #00000078;
}

.carousel-item {
  height: 50vh;
  min-height: 600px;
  position: relative;
  overflow: hidden;
}

.slide-bg {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transform: scale(1);
  transition: transform 8s ease;
}

/* Subtle zoom animation */
.carousel-item.active .slide-bg {
  transform: scale(1.1);
}

/* Soft gradient overlay */
.overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(10, 25, 40, 0.5),
    rgba(10, 25, 40, 0.2)
  );
}

/* Content styling */
.content {
  position: relative;
  z-index: 2;
  color: #fff;
  max-width: 550px;
  padding-top: 20vh;
}

.content h1 {
  font-size: 3rem;
  font-weight: 600;
  letter-spacing: 1px;
}

.content p {
  font-size: 1.2rem;
  opacity: 0.9;
}

/* Controls styling */
.carousel-control-prev-icon,
.carousel-control-next-icon {
  filter: invert(1);
  opacity: 0.7;
}

.hero {
    position: relative;
    aspect-ratio: 8 / 2;
    display: flex;
    align-items: center;
    box-shadow: 0px 13px 20px 0px #00000078;
}
.hero.aboutus {
    background: url('images/about-banner.jpg') center/cover no-repeat;
}
.hero.programs {
    background: url('images/program-banner.jpg') center/cover no-repeat;
}
.hero.partnership {
    background: url('images/partnership-banner.jpg') center/cover no-repeat;
}
.hero.contact {
    background: url('images/contact-banner.jpg') center/cover no-repeat;
}

.hero::after {
    content: '';
    position: absolute;
    top:0; left:0;
    width:100%; 
    height:100%;
    background: rgba(10,40,90,0);
}

.hero .content {
    position: relative;
    z-index: 2;
    margin-left: 15%;
    padding: 0;
}

.btn-primary {
    background: linear-gradient(135deg, #2d6cdf, #4fa3ff);
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(45,108,223,0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(45,108,223,0.7);
}
.card-custom {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.15);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}
.card-custom::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,0.2), transparent);
    opacity: 0;
    transition: 0.5s;
}

.card-custom:hover::before {
    opacity: 1;
}

.card-custom:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}
.card.card-custom h5 {
    color: #afd4dd;
}
.card.card-custom p {
    color: #4985a9;
}

.section {
    padding: 60px 0;
    position: relative;
}

.section::after {
    content: "";
    width: 60%;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.3), transparent);
    position: absolute;
    bottom: 0;
    left: 20%;
}

.news-card img,
.about-img img {
    transition: transform 0.5s ease;
    border-radius: 15px;
    overflow: hidden;
}

.news-card:hover img,
.about-img:hover img {
    transform: scale(1.08);
}

.cta {
    background-image: url(images/map-panel.jpg);
    background-size: cover;
    background-position-y: bottom;
    text-align: center;
    padding: 50px;
    min-height: 354px;
}
.cta>div {
    margin-right: 30px;
    width: 30%;
    text-align: left;
}

.about{
    padding: 40px;
    margin: 40px auto;
    
}

.about-nde{
    padding-left: 15%;
    background-image: url(images/totem-pole.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: left bottom;
}
.about-nde p {
    font-family: "Mulish", sans-serif;
    margin: 25px auto;
    font-size: 15px;
    line-height: 20px;
}

.pattern-card {
    padding: 30px 15px;
    min-height: 350px;
    background-size: cover;
    background-position: center bottom;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid #afdcda7d;
}
.pattern-card.one {
    background-image: url(images/panel-bg-01.jpg);
}
.pattern-card.two {
    background-image: url(images/panel-bg-02.jpg);
}
.pattern-card.three{
    background-image: url(images/panel-bg-03.jpg);
}
.pattern-card.four{
    background-image: url(images/panel-bg-04.jpg);
}
.pattern-card.five{
    background-image: url(images/panel-bg-05.jpg);
}
.pattern-card h3 {
    line-height: normal;
    font-size: 20px;
    font-weight: bold;
    text-transform: uppercase;
}
.pattern-card p {
    font-family: "Mulish", sans-serif;
    line-height: normal;
    font-size: 17px;
    margin-top: 24px;
}

.btn-blue {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 4px 16px;
    font-size: 13px;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    background: linear-gradient(to bottom, #2374a8, #0c5787);
    box-shadow: 0 2px 0 #033a5e, 0 3px 6px rgba(0,0,0,0.2);
    transition: all 0.2s ease;
  }

  .btn-blue:hover {
    background: linear-gradient(to bottom, #0c5787, #2374a8);
    transform: translateY(0px);
    box-shadow: 0 3px 0 #0c5787, 0 5px 10px rgba(0,0,0,0.25);
    color: #fff;
  }

  .btn-blue:active {
    transform: translateY(1px);
    box-shadow: 0 1px 0 #7a1d14;
  }

  .arrow {
    font-size: 18px;
    line-height: 1;
  }

.fade-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s ease forwards;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.footer {
    background: #081f44;
    padding: 30px 0;
    font-size: 14px;
}

    .btn-xs {
      padding: 3px 8px;
      font-size: 13px;
      line-height: 1.3;
      border-radius: 5px;
    }
    
    .btn-xs i {
      font-size: 13px;
    }

.parallax-panel {
    font-family: "Mulish", sans-serif;
    position: relative;
    height: 300px;
    background: linear-gradient(rgb(221 230 239 / 15%), rgb(228 235 243 / 62%)), url(images/light-panel.jpg) center / cover no-repeat fixed;
    background-attachment: fixed;
}

/* Content layering */
.parallax-panel .container {
  position: relative;
  z-index: 2;
}


.icon-panel {
    display: flex;
    justify-content: space-evenly;
    padding: 40px;
}

.icon-panel .icons>img {
    max-width: 60px;
}
.icon-panel .icons>h5 {
    font-size: 16px;
    margin-top: 10px;
}

.vision-mission h4, .vision-mission h2, .vision-mission p {
    color: #0b2a5b;
    text-align: left;
    font-weight: bold;
}
.vision-mission p {
    font-weight: normal;
}

.social {
    display: flex;
    justify-content: center;
    align-items: center;
}
.social i {
    margin: 0 8px;
    font-size: 20px;
}

.inside-page {
    padding: 40px;
    margin: 40px auto;
}
.page-content {
    margin: 20px auto;
}
.page-content p {
    margin: 20px auto;
    font-size: 20px;
    text-align: justify;
    line-height: 28px;
}

.page-content img.pic {
    max-width: 300px;
}
.page-content img.pic.left {
    float: left;
    margin-right: 20px;
}
.page-content img.pic.right {
    float: right;
    margin-left: 20px;
}

.pic-card {
    overflow: hidden;
    border-radius: 12px;
    background-color: #2f4b76;
    box-shadow: 0 0 18px 6px #0d122cb3;
    min-height: 450px;
}
.pic-card img {
    width: 100%;
}
.pic-card h3 {
    padding: 0 20px;
    margin: 20px auto 0;
}
.pic-card p {
    padding: 0 20px;
    margin: 20px auto;
    font-size: 18px;
}

.form-wrapper {
        position: relative;
        z-index: 2;
        max-width: 720px;
        margin: 80px auto;
        padding: 40px;
        border-radius: 18px;

        /* Glassmorphism */
        background: rgba(255, 255, 255, 0.06);
        backdrop-filter: blur(14px);
        border: 1px solid rgba(255,255,255,0.1);

        box-shadow: 0 20px 50px rgba(0,0,0,0.35);
        color: #ffffff;
    }

    h3 {
        font-weight: 600;
        letter-spacing: 0.5px;
    }

    .form-label {
        font-size: 14px;
        opacity: 0.85;
    }

    .form-control, .form-select {
        background: rgba(255,255,255,0.08);
        border: 1px solid rgba(255,255,255,0.15);
        color: #fff;
        border-radius: 8px;
    }

    .form-control::placeholder {
        color: rgba(255,255,255,0.5);
    }

    .form-control:focus, .form-select:focus {
        background: rgba(255,255,255,0.12);
        border-color: #3aa6b9;
        box-shadow: none;
        color: #fff;
    }

    .form-check-label {
        font-size: 13px;
        opacity: 0.8;
    }

    .btn-nde {
        background: linear-gradient(135deg, #1c4e80, #3aa6b9);
        border: none;
        padding: 12px;
        font-weight: 500;
        border-radius: 10px;
        transition: all 0.3s ease;
    }

    .btn-nde:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    }

    /* Decorative top line */
    .top-accent {
        height: 4px;
        width: 60px;
        background: #3aa6b9;
        border-radius: 2px;
        margin-bottom: 15px;
    }


@media screen and (max-width: 1200px) {
  
    .about-nde {
        padding-left: 15px;
        background-image: none;
        background-position: -75% bottom;
    }
}
@media screen and (max-width: 992px) {
    .parallax-panel {
        height: max-content;
        padding: 40px;
    }
    .pattern-card {
        margin: 12px auto;
        min-height: fit-content;
    }
    .icon-panel {
        padding: 20px 0;
        flex-wrap: wrap;
    }
    .cta>div {
        width: auto;
    }

}