/********** Template CSS **********/
:root {
    --primary: #F7A041;
    --secondary: #006633;
    --tertiary: #555555;
    --light: #DFE4FD;
    --dark: #011A41;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}

h1,
.h1,
h2,
.h2,
.fw-bold {
    font-weight: 700 !important; font-family: 'Open Sans, Roboto, and Source Sans Pro';
}
h2,
.h2
fw-bold,
.fw-bold 

{
    color: #F7A041;
}

fa,
.fa{
    color: #F7A041;
}
h3,
.h3,
h4,
.h4,

.fw-medium {
    font-weight: 600 !important; font-family: 'Open Sans, Roboto, and Source Sans Pro';
}

h5,
.h5,
h6,
.h6,
p,
.p
.fw-semi-bold {
    font-weight: 500 !important; font-family: 'Open Sans, Roboto, and Source Sans Pro';
}
a,
.a{
    font-family: 'Open Sans, Roboto, and Source Sans Pro'; 
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn
 {
    transition: .5s;
    font-weight: 500;
    color: #F7A041;
    
}

.btn-primary {
    color: var(--light);
    background-color: #006633 !important;
    border-color: #F7A041 !important;
}
.btn-outline-primary:hover {
    color: var(--light);
    background-color: #006633 !important;
    border-color: #F7A041 !important;
}
.btn-outline-primary:hover .fab {
    color: white !important;
}
.btn-outline-secondary:hover .fab {
    color: white !important;
}
.btn-outline-secondary:hover {
    background-color: #006633 !important;
    border-color: #F7A041 !important;
}


.btn-square {
    width: 38px;
    height: 38px;
    color: #F7A041;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
    color: #F7A041;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
    background-color: #F7A041;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}


/*** Navbar ***/
.fixed-top {
    transition: .5s;
}

.top-bar {
    height: 45px;
    border-bottom: 1px solid rgba(53, 94, 252, .07);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

.navbar .navbar-nav .nav-link {
    padding: 25px 15px;
    color: var(--tertiary);
    font-weight: 500;
    outline: none;
}
.custom-logo-margin {
    margin-left: 150px; /* Adjust as needed */
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--secondary);
}
/* Ensure toggler button is visible */
.navbar-toggler {
    display: block;
    border: none;
    background-color: rgba(255, 255, 255, 0.8); /* Slight background to be visible */
    padding: 0.5rem;
    border-radius: 4px;
}

/* Make toggler icon darker for visibility on light backgrounds */
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(0,0,0,0.8)' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Glass-style white navbar */
.navbar.glass-navbar {
    background: rgba(255, 255, 255, 0.8); /* semi-transparent white */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    z-index: 1050;
}

/* Dark text for white navbar */
.navbar.glass-navbar .navbar-nav .nav-link {
    color: var(--primary);
}

.navbar.glass-navbar .navbar-nav .nav-link:hover,
.navbar.glass-navbar .navbar-nav .nav-link.active {
    color: var(--secondary);
}


/* Push content below navbar */
body {
    padding-top: 1px;
}

/* Logo margin fix if needed */
.custom-logo-margin {
    margin-right: 20px;
}


@media (max-width: 991.98px) {
    .navbar .navbar-nav {
        margin-top: 10px;
        border-top: 1px solid rgba(0, 0, 0, .07);
        background: #FFFFFF;
    }

    .navbar .navbar-nav .nav-link {
        padding: 10px 0;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        transition: .5s;
        opacity: 0;
    }

    .navbar .nav-item:hover .dropdown-menu {
        transform: rotateX(0deg);
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: start;
    z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
    width: 3rem;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
    background-color: var(--primary);
    border: 10px solid var(--primary);
}

.carousel-control-prev-icon {
    border-radius: 0 3rem 3rem 0;
}

.carousel-control-next-icon {
    border-radius: 3rem 0 0 3rem;
}

@media (max-width: 768px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: 450px;
    }
    
    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    /*mision and vision */
}
.card-hover{
    border-top: 4px solid #006633; /* Primary blue top border */
    background: linear-gradient(to bottom, #ffffff, #f9f9f9); /* Subtle gradient */
    transition: transform 0.3s ease, filter 0.3s ease;
}
.card-alt {
    border-top: 4px solid #006633; /* Primary blue top border */
    background: linear-gradient(to bottom, #ffffff, #f9f9f9); /* Subtle gradient */
    transition: transform 0.3s ease, filter 0.3s ease;
}

.card-alt:hover {
    transform: translateY(-5px); /* Slight lift */
    filter: brightness(1.052); /* Brighter on hover */
}


/*** Roadmap ***/
.branches-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 60px;
    position: relative;
    padding-bottom: 60px;
  }
  
  .branch {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1 1 200px;
    max-width: 220px;
    position: relative;
  }
  

  .top-diamond {
    width: 20px;
    height: 20px;
    border: 3px solid #f26722;
    transform: rotate(45deg);
    background-color: white;
    z-index: 2;
  }

  .bottom-diamond {
    width: 16px;
    height: 16px;
    background-color: #f26722;
    transform: rotate(45deg);
    margin-top: 10px;
    z-index: 2;
  }

  .vertical-line {
    width: 2px;
    height: 40px;
    background-image: linear-gradient(to bottom, #aaa 40%, rgba(255, 255, 255, 0) 0%);
    background-size: 2px 8px;
    background-repeat: repeat-y;
    margin-top: -1px;
  }

  .branches-container::before {
    content: '';
    position: absolute;
    top: 9px;
    left: 0;
    right: 0;
    height: 2px;
    background-image: linear-gradient(to right, #aaa 40%, rgba(255, 255, 255, 0) 0%);
    background-size: 8px 2px;
    background-repeat: repeat-x;
    z-index: 1;
  }

  .dropdown-toggle {
    margin-top: 15px;
    color: #2e9e49;
    text-decoration: none;
    font-weight: 500;
  }

  .dropdown-menu {
    text-align: left;
    z-index: 10;
  }



  
  

/*.page-header {
    padding-top: 12rem;
    padding-bottom: 6rem;
    background: url(../img/header.jpg) top left no-repeat;
    background-size: cover;
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
    font-weight: 500;
}

.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: var(--tertiary);
}


/*** Facts ***/
.facts {
    background: linear-gradient(rgba(53, 94, 252, .95), rgba(53, 94, 252, .95)), url(../img/bg.png);
}


/*** Callback ***/
.callback {
    position: relative;
}

.callback::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 50%;
    top: 0;
    left: 0;
    background: linear-gradient(rgba(53, 94, 252, .95), rgba(53, 94, 252, .95)), url(../img/bg.png);
    z-index: -1;
}


/*** Feature ***/
.feature .feature-box,
.feature .feature-box * {
    transition: .5s;
}

.feature .feature-box:hover {
    background: var(--primary);
    border-color: var(--primary) !important;
}

.feature .feature-box:hover * {
    color: #FFFFFF !important;
}


/*** Service ***/
.service .nav .nav-link {
    transition: .5s;
}

.service .nav .nav-link.active {
    border-color: var(--primary) !important;
    background: var(--primary);
}

.service .nav .nav-link.active h5 {
    color: #FFFFFF !important;
}

.service .nav .nav-link.active h5 i {
    color: #FFFFFF !important;
}

/* Make cards rounded and apply hover effect */
.card-hover {
    border-radius: 1rem; /* Fully rounded corners */
    transition: all 0.3s ease;
    background-color: white;
    color: #000;
}

.card-hover i {
    transition: color 0.3s ease;
}

/* Hover styles */
.card-hover:hover {
    background-color: var(--secondary); /* Bootstrap's red */
    transform: translateY(-5px); /* Slight lift */
    filter: brightness(1.052); /* Brighter on hover */
}

.card-hover:hover i {
    color: #ffffff;
}













/*** Footer ***/
.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: var(--light);
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--primary);
    letter-spacing: 1px;
    box-shadow: none;
}

.copyright {
    color: var(--light);
    background: #000B1C;
}

.copyright a {
    color: var(--light);
}

.copyright a:hover {
    color: var(--primary);
}