
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

/* Navbar Styles */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background-color: #1e1e1e;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.logo-container {
    display: flex;
    align-items: center;
      opacity: 0; 
  transform: translateY(-20px);
  transition: opacity 0.5s ease, transform 0.5s ease; 
}

.logo-container.appear {
  opacity: 1;
  transform: translateY(0);
}

.logo {
    width: 40px;
    height: 40px;
    margin-right: 10px;
}

.logo-text {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 2rem;
    opacity: 0; 
    transform: translateY(-20px); 
    transition: opacity 0.5s ease, transform 0.5s ease, color 0.3s ease; 
}

.nav-links li.appear {
  opacity: 1;
  transform: translateY(0);
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  position: relative;
  padding: 5px 0; 
  display: inline-block;
  transition: color 0.3s, transform 0.3s;
}

.nav-links a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: #4caf50;
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: #4caf50;
  transform: translateY(-3px); 
}

.nav-links a:hover::after {
  width: 100%; 
}

/* Home Section Styles */
.home-section {
    padding-top: -55px; 
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #121212;
}

.video-container {
    position: relative;
    margin-top: 69px;
    width: 100%;
    max-width: 1700px;
    height: 800px;
    aspect-ratio: 16/9;
    overflow: hidden;
    border-radius: 20px;
}

.hero-video {
    margin-left: -40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    height: 1000px;
}

.hero-text {
    position: absolute;
    bottom: 30px;
    margin-left: 550px;
    color: #fff;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
}

.hero-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    font-family: 'Minecraft', sans-serif;
}

/* Best Projects Section Styles */
.best-projects-section {
    padding: 5rem 0;
    background-color: #f9f9f9;
    overflow: hidden;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #333;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background-color: #4CAF50;
}

.scrolling-images {
    width: 100%;
    overflow: hidden;
}

.image-track {
    display: flex;
    animation: scroll 40s linear infinite;
}

.image-track img {
    height: 200px;
    width: 300px;
    object-fit: cover;
    margin-right: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* Projects Section Styles */
.projects-section {
    padding: 5rem 0;
    background-color: #fff;
}

.category p{
    text-align: center;
    font-size: 1.5rem;
    color: #333;
    margin-top: 120px;
}

.categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 0 5%;
}

.category h3 {
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    color: #333;
}

.slider-container {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  width: 100%;
  padding: 0;
  margin: 0;
}

.slider {
    display: flex;
    transition: transform 0.5s ease;
      width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
}

.slide-link {
  flex: 0 0 100%;
  max-width: 100%;
  width: 100%;
  height: 100%;
  display: block;
  padding: 0;
  margin: 0;
}

.slider img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
  padding: 0;
  margin: 0;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 10;
    transition: background-color 0.3s;
}

.slider-btn:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.prev-btn {
    left: 10px;
}

.next-btn {
    right: 10px;
}

/* About Us Section Styles */
.about-section {
    padding: 5rem 0;
    background-color: #f9f9f9;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    padding: 0 5%;
    align-items: center;
}

.about-image img {
    width: 100%;
    max-width: 700px;
    border-radius: 10px;
}

.about-text h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: #333;
}

.about-text p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: #555;
}

/* Contact Us Section Styles */
.contact-section {
    padding: 5rem 0;
    background-color: #fff;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    padding: 0 5%;
    align-items: center;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
    resize: none;
}

.submit-btn {
    padding: 1rem 2rem;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
    align-self: flex-start;
}

.submit-btn:hover {
    background-color: #388E3C;
}

.creeper-image img {
    width: 100%;
    max-width: 400px;
    display: block;
    margin: 0 auto;
}

/* Footer Styles */
.footer {
    background-color: #1e1e1e;
    color: #fff;
    padding: 3rem 0;
    text-align: center;
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 5%;
}

.footer-title {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.footer-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #aaa;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.social-link {
    color: #fff;
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.3s;
}

.social-link i {
    margin-right: 0.5rem;
}

.social-link:hover {
    color: #4CAF50;
}

.copyright {
    color: #aaa;
    font-size: 0.9rem;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .about-grid,
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        text-align: center;
        margin-bottom: 2rem;
    }
    
    .creeper-image {
        display: none;
    }
}

@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        padding: 1rem;
    }
    
    .logo-container {
        margin-bottom: 1rem;
    }
    
    .nav-links {
        width: 100%;
        justify-content: space-around;
    }
    
    .nav-links li {
        margin: 0;
    }
    
    .video-container {
        width: 90%;
    }
    
    .hero-text h2 {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .categories {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .nav-links {
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .hero-text h2 {
        font-size: 1.5rem;
    }
    
    .social-links {
        flex-direction: column;
        gap: 1rem;
    }
}