
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}


header {
    display: flex;
    justify-content: center;
    padding: 10px 0;
    background-color: #fff;
    border-bottom: 1px solid #ddd;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 90%;
    max-width: 1200px;
}

.logo {
    font-size: 1.5em;
    font-weight: bold;
}

.logo span {
    color: #28a745;
}

nav ul {
    list-style: none;
    display: flex;
}

nav ul li {
    margin-right: 20px;
}

nav ul li a {
    text-decoration: none;
    color: #333;
    font-size: 1em;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #28a745;
}

#btn {
    background-color: #17ad3a;
    color: #ffffff;
    padding: 8px 15px;
    text-decoration: none;
    border-radius: 5px;
}

#btn:hover {
    background-color: #218838;
}

.light-theme {
    background-color: #fff;
    padding: 20px 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 90vh;
}

.hero-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    max-width: 1200px;
}

.text {
    flex: 1;
}

.subtext {
    color: #28a745;
    font-weight: bold;
    margin-bottom: 10px;
    font-size: 30px;
}

h1 {
    font-size: 3.5em;
    font-weight: bold;
    line-height: 1.2;
}

.image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.image img {
    width: 90%;
    max-width: 400px;
}


#hero1 {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #1e1e1e;
    padding: 0 20px;
}

.container1 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    width: 100%;
}

.hero-text1 {
    flex: 1;
}

.subtext1 {
    font-size: 1.5em;
    color: #28a745; 
    margin-bottom: 10px;
    font-weight: bold;
}

#trans{
    font-size: 3.5em;
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 20px;
    color: white;
}

.description1 {
    font-size: 1.1em;
    color: #d3d3d3;
    margin-bottom: 30px;
    max-width: 500px;
}

.btn1 {
    display: inline-block;
    background-color:#28a745;
    color: #1e1e1e;
    padding: 12px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
}

.btn1:hover:hover {
    background-color: #0ab25e;
}

.hero-image1 {
    flex: 1;
    display: flex;
    justify-content: center;
}

.hero-image1 img {
    width: 60%;
    margin-top: 30px;
    max-width: 500px;
}

   @keyframes gradientAnimation {
    0% {
      background-position: 0% 50%;
    }
    50% {
      background-position: 100% 50%;
    }
    100% { 
      background-position: 0% 50%;
    }
  }

  .projects-section {
  margin-top: 60px;
}

.projects-title {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 1px;
}

.project-filters .filter {
  margin-left: 15px;
  font-size: 14px;
  text-decoration: none;
  color: #666;
  transition: 0.3s;
}

.project-filters .filter:hover,
.project-filters .filter.active {
  color: #51f783;
  font-weight: 600;
}

.project-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 6px;
}

.project-name {
  font-size: 14px;
  margin-top: 8px;
  font-weight: 500;
  color: #333;
}
.project-item {
  opacity: 1;
  transform: scale(1);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

/* Hide animation */
.project-item.hide {
  opacity: 0;
  transform: scale(0.7);
  pointer-events: none;
}

/* Stagger animation on show */
.project-item.show {
  animation: staggerZoom 0.45s ease forwards;
}

@keyframes staggerZoom {
  0% {
    opacity: 0;
    transform: scale(0.6);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* Active filter tab styling */
.project-filters .filter.active {
  color: #168b06;
  font-weight: 700;
  border-bottom: 2px solid #3bf569;
  padding-bottom: 3px;
}
/* Project item base */
.project-item {
  /* ensure items participate in layout when visible */
  display: block;               /* IMPORTANT for grid/columns */
  opacity: 1;
  transform: scale(1);
  transition: opacity 0.35s ease, transform 0.35s ease;
  will-change: opacity, transform;
}

/* class applied to start hide animation */
.project-item.hiding {
  opacity: 0;
  transform: scale(0.8);
}

/* class applied after animation finishes to remove from layout */
.project-item.hidden {
  display: none !important;
  opacity: 0;
  transform: scale(0.8);
  pointer-events: none;
}

/* class applied to show with entrance animation */
.project-item.show {
  opacity: 1;
  transform: scale(1);
}

/* optional stagger control (reset) */
.project-item {
  transition-delay: 0s;
}


.reviews-carousel .review-item {
  background: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  text-align: center;
  font-size: 16px;
  line-height: 1.6;
}

.reviews-carousel .review-item h4 {
  margin-top: 15px;
  font-weight: bold;
  color: #333;
}


footer {
    position: relative;
    z-index: 1;
    background: linear-gradient(135deg, #000000, #434343);
    color: #ffffff;
    padding: 40px 20px;
    font-family: 'Arial', sans-serif;
    text-align: center;
    overflow: hidden;
  }
  
  footer::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: rotateBackground 30s linear infinite;
    z-index: -1;
  }
  
  @keyframes rotateBackground {
    from {
      transform: rotate(0deg);
    }
    to {
      transform: rotate(360deg);
    }
  }
  
  .footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
  
  .footer-info p {
    font-size: 14px;
    letter-spacing: 1px;
  }
  
  .footer-social {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
  
  .social-links {
    display: flex;
    gap: 20px;
  }
  
  .social-links a {
    display: inline-block;
    transition: transform 0.3s ease, filter 0.3s ease;
  }
  
  .social-links a:hover {
    transform: translateY(-5px);
    filter: brightness(1.2);
  }
  
  .social-links img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 50%;
    background: #fff;
    padding: 5px;
  }
  
  /* .designer-credit {
    font-size: 12px;
  }
  
  .designer-credit a {
    color: #ffffff;
    text-decoration: underline;
    transition: color 0.3s ease;
  }
  
  .designer-credit a:hover {
    color: #28a745;
  } */
  
@media (max-width: 1200px) {
    .nav, .hero-content, .container1 {
        width: 95%;
    }
}

@media (max-width: 992px) {
    .hero-content, .container1 {
        flex-direction: column;
        text-align: center;
    }

    .text, .hero-text1 {
        margin-bottom: 20px;
    }

    .image, .hero-image1 {
        justify-content: center;
    }

    .image img, .hero-image1 img {
        max-width: 80%;
    }

    nav ul li {
        margin-right: 10px;
    }

    .btn, .btn1 {
        padding: 10px 15px;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.5em;
    }

    .subtext, .subtext1 {
        font-size: 1.2em;
    }

    .description1 {
        font-size: 1em;
    }

    .btn, .btn1 {
        padding: 8px 12px;
    }

    .hero-image1 img {
        max-width: 100%;
    }

    #carousel .carousel-item img {
        height: 400px;
        object-fit: contain cover;
    }
}

@media (max-width: 576px) {
    header {
        flex-direction: column;
    }

    .nav {
        width: 100%;
        flex-direction: column;
        align-items: center;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
    }

    nav ul li {
        margin-right: 0;
        margin-bottom: 10px;
    }

    .logo {
        margin-bottom: 10px;
    }

    .btn, .btn1 {
        width: 100%;
        text-align: center;
    }

    .hero-content, .container1 {
        padding: 0 10px;
    }

    .image img, .hero-image1 img {
        max-width: 100%;
    }

    #carousel {
        padding: 20px;
    }

    #carousel .carousel-item img {
        height: 300px;
        object-fit: cover;
    } 

    /* Navbar link styling */
.navbar-nav .nav-link {
  color: #333;
  font-weight: 500;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: #28a745;
}

/* Toggler (hamburger) customization */
.navbar-toggler {
  border: none;
}

.navbar-toggler:focus {
  box-shadow: none;

}
.collapse:not(.show) {
  transition: height 0.3s ease;
}

}