/* =========================
   Global Styles & Reset
========================= */
* {
  margin: 0;
  padding: 0;
  font-family: "Poppins", sans-serif;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: #080808;
  color: #fff;
  line-height: 1.5;
}

/* =========================
   Header Section
========================= */
#header {
  width: 100%;
  height: 120vh;
  background-image: url(bg2.png);
  background-size: cover;
  background-position: center;
  position: relative;
}

#header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4); /* Overlay for better text contrast */
}

.container {
  padding: 10px 10%;
  position: relative;
  z-index: 1;
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.logo {
  width: 140px;
}

nav ul li {
  display: inline;
  list-style: none;
  margin: 10px 20px;
}

nav ul li a {
  color: #fff;
  text-decoration: none;
  font-size: 18px;
  position: relative;
}

nav ul li a::after {
  content: "";
  width: 0;
  height: 3px;
  background: #ff5f00;
  position: absolute;
  left: 0;
  bottom: -6px;
  transition: 0.5s;
}

nav ul li a:hover::after {
  width: 100%;
}

.header-text {
  margin-top: 20%;
  font-size: 30px;
}

.header-text h1 {
  font-size: 60px;
  margin-top: 0;
}

.header-text h1 span {
  color: #ff5f00;
}

.voltage-button {
  position: relative;
  padding-top: 30px;
}

.voltage-button button {
  color: white;
  background: #ef874b;
  padding: 1rem 3rem;
  border-radius: 5rem;
  border: 5px solid #ff5f00;
  font-size: 1.2rem;
  letter-spacing: 0.075em;
  transition: background 0.3s, transform 0.2s ease-in-out;
}

.voltage-button button:hover {
  cursor: pointer;
  background: #ff5f00;
  transform: scale(1.05);
}

/* =========================
   About Section
========================= */
#about {
  padding: 80px 0;
  color: #ababab;
}

.row {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.about-col-1 {
  flex-basis: 35%;
}

.about-col-1 img {
  width: 100%;
  border-radius: 15px;
}

.about-col-2 {
  flex-basis: 60%;
}

.sub-title {
  font-size: 60px;
  font-weight: 600;
  color: #fff;
}

.aboutp {
  font-size: 20px;
  text-align: justify;
  line-height: 1.5;
}

/* =========================
   Our Works / Services
========================= */
#services {
  padding: 30px 0;
}

.image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.image-card {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  padding: 15px;
  text-align: center;
  transition: transform 0.3s ease;
}

.image-card:hover {
  transform: translateY(-5px);
}

.work-image {
  width: 100%;
  border-radius: 10px;
  object-fit: cover;
  margin-bottom: 10px;
}

/* =========================
   Contact Section
========================= */
.contact-left {
  flex-basis: 35%;
}

.contact-right {
  flex-basis: 60%;
}

.contact-left p {
  margin-top: 30px;
}

.contact-left p i {
  color: #ff5f00;
  margin-right: 15px;
  font-size: 25px;
}

.contact-right form {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

form input,
form textarea {
  width: 100%;
  border: 0;
  outline: none;
  background: #262626;
  padding: 15px;
  margin: 15px 0;
  color: #fff;
  font-size: 18px;
  border-radius: 6px;
}

form .btn2 {
  padding: 14px 60px;
  font-size: 18px;
  margin-top: 20px;
  cursor: pointer;
}

.btn {
  display: block;
  margin: 50px auto;
  width: fit-content;
  border: 1px solid #ff5f00;
  padding: 14px 50px;
  border-radius: 6px;
  text-decoration: none;
  color: #fff;
  transition: background 0.5s;
}

.btn:hover {
  background: #ff5f00;
}

.btn.btn2 {
  display: inline-block;
  background: #ff5f00;
}

.copyright {
  width: 100%;
  text-align: center;
  padding: 25px 0px;
  background: #262626;
  font-weight: 300;
  margin-top: 20px;
}

/* =========================
   Responsive Design
========================= */
nav .fas {
  display: none;
}

@media only screen and (max-width: 600px) {
  #header {
    background-image: url(images/jonatan-pie-h8nxGssjQXs-unsplash.jpg);
  }

  .header-text {
    margin-top: 100%;
    font-size: 16px;
  }

  .header-text h1 {
    font-size: 30px;
  }

  nav .fas {
    display: block;
    font-size: 25px;
  }

  nav ul {
    background: #ff5f00;
    position: fixed;
    top: 0;
    right: -200px;
    width: 200px;
    height: 100vh;
    padding-top: 50px;
    z-index: 2;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.3);
    transition: right 0.4s ease-in-out;
  }

  nav ul li {
    display: block;
    margin: 25px;
  }

  .sub-title {
    font-size: 40px;
  }

  .about-col-1,
  .about-col-2 {
    flex-basis: 100%;
  }

  .aboutp {
    width: 80%;
    text-align: justify;
    margin: 0 auto;
    padding-right: 0;
    font-size: 16px;
  }

  .contact-left,
  .contact-right {
    flex-basis: 100%;
  }

  .copyright {
    font-size: 14px;
  }

  .voltage-button button {
    display: none;
  }
}
