/* font */
@import url(https://fonts.googleapis.com/css2?family=Overpass:ital,wght@0,100..900;1,100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap);

*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    text-decoration: none;
    font-family: 'Overpass', sans-serif;
    text-decoration: none !important;


}


/* Header + nav */

header{

    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.9); /* Slight transparency */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease-in-out;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgb(3, 3, 3);
    color: #FFF;
    padding: 15px 0;
    z-index: 1000;
    text-align: center;
    transition: background-color 0.3s ease;
}

/* Logo Style */
.navbar-brand img {
    max-height: 40px;
    padding-right: 20px;
    padding-left: 20px;
    transition: transform 0.3s ease-in-out;
}

.navbar-brand img:hover {
    transform: scale(1.1);
}

/* Navigation Links */
.nav-link {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    margin-right: 20px;
    transition: color 0.3s ease-in-out;
}

.nav-link:hover {
    color: rgb(61, 212, 61) !important;
}

.navbar-nav .nav-item.active .nav-link {
    font-weight: bold;
    color: rgb(61, 212, 61);
}

.navbar-nav {
    margin-left: auto;
}

.hero {
    width: 100%;
    height: 100vh;
    background: linear-gradient(to bottom, rgba(41, 40, 40, 0.596), rgba(0, 0, 0, 0.863)), 
                url(../image/header.webp);
                background-color: #000; /* Fallback color */
    background-position: center;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}
.hero .header-text {
    width: 90%;
    margin: auto;
    text-align: center;
    opacity: 0;
    animation: fadeIn 1s forwards ease-in-out 0.5s;
}
.hero .header-text h1 {
    font-size: 40px;
    color: #fff;
    font-weight: 500;
    margin-bottom: 10px;
    opacity: 0;
    transform: translateY(-30px);
    animation: slideIn 1s forwards ease-in-out 0.8s;
}

.hero .header-text h1 span {
    color: rgb(37, 182, 37);
    font-size: 80px;
    font-weight: bold;
}

.hero .header-text p {
    color: #fff;
    margin-bottom: 30px;
    opacity: 0;
    animation: fadeIn 1s forwards ease-in-out 1s;
}

.btn {
    padding: 10px 30px;
    background-color: rgb(37, 182, 37);
    text-transform: uppercase;
    color: #fff;
    font-weight: bold;
    border-radius: 30px;
    border: 2px solid rgb(37, 182, 37);
    transition: 0.3s;
    opacity: 0;
    animation: fadeIn 1s forwards ease-in-out 1.2s;
    margin: 0 10px;
}

.btn:hover {
    background-color: transparent;
    color: rgb(37, 182, 37);
    border: 2px solid rgb(37, 182, 37);

}

.toggler {
    display: none;
    font-size: 24px;
    color: #fff;
    margin-right: 20px;
    cursor: pointer;
}



/* Keyframes for Animation */
@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

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




/* Mobile View Adjustments */
@media (max-width: 767px) {
    .navbar {
        padding: 10px 0;
    }
    .hero .header-text h1 {
        font-size: 30px;
    }
    
    .hero .header-text h1 span {
        font-size: 60px;

    }
    .header-text .btn{
        padding: 8px 10px;
    }
    /* Navbar toggle button style */
    .navbar-toggler {
        border: none;
        outline: none;
        color: #fff;
        font-size: 24px;
        background: none;
        border: none;
        padding: 8px 15px;
        margin-right: 5%;
    }


    .navbar-toggler:focus,
    .navbar-toggler:active {
        outline: none;
        box-shadow: none;
    }


    /* Align navigation to center in mobile */
    .navbar-nav {
        text-align: center;
    }

    .navbar-nav .nav-item {
        margin-right: 0;
        margin-bottom: 10px;
    }

    .navbar-nav .nav-link {
        font-size: 16px;
    }

    .navbar-brand img {
        max-height: 35px;
    }
}

/* Larger screen adjustments */
@media (min-width: 768px) {
    .navbar {
        padding: 15px 0;
    }

    .navbar-nav .nav-item {
        margin-right: 20px;
    }

    .navbar-nav .nav-link {
        font-size: 18px;
    }
    .hero .header-text h1 {
        font-size: 30px;
    }
    
    .hero .header-text h1 span {
        font-size: 60px;

    }
    .header-text .btn{
        padding: 8px 22px;
    }
}

/* Toggle Menu Styling for Dropdown */
.navbar-collapse {
    transition: height 0.3s ease;
}

.collapsing {
    transition: height 0.3s ease;
}

.collapse.show {
    display: block;
}