/* style.css - Updated for JS Slideshow and Quote Popup */

/* --- Root Variables --- */
:root {
    --primary-green: #008037;
    --secondary-green: #00A548;
    --primary-black: #1A1A1A;
    --dark-grey: #2c2c2c;
    --medium-grey: #666666;
    --light-grey: #f4f4f4;
    --white: #ffffff;
    --text-light: var(--white);
    --text-dark: var(--primary-black);
    --text-muted: var(--medium-grey);

    --font-primary: 'Quicksand', sans-serif;
    --font-secondary: 'Quicksand', sans-serif;

    --shadow-light: 0 4px 15px rgba(0, 0, 0, 0.08);
    --shadow-medium: 0 8px 25px rgba(0, 0, 0, 0.12);
    --shadow-heavy: 0 15px 35px rgba(0, 0, 0, 0.2);
    --border-radius: 8px;
    --transition-speed: 0.3s;
}

/* --- Reset and Base Styles --- */
html {
    box-sizing: border-box;
    scroll-behavior: smooth;
    font-size: 16px;
}

*, *:before, *:after {
    box-sizing: inherit;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-primary);
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--white);
    overflow-x: hidden; /* Prevents horizontal scroll */
}

.container {
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
}

/* --- Typography --- */
h1, h2, h3, h4 {
    font-weight: 700;
    color: var(--primary-black);
    line-height: 1.3;
}

h1 { font-size: clamp(2.5rem, 5vw, 3.8rem); margin-bottom: 1rem; }
h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 0.75rem; }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 0.5rem; }
h4 { font-size: 1.3rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-muted);
}

a {
    text-decoration: none;
    color: var(--primary-green);
    transition: color var(--transition-speed) ease;
}
a:hover {
    color: var(--secondary-green);
}

ul { list-style: none; }

img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: var(--border-radius);
}

/* --- Buttons --- */
.btn {
    display: inline-flex; /* Use flex to align spinner and text */
    align-items: center;
    justify-content: center;
    padding: 12px 30px;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all var(--transition-speed) ease;
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 0.9rem;
}

.btn-primary {
    background-color: var(--primary-green);
    color: var(--white);
    border-color: var(--primary-green);
}
.btn-primary:hover {
    background-color: var(--secondary-green);
    border-color: var(--secondary-green);
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
    color: var(--white);
}

.btn-secondary {
    background-color: var(--primary-black);
    color: var(--white);
    border-color: var(--primary-black);
}
.btn-secondary:hover {
    background-color: var(--dark-grey);
    border-color: var(--dark-grey);
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
    color: var(--white);
}

.btn-primary-outline {
    background-color: transparent;
    color: var(--white);
    border-color: var(--white);
}
.btn-primary-outline:hover {
    background-color: var(--white);
    color: var(--primary-green);
    transform: translateY(-3px);
}

.btn-deny {
    background-color: transparent;
    color: var(--light-grey);
    border: 1px solid var(--medium-grey);
}

.btn-deny:hover {
    background-color: var(--medium-grey);
    color: var(--white);
}

/* --- Preloader --- */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--primary-black);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}
.preloader.loaded {
    opacity: 0;
    visibility: hidden;
}
.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid var(--dark-grey);
    border-top-color: var(--primary-green);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}

/* --- Header & Navigation --- */
#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(26, 26, 26, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 15px 0;
    z-index: 1000;
    transition: background-color var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
    box-shadow: none;
}
#header.scrolled {
    background-color: var(--primary-black);
    box-shadow: var(--shadow-light);
}
#header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--white);
}
.logo .logo-g { color: var(--primary-green); }
.logo .logo-osure { color: var(--white); }
.logo .logo-brokers { font-size: 0.7em; color: var(--secondary-green); font-weight: 400; display: block; line-height: 1;}

.nav-links {
    display: flex;
    align-items: center;
}
.nav-links li {
    margin-left: 30px;
}
.nav-links a {
    color: var(--light-grey);
    font-weight: 500;
    padding: 5px 0;
    position: relative;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-green);
    transition: width var(--transition-speed) ease;
}
.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}
.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-green);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.8rem;
    cursor: pointer;
    z-index: 1001; /* Ensure it's above other elements */
}

