@import url('https://fonts.googleapis.com/css2?family=DM+Sans&family=Fredoka+One&display=swap');


:root {
  --primary-color: #002e6b;
  --accent-color: #01ffff;
  --footer-bg: var(--primary-color);
  --footer-text: #ffffff;
  --footer-link-hover: var(--accent-color);
  --footer-border: rgba(255, 255, 255, 0.2);
  --footer-bg-light: rgba(1, 255, 255, 0.08);
}	


*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'DM Sans', sans-serif;
}

html,body{
    background-color: #F7F7F7;
}

h1 {
  color: #002e6b;
}

h2 {
  color: #000307;
}

h3 {
  color: #002e6b;
}

h1,h2,h3,h4,h5,h6{
    font-family: 'Fredoka One', cursive;
}


/******************** scrollbar ********************/

::-webkit-scrollbar {
    width: 5px;
}
  
  /* Track */
::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px #002e6b; 
    border-radius: 10px;
}
   
  /* Handle */
::-webkit-scrollbar-thumb {
    background: #002e6b; 
    border-radius: 5px;
}
  
  /* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    width: 5px;
}

/******************** navbar ********************/

/* Container styles */
.navbar-nav {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Nav link */
.navbar-nav .nav-link {
  position: relative;
  padding: 10px 15px;
  color: #002e6b;
  font-weight: 500;
  transition: color 0.3s ease;
}

/* Hover effect */
.navbar-nav .nav-link:hover {
  color: #01ffff;
}

/* Remove pseudo underline — we'll animate with real span */
.navbar-nav .nav-link::after {
  display: none;
}

/* Animated underline span */
.nav-underline {
  position: absolute;
  bottom: 0;
  height: 3px;
  background-color: #01ffff;
  transition: all 0.3s ease;
  z-index: 5;
  width: 0;
  left: 0;
}


@keyframes nav_img {
    0%{
        left: -100px;
        transform: rotate(180deg);
    }

    100%{
        left: 0;
        transform: rotate(0deg);
    }
}

@keyframes nav_a1 {
    0%{
        top: -150px;
    }

    100%{
        top: 0;
    }
}

@keyframes nav_a2 {
    0%{
        top: -150px;
    }

    100%{
        top: 0;
    }
}

@keyframes nav_a3 {
    0%{
        top: -150px;
    }

    100%{
        top: 0;
    }
}

@keyframes nav_a4 {
    0%{
        top: -150px;
    }

    100%{
        top: 0;
    }
}

@keyframes nav_a5 {
    0%{
        top: -150px;
    }

    100%{
        top: 0;
    }
}

/* Expands the dropdown menu container */

.dropdown-menu.wide-dropdown {
  min-width: 260px; /* Adjust if needed */
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  white-space: nowrap; 
}

.btn-cta-outline {
  display: inline-block;
  padding: 4px 12px;               /* Reduced padding */
  font-size: 0.8rem;             /* Smaller font */
  font-weight: 250;
  color: #002e6b;
  border: 2px solid #002e6b;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-cta-outline:hover {
  background-color: #01ffff;
  color: #002e6b;
  border-color: #01ffff;
}




/******************** carousel ********************/

.top_carousel .carousel-item{
    min-height: 30vh;
    position: relative;
}
.top_carousel .carousel-item .row > img{
    position: absolute;
    z-index: -2;
}

.top_carousel .carousel-item .row h5{
    color: #002e6b;
}

.anime-2{
    position: relative;
    animation-name: anime-2;
    animation-duration: 1.3s;
    animation-timing-function: ease-out;
    overflow: hidden;
}

@keyframes anime-2 {
    0%{
        left: -500px;
    }
    100%{
        left: 0;
    }
}


.anime-3{
    position: relative;
    animation-name: anime-3;
    animation-duration: 1.3s;
    animation-timing-function: ease-out;
    overflow: hidden;
}

@keyframes anime-3 {
    0%{
        right: -500px;
    }

    100%{
        right: 0;
    }
}


/******************** welcome ********************/


#welcome {
    margin-top: 60px;  
    margin-bottom: 10px;    
}

