/* ------------------ Services Page Styling (Fixed Layout) ------------------ */

body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #333;
    color: #fff;
}

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

/* Header */
.main-header {
    background: #555;
    padding: 20px 0;
    box-shadow: 0 4px 10px #555;
}
.logo img {
  height: 70px;
}

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

.nav-menu ul {
    list-style: none;
    display: flex;
    gap: 15px;
    justify-content: center;
}

.nav-menu a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover, .nav-menu a.active {
    color: #f15a22;
}
.services-hero {
    background: url('../images/heroic-firefighter-walking-through-flames-in-forest-courage-rescue-firefighting-concept-for-posters-and-articles-photo.jpg') no-repeat center center/cover;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
}

.brochure-section {
  background-color: #f8f9fa;
  padding: 80px 10%;
  text-align: center;
  animation: fadeInUp 1s ease-in-out;
}

.brochure-section h2 {
  font-size: 2.5rem;
  color: #d92323;
  margin-bottom: 20px;
}

.brochure-section h2 span {
  color: #333;
}

.brochure-section p {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 30px;
}

.brochure-download-btn {
  background-color: #d92323;
  color: white;
  padding: 14px 28px;
  font-size: 1rem;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.3s ease;
  display: inline-block;
}

.brochure-download-btn:hover {
  background-color: #b71c1c;
}

.services-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 0;
}

.services-hero h1 {
    font-size: 3rem;
    font-weight: bold;
    z-index: 1;
    position: relative;
    animation: fadeInDown 1s ease-in-out;
}

.services-hero h1 span {
    color: #ff4b2b;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.services-section {
    padding: 80px 10%;
    background-color: #f9f9f9;
}

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

.service-box {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    animation: fadeInUp 1s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

.service-box img {
    width: 60px;
    margin-bottom: 20px;
}

.service-box h3 {
    color: #d92323;
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.service-box p {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
}
.back-btn {
    display: inline-block;
    margin-top: 30px;
    padding: 10px 25px;
    background: #d92323;
    color: white;
    font-weight: bold;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s;
}

.back-btn:hover {
    background: #b71c1c;
}

@media (max-width: 768px) {
    .design-hero h1 {
        font-size: 2rem;
    }

    .design-content {
        padding: 40px 8%;
    }
}


/* Responsive */
@media (max-width: 768px) {
    .services-hero h1 {
        font-size: 2rem;
        padding: 0 10px;
    }

    .services-section {
        padding: 40px 5%;
    }

    .service-box {
        padding: 20px;
    }
}
