/* Custom CSS for mpowered.biz - assets/css/style.css */

:root {
    --primary-color: #007aff; /* Apple Blue for accents */
    --accent-color: #6c757d;  /* Muted grey for subtle elements */
    --light-bg: #f8f8f8;     /* Off-white background */
    --dark-text: #212529;    /* Dark charcoal for main text */
    --light-text: #6c757d;   /* Lighter grey for secondary text */
    --border-color: #e9ecef; /* Light border for separation */
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--dark-text);
    background-color: #fff; /* Pure white or subtle off-white for the body */
    line-height: 1.7; /* More comfortable reading */
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600; /* Semi-bold for headings */
    color: var(--dark-text);
    letter-spacing: -0.02em; /* Subtle tighter letter spacing for modern look */
}

/* Navbar Customization */
.navbar {
    background-color: rgba(255, 255, 255, 0.95); /* Slightly transparent white */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05); /* Subtle shadow */
    transition: background-color 0.3s ease;
}

.navbar-brand img {
    /* Adjust logo height as needed */
}

.navbar-nav .nav-link {
    color: var(--dark-text);
    font-weight: 500;
    padding: 0.5rem 1.2rem; /* More generous padding */
    transition: color 0.3s ease, border-bottom 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
}

.navbar-toggler {
    border: none;
    font-size: 1.5rem;
}

/* Hero Section */
#hero {
    min-height: 100vh; /* Full viewport height */
    overflow: hidden; /* Ensure image doesn't overflow */
}

.hero-bg-overlay {
    /* Using background-image in HTML for simplicity, but could be an <img> here */
    filter: brightness(0.5) saturate(1.2); /* Adjust for desired mood - make it darker for text contrast */
    z-index: 0;
}

#hero h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem); /* Responsive font size */
    font-weight: 700;
    line-height: 1.2;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

#hero p.lead {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem; /* More space below */
    text-shadow: 0 1px 4px rgba(0,0,0,0.2);
}

#hero .btn-light {
    background-color: #fff;
    color: var(--primary-color);
    border: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

#hero .btn-light:hover {
    background-color: var(--primary-color);
    color: #fff;
    box-shadow: 0 4px 15px rgba(0, 122, 255, 0.4);
}

/* General Section Styling */
section {
    padding: 6rem 0; /* Generous padding */
}

section.bg-light {
    background-color: var(--light-bg) !important; /* Ensure override */
}

/* Icon Box Styling */
.icon-box {
    background-color: #fff;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    padding: 2.5rem; /* More padding */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.04);
}

.icon-box:hover {
    transform: translateY(-8px); /* Subtle lift effect */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.icon-box i {
    color: var(--primary-color); /* Apply primary color to icons */
    margin-bottom: 1rem;
}

/* Why Choose Us List Styling */
.why-list li {
    margin-bottom: 1.5rem;
}

.why-list i {
    color: var(--primary-color);
    font-size: 2rem;
    margin-right: 1rem;
    flex-shrink: 0; /* Prevent icon from shrinking on smaller screens */
}

/* Testimonial Carousel */
.testimonial-card {
    max-width: 700px;
    margin: 0 auto;
    border: 1px solid var(--border-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.04);
    padding: 2.5rem;
}

.testimonial-card p.lead {
    font-size: 1.25rem;
    color: var(--dark-text);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-control-prev, .carousel-control-next {
    width: 5%; /* Make buttons less intrusive */
}

#why-choose-us {
    background-color: bisque !important;
}

/* Closing CTA Section */
#contact-cta {
    background-color: var(--primary-color) !important; /* Ensure primary color */
    padding: 5rem 0;
}

#contact-cta h2 {
    color: #fff;
    font-weight: 700;
}

#contact-cta .btn-outline-light {
    border-color: #fff;
    color: #fff;
    font-weight: 600;
    transition: all 0.3s ease;
}

#contact-cta .btn-outline-light:hover {
    background-color: #fff;
    color: var(--primary-color);
}

.solution-card {
    background-color: #fff;
    border-radius: 0.75rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%; /* Ensure cards in a row have equal height */
    display: flex;
    flex-direction: column;
}

.solution-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.solution-card img {
    border-top-left-radius: 0.75rem;
    border-top-right-radius: 0.75rem;
    height: 200px; /* Fixed height for image consistency */
    object-fit: cover; /* Ensures image covers the area */
}

.solution-card .card-body {
    flex-grow: 1; /* Allows body to expand and push footer down */
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Distributes space */
}

.solution-card .card-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dark-text);
    margin-bottom: 0.75rem;
}

.solution-card .card-text {
    font-size: 0.95rem;
    color: var(--light-text);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.solution-card .btn-link {
    font-weight: 600;
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
    align-self: flex-start; /* Aligns to bottom-left */
}

.solution-card .btn-link:hover {
    color: var(--secondary-color); /* Hover color for links */
}

.category-heading {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 3.5rem;
    text-align: center;
    position: relative;
}

.category-heading::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

/* Hero section specific for this page */
#solutions-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('assets/images/solutions-hero-bg-unsplash.jpg') no-repeat center center;
    background-size: cover;
    color: #fff;
    padding: 8rem 0;
    text-align: center;
}
#solutions-hero h1 {
    font-size: clamp(2.8rem, 5vw, 4.5rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 0 3px 10px rgba(0,0,0,0.5);
}
#solutions-hero p.lead {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    max-width: 800px;
    margin: 0 auto 3rem auto;
    text-shadow: 0 1px 5px rgba(0,0,0,0.3);
}

        /* Footer */
footer {
    background-color: #1a1a1a !important; /* Darker, sophisticated footer */
    color: rgba(255, 255, 255, 0.7);
    padding: 3rem 0;
}

footer h5 {
    color: #fff;
    font-weight: 600;
}

footer .text-muted {
    color: rgba(255, 255, 255, 0.5) !important;
}

footer a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
}

footer a:hover {
    color: #fff;
}

.social-icons a {
    font-size: 1.25rem;
}

/* Utility classes for spacing and typography, if needed */
.py-lg-6 {
    padding-top: 8rem !important;
    padding-bottom: 8rem !important;
}

@media (max-width: 767.98px) {
    section {
        padding: 4rem 0;
    }
    .display-3 {
        font-size: 2.5rem;
    }
    .display-5 {
        font-size: 2rem;
    }
    .testimonial-card {
        padding: 1.5rem;
    }
    .carousel-control-prev, .carousel-control-next {
        width: 10%;
    }
}