#welcome .offset-md-2 {
    background: url(assets/quote-1.png) left top no-repeat, url(assets/quote-2.png) right top no-repeat;
}

#welcome span {
    font-family: 'Fredoka One', cursive;
}

#welcome p {
    font-size: 1.1rem;
    line-height: 30px;
}

/******************** what we do ********************/

#t-cards {
    padding-top: 10px;
    padding-bottom: 30px;
    background: url(assets/background-2.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/*** Panel cards ***/


.panel.panel-card {
    position: relative;
    height: 350px;
    border: none;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 3px 3px 10px 3px #00000033;
    margin-bottom: 15px;
    transition: all .5s ease;
    background-color: #F7F7F7;
}

.panel.panel-card:hover{
    background-color: white;
}

.panel.panel-card .panel-heading {
    position: relative;
    z-index: 2;
    height: 120px;
    border-bottom-color: #fff;
    overflow: hidden;
    transition: height 600ms ease-in-out;
    -webkit-transition: height 600ms ease-in-out;
}

.panel.panel-card .panel-heading img {
    position: absolute;
    top: 50%;
    left: 50%;
    filter: grayscale(100%);
    z-index: 1;
    width: 120%;
    transition: all .8s ease;
    transform: translate3d(-50%,-50%,0);
    -webkit-transform: translate3d(-50%,-50%,0);
}

.panel.panel-card .panel-figure {
    position: absolute;
    top: auto;
    left: 50%;
    z-index: 3;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    opacity: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #01ffff;
    box-shadow: 0 0 0 3px #fff;
    -webkit-box-shadow: 0 0 0 3px #fff;
    transform: translate3d(-50%,-50%,0);
    -webkit-transform: translate3d(-50%,-50%,0);
    transition: opacity 400ms ease-in-out;
    -webkit-transition: opacity 400ms ease-in-out;
}

.panel.panel-card .panel-figure i{
    font-size: 1.8rem;
    color: white;
}

.panel.panel-card .panel-body {
    padding-top: 40px;
    padding-bottom: 20px;
    transition: padding 400ms ease-in-out;
    -webkit-transition: padding 400ms ease-in-out;
} 

.panel.panel-card .panel-thumbnails {
    padding: 0 15px 20px;
}

.panel-thumbnails .thumbnail {
    width: 60px;
    max-width: 100%;
    margin: 0 auto;
    background-color: #fff;
} 

.panel h4{
    color: black;
    transition: all .8s ease;
}

.panel a{
    text-decoration: none;
    color: blue;
    font-weight: bold;
    transition: all .5s ease;
}

.panel a:hover{
    color: #01ffff;
}

.panel.panel-card:hover .panel-heading {
    height: 55px;
    transition: height 400ms ease-in-out;
    -webkit-transition: height 400ms ease-in-out;
}

.panel.panel-card:hover .panel-figure {
    opacity: 0;
    transition: opacity 400ms ease-in-out;
    -webkit-transition: opacity 400ms ease-in-out;
}

.panel.panel-card:hover .panel-body {
    padding-top: 20px;
    transition: padding 400ms ease-in-out;
    -webkit-transition: padding 400ms ease-in-out;
}

.panel.panel-card:hover h4{
    color: #002e6b;
}

/* Smooth reveal for feature list */
.panel-card .feature-list {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transform: translateY(10px);
    transition: opacity 0.4s ease, max-height 0.4s ease, transform 0.4s ease;
}

/* Show feature list on hover */
.panel-card:hover .feature-list {
    opacity: 1;
    max-height: 200px; /* adjust if needed */
    transform: translateY(0);
}



/******************** Target Market ********************/

#vision h1{
    color: #002e6b;
    margin: 10px;
}

#vision section{
    width: max-content;
    margin: auto;
    padding: 10px;
    border-radius: 50%;
    background-color: #01ffff;
    margin-bottom: 20px;
    transition: all 1s ease;
}

#vision img{
    transition: all 1s ease;
}

#vision div{
    cursor: pointer;
}

