/* --- General Styles --- */
body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
    padding-top: 70px; /* For fixed navbar */
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
}

.btn-primary {
    background-color: #007bff;
    border-color: #007bff;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn-primary:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
}

.section-padding {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    text-transform: uppercase;
}

/* --- Navbar --- */
.navbar {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.navbar-brand {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.8rem;
}

.nav-link {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #007bff;
}

/* --- Hero Section --- */
.hero {
    background: url('../images/hero-bg.jpg') no-repeat center center/cover;
    color: white;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-content {
    animation: fadeIn 1.5s ease-in-out;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 30px;
}

/* --- Services Section --- */
.service-card {
    background: #fff;
    border: 1px solid #e0e0e0; /* Subtle border */
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px); /* Less aggressive lift */
    box-shadow: 0 8px 16px rgba(0,0,0,0.1); /* Softer shadow */
    background-color: #f8f9fa; /* Subtle background change on hover */
}

.service-card .icon {
    font-size: 3rem;
    color: #6c757d; /* More neutral, professional color */
    margin-bottom: 20px;
}

/* --- About Us Section --- */
.about-us {
    background: #f8f9fa;
}

/* --- Why Choose Us Section --- */
.why-choose-us .icon {
    font-size: 2rem;
    color: #007bff;
}

/* --- Portfolio Section --- */
.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.portfolio-item img {
    transition: transform 0.4s ease;
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 123, 255, 0.8);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

/* --- Testimonials Section --- */
.testimonial-card {
    background: #fff;
    border-left: 5px solid #007bff;
    padding: 30px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    margin: 0 15px;
}

.testimonial-card p.testimonial-text {
    font-style: italic;
}

.testimonial-card .author {
    font-weight: 700;
}

/* --- Service Page Specific Styles --- */
.service-section {
    padding: 80px 0;
}

.service-section.bg-light {
    background-color: #f8f9fa;
}

.process-step {
    text-align: center;
    padding: 20px;
}

.process-step .icon {
    font-size: 3rem;
    margin-bottom: 20px;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Default icon color */
.process-step .icon {
    color: #007bff;
    background: #e7f1ff;
}

.feature-list li {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.feature-list .icon {
    color: #28a745;
    margin-right: 10px;
}

.issue-list li {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.issue-list .icon {
    color: #dc3545;
    margin-right: 10px;
}


/* --- Contact CTA Section --- */
.contact-cta {
    background: #007bff;
    color: white;
    text-align: center;
}

/* --- Cookie Consent Banner --- */
.cookie-consent-banner {
    position: fixed;
    bottom: 20px; /* Add some space from the bottom */
    left: 20px; /* Position on the left */
    width: 400px; /* Fixed width */
    max-width: calc(100% - 40px); /* Ensure it doesn't overflow on small screens */
    background-color: rgba(0, 0, 0, 0.85); /* Darker, semi-transparent background */
    color: white;
    padding: 15px 20px;
    display: none; /* Hidden by default */
    flex-direction: column; /* Stack content vertically */
    align-items: flex-start; /* Align content to the start */
    z-index: 1000;
    border: 5px dotted #007bff; /* Dotted border on all sides */
    border-radius: 8px; /* Slightly rounded corners */
}

.cookie-consent-banner.show-banner {
    display: flex; /* Show when this class is present */
}

.cookie-consent-banner p {
    margin: 0 0 10px 0; /* Add margin below text */
    font-size: 0.9rem;
}

.cookie-consent-banner a {
    color: #007bff;
    text-decoration: underline;
}

.cookie-consent-banner .btn {
    align-self: flex-end; /* Align button to the right within the column */
    margin-left: 0; /* Remove previous margin */
}

/* --- Footer --- */
footer a.text-white:hover {
    color: #ffc107 !important;
}

/* --- Animations --- */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes gradient-animation {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.animated-gradient-hero {
    background: linear-gradient(-45deg, #007bff, #0d6efd, #28a745, #20c997);
    background-size: 400% 400%;
    animation: gradient-animation 15s ease infinite;
    color: white;
    padding: 100px 0;
    text-align: center;
}

.animated-gradient-text {
    background: linear-gradient(-45deg, #007bff, #0d6efd, #28a745, #20c997);
    background-size: 400% 400%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    animation: gradient-animation 15s ease infinite;
    display: inline-block; /* Needed for background-clip to work */
}

.fade-in-section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-section.is-visible {
    opacity: 1;
    transform: translateY(0);
}
