* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: raleway, sans-serif;
}




a {
    color: white;
    text-decoration: none;

}

.nav-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 10px 10%;
    background: #2f3339;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    visibility: hidden;
    opacity: 0;
    animation: show-content 1.5s linear forwards;
    animation-delay: 1.2s;
}

@keyframes show-content {
    100% {
        visibility: visible;
        opacity: 1;

    }

}


.nav-bar ul {
    display: flex;

}

.nav-bar ul li {
    list-style: none;
    display: inline-block;
    margin: 35px;

}

.nav-bar ul li a {
    font-size: 18px;
    font-weight: 500;
    transition: 0.5s;
}

.nav-bar ul li:hover a,
.nav-bar ul li.active a {
    color: #7cfe3d;
}

.nav-bar .logo {
    font-size: 30px;
    font-weight: 700;

}

.cont {
    padding: 5px 10px;
    background-color: #7cfe3d;
    border: 2px solid #7cfe3d;
    border-radius: 40px;
    font-size: 18px;

    color: #1f242d;
}

.cont:hover {
    background: transparent;
    color: #7cfe3d;
    box-shadow: none;
}


.home {
    gap: 80px;
    display: flex;
    align-items: center;
    height: 100vh;
    padding: 60px 9% 0;
    color: white;
    visibility: hidden;
    opacity: 0;
    animation: show-content 1.5s linear forwards;
    animation-delay: 1.6s;
}


.home h1 {
    font-size: 55px;

}

.home h2 {
    font-size: 32px;
    margin-top: 8px;
    display: inline-block;
}

.home h2 span {
    color: transparent;
    font-weight: 700;
    letter-spacing: 1px;
    display: inline-block;
    -webkit-text-stroke: .7px #7cfe3d;
    animation: display-text 16s linear infinite;
    animation-delay: calc(var(--i) * -4s);
    position: relative;
}

@keyframes display-text {

    25%,
    100% {
        display: none;
    }

}


.home h2 span::before {
    content: attr(data-text);
    position: absolute;
    border-right: 2px solid #7cfe3d;
    color: #7cfe3d;
    white-space: nowrap;
    overflow: hidden;
    width: 0;
    animation: fill-text 4s linear infinite;
}

@keyframes fill-text {

    10%,
    100% {
        width: 0;
    }

    70%,
    90% {
        width: 100%;
    }


}




.home p {
    font-size: 16px;
    padding: 10px 0 25px;
}


.home-info .btn-sci {
    display: flex;
    align-items: center;

}

.btn {
    display: inline-block;
    padding: 10px 30px;
    background-color: #7cfe3d;
    border: 2px solid #7cfe3d;
    border-radius: 40px;
    font-size: 16px;
    font-weight: 600;
    color: #1f242d;

    cursor: pointer;
    transition: 0.5s;
    box-shadow: 0 0 10px #7cfe3d;
}

.btn:hover {
    background: transparent;
    color: #7cfe3d;
    box-shadow: none;
}

.bar-animation {
    width: 100%;
    height: 100%;
    position: absolute;
    display: flex;
    z-index: -1;
}

.bar-animation .bar {
    width: 100%;
    height: 100%;
    animation: show-bar .5s ease-in-out forwards;
    background: #1f242d;
    transform: translateY(-100%);
    animation-delay: calc(var(--i) * .1s);

}

@keyframes show-bar {
    100% {
        transform: translateY(0%);
    }

}

.container {
    background: #2f3339;
    height: 600px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 60px 9% 0;
    color: white;
}

.text {
    color: #7cfe3d;
    font-size: 48px;

}

.progress-bar-container {
    width: 100%;
    height: 20px;
    background: #1f242d;
    border-radius: 10px;
    margin-top: 40px;
}

.progress-bar-fill {
    height: 100%;
    background: #7cfe3d;
    border-radius: 10px;
    transition: width 0.5s;
    color: #1f242d;
}

.progress-bar-text {
    position: absolute;
    left: 13%;
    transform: translateX(-50%);
    color: white;
    font-size: 12px;
    font-weight: 500;
    gap: 60px;
}







.middle {
    background: #1f242d;
    height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 60px 9% 0;
    color: white;
}

.middle h2 {
    font-size: 24px;
    margin-bottom: 10px;
}

