body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

*, *::before, *::after {
    box-sizing: border-box;
}

:root {
    --primary-color: #007bff; /* Bootstrap primary blue */
    --secondary-color: #6c757d; /* Bootstrap secondary grey */
    --success-color: #28a745; /* Bootstrap success green */
    --info-color: #17a2b8; /* Bootstrap info cyan */
    --warning-color: #ffc107; /* Bootstrap warning yellow */
    --dark-overlay: rgba(0, 0, 0, 0.6);
    --light-overlay: rgba(255, 255, 255, 0.8);
}

.text-primary {
    color: var(--primary-color) !important;
}

.text-secondary {
    color: var(--secondary-color) !important;
}

.text-success {
    color: var(--success-color) !important;
}

.text-info {
    color: var(--info-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
}

.btn-success {
    background-color: var(--success-color);
    border-color: var(--success-color);
}

.btn-success:hover {
    background-color: #218838;
    border-color: #218838;
}

.btn-warning {
    background-color: var(--warning-color);
    border-color: var(--warning-color);
    color: #212529;
}

.btn-warning:hover {
    background-color: #e0a800;
    border-color: #e0a800;
}

.custom-cta-btn {
    background-color: #20c997; /* Teal/Cyan */
    border-color: #20c997;
    color: #fff;
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    text-decoration: none;
}

.custom-cta-btn:hover {
    background-color: #17a2b8; /* Slightly darker teal */
    border-color: #17a2b8;
    color: #fff;
}

.custom-cta-btn-large {
    background-color: #20c997; /* Teal/Cyan */
    border-color: #20c997;
    color: #fff;
    font-weight: 700;
    padding: 1rem 3rem;
    border-radius: 0.75rem;
    font-size: 1.5rem;
    text-decoration: none;
}

.custom-cta-btn-large:hover {
    background-color: #17a2b8; /* Slightly darker teal */
    border-color: #17a2b8;
    color: #fff;
}

/* Navbar */
.navbar-brand .site-title {
    font-size: 1.8rem;
}

.navbar-nav .nav-link {
    font-weight: 600;
    color: #333;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color);
}

.offcanvas-header {
    background-color: var(--primary-color);
    color: white;
}

.offcanvas-header .btn-close {
    filter: invert(1);
}

/* Headings */
.hero-title {
    font-size: 2.5rem;
}

.hero-subtitle {
    font-size: 1.5rem;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #212529;
}

.veterans-title {
    font-size: 2.5rem;
}

.veterans-subtitle {
    font-size: 1.5rem;
}

.final-cta-title {
    font-size: 2.5rem;
}

.final-cta-subtitle {
    font-size: 1.5rem;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }
    .hero-subtitle {
        font-size: 1.8rem;
    }
    .section-title {
        font-size: 2.5rem;
    }
    .veterans-title {
        font-size: 3rem;
    }
    .veterans-subtitle {
        font-size: 1.8rem;
    }
    .final-cta-title {
        font-size: 3rem;
    }
    .final-cta-subtitle {
        font-size: 1.8rem;
    }
}

@media (min-width: 1024px) {
    .navbar-brand .site-title {
        font-size: 2.5rem;
    }
    .hero-title {
        font-size: 3.5rem;
    }
    .hero-subtitle {
        font-size: 2rem;
    }
    .section-title {
        font-size: 2.8rem;
    }
    .veterans-title {
        font-size: 3.5rem;
    }
    .veterans-subtitle {
        font-size: 2rem;
    }
    .final-cta-title {
        font-size: 3.5rem;
    }
    .final-cta-subtitle {
        font-size: 2rem;
    }
}

/* Hero Section Specific */
.hero-section {
    background-image: url('graphics/content/gutter-damage-background.webp');
    background-size: cover;
    background-position: center;
    min-height: 90vh;
    padding-top: 100px; /* Adjust for fixed header */
}

.hero-overlay {
    background-color: var(--dark-overlay);
}

/* About Section Specific */
.about-section .list-unstyled li {
    position: relative;
}

.about-section .list-unstyled li i {
    flex-shrink: 0;
}

/* Product Presentation Section Specific */
.product-features li {
    margin-bottom: 1.5rem;
}

.product-features li:last-child {
    margin-bottom: 0;
}

