* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}
body {
  /* background: #121212; */
  background: #0A0A0A;
  color: white;
  text-align: center;
  padding: 20px;
  font-family: 'Poppins', Arial, sans-serif;
}
html, body {
  overflow-x: hidden;
  max-width: 100%;
  scroll-behavior: smooth;
}
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
}
.navbar a {
  color: white;
  text-decoration: none;
  margin: 0 10px;
}
.menu {
  display: flex;
}
.menu a {
  padding: 10px;
}
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}
.hamburger div {
  width: 30px;
  height: 4px;
  background: white;
  margin: 5px;
  border-radius: 2px;
}
.mobile-menu {
  display: none;
  flex-direction: column;
  position: absolute;
  top: 60px;
  right: 0;
  background: #1c1c1c;
  width: 100%;
  text-align: center;
}
.mobile-menu a {
  padding: 15px;
  display: block;
  border-bottom: 1px solid #333;
}
.header {
  font-size: 24px;
  font-weight: bold;
}
.logo {
  width: 150px;
  height: auto;
  margin-right: 20px;
  /* padding-right: 20px; */
}
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 40px 20px;
}
.hero-content {
  text-align: left;
  max-width: 50%;
}
.hero h1 {
  font-size: 65px;
  margin: 10px 0; 
  line-height: 1.1;
}
.hero img {
  width: 53%;
  /* border-radius: 10px; */
}
.highlight {
  color: #FFA500;
}
.btn {
  display: inline-block;
  background: #FFA500;
  color: black;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 20px;
  margin-top: 10px;
}
.services {
  text-align: center;
  padding: 50px 10%; 
  background: #191818;
  color: white;
}

.services h1 {
  font-size: 45px;
  margin-bottom: 10px;
}

.services p {
  font-size: 22px;
  margin-bottom: 30px;
  color: #ccc;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.service-box {
  background: #1c1c1c;
  padding: 40px 20px; 
  border-radius: 15px;
  text-align: center;
  transition: transform 0.3s ease-in-out;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 180px;
  font-size: 18px;
  font-weight: bold;
}
.service-box span {
  font-size: 30px;
  font-weight: bold;
  color: white;
}
.service-box:hover {
  transform: translateY(-10px);
}

.footer{
  text-align: center;
  padding: 50px 10%; 
  /* background: #1c1c1c; */
  color: white;
}

/* Icon & Image Container */
.icon-container {
  position: relative;
  width: 70px;
  height: 70px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 15px;
  /* background: #FFA500; */
  border-radius: 50%;
}

/* Image: Initially Visible */
.icon-container img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: block;
  /* object-fit: cover; */
}

/* FontAwesome Icon: Hidden Initially */
.icon-container i {
  font-size: 28px;
  width: 70px;
  height: 70px;
  color: black;
  border-radius: 50%;
  display: none; /* Hidden unless image fails */
  justify-content: center;
  align-items: center;
  background: #FFA500;
}

.our-work{
  text-align: center;
  padding: 50px 10%; 
  /* background: #121212; */
  color: #fff;
}

.our-work h1 {
  font-size: 45px;
  /* margin-bottom: 10px; */
}
.our-work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 100%;
  margin: auto;
  padding: 10px;
  overflow: hidden;
}

.our-work-grid img {
  width: 100%;
  height: auto;
  object-fit: cover;
  max-width: 100%;
  min-width: unset; /* Remove fixed min-width */
  transition: transform 0.3s ease;
}

.our-work-grid img:hover {
  transform: scale(1.05);
}

.our-work-grid img:nth-child(1) {
  grid-column: span 3; 
  grid-row: 1;
  max-width: 100%;
  margin-bottom: 40px;
}
.our-work-grid img:nth-child(2) { grid-column: 1; grid-row: 2; }
.our-work-grid img:nth-child(3) { grid-column: 2; grid-row: 2; }
.our-work-grid img:nth-child(4) { grid-column: 3; grid-row: 2; }
.our-work-grid img:nth-child(5) { grid-column: 1; grid-row: 3; }
.our-work-grid img:nth-child(6) { grid-column: 2; grid-row: 3; }
.our-work-grid img:nth-child(7) { grid-column: 3; grid-row: 3; }

