:root {
  --grey: #2f2f2f;
  --white: #e2e2e2;
  --darkblue: #143642;
  --blue: #3777ff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Overpass', sans-serif;
}

body {
  background-image: url(https://images.pexels.com/photos/10479417/pexels-photo-10479417.jpeg);
  background-position: center;
  background-size: cover;
  color: #fff;
}

header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px;
  z-index: 200;
  transition: all 0.3s ease;
}

header.scrolled {
  position: fixed;
  background: rgba(255, 255, 255, 1);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  animation: slideDown 0.5s ease-out;
}

header.scrolled.removing {
  animation: slideUp 0.5s ease-out;
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
  }
  to {
    transform: translateY(0);
  }
}

@keyframes slideUp {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-100%);
  }
}

header.scrolled .navbar .logo img {
  filter: brightness(0);
}

header.scrolled .menu-links li a {
  color: #000;
}

header.scrolled #menu-btn {
  color: #000;
}

header .navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
}

.navbar .logo {
  display: flex;
  align-items: center;
  font-family: 'Syne', sans-serif;
}

.navbar .logo img {
  height: 50px;
  width: auto;
  display: block;
}

.menu-links {
  display: flex;
  gap: 40px;
  list-style-type: none;
  transition: left 0.15s ease;
}

.menu-links li a {
  color: #fff;
  text-decoration: none;
  transition: color 0.2s ease;
  font-family: 'Overpass', sans-serif;
  font-weight: bold;
}

.menu-links li a:hover {
  color: var(--blue);
}

.hero-section {
  height: 100vh;
  display: flex;
  align-items: center;
  padding: 0 20px;
  background-image: url(imgs/Dark\ Gradient\ Background.jpg);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.hero-section .content {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  text-align: center;
}

.hero-section .content h1 {
  font-size: 4.5rem;
  font-weight: 700;
  font-family: 'Syne', sans-serif;
}

.hero-section .content p {
  font-weight: 300;
  margin-top: 15px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  font-family: 'Overpass', sans-serif;
}

.hero-section .content button {
  background-color: #fff;
  color: #000;
  outline: none;
  border: none;
  font-size: 1.3rem;
  padding: 18px 45px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 700;
  margin-top: 38px;
  transition: 0.3s ease;
  font-family: 'Overpass', sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.hero-section .content button:hover {
  background-color: var(--blue);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.highlight-blue {
  color: #6aa2fd;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
}

/* Mobile Menu Toggle Buttons */
#menu-btn,
#close-menu-btn {
  color: #fff;
  cursor: pointer;
  font-size: 28px;
  display: none;
}

#close-menu-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  color: #000;
  font-size: 28px;
  cursor: pointer;
  display: none;
  
}

.show-mobile-menu .menu-links {
  left: 0;
}


@media screen and (max-width: 900px) {
  #menu-btn, #close-menu-btn {
    display: block;
  }

  .menu-links {
    position: fixed;
    left: -260px;
    top: 0;
    width: 260px;
    height: 100vh;
    background: #fff;
    padding: 70px 40px 0;
    flex-direction: column;
    align-items: flex-start;
    z-index: 100;
  }

  .menu-links li a {
    color: #000;
    font-size: 1.2rem;
    padding: 10px 0;
  }

  .show-mobile-menu .menu-links {
    left: 0;
  }
  .service-card {
    backdrop-filter: none !important;
    background: rgba(30, 30, 30, 0.95) !important;
  }
}


@media screen and (max-width: 782px) and (max-width: 381px) {
  .hero-section .content h1 {
    font-size: 2rem;
    font-weight: 600;
  }
}

/* About Section */
.about-section {
  padding: 80px 20px;
  background: #0b0b0b;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.about-section .container {
  text-align: center;
}

.about-section h2 {
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 20px;
  font-family: 'Syne', sans-serif;
}

.about-section p {
  font-size: 1.1rem;
  line-height: 1.6;
  font-family: 'Overpass', sans-serif;
}

/* Services Section */
.services-section {
  padding: 80px 20px;
  background: #101010;
}

.services-section h2 {
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 40px;
  text-align: center;
  font-family: 'Syne', sans-serif;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.service-card {
  background: #181818;
  padding: 30px;
  border-radius: 10px;
  backdrop-filter: blur(10px);
}

.service-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 15px;
  font-family: 'Syne', sans-serif;
}

