/* ----------------- Global Reset & Base Styles ----------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  margin: 0;
  overflow-x: auto;
  color: #e0e0e0;
  font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #0d0d0d;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1 0 auto;
}

main.hero-section,
main.page-content {
  flex: 1;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  color: #ffffff;
}

p {
  font-size: 1.25rem;
  color: #f0f0f0;
}

/* ----------------- Header & Navigation ----------------- */
.nav-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: transparent;
  padding: 1rem 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.nav-wrapper {
  width: 100%;
  max-width: 1200px;
  padding: 0 1rem;
}

.main-nav {
  background-color: white;
  border-radius: 3px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.5rem 1.5rem;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.main-nav a {
  color: black;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.4rem 0.8rem;
}

.main-nav a:hover {
  color: #13681c;
}

.logo-center {
  background-color: #6adaf3;
  padding: 0.3rem 1rem;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-center img {
  height: 28px;
}

/* ----------------- Mobile Navigation ----------------- */
.mobile-header {
  display: none;
  justify-content: space-between;
  align-items: center;
  padding: 0 1rem;
}

.mobile-logo {
  height: 30px;
}

.menu-button {
  font-size: 24px;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
}

@media (max-width: 768px) {
  .main-nav {
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    margin-top: 1rem;
  }

  .main-nav.show {
    display: flex;
  }

  .logo-center {
    display: none;
  }

  .mobile-header {
    display: flex;
  }
}

/* ----------------- Hero Section (Homepage) ----------------- */
.hero-section {
  position: relative;
  width: 100%;
  padding: 7rem 2rem 6rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-image: url("../images/hero-bg.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
  text-align: center;
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(3px);
  z-index: 1;
}

.hero-section > * {
  position: relative;
  z-index: 2;
}

.hero-section h1 {
  font-size: 2.8rem;
  margin-bottom: 1rem;
}

/* ----------------- Services Section ----------------- */
.services-section {
  padding: 3rem 1.5rem;
  background-color: #121212;
  color: #e0e0e0;
  min-height: 100vh;
  padding-top: 7rem;
}

.content-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.content-wrapper h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: #f0f0f0;
  font-weight: 600;
}

.content-wrapper .lead {
  font-size: 1.2rem;
  color: #bbbbbb;
  margin-bottom: 3rem;
  max-width: 800px;
  margin-inline: auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.service-card {
  background: #1e1e1e;
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid #2e2e2e;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.6);
}

.service-card h2 {
  font-size: 1.5rem;
  color: #00bcd4;
  margin-bottom: 0.75rem;
}

.service-card p {
  font-size: 1rem;
  color: #cccccc;
  line-height: 1.6;
}

/* ----------------- About Section ----------------- */
.about-section {
  padding: 6rem 2rem 4rem;
  background-color: #0f0f0f;
  color: #e0e0e0;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-section .content-wrapper {
  max-width: 900px;
  text-align: center;
}

.about-section h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  font-family: 'Poppins', sans-serif;
}

.about-section p {
  font-size: 1.15rem;
  line-height: 1.8;
  color: #cccccc;
  font-weight: 400;
}


/* ----------------- Contact Section ----------------- */
.contact-section {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 7rem 2rem 4rem;
  background-color: #2f2f2f;
  color: #fff;
}

.contact-wrapper {
  display: flex;
  max-width: 1000px;
  width: 100%;
  background-color: #333;
  border-radius: 8px;
  overflow: hidden;
  flex-wrap: wrap;
}

.contact-left,
.contact-right {
  flex: 1;
  padding: 3rem;
  min-width: 280px;
}

.contact-left {
  background: linear-gradient(to bottom, #0f6de8, #6adaf3);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-left h1 {
  font-size: 2.5rem;
  line-height: 1.2;
  font-weight: 700;
  text-transform: uppercase;
}

.contact-left h1 span {
  display: block;
  border-bottom: 4px solid #fff;
  width: fit-content;
  margin-bottom: 0.5rem;
}

.contact-info {
  font-size: 0.95rem;
  opacity: 0.85;
  margin-top: auto;
}

.contact-right form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-right input,
.contact-right textarea {
  background-color: transparent;
  border: none;
  border-bottom: 1px solid #777;
  padding: 0.75rem 0;
  font-size: 1rem;
  outline: none;
  color: #e0e0e0;
}

.contact-right input::placeholder,
.contact-right textarea::placeholder {
  color: #999;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
}

textarea {
  resize: none;
  height: 100px;
}

.form-buttons {
  display: flex;
  justify-content: flex-end;
  gap: 1.5rem;
}

.cancel-btn,
.send-btn {
  background: none;
  border: none;
  color: #ff007a;
  font-weight: bold;
  font-size: 1rem;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.3s ease;
}

.cancel-btn:hover,
.send-btn:hover {
  color: #ff3399;
}

@media (max-width: 768px) {
  .contact-wrapper {
    flex-direction: column;
  }

  .contact-left,
  .contact-right {
    padding: 2rem;
  }

  .form-buttons {
    justify-content: center;
  }
}

/* ----------------- Footer ----------------- */
footer {
  background: #fff;
  color: rgb(46, 44, 44);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  font-size: 0.9rem;
}
