* {
    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 {
    justify-content: center;
    display: flex;
    align-items: center;
    padding-top: 10%;
    width: 100%;
    color: white;
    visibility: hidden;
    opacity: 0;
    animation: show-content 1.5s linear forwards;
    animation-delay: 1.6s;
}


.home h1 {
    font-size: 55px;
    padding-left: 220px;
    align-items: center;
}


@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: 25px;
    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%);
    }

}


body {
    background-color: #9B9B9B;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}



.wrapper {
    width: 1000px;
    background-color: #1f242d;
    position: relative;
    margin-left: auto;
    margin-right: auto;
    border-radius: 15px;
    color: #7cfe3d;
    box-shadow: #7cfe3d 0px 0px 20px;
    margin-top: 40px;
}




form {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    justify-content: center;
}



.contact {
    width: 800px;
    margin: auto;
    padding: 2rem 1rem;
    align-items: center;
    font-size: bold;
}

.contact h2 {
    text-align: center;
    color: #ffffff;
    margin-bottom: 20px;
}


button[type="submit"] {
    background: black;
    color: white;
    padding: 0.75rem;
    border: solid;
    border-style: solid;
    border-color: #7cfe3d;
    border-radius: 4px;
    cursor: pointer;
}


input,
textarea {
    padding: 0.75rem;
    border: 1px solid #7cfe3d;
    border-radius: 4px;
}



.footer {
    background: #2f3339;
    color: white;
    text-align: center;
    padding: 20px;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
}

/* 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;
  }
}


/* ==================== 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;
    }

	
	
	.cont{
		padding: 2px 4px;
		width: 150px;
		margin-left: 25px;
		
		
	}
    .nav-bar ul li {
        margin: 15px 0;
        text-align: center;
    }

    /* Add a toggle button */
    .menu-toggle {
        display: block;
        font-size: 28px;
        color: white;
        cursor: pointer;
    }
	
	
	/* ==================== Large Screens (≥1200px) ==================== */
@media (min-width: 1200px) {
  .wrapper {
    width: 1000px;
    padding: 2rem;
  }

  .contact {
    width: 800px;
    font-size: 1rem;
  }

  .home h1 {
    font-size: 55px;
  }

  .home p {
    font-size: 25px;
  }
}

/* ==================== Tablets (768px – 1199px) ==================== */
@media (max-width: 1199px) and (min-width: 768px) {
  .wrapper {
    width: 90%;
    padding: 1.5rem;
  }

  .contact {
    width: 90%;
  }

  .home h1 {
    font-size: 42px;
    padding-left: 0;
    text-align: center;
  }

  .home p {
    font-size: 18px;
    text-align: center;
  }

  .nav-bar ul li {
    margin: 20px;
  }
}

/* ==================== Mobiles (≤767px) ==================== */
@media (max-width: 767px) {
  body {
    flex-direction: column;
    padding: 0;
  }

  .wrapper {
    width: 95%;
    margin: 20px auto;
    padding: 1rem;
  }

  /* Navbar */
  .nav-bar {
    padding: 10px 5%;
  }

  .menu-icon {
    display: block;
    z-index: 110;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 60px;
    right: 5%;
    width: 220px;
    background: #2f3339;
    flex-direction: column;
    border-radius: 8px;
    padding: 15px 0;
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
  }

  .nav-links li {
    margin: 12px 0;
    text-align: center;
  }

  .nav-links li a {
    font-size: 16px;
    display: block;
    padding: 10px;
  }

  #menu-toggle:checked ~ .nav-links {
    display: flex;
  }

  /* Hero/Home */
  .home {
    flex-direction: column;
    text-align: center;
    padding: 60px 15px;
  }

  .home h1 {
    font-size: 28px;
    padding-left: 0;
  }

  .home p {
    font-size: 16px;
  }

  /* Contact Section */
  .contact {
    width: 100%;
    padding: 1rem;
  }

  form {
    gap: 0.75rem;
  }

  input,
  textarea {
    font-size: 14px;
    width: 100%;
  }

  button[type="submit"] {
    width: 100%;
    padding: 0.75rem;
    font-size: 16px;
  }

  /* Footer */
  .footer {
    font-size: 14px;
    padding: 15px;
  }
}



