/* ===== SERVICES PAGE CSS ===== */

/* General body and sections */
body {
    background-color: #ffffff;
    color: #333333;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    scroll-behavior: smooth;
}

/* Section spacing */
section {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

/* Hero Section */
section.text-center h1,
section.text-center h2 {
    color: #d32f2f; /* red accent */
    font-weight: 700;
    position: relative;
}

section.text-center p {
    font-size: 1rem;
    line-height: 1.6;
    color: #555555;
}

/* Add small red accent line under headings */
section h1::after,
section h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: #d32f2f;
    margin: 0.5rem auto 1rem auto;
    border-radius: 2px;
}

/* SERVICES GRID CARDS */
.card {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    border-radius: 12px;
    cursor: default;
    background-color: #ffffff;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.card .card-body i {
    color: #d32f2f;
    transition: transform 0.3s ease, color 0.3s ease;
}

.card:hover .card-body i {
    transform: scale(1.2);
    color: #b71c1c;
}

.card-title {
    margin-top: 1rem;
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.card-text {
    font-size: 0.95rem;
    color: #555555;
}

/* Services Lists */
.card ul {
    list-style: disc;
    padding-left: 1.25rem;
    margin-top: 0.5rem;
}

.card ul li {
    margin-bottom: 0.5rem;
    color: #555555;
}

/* WHY CHOOSE US Section */
.bg-light {
    background-color: #f9f9f9 !important;
}

.bg-light h2 {
    color: #d32f2f;
}

.bg-light h5 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.bg-light p {
    font-size: 0.95rem;
    color: #555555;
}

/* Border boxes in WHY CHOOSE US */
.bg-light .border {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bg-light .border:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.08);
}

/* Headings underline animation */
section h1::after,
section h2::after {
    transition: width 0.3s ease;
}

section h1:hover::after,
section h2:hover::after {
    width: 80px;
}

/* ICONS */
.fas {
    transition: color 0.3s ease, transform 0.3s ease;
}

/* RESPONSIVE ADJUSTMENTS */
@media (max-width: 992px) {
    .card .card-body i {
        font-size: 2.5rem;
    }
    section h1, section h2 {
        font-size: 2rem;
    }
    .card-title {
        font-size: 1.15rem;
    }
}

@media (max-width: 768px) {
    section h1, section h2 {
        font-size: 1.75rem;
    }
    .card-title {
        font-size: 1.1rem;
    }
}

/* Optional: smooth AOS fade */
[data-aos] {
    opacity: 0;
    transition-property: opacity, transform;
}
[data-aos].aos-animate {
    opacity: 1;
}

/* Additional: subtle card hover background highlight */
.card:hover {
    background-color: #fff5f5; /* very light red tint */
}

/* Utility spacing */
.mb-3 { margin-bottom: 1rem !important; }
.mb-4 { margin-bottom: 1.5rem !important; }
.mb-5 { margin-bottom: 2rem !important; }
.mt-3 { margin-top: 1rem !important; }
.mt-4 { margin-top: 1.5rem !important; }

/* Smooth scroll links if any */
a {
    text-decoration: none;
    color: #d32f2f;
    transition: color 0.3s ease;
}

a:hover {
    color: #b71c1c;
    text-decoration: none;
}
