/* Navbar Styling */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    font-weight: bold;
    z-index: 10;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    font-family: 'Itim';
       margin: 0;
    padding: 0;
    background-color: #fdf6b2;
    color: #333333;
    overflow-x: hidden;
}


nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    font-weight: bold;
    z-index: 10;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}
/*nav bar logo*/
nav .logo img {
    height: 40px;
    width: auto;
}

nav a {
    text-decoration: none;
    color: #fff;
    padding: 14px 30px;
    margin: 0 20px;
    border-radius: 30px;
    background-color: rgba(255, 255, 255, 0.8);
    font-size: 18px;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

nav a:hover {
    background-color: #ffd700;
    color: #333;
    transform: scale(1.05);
}

/* Feature Page Styling */
img.achieve {
    width: 250px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

img.logo {
    width: 170px;
}

body {
    font-family: 'Itim';
    background-color: #fdf6b2;
    margin: 0;
    padding: 0;
}

.feature-title {
    text-align: center;
    font-size: 60px;
    font-weight: bold;
    color: #ffcc00;
    margin-top: 30px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
    padding: 20px;
}

.feature-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(500px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px;
}

.feature-item {
    background-color: #fffbee;
    padding: 20px;
    border-radius: 20px;
    box-shadow: none;
    border: 2px solid #ffd700;
    text-align: center;
}

.feature-item h3 {
    font-size: 35px;
    color: #333;
    margin-bottom: 15px;
}

.feature-item p {
    font-size: 25px;
    color: #333;
    line-height: 1.5;
}

h1 {
    font-size: 50px;
}

.nav-video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(50%);
  }
/*animations for text*/
  .animated-text {
    font-family: 'Itim';
    font-size: 80px;
    color: #ffcc00;
    font-weight: bold;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    text-shadow: 3px 3px 8px rgba(0, 0, 0, 0.4);
    opacity: 0;
    animation: fadeInText 3s ease-out forwards;
  }

  /*fade in animations for text*/
  @keyframes fadeInText {
    0% {
        opacity: 0;
        transform: translate(-50%, -60%);
    }
    100% {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
  }