#vision div:hover img{
    transform: scale(1.10);
}

#vision div:hover section{
    box-shadow: 5px 5px 10px 3px rgba(0, 0, 0, 0.4);
}

/******************** Counter ********************/

#achieve{
    background: url(assets/background-3.png);
    background-position: bottom top;
    background-attachment: fixed;
    background-size: cover;
    
}

#achieve > div{
    background-color: #002e6b;
    padding-bottom: 20px;
}

#achieve h1{
    font-size: 3rem;
    color: white;
}

#achieve img{
    animation-name: anime-4;
    animation-duration: 2s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}

@keyframes anime-4 {
    0%{
        transform: scale(1.10);
    }
    25%{
        transform: scale(0.90);
    }
    75%{
        transform: scale(1.10);
    }
    100%{
        transform: scale(0.90);
    }
}

.count_div{
    margin: auto;
}

.count_div p{
    font-size: 2rem;
    color: #01ffff;
    font-weight: bold;
}

.count_div span{
    font-size: 2rem;
    color: #01ffff;
    font-weight: bold;
}

.count_div h5{
    color: white;
}


/******************** event ********************/

/* #event .card{
    border-radius: 10px;
    border: 1px solid #002e6b;
    background-color: rgb(242,240,236);
    position: relative;
    overflow: hidden;
    margin: 8px 15px;
    transition: all .8s ease;
}

#event .card:hover{
    background-color: white;
    box-shadow: 1px 16px 8px 8px #002e6b;
}

#event .card img{
    border-radius: 10px 10px 0px 0px;
    transition: all .8s ease;
    margin-bottom: 10px;
    filter: grayscale(100%);
}

#event .card:hover img{
    filter: none;
    transform: scale(1.05);
}

#event .card h5{
    transition: all .8s ease;
}

#event .card:hover h5{
    color: #01ffff;
}

#event .card span{
    position: absolute;
    top: 0;
    left: 0%;
    background-color: #01ffff;
    color: #002e6b;
    padding: 15px;
    font-weight: bold;
    border-radius: 10px 0px 10px 0px;
    z-index: 10;
}

#event .card a{
    text-decoration: none;
    color: blue;
    transition: all .5s ease;
}

#event .card a:hover{
    color: #01ffff;
    font-weight: bold;
} */


/******************** Team or testimonials  ********************/

/* #team{
    background: url();
    background-attachment: fixed;
    background-size: cover;
    margin-bottom: 20px;
    background-color: white;
    border-radius: 10px 100px / 120px;
    border: 1px solid #002e6b;
}

#team section img{
    width: 60px;
    border-radius: 50%;
    margin: 0 10px;
}

#team section div{
    margin: auto;
    margin-bottom: 15px;
}

#team section div span{
    font-size: 1rem;
}

#review_carousel{
    margin: 15px;
    background: rgba( 255, 255, 255, 0.4 );
    box-shadow: 0 5px 22px 0 rgba( 31, 38, 135, 0.2);
    backdrop-filter: blur( 11px );
    -webkit-backdrop-filter: blur( 11px );
    border-radius: 10px;
    border: 1px solid rgba( 255, 255, 255, 0.18 );
}

#review_carousel h5{
    margin-bottom: 20px;
} */

/* Onboarding Agent */

#helping_hand{
    background: url(assets/helping-hands-shape.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: bottom;
}

#helping_hand .row{
    background-color: #ffffff;
}

#hh_img1{
    animation-name: anime-5;
    animation-duration: 1.2s;
    animation-direction: alternate;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}

@keyframes anime-5{
    0%{
        transform: translateX(-20px);
    }
    100%{
        transform: translateX(20px);

    }   
}


#hh_img2 img{
    margin: 20px 10px;
    max-width: 350px;
    border-radius: 15px;
    transition: all .8s ease-in;
}

#helping_hand:hover #hh_img2 img{
    transform: scale(1.20);
}

.btn-cta-outline {
  display: inline-block;
  padding: 12px 30px;
  font-weight: 700;
  font-size: 1.1rem;
  border: 2px solid #01ffff;
  color: #002e6b;
  background-color: transparent;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease-in-out;
}

