/* style.css */

:root {
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Merriweather', serif;

    --color-primary: #A7D8DE; /* Pastel Blue/Teal */
    --color-primary-dark: #8ac6ce;
    --color-primary-light: #d1eaf0;
    --color-secondary: #FBC5C5; /* Pastel Peach/Pink */
    --color-accent: #C1E1C1;   /* Pastel Mint Green */

    --color-background-light: #FCF9F3; /* Very Light Cream / Off-white */
    --color-background-pastel: #EBF5F7; /* Lightest Pastel Blue/Grey for alternate sections */
    --color-background-dark-overlay: rgba(0, 0, 0, 0.5);

    --color-text-dark: #333333;
    --color-text-light: #FFFFFF;
    --color-text-headings: #222222; /* Darker for strong contrast */
    --color-text-muted: #6c757d;

    --color-border: #DDE6E8;
    --color-shadow: rgba(93, 92, 97, 0.1);
    --color-shadow-strong: rgba(93, 92, 97, 0.2);

    --header-height: 80px;
    --footer-height: auto;

    --border-radius-small: 5px;
    --border-radius-medium: 8px;
    --border-radius-large: 12px;

    --spacing-unit: 8px;
    --container-width: 1140px;
    --container-padding: 20px;

    --transition-speed: 0.3s;
}

/* Basic Reset & Globals */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px; /* Base font size */
}

body {
    font-family: var(--font-body);
    color: var(--color-text-dark);
    background-color: var(--color-background-light);
    line-height: 1.7;
    overflow-x: hidden; /* Prevent horizontal scroll from animations */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Main Container for page structure */
.main-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex-grow: 1;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-text-headings);
    margin-bottom: calc(var(--spacing-unit) * 2); /* 16px */
    line-height: 1.3;
    font-weight: 700;
}

h1 { font-size: 2.8rem; margin-bottom: calc(var(--spacing-unit) * 3); } /* Approx 45px */
h2 { font-size: 2.2rem; margin-bottom: calc(var(--spacing-unit) * 2.5); } /* Approx 35px */
h3 { font-size: 1.6rem; margin-bottom: calc(var(--spacing-unit) * 2); } /* Approx 25px */
h4 { font-size: 1.2rem; }

p {
    margin-bottom: calc(var(--spacing-unit) * 2); /* 16px */
    color: var(--color-text-dark);
}

a {
    color: var(--color-primary-dark);
    text-decoration: none;
    transition: color var(--transition-speed) ease;
}

a:hover {
    color: var(--color-primary);
    text-decoration: underline;
}

ul, ol {
    margin-bottom: calc(var(--spacing-unit) * 2);
    padding-left: calc(var(--spacing-unit) * 3); /* 24px */
}

li {
    margin-bottom: var(--spacing-unit);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Container */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--container-padding);
    padding-right: var(--container-padding);
}

/* Column System (Basic Bulma-like grid) */
.columns {
    display: flex;
    flex-wrap: wrap;
    margin-left: -0.75rem;
    margin-right: -0.75rem;
    margin-top: -0.75rem; /* To counteract padding on columns */
}

.columns:not(:last-child) {
    margin-bottom: calc(1.5rem - 0.75rem); /* Default Bulma bottom margin */
}

.column {
    display: block;
    flex-basis: 0;
    flex-grow: 1;
    flex-shrink: 1;
    padding: 0.75rem;
}

.column.is-full { flex: none; width: 100%; }
.column.is-two-thirds { flex: none; width: 66.66666667%; }
.column.is-one-third { flex: none; width: 33.33333333%; }
.column.is-half { flex: none; width: 50%; }
.column.is-one-quarter { flex: none; width: 25%; }
.columns.is-multiline { flex-wrap: wrap; }
.columns.is-centered { justify-content: center; }
.columns.is-vcentered { align-items: center; }

/* Header */
#main-header {
    background-color: rgba(255, 255, 255, 0.9); /* Slightly transparent white */
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border-bottom: 1px solid var(--color-border);
    padding: calc(var(--spacing-unit) * 1.5) 0; /* 12px */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    height: var(--header-height);
    transition: background-color var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

#main-header.scrolled {
    background-color: var(--color-background-light);
    box-shadow: 0 2px 10px var(--color-shadow);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo a {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-primary-dark);
    text-decoration: none;
}
.logo a:hover {
    color: var(--color-primary);
}

#main-nav ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

#main-nav li {
    margin: 0 calc(var(--spacing-unit) * 1.5); /* 12px */
}

