/* Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", sans-serif;
}

:root {
  --primary-color: #1a1d21;
  --secondary-color: #25292e;
  --accent-color: #3aaf45;
  --text-color: #f0f4f8;
  --dark-overlay: rgba(0, 0, 0, 0.7);
}

body {
  background-color: var(--primary-color);
  color: var(--text-color);
  line-height: 1.6;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh; /* Full screen height */
  overflow: hidden; /* Prevent scrolling */
}

/* Service Details Layout */
.service-container {
  display: flex;
  width: 90%;
  max-width: 1200px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
  align-items: center;
  justify-content: space-between;
  height: 80vh; /* Takes 80% of screen height */
}

/* Left Side: Text Content */
.service-text {
  width: 50%;
  padding: 3rem;
  text-align: left;
}

.service-text h1 {
  font-size: 2.8rem;
  color: var(--accent-color);
  margin-bottom: 1rem;
}

.service-text p {
  font-size: 1.2rem;
  opacity: 0.9;
  margin-bottom: 1.5rem;
  max-width: 90%;
}

/* Right Side: Image */
.service-image {
  width: 50%;
  height: 100%;
  background-size: cover;
  background-position: center;
}

/* Buttons */
.service-buttons {
  margin-top: 2rem;
}

.btn {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  border-radius: 5px;
  font-size: 1.1rem;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
}

.back-btn {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-color);
  border: 2px solid var(--text-color);
}

.back-btn:hover {
  background: var(--text-color);
  color: var(--primary-color);
}

.contact-btn {
  background: var(--accent-color);
  color: var(--text-color);
  margin-left: 1rem;
}

.contact-btn:hover {
  background: rgba(58, 175, 69, 0.9);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .service-container {
    flex-direction: column;
    height: auto;
  }

  .service-text,
  .service-image {
    width: 100%;
    height: auto;
  }

  .service-text {
    padding: 2rem;
    text-align: center;
  }

  .service-buttons {
    text-align: center;
  }

  .btn {
    display: block;
    margin: 0.5rem auto;
    width: 90%;
  }
}