.about {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 40px 20px;
  background: #191818;
  border-radius: 10px;
  margin-top: 40px;
  flex-direction: row;
}

.about-content {
  text-align: left;
  max-width: 45%;
  color: #fff;
  font-size: 1.2rem;
  align-items: end;
}
.about img {
  width: 50%;
  max-height: 85%;
  /* border-radius: 10px; */
}
.about h1 {
  font-size: 45px;
}
.footer {
  /* background: #121212; */
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 40px; 
  flex-wrap: wrap; 
  position: relative;
  overflow: hidden;
}

.footer h1 {
  text-align: left;
  font-size: 60px;
  color: #fff;
  max-width: 30%;
  margin: 0; 
}

.footer img {
  max-width: 250px; 
  height: auto;
  text-align: center;
}

.footer p {
  text-align: right;
  font-size: 22px;
  max-width: 30%;
  color: #fff;
  margin: 0; 
  overflow: hidden;
}
.footer::after {
  content: "";
  display: block;
  width: 80%;
  height: 2px; 
  background-color: #fff; 
  margin: 20px auto 0; 
}
.footer-bottom {
  margin-top: -20px;
  text-align: center;
  padding: 20px 0;
  /* background: #121212; */
}
.footer-bottom h2{
  margin-bottom: 15px;
}
.social-icons {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 15px;
}

.social-icons img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

#gifPopup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

#gifPopup img {
  width: 1500px;
  height: auto;
  border-radius: 10px;
}

.testimonial-slider {
  overflow: hidden;
  /* width: 750px; */
  position: relative;
  padding: 10px 0;
  background: transparent;
  display: flex;
  justify-content: center;
    align-items: center;
    margin: 0 auto;
}

.testimonial-track {
  display: flex;
  gap: 50px;
  animation: scroll 30s linear infinite;
  width: calc(300px * 10);
}

.testimonial-track img {
  width: 300px;
  height: auto;
}

@keyframes scroll {
  from {
      transform: translateX(0);
  }
  to {
      transform: translateX(-50%);
  }
}

/* @media (max-width: 900px) {
  .our-work-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .our-work-grid img:first-child {
    grid-column: span 2;
  }
} */

@media (max-width: 768px) {

.hero {
    flex-direction: column;
    text-align: center;
}
.hero-content {
    max-width: 100%;
    
}
.hero h1 {
  font-size: 25px;
  white-space: nowrap;
}
.hero img {
    width: 80%;
    margin: 20px auto 0;
    display: block; 
}

.about {
    flex-direction: column; 
    text-align: center;
}
.about-content {
    max-width: 90%;
    font-size: 1.0rem;
    order: 1;
}
.about img {
    width: 75%;
    margin: 20px auto 0;
    display: block;
    order: 2; 
}
.about p {
  font-size: 13px;
}
.about h1 {
  font-size: 30px;
}

/* MENU */
.menu {
    display: none;
}
.hamburger {
    display: flex;
}
.mobile-menu.show {
    display: flex;
}

/* GRID */
.grid {
    display: grid;
    grid-template-columns: 1fr;
}

.services h1 {
  font-size: 24px;
  margin-bottom: 10px;
}
.services p {
  font-size: 18px;
  margin-bottom: 25px;
  color: #ccc;
}
.service-box span {
  font-size: 20px;
  font-weight: bold;
  color: white;
}
.footer {
  flex-direction: column;
  text-align: center;
  align-items: center;
}
.footer img{
  max-width: 100%;
  text-align: center;
}
.footer h1 {
  max-width: 100%;
  text-align: center;
  font-size: 40px;
} 
.footer p {
  white-space: nowrap;
  max-width: 100%;
  font-size: 14px;
  text-align: right;
}
.footer::after {
  width: 90%; 
  margin: 15px auto 0; 
}
#gifPopup img {
  width: 700px;
}

.our-work h1 {
  font-size: 30px;
  margin-bottom: 10px;
}

.our-work-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.our-work-grid img {
  min-width: 65%;
  max-width: 65%;
}
.our-work-grid img:nth-child(1) {
  margin-bottom: 0;
  width: 100%;
}
.testimonial-slider {
  width: 180px; 
}
.testimonial-track {
  animation: scroll 60s linear infinite;
}
.testimonial-track img {
  width: 150px;
}
}