#main-nav a {
    font-family: var(--font-heading);
    color: var(--color-text-dark);
    text-decoration: none;
    padding: calc(var(--spacing-unit)) calc(var(--spacing-unit) * 1.5);
    border-radius: var(--border-radius-small);
    transition: color var(--transition-speed) ease, background-color var(--transition-speed) ease;
    font-weight: 500;
}

#main-nav a:hover,
#main-nav a.active { /* Add .active class with JS for current page/section */
    color: var(--color-primary-dark);
    background-color: var(--color-primary-light);
}

.nav-toggle {
    display: none; /* Hidden on desktop */
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001; /* Above nav items */
}

.hamburger {
    display: block;
    position: relative;
    width: 25px;
    height: 3px;
    background-color: var(--color-text-dark);
    transition: all var(--transition-speed) ease-in-out;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--color-text-dark);
    transition: all var(--transition-speed) ease-in-out;
}

.hamburger::before { top: -8px; }
.hamburger::after { bottom: -8px; }

/* Active state for hamburger */
.nav-toggle.is-active .hamburger { background-color: transparent; }
.nav-toggle.is-active .hamburger::before { transform: translateY(8px) rotate(45deg); }
.nav-toggle.is-active .hamburger::after { transform: translateY(-8px) rotate(-45deg); }


/* General Section Styling */
.section {
    padding: calc(var(--spacing-unit) * 8) 0; /* 64px */
    position: relative;
}

.section-pastel-bg {
    background-color: var(--color-background-pastel);
}

.section-title {
    text-align: center;
    font-size: 2.5rem; /* Adjusted for better hierarchy */
    color: var(--color-text-headings);
    margin-bottom: calc(var(--spacing-unit) * 5); /* 40px */
    position: relative;
}
.section-title::after { /* Optional decorative element */
    content: '';
    display: block;
    width: 70px;
    height: 4px;
    background-color: var(--color-primary);
    margin: var(--spacing-unit) auto 0;
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--color-text-muted);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: calc(var(--spacing-unit) * 4); /* 32px */
}

.subsection-title {
    font-size: 1.8rem;
    color: var(--color-text-headings);
    margin-top: calc(var(--spacing-unit) * 3);
    margin-bottom: calc(var(--spacing-unit) * 2);
    text-align: left; /* Default, can be centered if needed */
}

.content-block {
    margin-bottom: calc(var(--spacing-unit) * 4); /* 32px */
}
.content-block p {
    font-size: 1.05rem;
}

/* Hero Section */
.hero-section {
    height: 90vh; /* Use vh for full viewport feel, but not 100% to show there's more */
    min-height: 500px; /* Minimum height */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    color: var(--color-text-light);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}
/* Parallax effect for hero */
.parallax-bg {
    background-attachment: fixed; /* Basic CSS Parallax */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.6)); /* Darker overlay for text readability */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-content h1 {
    font-size: 3.5rem; /* Larger for hero */
    color: var(--color-text-light); /* Ensured white text */
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    margin-bottom: calc(var(--spacing-unit) * 2.5);
}

.hero-content p {
    font-size: 1.3rem;
    color: var(--color-text-light); /* Ensured white text */
    text-shadow: 1px 1px 3px rgba(0,0,0,0.4);
    margin-bottom: calc(var(--spacing-unit) * 3.5);
    line-height: 1.8;
}