.middle p {
    font-size: 16px;
    margin-bottom: 20px;
}

.middle button {
    padding: 10px 20px;
    background: #7cfe3d;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

.middle button:hover {
    background: #6bcf2d;

}


.middle button {


    font-weight: 500;
    font-size: 16px;
    padding: 10px 20px;
    background: #7cfe3d;
    border: none;
    border-radius: 40px;
    cursor: pointer;
    transition: background 0.3s;
}

.middle button:hover {
    border: 2px solid #7cfe3d;
    background: transparent;
    color: #7cfe3d;
    box-shadow: none;


}


.footer {
    background: #2f3339;
    color: white;
    text-align: center;
    padding: 20px;
}


/* Default (desktop) */
#menu-toggle {
  display: none;
}
.menu-icon {
  display: none;
  font-size: 28px;
  color: white;
  cursor: pointer;
}

/* ============== Responsive ============== */
@media (max-width: 768px) {
  .nav-bar {
    padding: 10px 5%;
  }

  /* Show hamburger */
  .menu-icon {
    display: block;
    z-index: 110;
  }

  /* Hide nav links by default */
  .nav-links {
    display: none;
    position: absolute;
    top: 60px;
    right: 5%;
    width: 200px;
    background: #2f3339;
    flex-direction: column;
    border-radius: 8px;
    padding: 10px 0;
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
  }

  .nav-links li {
    margin: 15px 0;
    text-align: center;
  }

  .nav-links li a {
    font-size: 16px;
    display: block;
    padding: 10px;
  }

  /* Toggle menu when checkbox is checked */
  #menu-toggle:checked ~ .nav-links {
    display: flex;
  }
}


/* ==================== Large Screens (Desktops >1200px) ==================== */
@media (min-width: 1200px) {
    .home h1 {
        font-size: 65px;
    }

    .container {
        padding: 80px 15%;
    }

    .middle h2 {
        font-size: 32px;
    }
}


/* ==================== Tablets (768px – 1199px) ==================== */
@media (max-width: 1199px) and (min-width: 768px) {
    .nav-bar {
        padding: 10px 5%;
    }

    .nav-bar ul li {
        margin: 20px;
    }

    .home {
        flex-direction: row;
        gap: 40px;
        padding: 40px 6%;
    }

    .home h1 {
        font-size: 40px;
    }

    .home p {
        font-size: 15px;
    }

    .container {
        padding: 40px 6%;
    }

    .text {
        font-size: 36px;
    }

    .middle h2 {
        font-size: 20px;
    }
}


/* ==================== Mobiles (<768px) ==================== */
@media (max-width: 767px) {
    /* Nav Bar → Hamburger */
    .nav-bar {
        padding: 10px 5%;
    }

    .nav-bar ul {
        display: none;
        position: absolute;
        top: 60px;
        right: 5%;
        background: #2f3339;
        flex-direction: column;
        width: 200px;
        border-radius: 8px;
        padding: 10px 0;
    }

    .nav-bar ul li {
        margin: 15px 0;
        text-align: center;
		justify-content: center;
    }
	
	
	.cont{
		padding: 2px 4px;
		width: 150px;
		margin-left: 25px;
		
		
	}

    /* Add a toggle button */
    .menu-toggle {
        display: block;
        font-size: 28px;
        color: white;
        cursor: pointer;
    }

    .home {
        flex-direction: column;
        text-align: center;
        padding: 40px 5%;
        height: auto;
		 margin-top: 100px;
    }

    .home h1 {
        font-size: 32px;
    }

    .home p {
        font-size: 14px;
    }

    .home img {
        width: 300px;
        max-width: 300px;
        margin-top: 5px;
		 height: 370px;
    }

    .container {
        padding: 30px 5%;
    }

    .text {
        font-size: 28px;
    }
	
	
	.btn-sci{
		justify-content: center;
		align-items: center;
	}

    .progress-bar-container {
        margin-top: 25px;
    }

    .middle {
        height: auto;
        padding: 40px 5%;
    }

    .middle h2 {
        font-size: 18px;
    }

    .middle p {
        font-size: 14px;
    }

    .middle button {
        font-size: 14px;
        padding: 8px 16px;
    }

    .footer {
        font-size: 14px;
    }
}


