/* Land Acknowledgement and Spacer */
.footer-land-acknowledgment {
    margin-bottom: 20px; /* Adjust spacing as needed */
}

.footer-spacer {
    height: 20px; /* Creates extra space */
}

/* Custom Footer Styles */
.custom-footer {
    text-align: center;
    font-size: 14px;
    color: #fff;
    padding: 15px 0; /* Keeps footer compact */
}

.footer-info {
    margin-bottom: 10px; /* Subtle spacing before footer links */
    line-height: 1.4; /* Readable line height */
}

.footer-links {
    margin-top: 10px; /* Space above footer links */
}

/* Footer Links Styling */
.custom-footer a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
}

.custom-footer a:hover {
    text-decoration: underline;
    color: #508881 !important; /* Hover color */
}

/* Image Block Borders in Specific Sections */
section[data-section-id="67b2655092a72967e77ed5de"],
section[data-section-id="67b2655092a72967e77ed5e7"],
#services {
    .sqs-block-image {
        border-right: 1px solid black;
    }
}

section[data-section-id="67b2655092a72967e77ed5e4"],
#contact {
    .sqs-block-image {
        border-left: 1px solid black;
    }
}

/* Form Button Styling */
.form-block form .form-button-wrapper {
    margin-top: 60px !important; /* Adjust spacing */
}

.form-block form .form-button-wrapper input[type="submit"],
.form-block form .form-button-wrapper button {
    background-color: #236F91 !important;
    border: 1px solid #253D48 !important;
}

/* Custom Font Styles */
h5 {
    font-size: 30px;
    font-weight: normal;
    line-height: 1.2;
}

h6 {
    font-size: 40px;
    font-family: 'Electric Dreams Script 2';
    line-height: 1.2;
}

/* Squarespace 7.1 Boilerplate CSS - Essential tweaks for performance, typography, spacing, and accessibility. */

/* Smooth Scrolling & Accessibility Improvements */
html:focus-within {
    scroll-behavior: smooth;
}

@media screen and (prefers-reduced-motion: reduce) {
    html:focus-within {
        scroll-behavior: auto;
    }

    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Improved Font Rendering & Readability */
body {
    min-height: 100vh;
    font-feature-settings: "liga" 1, "tnum" 1;
    hanging-punctuation: first allow-end last;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-smooth: always;
}

/* Header Social Icons - Reduce Excess Spacing */
.header-actions--right .header-actions-action--social .icon:not(:first-child) {
    margin-left: 0.6vw;
}

/* Improve Default Heading Spacing */
h1, h2, h3, h4 {
    text-wrap: balance;
    margin-bottom: 1rem;
}

/* Ensure Scroll-To Anchors Have Correct Offset */
[id] {
    scroll-margin-top: var(--spacing-r);
}

/* Adjust Squarespace Section Padding for Consistency */
.sqs-block {
    padding-top: 40px;
    padding-bottom: 40px;
}

@media (min-width: 768px) {
    .sqs-block {
        padding-top: 60px;
        padding-bottom: 60px;
    }
}

@media (min-width: 1024px) {
    .sqs-block {
        padding-top: 80px;
        padding-bottom: 80px;
    }
}

/* Default Button Styling */
.sqs-block-button-element--primary {
    border-radius: 6px;
    padding: 12px 24px;
}

.sqs-block-button-element--secondary {
    border: 2px solid currentColor;
    background: transparent;
    color: inherit;
}

/* Mobile Typography Adjustments */
@media (max-width: 768px) {
    h1 {
        font-size: 48px; /* Increased size for mobile */
        line-height: 1.2; /* Keeps compact and strong */
        letter-spacing: -0.3px; /* Subtle letter tightening for balance */
    }

    h2 {
        font-size: 36px; /* Larger H2 for better visual hierarchy */
        line-height: 1.3;
    }
}