/* Global Button Styles */
.btn, button, input[type="submit"], input[type="button"] {
    display: inline-block;
    font-family: var(--font-heading);
    font-weight: 600;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    user-select: none;
    background-color: transparent;
    border: 2px solid transparent;
    padding: calc(var(--spacing-unit) * 1.5) calc(var(--spacing-unit) * 3.5); /* 12px 28px */
    font-size: 1rem;
    line-height: 1.5;
    border-radius: var(--border-radius-medium);
    transition: all var(--transition-speed) ease-in-out;
    text-decoration: none; /* Remove underline from <a> styled as buttons */
}
.btn:hover, button:hover, input[type="submit"]:hover, input[type="button"]:hover {
    text-decoration: none; /* Ensure no underline on hover either */
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-text-dark); /* Dark text on light pastel button */
    border-color: var(--color-primary);
}
.btn-primary:hover {
    background-color: var(--color-primary-dark);
    border-color: var(--color-primary-dark);
    color: var(--color-text-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px var(--color-shadow);
}

.btn-secondary {
    background-color: var(--color-secondary);
    color: var(--color-text-dark);
    border-color: var(--color-secondary);
}
.btn-secondary:hover {
    background-color: #f9b1b1; /* Darker peach */
    border-color: #f9b1b1;
    color: var(--color-text-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px var(--color-shadow);
}

.btn-outline-primary {
    color: var(--color-primary-dark);
    border-color: var(--color-primary);
}
.btn-outline-primary:hover {
    background-color: var(--color-primary-light);
    color: var(--color-primary-dark);
}

/* Animated Icon Placeholder (Hero) */
.animated-icon-placeholder[data-type="pulsating-circle"] {
    width: 60px;
    height: 60px;
    margin: calc(var(--spacing-unit) * 3) auto 0;
    position: relative;
}
.animated-icon-placeholder[data-type="pulsating-circle"]::before,
.animated-icon-placeholder[data-type="pulsating-circle"]::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border: 3px solid var(--color-primary-light);
    border-radius: 50%;
    opacity: 1;
    animation: pulse-ring-hero 2s infinite cubic-bezier(0.215, 0.610, 0.355, 1);
}
.animated-icon-placeholder[data-type="pulsating-circle"]::after {
    animation-delay: 0.5s;
}
@keyframes pulse-ring-hero {
    0% { transform: translate(-50%, -50%) scale(0.33); opacity: 1; }
    80%, 100% { transform: translate(-50%, -50%) scale(1.2); opacity: 0; }
}


/* Cards */
.card {
    background-color: var(--color-background-light);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-large);
    box-shadow: 0 5px 15px var(--color-shadow);
    overflow: hidden;
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
    display: flex;
    flex-direction: column;
    height: 100%; /* Ensure cards in a row have same height */
}
.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px var(--color-shadow-strong);
}

.card-image { /* Container for the image */
    width: 100%;
    height: 200px; /* Fixed height for image container */
    overflow: hidden;
    display: flex; /* To center image if it's smaller, though object-fit handles this */
    align-items: center;
    justify-content: center;
    background-color: var(--color-background-pastel); /* Placeholder bg */
}
.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Cover the container, cropping if necessary */
    display: block;
}

.card-content {
    padding: calc(var(--spacing-unit) * 2.5); /* 20px */
    text-align: center; /* Center text content */
    flex-grow: 1; /* Allow content to take remaining space */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.card-content h3 {
    font-size: 1.4rem;
    color: var(--color-text-headings);
    margin-bottom: var(--spacing-unit);
}
.card-content p {
    font-size: 0.95rem;
    color: var(--color-text-dark);
    margin-bottom: calc(var(--spacing-unit)*1.5);
}
.card-content p:last-child {
    margin-bottom: 0;
}

/* Specific Card Types */
.testimonial-card {
    background-color: var(--color-primary-light);
    border-left: 5px solid var(--color-primary);
}
.testimonial-card .card-content blockquote {
    margin-bottom: var(--spacing-unit);
    font-style: italic;
    color: var(--color-text-dark);
}
.testimonial-card .card-content blockquote p {
    margin-bottom: calc(var(--spacing-unit) / 2);
}
.testimonial-card .attribution {
    font-weight: bold;
    color: var(--color-primary-dark);
    font-size: 0.9rem;
}

.team-member-card .card-image {
    height: 250px; /* Larger images for team members */
}
.team-member-card .role {
    font-size: 0.9rem;
    color: var(--color-primary-dark);
    font-weight: 600;
    margin-bottom: var(--spacing-unit);
    display: block;
}

/* Tips List (Benefits Section) */
.tips-list {
    list-style: none;
    padding-left: 0;
}
.tips-list li {
    padding-left: calc(var(--spacing-unit) * 3);
    position: relative;
    margin-bottom: calc(var(--spacing-unit) * 1.5);
}
.tips-list li::before {
    content: '✓'; /* Or use a SVG icon */
    position: absolute;
    left: 0;
    color: var(--color-accent);
    font-weight: bold;
    font-size: 1.2em;
}

/* External Resources Section */
.external-links-container .external-link-block {
    background-color: var(--color-background-light);
    padding: calc(var(--spacing-unit) * 2.5);
    border-radius: var(--border-radius-medium);
    border: 1px solid var(--color-border);
    margin-bottom: calc(var(--spacing-unit) * 2);
    transition: box-shadow var(--transition-speed) ease;
}
.external-links-container .external-link-block:hover {
    box-shadow: 0 4px 12px var(--color-shadow);
}
.external-links-container .external-link-block h3 {
    margin-bottom: var(--spacing-unit);
}
.external-links-container .external-link-block h3 a {
    font-size: 1.3rem;
}
.external-links-container .external-link-block p {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    margin-bottom: 0;
}

/* Contact Form */
.contact-form .field {
    margin-bottom: calc(var(--spacing-unit) * 2.5);
}
.contact-form .label {
    display: block;
    font-family: var(--font-heading);
    font-weight: 600;
    margin-bottom: var(--spacing-unit);
    color: var(--color-text-headings);
}
.contact-form .input,
.contact-form .textarea {
    width: 100%;
    padding: calc(var(--spacing-unit) * 1.5); /* 12px */
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-small);
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--color-text-dark);
    background-color: #fff;
    transition: border-color var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}
