/* index-styles.css - Modern styles for index.php */

:root {
    --primary-color: #2f89fc;
    --secondary-color: #40514e;
    --accent-color: #30e3ca;
    --light-bg: #f5f5f5;
    --dark-text: #333333;
    --white: #ffffff;
    --box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
}

/* ==================== */
/* Global Reset/Overrides */
/* ==================== */
.index-content {
    font-family: 'Poppins', sans-serif;
    color: var(--dark-text);
    line-height: 1.6;
}

/* ==================== */
/* Hero Section */
/* ==================== */
.slide-item {
    position: relative;
    padding: 8rem 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.index-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
}

.index-hero .container {
    position: relative;
    z-index: 2;
}

.index-hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    line-height: 1.2;
}

.index-hero .lead {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--white);
    opacity: 0.9;
}

.index-hero .btn-primary {
    background-color: var(--primary-color);
    border: none;
    padding: 1rem 2.5rem;
    font-weight: 600;
    border-radius: 50px;
    font-size: 1.1rem;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 10px rgba(47, 137, 252, 0.3);
}

.index-hero .btn-primary:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(48, 227, 202, 0.4);
}

/* ==================== */
/* Services Grid */
/* ==================== */
.index-services {
    padding: 5rem 0;
}

.service-card {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    margin-bottom: 2rem;
    height: 300px;
}

.service-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.service-card:hover img {
    transform: scale(1.1);
}

.service-inner {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    padding: 2rem;
    color: var(--white);
}

.service-inner h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.service-inner p {
    margin-bottom: 0;
    opacity: 0.9;
}


/* ==================== */
/* Call to Action Banner */
/* ==================== */
.count-numbers {
    background-color: var(--primary-color);
    padding: 4rem 0;
    text-align: center;
    color: var(--white);
}

.count-numbers .counter-wrap {
    max-width: 800px;
    margin: 0 auto;
}

.count-numbers .number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    display: block;
}

.count-numbers h3 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
}

.count-numbers .btn-outline-white {
    border: 2px solid var(--white);
    color: var(--white);
    background: transparent;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.count-numbers .btn-outline-white:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-3px);
}

/* Override Bootstrap column widths for service cards */
.site-section .row > div {
    flex: 0 0 auto;
    width: 33.333%; /* Makes 3 cards per row instead of 4 */
    padding: 15px; /* Adjust spacing */
}

/* Make cards wider on larger screens */
@media (min-width: 992px) {
    .site-section .row > div {
        width: 33.333%;
    }
}

/* Adjust for tablets */
@media (max-width: 991px) {
    .site-section .row > div {
        width: 50%; /* 2 cards per row */
    }
}

/* Single column on mobile */
@media (max-width: 767px) {
    .site-section .row > div {
        width: 100%;
    }
}

/* ==================== */
/* Testimonials/Features */
/* ==================== */
.index-features {
    padding: 5rem 0;
    background-color: var(--light-bg);
}

.testimonial {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    height: 100%;
    text-align: center;
}

.testimonial:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.testimonial img {
    max-width: 100px;
    height: auto;
    margin: 0 auto 1.5rem;
    display: block;
}

.testimonial .quote {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 1rem;
}

.testimonial .quote::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--accent-color);
}

.testimonial .author {
    font-style: normal;
    color: var(--secondary-color);
    font-size: 1rem;
}
/* Location card images */
.location-card img {
    width: 100%;       /* Make image fill container width */
    height: auto;      /* Maintain aspect ratio */
    min-height: 200px; /* Set minimum height */
    object-fit: cover; /* Ensure images cover the area nicely */
    transition: transform 0.3s ease; /* Smooth hover effect */
    max-width: 200px;
}

.location-card:hover img {
    transform: scale(1.05); /* Slight zoom on hover */
}

/* Adjust the container to accommodate larger images */
.location-card {
    padding: 15px;
    margin-bottom: 30px;
}

.location-card a {
    display: block;
    overflow: hidden; /* Contain the image */
    border-radius: 8px; /* Optional: rounded corners */
}
/* ==================== */
/* Responsive Adjustments */
/* ==================== */
@media (max-width: 992px) {
    .index-hero h1 {
        font-size: 2.8rem;
    }
    
    .index-hero .lead {
        font-size: 1.3rem;
    }
}

@media (max-width: 768px) {
    .index-hero {
        padding: 6rem 0;
        text-align: center;
    }
    
    .index-hero h1 {
        font-size: 2.2rem;
    }
    
    .index-hero .lead {
        font-size: 1.1rem;
    }
    
    .count-numbers .number {
        font-size: 2rem;
    }
    
    .count-numbers h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .index-hero h1 {
        font-size: 1.8rem;
    }
    
    .service-inner {
        padding: 1.5rem;
    }
    
    .service-inner h3 {
        font-size: 1.3rem;
    }
    
    .testimonial {
        padding: 1.5rem;
    }
    
    .testimonial .quote {
        font-size: 1.2rem;
    }
}
/* ==================== */
/* Wider Service Cards */
/* ==================== */
.service-card-wide {
    border-radius: 12px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    height: 100%;
    overflow: hidden;
    background: white;
}

.service-card-wide:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.service-image {
    object-fit: cover;
    width: 100%;
    transition: transform 0.5s ease;
}

.service-card-wide:hover .service-image {
    transform: scale(1.05);
}

.service-content-wide {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.service-content-wide h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 600;
}

.service-content-wide p {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .service-content-wide {
        padding: 1.5rem !important;
    }
}

@media (max-width: 768px) {
    .service-card-wide {
        flex-direction: column;
    }
    
    .service-image {
        height: 200px;
    }
}
/* Social Media Container Styles */
.social-media-container {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-bottom: 30px;
    text-align: center;
}

.social-media-container h4 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: 600;
}

.social-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.btn-social {
    color: white;
    padding: 8px 15px;
    border-radius: 5px;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.btn-social i {
    margin-right: 8px;
}

.btn-social:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 10px rgba(0,0,0,0.2);
}

.facebook { background-color: #3b5998; }
.instagram { background-color: #e4405f; }
.twitter { background-color: #1da1f2; }
.pinterest { background-color: #bd081c; }

@media (max-width: 767px) {
    .social-buttons {
        flex-direction: column;
    }
    
    .btn-social {
        width: 100%;
        justify-content: center;
    }
}