body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #1C1C1C;
    color: #FFFFFF;
    overflow-x: hidden;
}

.navbar {
    background-color: #2C2C2C;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.logo img {
    width: 150px;
    height: auto;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 25px;
}

nav ul li a {
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
    padding: 10px 20px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

nav ul li a:hover {
    background-color: #ffcc00;
    color: #2C2C2C;
}

.tech-section {
    padding: 50px;
    background-color: #1C1C1C;
    color: #FFFFFF;
    text-align: center;
}

h1 {
    font-family: 'Montserrat', sans-serif;
    text-align: center;
    color: #FFCC00;
    padding: 50px;
  }

.tech-section h1 {
    color: #FFCC00;
    margin-bottom: 30px;
}

.tech-section p {
    font-size: 18px;
    margin-bottom: 40px;
    max-width: 800px;
    margin: 0 auto 40px auto;
}

.hero {
    position: relative;
    height: 250px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #FFFFFF;
  }
  
  .hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../img/techbg.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.3; 
    z-index: 1;
  }

.hero-text {
    text-align: center;
    font-size: 20px;
    z-index: 2;
}

.hero-text h1 {
    font-size: 50px;
    margin: 0; 
    color: #ffcc00;
    padding-bottom: 5px; 
    z-index: 2;
}

#herop {
    font-family: 'Montserrat', sans-serif;
    font-size: 40px;
    text-align: center;
    margin: 0; 
    padding-top: 5px; 
}

.drone-component {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #2C2C2C;
    border-radius: 10px;
    margin: 20px auto;
    padding: 20px;
    width: 70%; 
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.drone-component:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.4);
    background-color: rgba(255, 204, 0, 0.3); 
}

.drone-component img {
    width: 300px;
    height: 300px;
    border-radius: 8px;
}

.component-details {
    max-width: 600px;
    text-align: left;
}

.component-details h2 {
    color: #FFCC00;
    margin-top: 0;
}

footer {
    color: #959595;
    background: transparent;
    display: flex; 
    justify-content: center;
    align-items: center; 
    padding: 50px 0 0 0;
    text-align: center; 
}

.footer-copyright {
    font-size: 14px;
    color: #4b4b4b;
    padding: 0;
    margin: 0;
}

@media screen and (max-width: 1024px) {
    .tech-section {
        padding: 40px;
    }

    h1 {
        font-size: 32px;
        padding: 40px;
    }

    .hero {
        height: 200px;
    }

    .hero-text h1 {
        font-size: 42px;
    }

    #herop {
        font-size: 30px;
    }

    .drone-component {
        flex-direction: column;
        width: 80%;
        padding: 15px;
    }

    .drone-component img {
        width: 250px;
        height: 250px;
        margin-bottom: 15px;
    }

    .component-details {
        text-align: center;
        max-width: 100%;
    }

    footer {
        padding: 30px 0;
    }
}

@media screen and (max-width: 768px) {
    .tech-section {
        padding: 20px;
    }

    h1 {
        font-size: 28px;
        padding: 30px;
    }

    .hero {
        height: 150px;
    }

    .hero-text h1 {
        font-size: 32px;
    }

    #herop {
        font-size: 24px;
    }

    .drone-component {
        flex-direction: column;
        width: 90%;
        padding: 10px;
    }

    .drone-component img {
        width: 200px;
        height: 200px;
    }

    .component-details {
        text-align: center;
        max-width: 100%;
    }

    footer {
        padding: 20px 0;
    }
}