/* --- Section Padding --- */
.section-padding {
    padding: 80px 0;
}

/* --- Section Title --- */
.section-title {
    text-align: center;
    margin-bottom: 60px;
}
.section-title h2 {
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}
.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 70px;
    height: 3px;
    background-color: var(--primary-green);
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.section-title.is-visible h2::after {
    transform: translateX(-50%) scaleX(1);
}

.section-title p {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.1rem;
}

/* --- Hero Section --- */
.hero-section {
    height: 100vh;
    min-height: 600px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    overflow: hidden; /* Contains the animated background */
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: var(--hero-bg); /* Controlled by JS */
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    z-index: -1;
    transform: scale(1.1); /* Initial zoomed state */
    transition: background-image 0.2s ease-in; /* Soft transition for image switch */
    transition: all 2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform: scale(1.05);
}

.hero-section.is-active::before {
    transform: scale(1);
    transition: transform 10s linear; /* 10-second zoom effect */
}


.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.65);
    z-index: 0;
}
.hero-content {
    position: relative;
    z-index: 1;
}
.hero-content h1 {
    color: var(--white);
    font-weight: 700;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
}
.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: var(--light-grey);
    text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
}

/* --- Why Choose Us / About Section --- */
.about-section { background-color: var(--white); }

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--white);
    padding: 40px 25px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #ddd; /* Changed from #eee to #ddd */
    border-bottom: 3px solid var(--primary-green);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-medium);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 30px;
    background-color: var(--primary-green);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.5rem;
}

.feature-card h4 {
    margin-bottom: 15px;
}

/* --- Services Section --- */
.services-section { background-color: var(--light-grey); }

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.service-card {
    background-color: var(--white);
    padding: 35px 30px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow-light);
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
    border: 1px solid #ddd; /* Changed from #eee to #ddd */
    border-bottom: 3px solid var(--primary-green);
}
.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-medium);
}
.service-icon {
    font-size: 2.8rem;
    color: var(--primary-green);
    margin-bottom: 20px;
    line-height: 1;
}
.service-card h3 {
    margin-bottom: 10px;
    font-size: 1.4rem;
}

.subsection-title {
    text-align: center;
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    margin-top: 80px;
    margin-bottom: 40px;
    color: var(--primary-black);
}

.services-list {
    list-style: none;
    padding: 0;
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.services-list li {
    display: flex;
    align-items: center;
    gap: 25px;
    background: var(--white);
    padding: 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

.services-list li:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.services-list li i {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background-color: rgba(0, 128, 55, 0.08);
    color: var(--primary-green);
    font-size: 1.8rem;
    transition: transform 0.3s ease-out;
}

/* --- CTA Section --- */
.cta-section {
    background: linear-gradient(45deg, var(--primary-green), var(--secondary-green));
    color: var(--white);
}
.cta-section h2 { color: var(--white); }
.cta-section p { color: var(--light-grey); font-size: 1.1rem; }

/* --- Contact Section --- */
.contact-section { background-color: var(--light-grey); }
.contact-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    align-items: stretch; /* Changed from flex-start to stretch */
}
.contact-form-container {
    background-color: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-medium);
}
.form-group {
    margin-bottom: 20px;
}
.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-family: var(--font-secondary);
    font-size: 1rem;
    transition: border-color var(--transition-speed) ease;
    background-color: var(--white);
    color: var(--text-dark);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-green);
    box-shadow: 0 0 0 2px rgba(0, 128, 55, 0.2);
}
.form-group textarea {
    resize: vertical;
    min-height: 120px;
}
.contact-details {
    display: flex; /* Added */
    flex-direction: column; /* Added */
}
.contact-details h3 {
    color: var(--primary-green);
    margin-bottom: 15px;
}
.contact-details ul {
    margin-top: 20px;
}
.contact-details ul li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}
.contact-details ul li i {
    color: var(--primary-green);
    margin-right: 15px;
    font-size: 1.3rem;
    width: 25px;
    text-align: center;
    margin-top: 3px;
}
.social-links {
    margin-top: 25px;
}
.social-links a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background-color: var(--primary-black);
    color: var(--white);
    border-radius: 50%;
    margin-right: 10px;
    font-size: 1.1rem;
    transition: background-color var(--transition-speed) ease, transform var(--transition-speed) ease;
}
.social-links a:hover {
    background-color: var(--primary-green);
    transform: scale(1.1);
}
.contact-map {
    margin-top: 30px;
    height: auto; /* Changed from fixed height */
    flex-grow: 1; /* Added to fill space */
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-light);
}
.contact-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

