body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.slider {
    background-size: cover;
    background-position: center;
    /* transition: background-image 1s ease-in-out; Removed as video is used */
    position: relative;
}

#main-header .flex.items-center img {
    filter: drop-shadow(0 0 8px rgba(250, 204, 21, 0.2));
}

/* Specific styling for the logo text split */
.tracking-tighter {
    letter-spacing: -0.05em;
}

/* This rule is not applying as there's no .slide-text in your HTML */
/* .slide-text p:first-child {
    margin-bottom: 5px;
} */

/* This rule overrides Tailwind's text-sm. If you want 1rem for all text-sm, keep it. */
/* .text-sm {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
} */

/* These animation classes are defined but not used in your current HTML with AOS */
/* .fadeInBottom {
    animation: fadeInBottom 2s ease-in-out;
}

@keyframes fadeInBottom {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.fadeInLeft {
    animation: fadeInLeft 2s ease-in-out;
}

@keyframes fadeInLeft {
    0% {
        opacity: 0;
        transform: translateX(-20px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
} */

/* Add this JavaScript for header.scrolled to work if not already present */
/* document.addEventListener('DOMContentLoaded', function() {
    const header = document.getElementById('main-header');
    window.addEventListener('scroll', function() {
        if (window.scrollY > 50) { // Adjust scroll threshold as needed
            header.classList.add('scrolled');
        } else {
            header.classList.remove('scrolled');
        }
    });
}); */


header.scrolled {
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    /* Changed this line: */
    background-color: rgba(0, 0, 0, 0.5);
    /* Semi-transparent black */
    /* You could also use a very dark grey with transparency: */
    /* background-color: rgba(34, 34, 34, 0.7); */
}

@keyframes pop {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.4);
    }

    100% {
        transform: scale(1);
    }
}

.pop {
    animation: pop 0.4s ease;
}

/* CTA Button Styles - These styles are not being applied by your current HTML structure
   as the floating CTA buttons use direct Tailwind classes.
   You would need to add a class like 'cta-button-icon' to your 'a' tags
   or modify the selector to target the icons directly, e.g., '.fixed a i'
*/
/* .cta-button i,
.cta-button-alt i {
    transition: transform 0.3s ease;
}

.cta-button:hover i,
.cta-button-alt:hover i {
    transform: scale(1.1);
} */

.maintext {
    /* Adjusted opacity for better visibility on the darker overlay */
    opacity: 1;
    /* Was 0.8, increasing to 1 for more prominence */
}

#reasons-cards {
    /* The inline style in HTML for background-image takes precedence.
       Keep these for parallax and other effects. */
    /* background-image: url('https://source.unsplash.com/1600x900/?finance'); */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    transition: background-position 0.3s ease-in-out;
}

/* These styles for .reasons-card are largely covered by Tailwind in HTML.
   Keep if you need specific overrides or additions. */
/* #reasons-cards .reasons-card {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
}

#reasons-cards .reasons-card:hover {
    transform: scale(1.05);
} */

.services-section.dark-theme {
    background: linear-gradient(145deg, #111, #1c1c1c);
    color: #fff;
    padding: 60px 20px;
    text-align: center;
}

.services-section.dark-theme h2 {
    font-size: 2rem;
    margin-bottom: 40px;
    color: #f0f0f0;
}

.services-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.service-card {
    background-color: #1e1e1e;
    border-radius: 12px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
    padding: 30px 20px;
    width: 280px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    /* opacity: 0; Removed this as AOS will handle initial opacity */
    /* transform: translateY(40px); Removed this as AOS will handle initial transform */
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 20px #007bff80;
}

.service-card i {
    font-size: 2rem;
    color: #00aaff;
    margin-bottom: 15px;
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
    color: #ffffff;
}

.service-card p {
    font-size: 0.95rem;
    color: #cccccc;
}

.footer-section.dark-footer {
    background-color: #111;
    color: #ccc;
    padding: 60px 20px 30px;
    font-size: 0.95rem;
    position: relative;
}

/* These classes are not being applied by your current HTML, Tailwind handles layout */
/* .footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
    max-width: 1200px;
    margin: auto;
}

.footer-column {
    flex: 1;
    min-width: 250px;
}

.footer-column h3 {
    color: #fff;
    margin-bottom: 15px;
}

.footer-column p,
.footer-column li {
    margin: 8px 0;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-column a:hover {
    color: #00aaff;
}

.social-links a {
    margin-right: 15px;
    font-size: 1.3rem;
    color: #ccc;
    transition: transform 0.3s, color 0.3s;
}

.social-links a:hover {
    color: #00aaff;
    transform: scale(1.2);
} */

footer .fas,
footer .fab {
    margin-right: 8px;
}

.footer-form {
    max-width: 600px;
    margin: 40px auto;
    text-align: center;
}

.footer-form h4 {
    color: #fff;
    margin-bottom: 20px;
}

.footer-form input,
.footer-form textarea {
    width: 100%;
    padding: 10px;
    margin: 8px 0;
    background-color: #222;
    border: none;
    border-radius: 5px;
    color: #eee;
    font-size: 0.95rem;
}

.footer-form button {
    background-color: #00aaff;
    color: #fff;
    padding: 10px 20px;
    border: none;
    font-size: 0.95rem;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 10px;
    transition: background 0.3s;
}

.footer-form button:hover {
    background-color: #008ecc;
}

footer .copyright {
    text-align: center;
    margin-top: 40px;
    font-size: 0.85rem;
    color: #777;
}

/* New/Adjusted CSS based on HTML changes and suggestions */

/* General Hover effect for cards (if not already handled by Tailwind) */
.shadow-md:hover {
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.15);
    /* More pronounced shadow on hover */
}

/* Service Card initial state adjusted for AOS */
.service-card {
    /* Removed initial opacity and transform, AOS will handle */
    /* opacity: 0; */
    /* transform: translateY(40px); */
}