/* General Body Styles */
body {
    background-color: #f7fafc; /* brand-light */
    color: #4a5568; /* brand-primary */
    font-family: 'Inter', sans-serif;
    scroll-behavior: smooth;
}

/* Gradient Background for Headers/Footers */
.gradient-bg {
    background: linear-gradient(135deg, #111827 0%, #1a202c 100%);
}

/* Call-to-action Button Styles */
.cta-button {
    transition: all 0.3s ease;
}
.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px -5px rgba(245, 101, 101, 0.4);
}

/* Service Card Hover Effect */
.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease-in-out;
}

/* Testimonial Card Glassmorphism Effect */
.testimonial-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
}

/* Section Fade-in Animation */
.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);
}

/* Hero Slider Styles */
.slider-item {
    transition: opacity 1s ease-in-out;
}

/* --- REVISED DROPDOWN STYLES --- */
.dropdown .dropdown-menu {
    opacity: 0;
    visibility: hidden; /* Use visibility for transitions */
    transform: translateY(10px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    pointer-events: none;
}

/* Creates an invisible area below the "Services" link to bridge the gap to the menu */
.dropdown::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -10px; /* Controls the size of the safe zone */
    height: 10px;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

/* --- QUOTE FORM CONDITIONAL STYLES --- */
.conditional-section {
    transition: all 0.4s ease-in-out;
    max-height: 0;
    overflow: hidden;
    padding-top: 0;
    padding-bottom: 0;
    margin-top: 0;
    border-width: 0;
    opacity: 0;
}
.conditional-section.visible {
    max-height: 1000px; /* Large value to allow content to expand */
    padding-top: 1rem;
    padding-bottom: 1rem;
    margin-top: 1.5rem;
    border-width: 1px;
    opacity: 1;
}