.btn-cta-outline:hover {
  background-color: #01ffff;
  color: #002e6b;
  box-shadow: 0 0 10px rgba(1, 255, 255, 0.4);
}


/******************** become Volunteer ********************/

/* #help{
    background: url(assets/sketch-4.png);
    background-repeat: no-repeat;
    background-position: left bottom;
}

#volunteer{
    background: url(assets/sketch-5.png);
    background-repeat: no-repeat;
    background-position: right;
    background-size: contain;
}

#volunteer a{
    text-decoration: none;
    color: #01ffff;
    font-size: 1.1rem;
    padding: 10px;
    border-radius: 10px;
    transition: all .5s ease;
    background-color: white;
    font-weight: bold;
    border: 1px solid rgba(128, 128, 128, 0.4);
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.24);
}

#volunteer a:hover{
    color: #002e6b;
    font-weight: normal;
    background-color: #01ffff;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.44);
} */


/********************* footer ********************/

.footer {
  background-color: var(--footer-bg);
  color: var(--footer-text);
  padding: 60px 20px;
  background-size: contain;
  background-position: top right;
  background-repeat: no-repeat;
}

.footer-top {
  display: grid;
  gap: 40px;
  padding-bottom: 60px;
}

.footer-brand {
  background-color: var(--footer-bg-light);
  padding: 32px;
  border-radius: 8px;
}

.footer .logo {
  margin-bottom: 20px;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 16px;
}

.item-icon i {
  font-size: 1.5rem;
  color: var(--accent-color);
  margin-top: 4px;
}

.contact-link {
  color: var(--footer-text);
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-link:hover {
  color: var(--footer-link-hover);
}

.footer-list-title {
  font-weight: bold;
  margin-bottom: 16px;
  font-size: 1.1rem;
}

.footer-link {
  display: block;
  margin-top: 8px;
  color: var(--footer-text);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: var(--footer-link-hover);
}

.footer .text {
  font-size: 0.95rem;
  opacity: 0.85;
}

.address {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 16px;
}

.address i {
  font-size: 1.5rem;
  color: var(--accent-color);
}

.input-field {
  background-color: transparent;
  border: 1px solid var(--footer-border);
  padding: 10px 15px;
  border-radius: 5px;
  color: #fff;
  width: 100%;
  margin-bottom: 10px;
}

.input-field::placeholder {
  color: #ccc;
}

.footer-form .btn {
  background-color: var(--accent-color);
  color: var(--primary-color);
  font-weight: bold;
  padding: 10px;
  border: none;
  border-radius: 4px;
  width: 100%;
  cursor: pointer;
  transition: background 0.3s ease;
}

.footer-form .btn:hover {
  background-color: #fff;
  color: var(--primary-color);
}

.footer-bottom {
  border-top: 1px solid var(--footer-border);
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  font-size: 0.9rem;
}

.social-list {
  display: flex;
  gap: 12px;
  justify-content: center;
  list-style: none;

}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--footer-bg-light);
  color: var(--accent-color);
  width: 40px;
  height: 40px;
  font-size: 1.2rem;
  border-radius: 50%;
  transition: background 0.3s ease, color 0.3s ease;
  text-decoration: none; 
}

.social-link:hover {
  background-color: var(--accent-color);
  color: var(--primary-color);
}

/* Back to Top Button */
.back-top-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: var(--accent-color);
  color: var(--primary-color);
  width: 48px;
  height: 48px;
  font-size: 1.4rem;
  border-radius: 50%;
  opacity: 0.9;
  transition: background 0.3s ease, color 0.3s ease;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.back-top-btn:hover {
  background-color: #ffffff;
  color: var(--primary-color);
}


/* Responsive Layout */
@media (min-width: 768px) {
  .footer-top {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

@media (min-width: 1024px) {
  .footer-top {
    grid-template-columns: repeat(5, 1fr);
  }

  .footer-brand {
    grid-column: span 5;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
}