/* --- Footer --- */
.footer-section {
    background-color: var(--primary-black);
    color: var(--light-grey);
    padding: 60px 0 20px;
}
.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}
.footer-col h4 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
}
.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 40px;
    height: 2px;
    background-color: var(--primary-green);
}
.footer-col p {
    font-size: 0.9rem;
    color: #a0a0a0;
    margin-bottom: 10px;
}
.footer-col ul li {
    margin-bottom: 10px;
}
.footer-col ul li a {
    color: #a0a0a0;
    font-size: 0.9rem;
}
.footer-col ul li a:hover {
    color: var(--primary-green);
    padding-left: 5px;
}
.footer-bottom {
    border-top: 1px solid var(--dark-grey);
    padding-top: 20px;
    text-align: center;
    font-size: 0.85rem;
    color: var(--medium-grey);
}

/* --- Scroll to Top Button --- */
#scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--primary-green);
    color: var(--white);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: none;
    font-size: 1.2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: var(--shadow-medium);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity var(--transition-speed) ease, visibility var(--transition-speed) ease, transform var(--transition-speed) ease;
    z-index: 999;
}
#scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* --- Animations --- */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- File Input --- */
.file-input-container {
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
}
.file-input-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}
.file-name {
    color: var(--text-muted);
    font-size: 0.9rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* --- FSP number styling --- */
.fsp-number {
    font-weight: 600;
    color: var(--primary-green) !important;
}

/* --- Quote Popup & Modal Styles --- */

/* Bouncing Animation */
@keyframes bounce-slow {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Popup - Desktop Only */
@media (min-width: 769px) {
    #quotePopup {
        position: fixed;
        bottom: 2rem;
        right: 2rem;
        z-index: 1050;
        max-width: 360px;
        color: var(--white);
        background: linear-gradient(135deg, var(--secondary-green), var(--primary-green));
        border-radius: var(--border-radius);
        box-shadow: var(--shadow-heavy);
        padding: 1.5rem;
        text-align: center;
        animation: bounce-slow 3s infinite 5s; /* Start animation after 5s */
        opacity: 0;
        transform: translateY(20px);
        visibility: hidden;
        transition: opacity 0.5s ease, transform 0.5s ease, visibility 0.5s ease;
    }

    #quotePopup.visible {
        opacity: 1;
        transform: translateY(0);
        visibility: visible;
    }

    #quotePopup .popup-content h3 {
        color: var(--white);
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }
    #quotePopup .popup-content p {
        color: rgba(255, 255, 255, 0.9);
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    
    .popup-icon-wrapper {
        width: 60px;
        height: 60px;
        margin: 0 auto 1rem;
        background-color: rgba(255, 255, 255, 0.2);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 2rem;
    }
    
    .popup-features {
        text-align: left;
        margin-bottom: 1.5rem;
    }
    .popup-features li {
        margin-bottom: 0.5rem;
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: 0.9rem;
    }
    .popup-features i {
        color: var(--white);
    }
    
    #quotePopup .btn-primary {
        background-color: var(--white);
        color: var(--primary-green);
        width: 100%;
        font-weight: 700;
    }
}

/* Modal Styles - All Screens */
#quoteModal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1060;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
#quoteModal.visible {
    opacity: 1;
    visibility: visible;
}
#quoteModal .modal-content {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    max-width: 500px;
    width: 100%;
    position: relative;
    box-shadow: var(--shadow-heavy);
    transform: scale(0.95);
    transition: transform 0.3s ease;
}
#quoteModal.visible .modal-content {
    transform: scale(1);
}

