/* Reset and base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
  /*text-align: center;*/
}
body {
  line-height: 1.6;
  color: #333;
  background: #000;
}

/* Header */
header {
  display: grid;
  grid-template-columns: 250px 1fr 250px;
  align-items: center;
  padding: 0.5rem 2rem;
  background: rgba(0, 0, 0, 0.7);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
header .logo img {
  width: 175px;
  height: auto;
  display: block;
}
header nav {
  display: flex;
  justify-content: center;
  align-items: center;
}
header nav ul {
  display: flex;
  list-style: none;
  gap: 1.5rem;
  transition: max-height 0.4s ease;
}
header nav ul li a {
  text-decoration: none;
  color: #fff;
  font-weight: 500;
}

.header-buttons {
  display: flex;
  justify-content: center;
  flex-direction: row;
  align-content: center;
  flex-wrap: nowrap;
  align-items: center;
  gap: 10px;
}
.btn-cta {
  padding: 0.5rem 1rem;
  background: #ff4081;
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
}

/* Social Icons */
.social-icons {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 10px;
}
.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: #9c27b0;
  color: #fff;
  border-radius: 50%;
  text-decoration: none;
  font-size: 16px;
  transition: all 0.3s ease;
}
.social-icons a:hover {
  background: #ff4081;
  transform: scale(1.2);
  color: #fff;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 25px;
  height: 20px;
  cursor: pointer;
}
.hamburger span {
  display: block;
  height: 3px;
  background: #fff;
  border-radius: 2px;
  transition: 0.3s;
}
.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Hero */
.hero {
  position: relative;
  width: 100%;
  min-height: 60vh;
  height: 90vh;
  max-height: 600px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  text-align: center;
  color: #9c27b0;
  border-radius: 12px;
}
.hero-slide {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}
.hero-slide .slide {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}
.hero-slide .slide.active {
  opacity: 1;
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: 0 1rem;
}
.hero h2 {
  font-size: 2.8rem;
  margin-bottom: 1rem;
}
.hero h4 {
  color: #9c27b0;
  font-size: 30px;
  margin-bottom: 1rem;
}
.hero p {
  color: #f403b5;
  font-size: 24px;
  margin-bottom: 1.5rem;
}
.hero .btn-cta {
  margin-top: 1rem;
}

/* Services Section (Existing & New) */
.services,
#content {
  padding: 2rem 2rem;
  text-align: center;
}

.service-grid,
.wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.service,
article.grid_4 {
  background: rgba(34, 34, 34, 0.85); /* transparent overlay */
  padding: 1.5rem;
  border-radius: 12px;
  text-align: center;
}

.service img,
article.grid_4 figure img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 1rem;
}

.service h3,
article.grid_4 h4 {
  color: #ff4081;
  margin-bottom: 0.5rem;
}

.service p,
article.grid_4 p {
  font-size: 1rem;
  margin-bottom: 1rem;
  color: #fff;
}

.service .btn-small,
article.grid_4 a.button {
  display: inline-block;
  margin-top: 0.8rem;
  padding: 0.5rem 1rem;
  background: #ff4081;
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.3s ease;
}

.service .btn-small:hover,
article.grid_4 a.button:hover {
  background: #9c27b0;
}

article.grid_4 ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 1rem;
}

article.grid_4 ul li {
  margin-bottom: 0.4rem;
}

article.grid_4 ul li a {
  color: #9c27b0;
  text-decoration: none;
  font-size: 0.95rem;
}

article.grid_4 ul li a:hover {
  color: #ff4081;
}

/* About Us Section */
.about-section {
  position: relative;
  padding: 80px 20px;
  text-align: center;
}
.about-section .container {
  max-width: 900px;
  margin: 0 auto;
  background: rgba(34, 34, 34, 0.95);
  padding: 20px 50px;
  border-radius: 20px;
}
.about-section h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #9c27b0;
}
.about-section p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 15px;
  color: #fff;
}

/* Contact */
form {
  display: flex;
  flex-direction: column;
  max-width: 500px;
  margin: 0 auto;
  gap: 1rem;
  padding-block: 0px 64px;
}
input,
textarea {
  padding: 0.7rem;
  border: 1px solid #ccc;
  border-radius: 6px;
}
button {
  padding: 0.7rem;
  background: #ff4081;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}
.contact h2 {
  text-align: center;
}

/* Footer */
footer {
  background: #111;
  color: #fff;
  padding: 10px 10px;
  text-align: center;
  border-radius: 8px;
  font-size: 12px;
}
footer .footer-content .logo a {
  font-size: 20px;
  color: #9c27b0;
  text-decoration: none;
}
footer p {
  margin: 8px 0 15px 0;
  font-size: 20px;
  opacity: 0.8;
}
footer strong {
  color: #747373;
  font-weight: normal;
}

/* Dropdown Menu (Services) */
header nav ul li {
  position: relative;
}

header nav ul li ul.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: rgba(0, 0, 0, 0.95);
  list-style: none;
  padding: 0.5rem 0;
  border-radius: 8px;
  min-width: 180px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  z-index: 1000;
}

header nav ul li ul.dropdown-menu li {
  width: 100%;
}

header nav ul li ul.dropdown-menu li a {
  display: block;
  padding: 10px 20px;
  color: #fff;
  text-decoration: none;
  font-size: 0.95rem;
  transition: background 0.3s ease;
}

header nav ul li ul.dropdown-menu li a:hover {
  background: #ff4081;
  color: #fff;
}

/* Show dropdown on hover (desktop) */
header nav ul li:hover > ul.dropdown-menu {
  display: block;
}

/* Mobile */
@media (max-width: 768px) {
  header {
    grid-template-columns: 1fr;
    padding: 0.5rem 1rem;
    position: relative;
  }
  header nav ul {
    flex-direction: column;
    max-height: 0;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.9);
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
  }
  header nav ul.active {
    max-height: 500px;
  }
  header nav ul li {
    margin: 0.5rem 0;
    text-align: center;
  }
  .hamburger {
    display: flex;
    position: absolute;
    top: 15px;
    right: 20px;
    z-index: 1001;
  }
  .header-buttons {
    width: 100%;
    justify-content: center;
    margin-top: 0.5rem;
  }
  .header-buttons .btn-cta {
    width: 45%;
    text-align: center;
  }

  .social-icons {
    gap: 8px;
  }
  .social-icons a {
    width: 26px;
    height: 26px;
    font-size: 12px;
  }

  .hero {
    height: 60vh;
    min-height: 350px;
    padding: 0 1rem;
  }
  .hero-slide .slide {
    background-size: cover;
    background-position: top center;
  }
  .hero h2 {
    font-size: 2rem;
  }
  .hero h4 {
    font-size: 1.2rem;
  }
  .hero p {
    font-size: 1rem;
  }

  .service-grid,
  .wrapper {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  article.grid_4 {
    text-align: center;
  }
  form {
    width: 100%;
    padding: 10px 30px;
  }

  header nav ul li ul.dropdown-menu {
    position: static;
    background: none;
    box-shadow: none;
    padding: 0;
  }

  header nav ul li ul.dropdown-menu li a {
    padding: 8px 0;
    color: #ff4081;
  }

  header nav ul li ul.dropdown-menu li a:hover {
    background: none;
    color: #9c27b0;
  }
}
