/* General */

html {
  scroll-behavior: smooth;
  scroll-padding-top: 150px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: #f9f9f9;
  color: #222;
  line-height: 1.6;
  scroll-behavior: smooth;
}

header {
  background-color: #000;
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 1000;
}


/* Nav */

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 auto;
}

nav .logo {
  color: #ffffff;
  font-size: 1.5rem;
  font-weight: bold;
  text-transform: uppercase;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

nav ul li a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

nav ul li a:hover {
  color: #00aaff;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  font-weight: bold;
  color: #fff;
  /* or your header text color */
}

.logo-img {
  height: 100px;
  /* adjust as needed */
  margin-right: 10px;
}


/* Home */

section {
  padding: 4rem 2rem;
  margin: auto;
}

.home {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 80vh;
  text-align: center;
}

.home h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: #000;
}

.home p {
  font-size: 1.25rem;
  max-width: 860px;
  color: #555;
}

.home .btn {
  margin-top: 2rem;
  padding: 0.75rem 1.5rem;
  background-color: #00aaff;
  color: #fff;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s;
  text-decoration: none;
}

.home .btn:hover {
  background-color: #0088cc;
}

/* Hero */

.hero {
  background: url('images/lightt.jpeg') center center / cover no-repeat;
  height: 100vh;
  /* full screen to start */
  text-align: center;
  position: relative;
  transition: height 0.3s ease, padding 0.3s ease;
  overflow: hidden;
}

.hero.shrink {
  height: 300px;
  /* what it shrinks down to */
  padding: 2rem 2rem;
}

/* Optional overlay for readability */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: white;
  top: 20%;
  transform: translateY(-50%);
  transition: transform 2s ease, top 2s ease;
}

.hero.shrink .hero-content {
  top: 50%;
  transform: translateY(-50%) scale(0.85);
}

.hero-content h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero-content p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

/* Optional overlay for readability */
.about {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

.about img {
  flex: 1 1 40%;
  max-width: 40%;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.about-text {
  flex: 1 1 55%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.about-text h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #ffffff;
}

.about-text p {
  font-size: 1.1rem;
  color: #ffffff;
  margin-bottom: 1.5rem;
}

.about-text .btn {
  background-color: #00aaff;
  color: #fff;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s;
}

.about-text .btn:hover {
  background-color: #0088cc;
}

.aboutBackground {
  background-color: rgb(33, 36, 56);
}

/* Services */
.services {
  padding: 4rem 2rem;
  background-color: #fff;
  text-align: center;
}

.services h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: #000;
}

.services-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
}

.service-box {
  flex: 1 1 300px;
  background-color: #00aaff;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.service-box:hover {
  transform: translateY(-5px);
}

.service-box h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #ffffff;
}

.service-box ul {
  list-style: none;
  padding-left: 0;
  text-align: left;
}

.service-box ul li {
  padding-left: 1.5rem;
  position: relative;
  margin-bottom: 0.75rem;
  color: #ffffff;
}

.service-box ul li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: rgb(255, 255, 255);
  font-weight: bold;
}

/* Contact Us */
.contact-section {
  padding: 0;
  background-color: #ffffff;
  overflow: hidden;
  padding-top: 50px;
  padding-bottom: 50px;
}

.contact-wrapper {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  flex-wrap: wrap;
  min-height: 500px;
}

.leftDiv,
.rightDiv {
  flex: 1 1 25%;
  min-width: 100px;
  height: auto;
}

.leftDiv {
  background-color: rgb(255, 255, 255);
  /* Flip: point now on left side */
  clip-path: polygon(0 0, 25% 50%, 0 100%);
}

.rightDiv {
  background-color: rgb(255, 255, 255);
  /* Flip: point now on right side */
  clip-path: polygon(100% 0, 75% 50%, 100% 100%);
}

.contact-form {
  flex: 1 1 50%;
  background: #ffffff;
  padding: 3rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  border-radius: 5;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
  z-index: 2;
  max-width: 700px;
  padding-top: 50px;
}

.contact-form h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #000;
  text-align: center;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-family: inherit;
  font-size: 1rem;
}

.contact-form button {
  background-color: #00aaff;
  color: white;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.contact-form button:hover {
  background-color: #0088cc;
}

/* Footer */
.footer {
  background-color: #111;
  color: #fff;
  padding: 3rem 2rem 1rem;
  font-size: 0.95rem;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-section {
  flex: 1 1 250px;
}

.footer-section h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: #00aaff;
}

.footer-section p,
.footer-section li {
  margin-bottom: 0.5rem;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-section a:hover {
  color: #00aaff;
}

.footer-bottom {
  text-align: center;
  margin-top: 2rem;
  border-top: 1px solid #333;
  padding-top: 1rem;
  color: #888;
}

.footer-socials {
  margin-top: 1rem;
}

.footer-socials a {
  color: #ccc;
  margin-right: 1rem;
  font-size: 1.2rem;
  transition: color 0.3s ease;
}

.footer-socials a:hover {
  color: #00aaff;
}

/* Mobile Support */

/* Responsive Styles */
@media (max-width: 768px) {

  nav ul {
    flex-direction: column;
    gap: 0.75rem;
    background-color: #000;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    padding: 1rem;
  }
  
  nav.active ul {
    display: flex;
  }

  nav {
    flex-direction: column;
    align-items: flex-start;
    position: relative;
  }

  nav .logo {
    display: flex;
    justify-content: space-between;
    width: 100%;
  }

  .logo-img {
    height: 60px;
  }

  .home h1 {
    font-size: 2rem;
  }

  .home p {
    font-size: 1rem;
    padding: 0 1rem;
  }

  .hero {
    height: 60vh;
  }

  .hero-content h1 {
    font-size: 1.8rem;
  }

  .about {
    flex-direction: column;
    align-items: center;
  }

  .about img,
  .about-text {
    max-width: 100%;
    height: auto;
    text-align: center;
  }
  
  .about img {
      display: none;
  }

  .services-grid {
    flex-direction: column;
    align-items: center;
  }

  .service-box {
    width: 100%;
  }

  .contact-wrapper {
    flex-direction: column;
    align-items: center;
  }

  .leftDiv,
  .rightDiv {
    display: none;
  }

  .contact-form {
    width: 90%;
    padding: 2rem 1rem;
  }

  .footer-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-section {
    width: 100%;
  }

  .footer-socials a {
    margin: 0 0.5rem;
  }
}