
body{
    overflow: hidden;
    position: relative;
    /* bottom: 3rem; */
}
    .slider {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

/* Specific targeting for the man image */
/* .slide:first-child {
    background-position: center 0% !important; 
} */

.slide.active {
    opacity: 1;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

.overlay-nayo {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    color: #fff;
    text-align: center;
}

.logo {
    position: absolute;
    top: 20px;
    left: 40px;
    font-size: 28px;
    font-weight: bold;
}

/* Navigation */
.nav {
    position: absolute;
    top: 20px;
    right: 50px;
}

/* .learn-and-thrive {
    background: rgba(0, 0, 0, 0.5); 
    backdrop-filter: blur(10px); 
    padding: 20px; 
    text-align: left;
    color: #fff;
} */
.Anima-Describ {
    position: relative;
    display: flex;
    justify-content: center;
    bottom: 5rem;
    overflow: hidden; 
}

.home-header-content {
    height: 100vh; 
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    padding: 15px;
    top: 42rem;
    position: relative;
    z-index: 1;
}

.home-header-content .home-logo-text {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: floatIn 1.2s ease-out forwards;
    transform: translateY(20px);
    opacity: 0;
}

.home-logo-text img {
    height: 80px; /* Increased height */
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.3));
}

.home-logo-text:hover img {
    transform: translateY(-10px) scale(1.05);
    filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.4));
}

.home-logo-text h2 {
    margin-top: 20px;
    font-size: 2rem;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    position: relative;
}

/* Enhanced learn-and-thrive section */
.learn-and-thrive {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(12px);
    padding: 25px 40px;
    text-align: center;
    color: #fff;
    border-radius: 15px;
    max-width: 80%;
    margin: 30px auto 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
    transform: translateY(30px);
    opacity: 0;
    animation: fadeUp 1s ease-out 0.3s forwards;
    position: relative;
    z-index: 2;
}

.learn-and-thrive::before {
    content: "";
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: linear-gradient(45deg, rgba(79,172,254,0.2), rgba(0,242,254,0.2));
    filter: blur(15px);
    z-index: -1;
    border-radius: 20px;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.learn-and-thrive:hover::before {
    opacity: 1;
}

/* Animations */
@keyframes floatIn {
    0% {
        transform: translateY(30px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fadeUp {
    0% {
        transform: translateY(30px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Background image treatment (add this to your image container) */
/* .Anima-Describ::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    opacity: 0.9;
} */
.site-header .navbar .navbar-nav .nav-item .nav-link{
    /* color: #fff; */
    /* background-color: red; */
    color: #fff
}

.text-center h3 {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.text-center h1 {
    font-size: 70px;
    font-weight: bold;
}

.text-center h1 span {
    font-weight: 300;
}
/* Border Button */
.border-button {
    display: inline-flex;
    position: relative;
    font-size: 14px;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    padding: 10px 30px;
    margin-top: 20px;
    transition: all 0.3s ease-in-out;
}

/* Corner Borders */
.border-button::before,
.border-button::after,
.border-button span::before,
.border-button span::after {
    content: "";
    position: absolute;
    width: 18px;
    height: 100%;
    border: 2px solid #fff;
    transition: all 0.3s ease-in-out;
   
}

/* Top Left */
.border-button::before {
    top: 0;
    left: 0;
    border-right: none;
    border-bottom: none;
}

/* Top Right */
.border-button::after {
    top: 0;
    right: 0;
    border-left: none;
    border-bottom: none;
}

/* Bottom Left */
.border-button span::before {
    bottom: 0;
    left: 0;
    border-right: none;
    border-top: none;
}

/* Bottom Right */
.border-button span::after {
    bottom: 0;
    right: 0;
    border-left: none;
    border-top: none;
}

/* Hover Effect - Borders move towards the center */
.border-button:hover::before,
.border-button:hover::after {
    width: 100%;
    /* height: 10px; */
    
}

.border-button:hover span::before,
.border-button:hover span::after {
    width: 100%;
    color: #fff;
    /* height: 10px; */
}


.site-header .navbar .nav-item .nav-link.active::before, .site-header .navbar .nav-item .nav-link:hover::before {
    content: "";
    border-bottom: solid 2px #ffffff;
    width: calc(100% - 0px);
    display: block;
    position: absolute;
    bottom: 1px;
    z-index: 1;
  }

.home-header-content .nayo-name{
    position: absolute;
    bottom: 10px;
}



@media screen and (max-width: 992px) {
    .site-header .navbar .navbar-nav .nav-item .nav-link{
        /* color: #fff; */
        /* background-color: red; */
        color: black
    }

    .navbar-collapse{
        background-color: #fff;
        width: 100%;
        color: black;
        border-bottom: none;

        
    }

    .site-header .navbar .nav-item .nav-link.active::before, .site-header .navbar .nav-item .nav-link:hover::before {
        content: "";
        border-bottom: solid 2px #000000;
        width: calc(100% - 0px);
        display: block;
        position: absolute;
        bottom: 1px;
        z-index: 1;
      }
    
    
    
}



@media screen and (max-width: 768px) {
    .home-header-content .nayo-name h1{
        font-size: 40px;
    }
    .home-header-content .nayo-desc{
        font-size: 16px;
    }

    .home-header-content .nayo-name{
        position: absolute;
        bottom: 30px;
    }
    
}
@media screen and (max-width: 400px) {
    .home-header-content .nayo-name h1{
        font-size: 35px;
    }
    
}