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

body {
  font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #222831;
  background-color: #F7F9FC;
  line-height: 1.6;
}

/*Header, Nav & logo */
.container {
  width: 100%;
  max-width: 1400px;
  margin:0 auto;
}

header {
  background: #1e1e2f;
  color:#fff;
  padding: 1rem 0;
}

.menu-toggle {
  display: none;
  font-size: 28px;
  cursor: pointer;
  color: rgb(255, 255, 255);
}

.nav {
  flex-grow: 1;
  display:flex;
  justify-content: flex-end;
}

.nav-bar {
  display: flex;
  justify-content: space-between;
  align-items:center;
  padding: 15px 30px;
  position: relative;
  flex-wrap: wrap;
}

.logo a {
  font-size: 24px;
  font-weight: bold;
  color: #fff;
  flex-shrink: 0;
  text-transform: uppercase;
}

.logo a:hover {
  color: rgba(255,197,35,255);
}

nav ul {
  list-style: none;
  display: flex;
  gap:2rem;
  margin:0;
  padding: 0;
}

nav li{
  display:inline-block;
}

nav a {
  font-weight: bold;
  text-transform: uppercase;
  color: rgb(255, 255, 255);
  transition: color 0.3s ease;
}

nav a:hover {
  color: rgba(255,197,35,255);
}

/*Main page background & Content */
.hero {
  background: url(./images/backgroundskyscrapper.jpg)no-repeat center center/cover;
  min-height: 90vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-overlay {
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  padding: 2rem;
  text-align: center;
  width: 100%;
  z-index: 2;
  position: relative;
}

.hero h1 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}
.hero p {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

/* View our services button */
.viewservices {
  margin-top: 1.5rem;
  text-align: center;
}

.viewservices-button{
  padding: 12px 30px;
  background-color: transparent;
  color: #fff;
  border: 1px solid #fff;
  border-radius: 2px;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease;
  display: inline-block;
}

.viewservices-button:hover {
  background-color: rgba(255,197,35,255);
  color: #fff;
}

/* About us section */
.about-us {
  padding: 4rem 0;
  background: #f9f9f9;
  text-align: center;
}

.about-us h2 {
  margin-bottom: 1.5rem;
  font-size: 2rem;
  color: #1e1e2f;
}

.about-us p {
  max-width: 1250px;
  margin: 0 auto 1.5rem;
  font-size: 1.1rem;
  color: #444;
  text-align: left; 
}

.aboutus-images img {
  max-width: 100%;
  height: auto;
  max-height: auto;
  object-fit: cover;
  border-radius: 12px;
  margin: 1rem auto;
  display: block;
}

/*About us send mail button */
.sendmail {
  text-align: center;
  margin: 10px 0;

}

.sendmail-button {
  padding: 12px 30px;
  background-color: transparent;
  color: #000;
  border: 1px solid #000;
  border-radius: 2px;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease;
  display: inline-block;
}

.sendmail-button:hover {
  background-color: rgba(255,197,35,255);
  color: #fff;
}

/* Footer Section */
footer {
  background-color: #F7F9FC;
  color: black;
  text-align: center;
  padding: 1rem 0;
  font-size: 0.9em;
  border-top: 1px solid #ddd;
}

/* Animation */
.fade-in {
  opacity: 0;
  animation: fadeInUp 1s ease-out forwards;
}

/* Delay classes for staggered effects */
.fade-delay-1 { animation-delay: 0.2s; }
.fade-delay-2 { animation-delay: 0.4s; }
.fade-delay-3 { animation-delay: 0.6s; }

/* === Header Animations === */
.logo  {
  animation: logoAppear 1s ease-out forwards;
}

/* Nav Hover Animation */
nav a {
  position: relative;
  transition: color 0.3s;
}

nav a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  height: 2px;
  width: 100%;
  background-color: rgba(255,197,35,255);
  transform: scaleX(0);
  transition: transform 0.3s ease;
  transform-origin: left;
}

nav a:hover::after {
  transform: scaleX(1);
}

.logo a {
  position: relative;
  transition: color 0.3s;
}

.logo a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  height: 2px;
  width: 100%;
  background-color: rgba(255,197,35,255);
  transform: scaleX(0);
  transition: transform 0.3s ease;
  transform-origin: left;
}

.logo a:hover::after {
  transform: scaleX(1);
}

/* Button Pop Effect */
.viewservices-button {
  transition: all 0.3s ease;
  transform: scale(1);
}

.viewservices-button:hover {
  transform: scale(1.05);
}

.sendmail-button {
  transition: all 0.3s ease;
  transform: scale(1);
}

.sendmail-button:hover {
  transform: scale(1.05);
}

/* === Animations === */
/* Fade-in effect */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Logo grow on load */
@keyframes logoAppear {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/*Responsivenes for smaller screens */
@media (max-width: 768px) {
    header {
    flex-direction: column;
    align-items: flex-start;
  }

  .logo a {
    font-size: 20px;
  }

  nav ul {
    flex-direction: column;
    gap: 15px;
    margin-top: 10px;
  }

  .aboutus p, .goal img {
    padding: 0 15px;
  }

 .goal img {
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 0;
  display: block;
  margin: 0 auto;
 }

 .hero-overlay h1 {
  font-size: 22px;
 }

 .hero-overlay p {
  font-size: 12px;
 }

  .about-us p {
    font-size: 14.5px; 
    line-height: 1.7; 
    text-align: left;
    max-width: 80%;
  }

  .about-us h2 {
    font-size: 1.2em;
  }

  .aboutus-images img {
  max-width: 80%;
  height: auto;
  max-height: auto;
  object-fit: cover;
  border-radius: 12px;
  margin: 1rem auto;
  display: block;
 }

  .goal {
  padding: 20px 15px;
 }

 .aboutus {
  padding: 30px 15px;
 }

 .menu-toggle {
    display: block;
    top: 25px;
    right: 30px;
    z-index: 1001;
  }

  nav {
    display: none;
    flex-direction: column;
    width: 100%;
    background-color: #1e1e2f;
    position: absolute;
    top: 70px;
    left: 0;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    z-index: 1000;
  }

  nav.active {
    display: flex;
  }

  nav ul {
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
  }
  
 .sendmail {
  margin-top: 1.5rem;
  margin: 5px 0;
  text-align: center;
 }

 .viewservices-button,
 .sendmail-button {
  width: auto;
  max-width: 100%;
  font-size: 13px;
  padding: 10px 20px;
 }

 footer {
  width: 100%;
  max-width: 95%;
 }
}