.service-card p {
  font-size: 1rem;
  line-height: 1.6;
  font-family: 'Overpass', sans-serif;
}

/* Four Boxes Section */
.four-boxes-section {
  padding: 80px 20px;
  background: #0b0b0b;
}

.four-boxes-section h2 {
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 40px;
  text-align: center;
  font-family: 'Syne', sans-serif;
}

.four-boxes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.box {
  background: #181818;
  padding: 40px 30px;
  border-radius: 10px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.box:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.box h3 {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 15px;
  font-family: 'Syne', sans-serif;
  color: var(--blue);
}

.box p {
  font-size: 1rem;
  line-height: 1.6;
  font-family: 'Overpass', sans-serif;
}

/* Contact Section */
.contact-section {
  padding: 80px 20px;
  background: #101010;
  text-align: center;
}

.contact-section h2 {
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 20px;
  font-family: 'Syne', sans-serif;
}

.contact-section p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  font-family: 'Overpass', sans-serif;
}

.contact-button,
.contact-button:visited {
  display: inline-block;
  background-color: #fff;
  color: #000;
  outline: none;
  border: none;
  font-size: 1.3rem;
  padding: 18px 45px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 700;
  margin-top: 38px;
  transition: 0.3s ease;
  font-family: 'Overpass', sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-decoration: none;
  text-align: center;
  appearance: none;
}
.contact-button:hover,
.contact-button:focus {
  background-color: var(--blue);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Contact Form Styles */
.contact-form {
  max-width: 500px;
  margin: 0 auto;
  background: #181818;
  padding: 32px 24px;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.18);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.form-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}
.contact-form label {
  font-size: 1rem;
  color: #fff;
  font-weight: 500;
  margin-bottom: 2px;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px 14px;
  border: none;
  border-radius: 6px;
  background: #232323;
  color: #fff;
  font-size: 1rem;
  font-family: 'Overpass', sans-serif;
  margin-bottom: 2px;
  outline: none;
  transition: box-shadow 0.2s;
}
.contact-form input:focus,
.contact-form textarea:focus {
  box-shadow: 0 0 0 2px var(--blue);
}
.contact-form textarea {
  resize: vertical;
  min-height: 40px;
  max-height: 180px;
}
.contact-form .contact-button {
  margin-top: 10px;
  width: 100%;
  font-size: 1.1rem;
  padding: 14px 0;
  border-radius: 6px;
  font-weight: 700;
  background: var(--blue);
  color: #fff;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}
.contact-form .contact-button:hover {
  background: #2a5fd9;
}

/* Footer */
.footer {
  padding: 48px 20px 32px 20px;
  background: #181a1b;
  text-align: center;
  border-top: 1.5px solid #232323;
}
.footer p {
  font-size: 0.98rem;
  color: #bfc9d1;
  letter-spacing: 0.03em;
  font-family: 'Overpass', sans-serif;
  margin: 0;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .four-boxes-grid {
    grid-template-columns: 1fr;
  }
  
  .about-section h2,
  .services-section h2,
  .four-boxes-section h2,
  .contact-section h2 {
    font-size: 2rem;
  }
}

@media screen and (max-width: 580px) {
  .hero-section .content h1 {
    font-size: 2rem;
    line-height: 1.2;
  }
  .hero-section .content button {
    font-size: 1rem;
    padding: 10px 20px;
    margin-top: 20px;
  }
  .container {
    padding-left: 8px;
    padding-right: 8px;
  }
  .services-section h2,
  .about-section h2,
  .four-boxes-section h2,
  .contact-section h2 {
    font-size: 1.3rem;
  }
  .service-card {
    padding: 16px;
  }
  .service-card h3 {
    font-size: 1.1rem;
  }
  .four-boxes-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .box {
    padding: 18px 10px;
  }
  .box h3 {
    font-size: 1.1rem;
  }
  .contact-button {
    font-size: 1rem;
    padding: 10px 20px;
  }
  .contact-form {
    padding: 16px 4px;
    max-width: 100%;
  }
  body, html {
    overflow-x: hidden;
  }
  .footer {
    padding: 32px 8px 20px 8px;
    font-size: 0.92rem;
  }
}

#contact {
  scroll-margin-top: 80px;
}
