@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', 'sans-serif';
}

body, html {
    background:#081b29;
    color: white;
}

.header {
    position: fixed; 
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 10%;
    background-color: transparent; 
    display: flex;
    justify-content: space-between; 
    align-items: center;
    z-index: 100; 
}

.logo {
    position:relative;
    font-size: 25px;
    color: white;
    text-decoration: none;
    font-weight: 600;
}

.logo::before{
    content:'';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: #081b29;
    animation: showRight 1s ease forwards;
    animation-delay: .4s;

}

.navbar a {
    font-size: 18px;
    color: white;
    text-decoration: none;
    font-weight: 500;
    margin-left: 35px;
    transition: .3s;
}

.home {
    height: 100vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    padding: 0 10%;
}

.home-content {
    max-width: 600px;
}

.home-content h1 {
    position: relative;
    font-size: 55px;
    font-weight: 600;
    line-height: 1.2;
}

.home-content h1::before{
    content:'';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: #081b29;
    animation: showRight 1s ease forwards;
    animation-delay: 1s;

}

.home-content h3 {
    position: relative;
    font-size: 32px;
    font-weight: 700;
    color: cyan;
}

.home-content h3::before{
    content:'';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: #081b29;
    animation: showRight 1s ease forwards;
    animation-delay: 1.3s;
}

.home-content p {
    position: relative;
    font-size: 18px;
    margin: 20px 0 40px;
}

.home-content p::before{
    content:'';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: #081b29;
    animation: showRight 1s ease forwards;
    animation-delay: 1.6s;
}

.home-content .btn-box {
    position:relative;
    display: flex;
    justify-content: space-between;
    width: 345px;
    height: 50;
}

.home-content .btn-box::before{
    content:'';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: #081b29;
    animation: showRight 1s ease forwards;
    animation-delay: 1.9s;
    z-index: 2;

}

.btn-box a {
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 150px;
    height: 65px;
    background: #00abf0;
    border: 2px solid #00abf0;
    border-radius: 8px;
    font-size: 20px;
    color: #081b29;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 1px;
    z-index: 1;
    overflow: hidden;
    transition: .5s;
}

.btn-box a:hover {
    color: #00abf0;
}

.btn-box a:nth-child(2) {
    background: transparent;
    color: #00abf0;
}

.btn-box a:nth-child(2):hover {
    color: #081b29;
}

.btn-box a:nth-child(2)::before {
    background: #00abf0;
}

.btn-box a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: #081b29;
    z-index: -1;
    transition: .5s;
}

.btn-box a:hover:before {
    width: 100%;
    color: black;
}

.home-sci {
    position: absolute;
    bottom: 40px;
    width: 250px;
    display: flex;
    justify-content: space-between;
}

.home-sci::before{
    content:'';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: #081b29;
    animation: showRight 1s ease forwards;
    animation-delay: 2.5s;
    z-index: 2;
}

.home-sci a {
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    background: transparent;
    border: 2px solid #00abf0;
    border-radius: 50%;
    font-size: 25px;
    color: #00abf0;
    text-decoration: none;
    display: flex;
    z-index: 1;
    overflow: hidden;
    transition: .5s;
}

.home-sci a:hover {
    color: #081b29;
}

.home-sci a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: #00abf0;
    z-index: -1;
    transition: .5s;
}

.home-sci a:hover:before {
    width: 100%;
}

.home-imageHover {
    position: absolute;
    top: 0;
    right: 30px;
    width: 500px;
    height: 100%;
    background: transparent;
    transition: 3s;
}

.home-imageHover:hover {
    background: yellowgreen;
}

@keyframes showRight {
    100% {
        width: 0;
    }
    
}

.picture-box img {
    width: 350px;
    height: auto;
    border-radius: 10px;
    border: 2px solid #00abf0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s, box-shadow 0.3s, opacity 0.5s;
    opacity: 0;
    transform: scale(0.5);
    animation: revealPopUp 1s ease forwards;
    animation-delay: 2.5s;
}