.modal-header {
    text-align: center;
    margin-bottom: 1.5rem;
}
.modal-header h2 {
    color: var(--primary-green);
    margin-bottom: 0.5rem;
}
.modal-header .modal-icon-wrapper {
    background-color: var(--primary-green);
    color: var(--white);
    margin: 0 auto 1rem;
    width: 70px;
    height: 70px;
    font-size: 2.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.form-group-row {
    display: flex;
    gap: 1rem;
}
.form-group-row .form-group {
    flex: 1;
}

.modal-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}
.modal-buttons .btn {
    flex: 1;
}

/* Shared Close Button */
.close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    background: transparent;
    border: none;
    font-size: 2rem;
    font-weight: 300;
    color: var(--medium-grey);
    cursor: pointer;
    line-height: 1;
    transition: color var(--transition-speed) ease;
}
.close-btn:hover {
    color: var(--primary-black);
}
#quotePopup .close-btn {
    color: var(--white);
}

/* --- Cookie Banner --- */
#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--primary-black);
    color: var(--light-grey);
    padding: 20px 0;
    z-index: 2000;
    transform: translateY(100%);
    transition: transform 0.5s ease-in-out;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
}

#cookie-banner.visible {
    transform: translateY(0);
}

.cookie-banner-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.cookie-banner-buttons {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.cookie-banner-buttons .btn {
    padding: 8px 20px;
    font-size: 0.9rem;
}

#cookie-banner p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--light-grey);
}

#cookie-banner p a {
    color: var(--white);
    text-decoration: underline;
}

#cookie-banner p a:hover {
    color: var(--secondary-green);
}

/* --- Anti-Spam Honeypot Field --- */
.honeypot-field {
    position: absolute;
    left: -5000px;
    visibility: hidden;
}

/* --- Form Submission Spinner --- */
.spinner-sm {
    display: inline-block;
    width: 1.2em;
    height: 1.2em;
    vertical-align: -0.2em;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: spin 0.75s linear infinite;
    margin-right: 0.5em;
}

/* --- Toastr Notification Customization --- */
.toast-success {
    background-color: var(--secondary-green) !important;
}
.toast-error {
    background-color: #D32F2F !important; /* A standard error red */
}
#toast-container > div {
    opacity: 0.95 !important;
    box-shadow: var(--shadow-medium) !important;
    border-radius: var(--border-radius) !important;
    font-family: var(--font-primary) !important;
}

/* --- Responsive Design --- */
@media (max-width: 992px) {
    .contact-content {
        grid-template-columns: 1fr;
    }
    .contact-details { margin-top: 40px; }
}

@media (max-width: 768px) {
    html { font-size: 15px; }
    .section-padding { padding: 60px 0; }
    .menu-toggle { display: block; }
    .nav-links {
        position: fixed; /* Changed to fixed for better experience */
        top: 81px; /* Adjust based on header height */
        right: 0;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background-color: var(--primary-black);
        flex-direction: column;
        align-items: stretch;
        padding: 20px 0;
        transform: translateX(100%);
        transition: transform 0.4s ease-in-out;
        box-shadow: -5px 0 15px rgba(0,0,0,0.2);
    }
    .nav-links.active {
        transform: translateX(0);
    }
    .nav-links li {
        margin: 0;
        width: 100%;
    }
    .nav-links a {
        display: block;
        padding: 18px 25px;
        text-align: left;
        border-bottom: 1px solid var(--dark-grey);
        width: 100%;
    }
    .nav-links li:last-child a { border-bottom: none; }
    .nav-links a::after { display: none; }

    .hero-content h1 { font-size: 2.2rem; }
    .hero-content p { font-size: 1.1rem; }

    .services-list li {
        flex-direction: column;
        gap: 15px;
        text-align: center;
        align-items: center;
    }

    .btn { padding: 10px 25px; font-size: 0.85rem;}

    /* Add this rule to hide the popup on mobile */
    #quotePopup {
        display: none;
    }

    .cookie-banner-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .cookie-banner-buttons {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    html { font-size: 14px; }

    .logo {
        font-size: 1.6rem;
    }
    .hero-content h1 { font-size: 1.8rem; }
    .hero-content p { font-size: 1rem; }
    .contact-form-container { padding: 25px; }
}