/* Global Styles */
html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  background-color: #000;
  color: #fff;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6,
p, li, a, span, div {
  color: #fff;
}

/* Header & Footer */
header, footer {
  background-color: #000;
  color: #fff;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

header {
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  position: relative;
}

/* Section Styling */
section {
  position: relative;
  background: url('../images/background.jpg') no-repeat center center;
  background-size: cover;
  background-attachment: fixed;
  background-color: #111;
  color: #fff;
  padding: 2rem;
  border-radius: 8px;
  margin-bottom: 2rem;
  z-index: 1;
}

section::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: -1;
}

/* Links */
a {
  color: #00aaff;
  text-decoration: none;
}

a:hover {
  color: #66ccff;
  text-decoration: underline;
}

/* CTA Button */
.cta-button,
nav ul li a.cta {
  display: inline-block;
  background-color: #0077cc;
  color: white;
  padding: 0.75rem 1.25rem;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.cta-button:hover,
nav ul li a.cta:hover {
  background-color: #005fa3;
  transform: translateY(-2px);
}

/* Logo */
.logo h1 {
  margin: 0;
  font-size: 1.8rem;
}

.logo a {
  text-decoration: none;
  color: #fff;
  font-weight: bold;
}

/* Navigation */
.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
}

.main-nav li {
  position: relative;
}

.main-nav a {
  display: block;
  padding: 10px 15px;
  text-decoration: none;
  color: #fff;
}

/* Submenu */
.submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #222;
  flex-direction: column;
  min-width: 220px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
  z-index: 1000;
}

.submenu li {
  width: 100%;
}

.submenu li a {
  display: block;
  padding: 0.75rem 1rem;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
}

.submenu li a:hover {
  background-color: #0077cc;
}

.has-submenu:hover .submenu {
  display: flex;
  opacity: 1;
  visibility: visible;
}

/* Hamburger Menu */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.menu-toggle span {
  background: white;
  height: 3px;
  width: 25px;
  margin: 4px 0;
  transition: 0.3s;
}

/* Responsive Navigation */
@media (max-width: 768px) {
  nav ul {
    flex-direction: column;
    position: absolute;
    top: 100%;
    right: 0;
    background-color: #000;
    width: 100%;
    display: none;
    padding: 1rem;
  }

  nav ul.show {
    display: flex;
  }

  .menu-toggle {
    display: flex;
  }
}

/* Services Section */
.service-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  padding: 2rem 0;
}

.service-card {
  text-align: center;
  max-width: 150px;
}

.service-card img {
  width: 64px;
  height: 64px;
  margin-bottom: 0.5rem;
}

.service-card h3 {
  font-size: 1rem;
  margin: 0;
}

/* Footer Social Links */
footer .social-links {
  margin-top: 1rem;
  display: flex;
  gap: 1rem;
  justify-content: center;
}

footer .social-links a {
  color: #fff;
  font-size: 1.5rem;
  transition: color 0.3s ease;
}

footer .social-links a:hover {
  color: #0077cc;
}

/* Contact Form */
.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 2rem;
}

.contact-section h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.contact-section p {
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

.contact-form .form-group {
  margin-bottom: 1.5rem;
}

.contact-form label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
}

.btn-primary {
  background-color: #5c80e5;
  color: white;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
}

.btn-primary:hover {
  background-color: #005fa3;
}

/* Privacy Policy */
.privacy-policy {
  max-width: 800px;
  margin: 2rem auto;
  font-size: 1.1rem;
  line-height: 1.6;
}

.privacy-policy h3 {
  margin-top: 2rem;
  font-size: 1.3rem;
  color: #0077cc;
}