html {
  scroll-behavior: smooth;
}
body{
  /*  background: linear-gradient(to bottom right, #1f4037, #99f2c8); */
    background-color: #f4f4f4;
    min-height: 100vh;
    margin:0;
    font-family: 'Segoe UI', sans-serif;
}

.logo{
  width: 10%;
  height:auto;
  padding-left: 90%;
}

.hamburger{
  display: none;
}

header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    background: linear-gradient(to bottom right, #2c4c3b, #85a595);
    position: sticky;
    top: 0;
    z-index: 1000; /* ensures nav stays above other content */
    backdrop-filter: blur(6px); /* optional: sleek translucent look */
}

header nav ul{
    list-style-type:none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding:0;
}

header nav ul li a{
    text-decoration: none;
    font-weight: bold;
   color: #f2f2f2;
    font-size: 16px;
    padding: 8px 12px;
    border-radius: 4px;
    transition: backround-color 0.3s ease;
}

header nav ul li a:hover {
    background-color: #dcdcdc;
    color: #1f1f1f;
}

header nav h1{
   background: linear-gradient(to right, #7ba687, #aeb2b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

footer {
  background-color: #2c4c3b;
  color: #f1f1f1;
  padding: 40px 20px;
  text-align: center;
  margin-top: 60px;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.footer-content h4 {
  margin: 0;
  font-size: 1.4rem;
  color: #81c784;
}

.footer-content nav ul {
  list-style: none;
  display: flex;
  gap: 25px;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}

.footer-content nav ul li a {
  text-decoration: none;
  color: #f1f1f1;
  font-weight: 500;
  transition: color 0.3s ease;
}

.footer-content nav ul li a:hover {
  color: #d3d3d3;
}

.footer-content p {
  font-size: 0.9rem;
  margin-top: 10px;
  color: #ccc;
}


/* ------------------- RESPONSIVE STYLES ------------------- */
@media (max-width: 1024px) {
  #introduction-container,
  .section,
  .work-section,
  .contact-container {
    flex-direction: column;
    padding: 30px 20px;
    text-align: center;
  }

  .section-text,
  .work-text,
  .contact-left,
  .service-card {
    flex: 1 1 100%;
    max-width: 100%;
  }

    .logo{
      width:30%;
      height:20%;
      padding-inline-start: 35%;
    }

  .work-image,
  #intro-image {
    width: 100%;
    height: auto;
  }

  .carousel-slide {
    height: 300px;
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  #nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
  }

  header nav {
    flex-direction: column;
    align-items: center;
  }

  header nav ul {
    width: 100%;
    padding: 10px 0;
  }

  header nav ul li {
    width: 100%;
    text-align: center;
  }

  header nav ul li a {
    display: block;
    width: 100%;
    padding: 10px 0;
  }

/* Mobile Nav Hidden by Default */
#nav-links {
  transition: max-height 0.3s ease;
}

/* Show/hide with class toggle */
#nav-links.active {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  margin-top: 10px;
}

.hamburger {
  background: none;
  border: none;
  font-size: 28px;
  color: #f2f2f2;
  cursor: pointer;
}


  #intro-bar {
    height: 35vh;
  }

  .contact-inputs {
    width: 100%;
    max-width: 100%;
  }

  #showcase {
    flex-direction: column;
  }

  .project {
    width: 90%;
  }

  .carousel {
  width: 100%;
  height: 250px;
  position: relative;
}

.work-section {
  flex-direction: column !important;
  text-align: center;
  gap: 30px;
}

.work-text {
  padding: 0 15px;
  font-size: 1rem;
}

.work-image {
  width: 100%;
  height: auto;
}

.carousel-slide {
  height: auto;
  max-height: 250px;
  object-fit: cover;
}



  #intro-image {
    height: 300px;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 15px;
  }

  h1, h2 {
    font-size: 1.6rem;
  }

  .section-heading,
  #services-container h2 {
    font-size: 1.8rem;
  }

  .contact-left-title h2 {
    font-size: 1.8rem;
  }

  .contact-left button {
    padding: 12px 20px;
    font-size: 14px;
  }

.carousel,
.carousel-slide {
  min-height: 250px;
}

#work-container {
  padding: 30px 20px;
}


.work-text h2 {
  font-size: 1.5rem;
}

.work-text p {
  font-size: 0.95rem;
  line-height: 1.5;
}

.carousel-btn {
  padding: 6px 10px;
  font-size: 18px;
}

.project {
  width: 100%;
  padding: 15px;
}

footer {
  font-size: 0.9rem;
}


  .footer-content nav ul {
    flex-direction: column;
    gap: 10px;
  }

  .service-card {
    padding: 20px;
  }
}

/* Remove empty cloud/rain space on mobile */
@media (max-width: 768px){
  .intro-image,
  #intro-image {
    display: none !important;
  }
}

html, body {
  overflow-x: hidden;
}

