/* css/style.css */

/* Import Google Font if not already in header.php, or to ensure it's primary */
body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.7;
    color: #333; /* Dark gray for general text for better readability */
}

/* --- Navbar Customizations --- */
.navbar {
    transition: background-color 0.3s ease-in-out;
}

.navbar-brand {
    font-size: 1.5rem; /* Slightly larger brand text */
}

.nav-link {
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.2s ease-in-out;
}

.nav-link:hover,
.nav-link.active {
    color: var(--bs-primary) !important; /* Use Bootstrap primary color for hover/active */
}

.dropdown-menu {
    border-radius: 0.5rem; /* Softer corners for dropdown */
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    border: none;
}

.dropdown-item {
    font-weight: 500;
    transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
}

.dropdown-item:hover {
    background-color: var(--bs-primary-bg-subtle); /* Bootstrap 5.3 subtle background */
    color: var(--bs-primary);
}


/* --- Hero Section --- */
.hero-section {
    /* Using a subtle gradient, can be customized */
    background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%); /* Example Bootstrap primary gradient */
    /* Or use an image background:
    background: url('../path/to/your/hero-image.jpg') no-repeat center center;
    background-size: cover;
    */
    position: relative; /* For potential pseudo-elements or overlays */
}

.hero-section h1 {
    font-size: calc(1.8rem + 2.5vw); /* Responsive font size */
    font-weight: 700;
}

.hero-section .lead {
    font-size: calc(1rem + 0.5vw);
    font-weight: 300;
}

/* --- Service Cards --- */
.service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none; /* Remove default card border if using shadow primarily */
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 1rem 1.5rem rgba(0,0,0,0.1) !important; /* Enhanced shadow on hover */
}

.service-card .fs-1 { /* Icon size */
    font-size: 3rem !important;
}

/* --- About Us Snippet --- */
#about-snippet img {
    transition: transform 0.3s ease;
}
#about-snippet img:hover {
    transform: scale(1.03);
}

/* --- Call to Action Section --- */
.cta-section {
    background-color: #343a40; /* Bootstrap's dark color, or your brand's secondary color */
    /* Example with a subtle pattern
    background-image: linear-gradient(45deg, rgba(0,0,0,0.05) 25%, transparent 25%, transparent 75%, rgba(0,0,0,0.05) 75%, rgba(0,0,0,0.05)),
                      linear-gradient(45deg, rgba(0,0,0,0.05) 25%, transparent 25%, transparent 75%, rgba(0,0,0,0.05) 75%, rgba(0,0,0,0.05));
    background-size: 60px 60px;
    background-position: 0 0, 30px 30px;
    */
}

.cta-section .btn-light {
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
}

.cta-section .btn-light:hover {
    background-color: var(--bs-primary);
    color: white !important;
    transform: translateY(-3px);
}


/* --- Testimonials --- */
#testimonials .carousel-control-prev-icon,
#testimonials .carousel-control-next-icon {
    background-color: rgba(0, 0, 0, 0.5); /* Darker controls for better visibility on light bg */
    border-radius: 50%;
    padding: 15px; /* Increase clickable area */
    background-size: 60% 60%; /* Adjust icon size within the control */
}

.testimonial-card {
    border: 1px solid #e9ecef; /* Light border for definition */
}

/* --- Footer --- */
.footer {
    background-color: #212529; /* Bootstrap's darker gray */
}

.footer h5 {
    color: #fff; /* White headings in footer */
}

.footer .hover-primary:hover {
    color: var(--bs-primary) !important; /* Use Bootstrap primary for hover on links */
    text-decoration: none; /* Remove underline on hover if desired */
}

/* --- Animations (Simple examples) --- */
@keyframes animate-fade-in-up {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: animate-fade-in-up 0.8s ease-out forwards;
}

@keyframes animate-zoom-in {
    0% {
        opacity: 0;
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}
.animate-zoom-in {
    animation: animate-zoom-in 0.7s ease-out forwards;
    animation-delay: 0.3s; /* Example delay */
}


/* --- Utility Classes (can be expanded) --- */
.bg-gradient-primary { /* Custom gradient if Bootstrap's default isn't used or needs override */
    background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
}

/* Responsive adjustments if needed beyond Bootstrap defaults */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }
    .hero-section .lead {
        font-size: 1.1rem;
    }
    .navbar-nav .nav-link {
        padding-left: 0.5rem; /* Adjust padding for mobile nav items */
        padding-right: 0.5rem;
    }
}