.contact-form .input:focus,
.contact-form .textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px var(--color-primary-light);
}
.contact-form .textarea {
    min-height: 150px;
    resize: vertical;
}
.contact-details h3 {
    color: var(--color-text-headings);
}
.contact-details p {
    margin-bottom: var(--spacing-unit);
}

/* Footer */
#main-footer {
    background-color: var(--color-text-headings); /* Dark background for contrast */
    color: var(--color-text-light);
    padding: calc(var(--spacing-unit) * 5) 0 calc(var(--spacing-unit) * 2);
    margin-top: auto; /* Pushes footer to bottom if content is short */
}
.footer-columns {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: calc(var(--spacing-unit) * 3);
    margin-bottom: calc(var(--spacing-unit) * 4);
}
.footer-column {
    flex: 1;
    min-width: 200px; /* Minimum width for columns */
}
.footer-column h4 {
    font-family: var(--font-heading);
    color: var(--color-primary-light);
    font-size: 1.3rem;
    margin-bottom: calc(var(--spacing-unit) * 2);
}
.footer-column ul {
    list-style: none;
    padding: 0;
}
.footer-column li {
    margin-bottom: var(--spacing-unit);
}
.footer-column a {
    color: #b0bec5; /* Lighter grey for footer links on dark bg */
    text-decoration: none;
    transition: color var(--transition-speed) ease;
}
.footer-column a:hover {
    color: var(--color-text-light);
    text-decoration: underline;
}
.footer-column .social-links a {
    display: inline-block; /* For better spacing if needed */
    padding: calc(var(--spacing-unit) * 0.5) 0;
}
.footer-bottom {
    text-align: center;
    padding-top: calc(var(--spacing-unit) * 2);
    border-top: 1px solid #4a4a4a; /* Darker border */
    font-size: 0.9rem;
    color: #b0bec5;
}
.footer-bottom p {
    margin-bottom: calc(var(--spacing-unit) / 2);
    color: inherit; /* Inherit color from .footer-bottom */
}

/* Success Page Styling */
body.success-page { /* Add class="success-page" to body of success.html */
    display: flex;
    flex-direction: column; /* Allow header/footer if they were to be added */
    min-height: 100vh;
    background-color: var(--color-background-pastel);
}
.success-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    flex-grow: 1; /* Takes up available space */
    padding: var(--container-padding);
}
.success-content {
    background-color: var(--color-background-light);
    padding: calc(var(--spacing-unit) * 5);
    border-radius: var(--border-radius-large);
    box-shadow: 0 10px 25px var(--color-shadow-strong);
    max-width: 500px;
}
.success-content h1 {
    color: var(--color-accent); /* Use accent for success messages */
    font-size: 2.5rem;
    margin-bottom: var(--spacing-unit);
}
.success-content p {
    font-size: 1.1rem;
    margin-bottom: calc(var(--spacing-unit) * 3);
}

/* Privacy & Terms Pages Top Padding */
body.privacy-page main,
body.terms-page main {
    padding-top: calc(var(--header-height) + var(--spacing-unit) * 4); /* Header height + 32px buffer */
    padding-bottom: calc(var(--spacing-unit) * 4); /* Some bottom padding too */
}
/* General content page styling */
.content-page-container { /* A wrapper div inside main for these pages */
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    background-color: var(--color-background-light);
    padding: calc(var(--spacing-unit) * 4);
    border-radius: var(--border-radius-medium);
    box-shadow: 0 5px 15px var(--color-shadow);
}
.content-page-container h1 {
    margin-bottom: calc(var(--spacing-unit)*3);
    text-align: center;
}
.content-page-container h2 {
    margin-top: calc(var(--spacing-unit)*3);
    margin-bottom: var(--spacing-unit);
}