@keyframes revealPopUp {
    0% {
        transform: scale(0.5);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}






/* Picture Box Section */
.picture-box-container {
    position: absolute;
    top: 200px; /* Adjust the position below the header */
    left: 50%;
    transform: translateX(-50%); /* Center horizontally */
    display: flex;
    justify-content: center;
    gap: 30px;
    z-index: 99; /* Ensure it's visible */
}

.picture-box {
    display: inline-block;
    text-align: center;
    margin: 20px;
}

.picture-box img {
    width: 350px; /* Adjust size */
    height: auto;
    border-radius: 10px;
    border: 2px solid #00abf0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s, box-shadow 0.3s;
}

.picture-box img:hover {
    transform: scale(1.1); /* Enlarge image on hover */
    box-shadow: 0 0 30px 15px rgba(0, 180, 255, 0.8); /* Glowing effect */
}

.description {
    font-size: 18px;
    font-weight: 600;
    color: #00abf0;
    margin-top: 10px;
    font-family: 'Poppins', sans-serif;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: color 0.3s;
}

.description::before{
    content:'';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: #081b29;
    animation: showRight 1s ease forwards;
    animation-delay: 1.5s;

}

.picture-box:hover .description {
    color: #fff; /* Change color on hover */
}

/* Navbar (Hamburger menu for mobile) */
.navbar {
    display: flex; /* Default navbar layout */
    gap: 15px;
}

.navbar a {
    font-size: 18px;
}

.navbar.active {
    display: flex;
}

.hamburger{
    display:none;
    
}

@media (max-width: 768px) {

    .hamburger {
        display: block;
        cursor: pointer;
        font-size: 30px;
        color: white;
    }

    /* Fix the header to the top */
    .header {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        padding: 10px 5%;
        background-color: transparent;
        display: flex;
        justify-content: space-between;
        align-items: center;
        z-index: 1000;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    }

    .logo {
        font-size: 22px; /* Adjust logo size for mobile */
    }

    /* Navbar adjustments for mobile */
    .navbar {
        display: none; /* Hide navbar by default */
        flex-direction: column; /* Stack navbar items vertically */
        gap: 10px;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background-color: #081b29;
        padding: 10px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Optional: adds shadow for visibility */
    }

    .navbar.active {
        display: flex; /* Show navbar when active */
    }

    .navbar a {
        font-size: 16px;
        padding: 10px;
        color: white;
        text-decoration: none;
        transition: 0.3s;
    }

    .navbar a:hover {
        background-color: #00abf0; /* Add hover effect for navbar links */
        color: #081b29;
    }

    /* Hamburger menu */
    .hamburger {
        display: block; /* Show the hamburger icon */
        font-size: 30px;
        color: white;
        cursor: pointer;
    }

    /* Social media icons fixed at the bottom */
    .home-sci {
        position: fixed;
        bottom: 10px;
        width: 200px;
        display: flex;
        justify-content: space-between;
        left: 50%;
        transform: translateX(-50%);
        z-index: 999;
    }

    .home-sci a {
        width: 45px;
        height: 45px;
        background: transparent;
        border: 2px solid #00abf0;
        border-radius: 50%;
        font-size: 20px;
        color: #00abf0;
        text-decoration: none;
        display: flex;
        justify-content: center;
        align-items: center;
        transition: 0.5s;
    }

    .home-sci a:hover {
        color: #081b29;
    }

    .home-sci a::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 0%;
        height: 100%;
        background: #00abf0;
        z-index: -1;
        transition: 0.5s;
    }

    .home-sci a:hover:before {
        width: 100%;
    }

    /* Make the picture boxes container scrollable on mobile */
    .picture-box-container {
        display: flex;
        justify-content: flex-start;
        gap: 15px;
        overflow-x: auto;
        max-width: 100%;
        padding: 0 5%;
    }

    .picture-box img {
        width: 250px;
        height: auto;
        border-radius: 10px;
        border: 2px solid #00abf0;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
        transition: transform 0.3s, box-shadow 0.3s;
    }

    .description {
        font-size: 16px;
    }

    .picture-box:hover .description {
        color: #fff;
    }

    /* Adjust home section layout */
    .home {
        padding: 0 5%;
        height: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        position: relative;
        background-size: cover;
        background-position: center;
        margin-top: 70px;
    }
}