/* What It Blocks Section Specific */
.icon-block {
    background-color: #fff;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.icon-block:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

/* Installation Process Section Specific */
.process-step {
    background-color: #fff;
    position: relative;
    overflow: hidden;
}

.process-step .step-number {
    position: absolute;
    top: 0;
    left: 0;
    background-color: var(--primary-color);
    color: white;
    padding: 0.25rem 0.5rem;
    font-size: 1rem;
    font-weight: bold;
    border-bottom-right-radius: 0.5rem;
}

/* Best Combination Section Specific */
.feature-card {
    background-color: #fff;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

/* Calculator Section Specific */
.calculator-section form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(0, 123, 255, 0.25);
}

/* Testimonials Section Specific */
.testimonial-card {
    background-color: #fff;
    min-height: 350px; /* Ensure consistent height for cards */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.avatar-img {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border: 3px solid var(--primary-color);
}

.carousel-control-prev-icon, .carousel-control-next-icon {
    background-color: var(--primary-color);
    border-radius: 50%;
    padding: 15px;
}

/* Tech Details Section Specific */
.tech-card {
    background-color: #fff;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tech-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

/* Veterans Block Specific */
.veterans-block {
    background-image: url('graphics/content/Australian-flag-veteran.webp');
    background-size: cover;
    background-position: center;
    min-height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.veterans-overlay {
    background-color: var(--dark-overlay);
}

/* FAQ Section Specific */
.accordion-button:not(.collapsed) {
    color: #fff;
    background-color: var(--primary-color);
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.125);
}

.accordion-button::after {
    filter: invert(1);
}

.accordion-button:not(.collapsed)::after {
    filter: none; /* Reset filter for expanded state */
}

.accordion-item {
    border-color: #ddd;
}

/* Final CTA Block Specific */
.final-cta-block {
    background-image: url('graphics/content/protected-home-cta.jpg');
    background-size: cover;
    background-position: center;
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.final-cta-overlay {
    background-color: var(--dark-overlay);
}

/* Contact Info Section Specific */
.contact-item {
    background-color: #fff;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

.email-break-all {
    word-break: break-all;
}

/* Footer */
.footer-section {
    background-color: #212529 !important;
}

.footer-section a {
    color: #adb5bd;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--primary-color);
}

.footer-section .site-title {
    font-size: 1.5rem;
}

@media (max-width: 767.98px) {
    .footer-section .site-title {
        font-size: 1.25rem;
    }
}

/* Cookie Banner */
.cookie-banner {
    z-index: 1050;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cookie-banner p {
    font-size: 0.9rem;
}

.cookie-banner .btn {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cookie-banner a {
    font-weight: 600;
}

.modal-dialog-scrollable .modal-body {
    max-height: calc(100vh - 200px); /* Adjust based on header/footer height */
    overflow-y: auto;
}

.modal-header {
    border-bottom: none;
}

.modal-footer {
    border-top: none;
}

.modal-content {
    z-index: 1060; /* Ensure modal is above banner */
}
/* Styles for the main content frame */
.dataClauseFrame {
    padding-top: 25px; /* Top padding for the frame */
    padding-left: 30px; /* Left padding for the frame */
    padding-right: 30px; /* Right padding for the frame */
    padding-bottom: 25px; /* Bottom padding for the frame */
}

/* Heading styles within the data clause frame */
.dataClauseFrame h1 {
    font-size: 2em; /* Reduced H1 font size for a less imposing look */
    margin-top: 1.5em; /* Spacing above the heading */
    margin-bottom: 0.8em; /* Spacing below the heading */
    line-height: 1.2; /* Line height for readability */
    font-weight: 700; /* Bold font weight */
    color: #333; /* Darker text color for headings */
}

.dataClauseFrame h2 {
    font-size: 1.6em; /* Reduced H2 font size */
    margin-top: 1.4em;
    margin-bottom: 0.7em;
    line-height: 1.3;
    font-weight: 600;
    color: #333;
}

.dataClauseFrame h3 {
    font-size: 1.3em; /* Reduced H3 font size */
    margin-top: 1.2em;
    margin-bottom: 0.6em;
    line-height: 1.4;
    font-weight: 600;
    color: #333;
}

.dataClauseFrame h4 {
    font-size: 1.1em; /* Reduced H4 font size */
    margin-top: 1em;
    margin-bottom: 0.5em;
    line-height: 1.5;
    font-weight: 500;
    color: #333;
}

.dataClauseFrame h5 {
    font-size: 1em; /* H5 as a strong paragraph style */
    margin-top: 0.9em;
    margin-bottom: 0.4em;
    line-height: 1.6;
    font-weight: 500;
    color: #333;
}

/* Paragraph styles within the data clause frame */
.dataClauseFrame p {
    font-size: 1em; /* Base font size for paragraphs */
    line-height: 1.6; /* Optimal line height for readability */
    margin-top: 1em; /* Spacing above a paragraph */
    margin-bottom: 1em; /* Spacing below a paragraph */
    color: #444; /* Slightly lighter text color for body */
}

/* Unordered list styles within the data clause frame */
.dataClauseFrame ul {
    list-style-type: disc; /* Default bullet style */
    margin-top: 1em; /* Spacing above the list */
    margin-bottom: 1em; /* Spacing below the list */
    padding-left: 2em; /* Indentation for bullet points */
    color: #444;
}

/* List item styles within the data clause frame */
.dataClauseFrame li {
    font-size: 1em; /* Font size for list items */
    line-height: 1.6; /* Line height for list items */
    margin-bottom: 0.5em; /* Spacing between list items */
}