/* Utility Classes */
.text-center { text-align: center; }
.text-primary { color: var(--color-primary-dark); }
.mb-1 { margin-bottom: var(--spacing-unit); }
.mb-2 { margin-bottom: calc(var(--spacing-unit) * 2); }
.mb-3 { margin-bottom: calc(var(--spacing-unit) * 3); }
.mt-1 { margin-top: var(--spacing-unit); }
.mt-2 { margin-top: calc(var(--spacing-unit) * 2); }
.mt-3 { margin-top: calc(var(--spacing-unit) * 3); }

/* Animation Helpers for ScrollTrigger (initial states) */
.scroll-animate {
    opacity: 1;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.scroll-animate.is-visible { /* Class added by JS when element is in view */
    opacity: 1;
    transform: translateY(0);
}

/* Read More Link Style */
.read-more-link {
    display: inline-block;
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--color-primary-dark);
    text-decoration: none;
    padding: calc(var(--spacing-unit) / 2) 0; /* Minimal padding for text link */
    position: relative;
}
.read-more-link::after {
    content: '→'; /* Arrow */
    margin-left: calc(var(--spacing-unit) / 2);
    transition: transform var(--transition-speed) ease;
    display: inline-block;
}
.read-more-link:hover {
    color: var(--color-primary);
    text-decoration: underline;
}
.read-more-link:hover::after {
    transform: translateX(5px);
}


/* Responsive Design */
@media (max-width: 992px) { /* Medium devices (tablets, less than 992px) */
    .hero-content h1 { font-size: 2.8rem; }
    .hero-content p { font-size: 1.1rem; }
    .section-title { font-size: 2rem; }
    h1 { font-size: 2.5rem; }
    h2 { font-size: 1.9rem; }
}

@media (max-width: 768px) { /* Small devices (landscape phones, 768px and down) */
    :root { --header-height: 70px; }
    #main-header { padding: calc(var(--spacing-unit)) 0; }

    /* Hamburger Menu Activation */
    .nav-toggle { display: block; }
    #main-nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: var(--header-height);
        left: 0;
        width: 100%;
        background-color: var(--color-background-light);
        box-shadow: 0 5px 10px var(--color-shadow);
        padding: var(--spacing-unit) 0;
        border-top: 1px solid var(--color-border);
    }
    #main-nav.is-active ul { display: flex; }
    #main-nav li {
        margin: 0;
        width: 100%;
        text-align: center;
    }
    #main-nav a {
        display: block;
        padding: calc(var(--spacing-unit) * 1.5) var(--spacing-unit); /* 12px 8px */
        border-bottom: 1px solid var(--color-border);
    }
    #main-nav li:last-child a { border-bottom: none; }

    .hero-section { height: auto; min-height: 400px; padding: calc(var(--spacing-unit) * 6) 0; }
    .hero-content h1 { font-size: 2.2rem; }
    .hero-content p { font-size: 1rem; }

    /* Columns stack on mobile */
    .column.is-two-thirds,
    .column.is-one-third,
    .column.is-half,
    .column.is-one-quarter {
        width: 100%;
        flex: none;
    }
    .columns { margin-left: 0; margin-right: 0; } /* Remove side gutters for stacked columns */
    .column { padding-left: 0; padding-right: 0; } /* Adjust padding as needed */

    .section { padding: calc(var(--spacing-unit) * 5) 0; } /* 40px */
    .section-title { font-size: 1.8rem; margin-bottom: calc(var(--spacing-unit)*3); }
    .contact-form .field { margin-bottom: calc(var(--spacing-unit) * 2); }

    .footer-columns { flex-direction: column; gap: calc(var(--spacing-unit) * 3); }
    .footer-column { text-align: center; }
    .footer-column ul { padding-left: 0; }

    body.privacy-page main,
    body.terms-page main {
        padding-top: calc(var(--header-height) + var(--spacing-unit) * 2); /* Adjust for mobile */
    }
}

@media (max-width: 576px) { /* Extra small devices (phones, less than 576px) */
    :root { --header-height: 60px; }
    .logo a { font-size: 1.5rem; }
    .hero-content h1 { font-size: 1.8rem; }
    .hero-content p { font-size: 0.9rem; }
    .btn, button, input[type="submit"], input[type="button"] { font-size: 0.9rem; padding: calc(var(--spacing-unit) * 1.2) calc(var(--spacing-unit) * 2.5); }
    h1 { font-size: 2rem; }
    h2 { font-size: 1.6rem; }
    .section-title { font-size: 1.6rem; }
}